repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetSchema operation
/// </summary>
public class GetSchemaResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
GetSchemaResponse response = new GetSchemaResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("schema", targetDepth))
{
var unmarshaller = SchemaUnmarshaller.Instance;
response.Schema = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetSchemaResponseUnmarshaller _instance = new GetSchemaResponseUnmarshaller();
internal static GetSchemaResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetSchemaResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 126 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// GlueTableReference Marshaller
/// </summary>
public class GlueTableReferenceMarshaller : IRequestMarshaller<GlueTableReference, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(GlueTableReference requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetDatabaseName())
{
context.Writer.WritePropertyName("databaseName");
context.Writer.Write(requestObject.DatabaseName);
}
if(requestObject.IsSetTableName())
{
context.Writer.WritePropertyName("tableName");
context.Writer.Write(requestObject.TableName);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static GlueTableReferenceMarshaller Instance = new GlueTableReferenceMarshaller();
}
}
| 68 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GlueTableReference Object
/// </summary>
public class GlueTableReferenceUnmarshaller : IUnmarshaller<GlueTableReference, XmlUnmarshallerContext>, IUnmarshaller<GlueTableReference, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
GlueTableReference IUnmarshaller<GlueTableReference, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public GlueTableReference Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
GlueTableReference unmarshalledObject = new GlueTableReference();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("databaseName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.DatabaseName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tableName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TableName = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static GlueTableReferenceUnmarshaller _instance = new GlueTableReferenceUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static GlueTableReferenceUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for InternalServerException Object
/// </summary>
public class InternalServerExceptionUnmarshaller : IErrorResponseUnmarshaller<InternalServerException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public InternalServerException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse());
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <param name="errorResponse"></param>
/// <returns></returns>
public InternalServerException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
InternalServerException unmarshalledObject = new InternalServerException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
}
return unmarshalledObject;
}
private static InternalServerExceptionUnmarshaller _instance = new InternalServerExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static InternalServerExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 85 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListCollaborations Request Marshaller
/// </summary>
public class ListCollaborationsRequestMarshaller : IMarshaller<IRequest, ListCollaborationsRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((ListCollaborationsRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListCollaborationsRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "GET";
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromInt(publicRequest.MaxResults));
if (publicRequest.IsSetMemberStatus())
request.Parameters.Add("memberStatus", StringUtils.FromString(publicRequest.MemberStatus));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/collaborations";
request.UseQueryString = true;
return request;
}
private static ListCollaborationsRequestMarshaller _instance = new ListCollaborationsRequestMarshaller();
internal static ListCollaborationsRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListCollaborationsRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 94 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListCollaborations operation
/// </summary>
public class ListCollaborationsResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListCollaborationsResponse response = new ListCollaborationsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("collaborationList", targetDepth))
{
var unmarshaller = new ListUnmarshaller<CollaborationSummary, CollaborationSummaryUnmarshaller>(CollaborationSummaryUnmarshaller.Instance);
response.CollaborationList = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("nextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListCollaborationsResponseUnmarshaller _instance = new ListCollaborationsResponseUnmarshaller();
internal static ListCollaborationsResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListCollaborationsResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 128 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListConfiguredTableAssociations Request Marshaller
/// </summary>
public class ListConfiguredTableAssociationsRequestMarshaller : IMarshaller<IRequest, ListConfiguredTableAssociationsRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((ListConfiguredTableAssociationsRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListConfiguredTableAssociationsRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "GET";
if (!publicRequest.IsSetMembershipIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field MembershipIdentifier set");
request.AddPathResource("{membershipIdentifier}", StringUtils.FromString(publicRequest.MembershipIdentifier));
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromInt(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/memberships/{membershipIdentifier}/configuredTableAssociations";
request.UseQueryString = true;
return request;
}
private static ListConfiguredTableAssociationsRequestMarshaller _instance = new ListConfiguredTableAssociationsRequestMarshaller();
internal static ListConfiguredTableAssociationsRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListConfiguredTableAssociationsRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 94 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListConfiguredTableAssociations operation
/// </summary>
public class ListConfiguredTableAssociationsResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListConfiguredTableAssociationsResponse response = new ListConfiguredTableAssociationsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("configuredTableAssociationSummaries", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ConfiguredTableAssociationSummary, ConfiguredTableAssociationSummaryUnmarshaller>(ConfiguredTableAssociationSummaryUnmarshaller.Instance);
response.ConfiguredTableAssociationSummaries = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("nextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListConfiguredTableAssociationsResponseUnmarshaller _instance = new ListConfiguredTableAssociationsResponseUnmarshaller();
internal static ListConfiguredTableAssociationsResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListConfiguredTableAssociationsResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 132 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListConfiguredTables Request Marshaller
/// </summary>
public class ListConfiguredTablesRequestMarshaller : IMarshaller<IRequest, ListConfiguredTablesRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((ListConfiguredTablesRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListConfiguredTablesRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "GET";
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromInt(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/configuredTables";
request.UseQueryString = true;
return request;
}
private static ListConfiguredTablesRequestMarshaller _instance = new ListConfiguredTablesRequestMarshaller();
internal static ListConfiguredTablesRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListConfiguredTablesRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 91 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListConfiguredTables operation
/// </summary>
public class ListConfiguredTablesResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListConfiguredTablesResponse response = new ListConfiguredTablesResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("configuredTableSummaries", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ConfiguredTableSummary, ConfiguredTableSummaryUnmarshaller>(ConfiguredTableSummaryUnmarshaller.Instance);
response.ConfiguredTableSummaries = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("nextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListConfiguredTablesResponseUnmarshaller _instance = new ListConfiguredTablesResponseUnmarshaller();
internal static ListConfiguredTablesResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListConfiguredTablesResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 128 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListMemberships Request Marshaller
/// </summary>
public class ListMembershipsRequestMarshaller : IMarshaller<IRequest, ListMembershipsRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((ListMembershipsRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListMembershipsRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "GET";
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromInt(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
if (publicRequest.IsSetStatus())
request.Parameters.Add("status", StringUtils.FromString(publicRequest.Status));
request.ResourcePath = "/memberships";
request.UseQueryString = true;
return request;
}
private static ListMembershipsRequestMarshaller _instance = new ListMembershipsRequestMarshaller();
internal static ListMembershipsRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListMembershipsRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 94 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListMemberships operation
/// </summary>
public class ListMembershipsResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListMembershipsResponse response = new ListMembershipsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("membershipSummaries", targetDepth))
{
var unmarshaller = new ListUnmarshaller<MembershipSummary, MembershipSummaryUnmarshaller>(MembershipSummaryUnmarshaller.Instance);
response.MembershipSummaries = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("nextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListMembershipsResponseUnmarshaller _instance = new ListMembershipsResponseUnmarshaller();
internal static ListMembershipsResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListMembershipsResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 128 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListMembers Request Marshaller
/// </summary>
public class ListMembersRequestMarshaller : IMarshaller<IRequest, ListMembersRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((ListMembersRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListMembersRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "GET";
if (!publicRequest.IsSetCollaborationIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field CollaborationIdentifier set");
request.AddPathResource("{collaborationIdentifier}", StringUtils.FromString(publicRequest.CollaborationIdentifier));
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromInt(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/collaborations/{collaborationIdentifier}/members";
request.UseQueryString = true;
return request;
}
private static ListMembersRequestMarshaller _instance = new ListMembersRequestMarshaller();
internal static ListMembersRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListMembersRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 94 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListMembers operation
/// </summary>
public class ListMembersResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListMembersResponse response = new ListMembersResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("memberSummaries", targetDepth))
{
var unmarshaller = new ListUnmarshaller<MemberSummary, MemberSummaryUnmarshaller>(MemberSummaryUnmarshaller.Instance);
response.MemberSummaries = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("nextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListMembersResponseUnmarshaller _instance = new ListMembersResponseUnmarshaller();
internal static ListMembersResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListMembersResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 132 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListProtectedQueries Request Marshaller
/// </summary>
public class ListProtectedQueriesRequestMarshaller : IMarshaller<IRequest, ListProtectedQueriesRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((ListProtectedQueriesRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListProtectedQueriesRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "GET";
if (!publicRequest.IsSetMembershipIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field MembershipIdentifier set");
request.AddPathResource("{membershipIdentifier}", StringUtils.FromString(publicRequest.MembershipIdentifier));
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromInt(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
if (publicRequest.IsSetStatus())
request.Parameters.Add("status", StringUtils.FromString(publicRequest.Status));
request.ResourcePath = "/memberships/{membershipIdentifier}/protectedQueries";
request.UseQueryString = true;
return request;
}
private static ListProtectedQueriesRequestMarshaller _instance = new ListProtectedQueriesRequestMarshaller();
internal static ListProtectedQueriesRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListProtectedQueriesRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListProtectedQueries operation
/// </summary>
public class ListProtectedQueriesResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListProtectedQueriesResponse response = new ListProtectedQueriesResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("nextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("protectedQueries", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ProtectedQuerySummary, ProtectedQuerySummaryUnmarshaller>(ProtectedQuerySummaryUnmarshaller.Instance);
response.ProtectedQueries = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListProtectedQueriesResponseUnmarshaller _instance = new ListProtectedQueriesResponseUnmarshaller();
internal static ListProtectedQueriesResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListProtectedQueriesResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 132 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListSchemas Request Marshaller
/// </summary>
public class ListSchemasRequestMarshaller : IMarshaller<IRequest, ListSchemasRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((ListSchemasRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListSchemasRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "GET";
if (!publicRequest.IsSetCollaborationIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field CollaborationIdentifier set");
request.AddPathResource("{collaborationIdentifier}", StringUtils.FromString(publicRequest.CollaborationIdentifier));
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromInt(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
if (publicRequest.IsSetSchemaType())
request.Parameters.Add("schemaType", StringUtils.FromString(publicRequest.SchemaType));
request.ResourcePath = "/collaborations/{collaborationIdentifier}/schemas";
request.UseQueryString = true;
return request;
}
private static ListSchemasRequestMarshaller _instance = new ListSchemasRequestMarshaller();
internal static ListSchemasRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListSchemasRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListSchemas operation
/// </summary>
public class ListSchemasResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListSchemasResponse response = new ListSchemasResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("nextToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextToken = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("schemaSummaries", targetDepth))
{
var unmarshaller = new ListUnmarshaller<SchemaSummary, SchemaSummaryUnmarshaller>(SchemaSummaryUnmarshaller.Instance);
response.SchemaSummaries = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListSchemasResponseUnmarshaller _instance = new ListSchemasResponseUnmarshaller();
internal static ListSchemasResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListSchemasResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 132 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListTagsForResource Request Marshaller
/// </summary>
public class ListTagsForResourceRequestMarshaller : IMarshaller<IRequest, ListTagsForResourceRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((ListTagsForResourceRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListTagsForResourceRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "GET";
if (!publicRequest.IsSetResourceArn())
throw new AmazonCleanRoomsException("Request object does not have required field ResourceArn set");
request.AddPathResource("{resourceArn}", StringUtils.FromString(publicRequest.ResourceArn));
request.ResourcePath = "/tags/{resourceArn}";
return request;
}
private static ListTagsForResourceRequestMarshaller _instance = new ListTagsForResourceRequestMarshaller();
internal static ListTagsForResourceRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListTagsForResourceRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 87 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListTagsForResource operation
/// </summary>
public class ListTagsForResourceResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListTagsForResourceResponse response = new ListTagsForResourceResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.Tags = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListTagsForResourceResponseUnmarshaller _instance = new ListTagsForResourceResponseUnmarshaller();
internal static ListTagsForResourceResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListTagsForResourceResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 114 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for MembershipSummary Object
/// </summary>
public class MembershipSummaryUnmarshaller : IUnmarshaller<MembershipSummary, XmlUnmarshallerContext>, IUnmarshaller<MembershipSummary, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
MembershipSummary IUnmarshaller<MembershipSummary, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public MembershipSummary Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
MembershipSummary unmarshalledObject = new MembershipSummary();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("arn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Arn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationCreatorAccountId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationCreatorAccountId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationCreatorDisplayName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationCreatorDisplayName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreateTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("memberAbilities", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.MemberAbilities = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("status", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Status = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("updateTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.UpdateTime = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static MembershipSummaryUnmarshaller _instance = new MembershipSummaryUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static MembershipSummaryUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 152 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Membership Object
/// </summary>
public class MembershipUnmarshaller : IUnmarshaller<Membership, XmlUnmarshallerContext>, IUnmarshaller<Membership, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Membership IUnmarshaller<Membership, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public Membership Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Membership unmarshalledObject = new Membership();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("arn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Arn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationCreatorAccountId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationCreatorAccountId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationCreatorDisplayName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationCreatorDisplayName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreateTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("memberAbilities", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.MemberAbilities = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("queryLogStatus", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.QueryLogStatus = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("status", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Status = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("updateTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.UpdateTime = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static MembershipUnmarshaller _instance = new MembershipUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static MembershipUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 158 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// MemberSpecification Marshaller
/// </summary>
public class MemberSpecificationMarshaller : IRequestMarshaller<MemberSpecification, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(MemberSpecification requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetAccountId())
{
context.Writer.WritePropertyName("accountId");
context.Writer.Write(requestObject.AccountId);
}
if(requestObject.IsSetDisplayName())
{
context.Writer.WritePropertyName("displayName");
context.Writer.Write(requestObject.DisplayName);
}
if(requestObject.IsSetMemberAbilities())
{
context.Writer.WritePropertyName("memberAbilities");
context.Writer.WriteArrayStart();
foreach(var requestObjectMemberAbilitiesListValue in requestObject.MemberAbilities)
{
context.Writer.Write(requestObjectMemberAbilitiesListValue);
}
context.Writer.WriteArrayEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static MemberSpecificationMarshaller Instance = new MemberSpecificationMarshaller();
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for MemberSummary Object
/// </summary>
public class MemberSummaryUnmarshaller : IUnmarshaller<MemberSummary, XmlUnmarshallerContext>, IUnmarshaller<MemberSummary, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
MemberSummary IUnmarshaller<MemberSummary, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public MemberSummary Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
MemberSummary unmarshalledObject = new MemberSummary();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("abilities", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.Abilities = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("accountId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AccountId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreateTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("displayName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.DisplayName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("membershipArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.MembershipArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("membershipId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.MembershipId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("status", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Status = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("updateTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.UpdateTime = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static MemberSummaryUnmarshaller _instance = new MemberSummaryUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static MemberSummaryUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 134 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProtectedQueryError Object
/// </summary>
public class ProtectedQueryErrorUnmarshaller : IUnmarshaller<ProtectedQueryError, XmlUnmarshallerContext>, IUnmarshaller<ProtectedQueryError, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProtectedQueryError IUnmarshaller<ProtectedQueryError, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ProtectedQueryError Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProtectedQueryError unmarshalledObject = new ProtectedQueryError();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("code", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Code = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("message", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Message = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProtectedQueryErrorUnmarshaller _instance = new ProtectedQueryErrorUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProtectedQueryErrorUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ProtectedQueryOutputConfiguration Marshaller
/// </summary>
public class ProtectedQueryOutputConfigurationMarshaller : IRequestMarshaller<ProtectedQueryOutputConfiguration, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(ProtectedQueryOutputConfiguration requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetS3())
{
context.Writer.WritePropertyName("s3");
context.Writer.WriteObjectStart();
var marshaller = ProtectedQueryS3OutputConfigurationMarshaller.Instance;
marshaller.Marshall(requestObject.S3, context);
context.Writer.WriteObjectEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ProtectedQueryOutputConfigurationMarshaller Instance = new ProtectedQueryOutputConfigurationMarshaller();
}
}
| 67 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProtectedQueryOutputConfiguration Object
/// </summary>
public class ProtectedQueryOutputConfigurationUnmarshaller : IUnmarshaller<ProtectedQueryOutputConfiguration, XmlUnmarshallerContext>, IUnmarshaller<ProtectedQueryOutputConfiguration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProtectedQueryOutputConfiguration IUnmarshaller<ProtectedQueryOutputConfiguration, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ProtectedQueryOutputConfiguration Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProtectedQueryOutputConfiguration unmarshalledObject = new ProtectedQueryOutputConfiguration();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("s3", targetDepth))
{
var unmarshaller = ProtectedQueryS3OutputConfigurationUnmarshaller.Instance;
unmarshalledObject.S3 = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProtectedQueryOutputConfigurationUnmarshaller _instance = new ProtectedQueryOutputConfigurationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProtectedQueryOutputConfigurationUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 92 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProtectedQueryOutput Object
/// </summary>
public class ProtectedQueryOutputUnmarshaller : IUnmarshaller<ProtectedQueryOutput, XmlUnmarshallerContext>, IUnmarshaller<ProtectedQueryOutput, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProtectedQueryOutput IUnmarshaller<ProtectedQueryOutput, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ProtectedQueryOutput Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProtectedQueryOutput unmarshalledObject = new ProtectedQueryOutput();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("s3", targetDepth))
{
var unmarshaller = ProtectedQueryS3OutputUnmarshaller.Instance;
unmarshalledObject.S3 = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProtectedQueryOutputUnmarshaller _instance = new ProtectedQueryOutputUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProtectedQueryOutputUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 92 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ProtectedQueryResultConfiguration Marshaller
/// </summary>
public class ProtectedQueryResultConfigurationMarshaller : IRequestMarshaller<ProtectedQueryResultConfiguration, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(ProtectedQueryResultConfiguration requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetOutputConfiguration())
{
context.Writer.WritePropertyName("outputConfiguration");
context.Writer.WriteObjectStart();
var marshaller = ProtectedQueryOutputConfigurationMarshaller.Instance;
marshaller.Marshall(requestObject.OutputConfiguration, context);
context.Writer.WriteObjectEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ProtectedQueryResultConfigurationMarshaller Instance = new ProtectedQueryResultConfigurationMarshaller();
}
}
| 67 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProtectedQueryResultConfiguration Object
/// </summary>
public class ProtectedQueryResultConfigurationUnmarshaller : IUnmarshaller<ProtectedQueryResultConfiguration, XmlUnmarshallerContext>, IUnmarshaller<ProtectedQueryResultConfiguration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProtectedQueryResultConfiguration IUnmarshaller<ProtectedQueryResultConfiguration, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ProtectedQueryResultConfiguration Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProtectedQueryResultConfiguration unmarshalledObject = new ProtectedQueryResultConfiguration();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("outputConfiguration", targetDepth))
{
var unmarshaller = ProtectedQueryOutputConfigurationUnmarshaller.Instance;
unmarshalledObject.OutputConfiguration = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProtectedQueryResultConfigurationUnmarshaller _instance = new ProtectedQueryResultConfigurationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProtectedQueryResultConfigurationUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 92 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProtectedQueryResult Object
/// </summary>
public class ProtectedQueryResultUnmarshaller : IUnmarshaller<ProtectedQueryResult, XmlUnmarshallerContext>, IUnmarshaller<ProtectedQueryResult, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProtectedQueryResult IUnmarshaller<ProtectedQueryResult, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ProtectedQueryResult Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProtectedQueryResult unmarshalledObject = new ProtectedQueryResult();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("output", targetDepth))
{
var unmarshaller = ProtectedQueryOutputUnmarshaller.Instance;
unmarshalledObject.Output = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProtectedQueryResultUnmarshaller _instance = new ProtectedQueryResultUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProtectedQueryResultUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 92 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ProtectedQueryS3OutputConfiguration Marshaller
/// </summary>
public class ProtectedQueryS3OutputConfigurationMarshaller : IRequestMarshaller<ProtectedQueryS3OutputConfiguration, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(ProtectedQueryS3OutputConfiguration requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetBucket())
{
context.Writer.WritePropertyName("bucket");
context.Writer.Write(requestObject.Bucket);
}
if(requestObject.IsSetKeyPrefix())
{
context.Writer.WritePropertyName("keyPrefix");
context.Writer.Write(requestObject.KeyPrefix);
}
if(requestObject.IsSetResultFormat())
{
context.Writer.WritePropertyName("resultFormat");
context.Writer.Write(requestObject.ResultFormat);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ProtectedQueryS3OutputConfigurationMarshaller Instance = new ProtectedQueryS3OutputConfigurationMarshaller();
}
}
| 74 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProtectedQueryS3OutputConfiguration Object
/// </summary>
public class ProtectedQueryS3OutputConfigurationUnmarshaller : IUnmarshaller<ProtectedQueryS3OutputConfiguration, XmlUnmarshallerContext>, IUnmarshaller<ProtectedQueryS3OutputConfiguration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProtectedQueryS3OutputConfiguration IUnmarshaller<ProtectedQueryS3OutputConfiguration, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ProtectedQueryS3OutputConfiguration Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProtectedQueryS3OutputConfiguration unmarshalledObject = new ProtectedQueryS3OutputConfiguration();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("bucket", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Bucket = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("keyPrefix", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.KeyPrefix = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("resultFormat", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ResultFormat = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProtectedQueryS3OutputConfigurationUnmarshaller _instance = new ProtectedQueryS3OutputConfigurationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProtectedQueryS3OutputConfigurationUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 104 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProtectedQueryS3Output Object
/// </summary>
public class ProtectedQueryS3OutputUnmarshaller : IUnmarshaller<ProtectedQueryS3Output, XmlUnmarshallerContext>, IUnmarshaller<ProtectedQueryS3Output, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProtectedQueryS3Output IUnmarshaller<ProtectedQueryS3Output, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ProtectedQueryS3Output Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProtectedQueryS3Output unmarshalledObject = new ProtectedQueryS3Output();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("location", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Location = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProtectedQueryS3OutputUnmarshaller _instance = new ProtectedQueryS3OutputUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProtectedQueryS3OutputUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 92 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// ProtectedQuerySQLParameters Marshaller
/// </summary>
public class ProtectedQuerySQLParametersMarshaller : IRequestMarshaller<ProtectedQuerySQLParameters, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(ProtectedQuerySQLParameters requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetQueryString())
{
context.Writer.WritePropertyName("queryString");
context.Writer.Write(requestObject.QueryString);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ProtectedQuerySQLParametersMarshaller Instance = new ProtectedQuerySQLParametersMarshaller();
}
}
| 62 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProtectedQuerySQLParameters Object
/// </summary>
public class ProtectedQuerySQLParametersUnmarshaller : IUnmarshaller<ProtectedQuerySQLParameters, XmlUnmarshallerContext>, IUnmarshaller<ProtectedQuerySQLParameters, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProtectedQuerySQLParameters IUnmarshaller<ProtectedQuerySQLParameters, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ProtectedQuerySQLParameters Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProtectedQuerySQLParameters unmarshalledObject = new ProtectedQuerySQLParameters();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("queryString", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.QueryString = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProtectedQuerySQLParametersUnmarshaller _instance = new ProtectedQuerySQLParametersUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProtectedQuerySQLParametersUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 92 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProtectedQueryStatistics Object
/// </summary>
public class ProtectedQueryStatisticsUnmarshaller : IUnmarshaller<ProtectedQueryStatistics, XmlUnmarshallerContext>, IUnmarshaller<ProtectedQueryStatistics, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProtectedQueryStatistics IUnmarshaller<ProtectedQueryStatistics, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ProtectedQueryStatistics Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProtectedQueryStatistics unmarshalledObject = new ProtectedQueryStatistics();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("totalDurationInMillis", targetDepth))
{
var unmarshaller = LongUnmarshaller.Instance;
unmarshalledObject.TotalDurationInMillis = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProtectedQueryStatisticsUnmarshaller _instance = new ProtectedQueryStatisticsUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProtectedQueryStatisticsUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 92 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProtectedQuerySummary Object
/// </summary>
public class ProtectedQuerySummaryUnmarshaller : IUnmarshaller<ProtectedQuerySummary, XmlUnmarshallerContext>, IUnmarshaller<ProtectedQuerySummary, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProtectedQuerySummary IUnmarshaller<ProtectedQuerySummary, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ProtectedQuerySummary Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProtectedQuerySummary unmarshalledObject = new ProtectedQuerySummary();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("createTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreateTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("membershipArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.MembershipArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("membershipId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.MembershipId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("status", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Status = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProtectedQuerySummaryUnmarshaller _instance = new ProtectedQuerySummaryUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProtectedQuerySummaryUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 116 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProtectedQuery Object
/// </summary>
public class ProtectedQueryUnmarshaller : IUnmarshaller<ProtectedQuery, XmlUnmarshallerContext>, IUnmarshaller<ProtectedQuery, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProtectedQuery IUnmarshaller<ProtectedQuery, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ProtectedQuery Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProtectedQuery unmarshalledObject = new ProtectedQuery();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("createTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreateTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("error", targetDepth))
{
var unmarshaller = ProtectedQueryErrorUnmarshaller.Instance;
unmarshalledObject.Error = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("membershipArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.MembershipArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("membershipId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.MembershipId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("result", targetDepth))
{
var unmarshaller = ProtectedQueryResultUnmarshaller.Instance;
unmarshalledObject.Result = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("resultConfiguration", targetDepth))
{
var unmarshaller = ProtectedQueryResultConfigurationUnmarshaller.Instance;
unmarshalledObject.ResultConfiguration = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("sqlParameters", targetDepth))
{
var unmarshaller = ProtectedQuerySQLParametersUnmarshaller.Instance;
unmarshalledObject.SqlParameters = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("statistics", targetDepth))
{
var unmarshaller = ProtectedQueryStatisticsUnmarshaller.Instance;
unmarshalledObject.Statistics = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("status", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Status = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProtectedQueryUnmarshaller _instance = new ProtectedQueryUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProtectedQueryUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 146 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ResourceNotFoundException Object
/// </summary>
public class ResourceNotFoundExceptionUnmarshaller : IErrorResponseUnmarshaller<ResourceNotFoundException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse());
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <param name="errorResponse"></param>
/// <returns></returns>
public ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
ResourceNotFoundException unmarshalledObject = new ResourceNotFoundException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("resourceId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ResourceId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("resourceType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ResourceType = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ResourceNotFoundExceptionUnmarshaller _instance = new ResourceNotFoundExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ResourceNotFoundExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for SchemaSummary Object
/// </summary>
public class SchemaSummaryUnmarshaller : IUnmarshaller<SchemaSummary, XmlUnmarshallerContext>, IUnmarshaller<SchemaSummary, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
SchemaSummary IUnmarshaller<SchemaSummary, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public SchemaSummary Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
SchemaSummary unmarshalledObject = new SchemaSummary();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("analysisMethod", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AnalysisMethod = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("analysisRuleTypes", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.AnalysisRuleTypes = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreateTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("creatorAccountId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CreatorAccountId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("type", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Type = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("updateTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.UpdateTime = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static SchemaSummaryUnmarshaller _instance = new SchemaSummaryUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static SchemaSummaryUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 140 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Schema Object
/// </summary>
public class SchemaUnmarshaller : IUnmarshaller<Schema, XmlUnmarshallerContext>, IUnmarshaller<Schema, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Schema IUnmarshaller<Schema, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public Schema Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Schema unmarshalledObject = new Schema();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("analysisMethod", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AnalysisMethod = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("analysisRuleTypes", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
unmarshalledObject.AnalysisRuleTypes = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("collaborationId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CollaborationId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("columns", targetDepth))
{
var unmarshaller = new ListUnmarshaller<Column, ColumnUnmarshaller>(ColumnUnmarshaller.Instance);
unmarshalledObject.Columns = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreateTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("creatorAccountId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.CreatorAccountId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("partitionKeys", targetDepth))
{
var unmarshaller = new ListUnmarshaller<Column, ColumnUnmarshaller>(ColumnUnmarshaller.Instance);
unmarshalledObject.PartitionKeys = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("type", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Type = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("updateTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.UpdateTime = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static SchemaUnmarshaller _instance = new SchemaUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static SchemaUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 158 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ServiceQuotaExceededException Object
/// </summary>
public class ServiceQuotaExceededExceptionUnmarshaller : IErrorResponseUnmarshaller<ServiceQuotaExceededException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ServiceQuotaExceededException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse());
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <param name="errorResponse"></param>
/// <returns></returns>
public ServiceQuotaExceededException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
ServiceQuotaExceededException unmarshalledObject = new ServiceQuotaExceededException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("quotaName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.QuotaName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("quotaValue", targetDepth))
{
var unmarshaller = DoubleUnmarshaller.Instance;
unmarshalledObject.QuotaValue = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ServiceQuotaExceededExceptionUnmarshaller _instance = new ServiceQuotaExceededExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ServiceQuotaExceededExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// StartProtectedQuery Request Marshaller
/// </summary>
public class StartProtectedQueryRequestMarshaller : IMarshaller<IRequest, StartProtectedQueryRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((StartProtectedQueryRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(StartProtectedQueryRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "POST";
if (!publicRequest.IsSetMembershipIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field MembershipIdentifier set");
request.AddPathResource("{membershipIdentifier}", StringUtils.FromString(publicRequest.MembershipIdentifier));
request.ResourcePath = "/memberships/{membershipIdentifier}/protectedQueries";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetResultConfiguration())
{
context.Writer.WritePropertyName("resultConfiguration");
context.Writer.WriteObjectStart();
var marshaller = ProtectedQueryResultConfigurationMarshaller.Instance;
marshaller.Marshall(publicRequest.ResultConfiguration, context);
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetSqlParameters())
{
context.Writer.WritePropertyName("sqlParameters");
context.Writer.WriteObjectStart();
var marshaller = ProtectedQuerySQLParametersMarshaller.Instance;
marshaller.Marshall(publicRequest.SqlParameters, context);
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetType())
{
context.Writer.WritePropertyName("type");
context.Writer.Write(publicRequest.Type);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static StartProtectedQueryRequestMarshaller _instance = new StartProtectedQueryRequestMarshaller();
internal static StartProtectedQueryRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static StartProtectedQueryRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 126 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for StartProtectedQuery operation
/// </summary>
public class StartProtectedQueryResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
StartProtectedQueryResponse response = new StartProtectedQueryResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("protectedQuery", targetDepth))
{
var unmarshaller = ProtectedQueryUnmarshaller.Instance;
response.ProtectedQuery = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceQuotaExceededException"))
{
return ServiceQuotaExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static StartProtectedQueryResponseUnmarshaller _instance = new StartProtectedQueryResponseUnmarshaller();
internal static StartProtectedQueryResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static StartProtectedQueryResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 130 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// TableReference Marshaller
/// </summary>
public class TableReferenceMarshaller : IRequestMarshaller<TableReference, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(TableReference requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetGlue())
{
context.Writer.WritePropertyName("glue");
context.Writer.WriteObjectStart();
var marshaller = GlueTableReferenceMarshaller.Instance;
marshaller.Marshall(requestObject.Glue, context);
context.Writer.WriteObjectEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static TableReferenceMarshaller Instance = new TableReferenceMarshaller();
}
}
| 67 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for TableReference Object
/// </summary>
public class TableReferenceUnmarshaller : IUnmarshaller<TableReference, XmlUnmarshallerContext>, IUnmarshaller<TableReference, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
TableReference IUnmarshaller<TableReference, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public TableReference Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
TableReference unmarshalledObject = new TableReference();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("glue", targetDepth))
{
var unmarshaller = GlueTableReferenceUnmarshaller.Instance;
unmarshalledObject.Glue = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static TableReferenceUnmarshaller _instance = new TableReferenceUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static TableReferenceUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 92 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// TagResource Request Marshaller
/// </summary>
public class TagResourceRequestMarshaller : IMarshaller<IRequest, TagResourceRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((TagResourceRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(TagResourceRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "POST";
if (!publicRequest.IsSetResourceArn())
throw new AmazonCleanRoomsException("Request object does not have required field ResourceArn set");
request.AddPathResource("{resourceArn}", StringUtils.FromString(publicRequest.ResourceArn));
request.ResourcePath = "/tags/{resourceArn}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetTags())
{
context.Writer.WritePropertyName("tags");
context.Writer.WriteObjectStart();
foreach (var publicRequestTagsKvp in publicRequest.Tags)
{
context.Writer.WritePropertyName(publicRequestTagsKvp.Key);
var publicRequestTagsValue = publicRequestTagsKvp.Value;
context.Writer.Write(publicRequestTagsValue);
}
context.Writer.WriteObjectEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static TagResourceRequestMarshaller _instance = new TagResourceRequestMarshaller();
internal static TagResourceRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static TagResourceRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 112 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for TagResource operation
/// </summary>
public class TagResourceResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
TagResourceResponse response = new TagResourceResponse();
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static TagResourceResponseUnmarshaller _instance = new TagResourceResponseUnmarshaller();
internal static TagResourceResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static TagResourceResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 103 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ThrottlingException Object
/// </summary>
public class ThrottlingExceptionUnmarshaller : IErrorResponseUnmarshaller<ThrottlingException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ThrottlingException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse());
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <param name="errorResponse"></param>
/// <returns></returns>
public ThrottlingException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
ThrottlingException unmarshalledObject = new ThrottlingException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
}
return unmarshalledObject;
}
private static ThrottlingExceptionUnmarshaller _instance = new ThrottlingExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ThrottlingExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 85 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// UntagResource Request Marshaller
/// </summary>
public class UntagResourceRequestMarshaller : IMarshaller<IRequest, UntagResourceRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UntagResourceRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UntagResourceRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "DELETE";
if (!publicRequest.IsSetResourceArn())
throw new AmazonCleanRoomsException("Request object does not have required field ResourceArn set");
request.AddPathResource("{resourceArn}", StringUtils.FromString(publicRequest.ResourceArn));
if (publicRequest.IsSetTagKeys())
request.ParameterCollection.Add("tagKeys", publicRequest.TagKeys);
request.ResourcePath = "/tags/{resourceArn}";
request.UseQueryString = true;
return request;
}
private static UntagResourceRequestMarshaller _instance = new UntagResourceRequestMarshaller();
internal static UntagResourceRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UntagResourceRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 91 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UntagResource operation
/// </summary>
public class UntagResourceResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UntagResourceResponse response = new UntagResourceResponse();
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UntagResourceResponseUnmarshaller _instance = new UntagResourceResponseUnmarshaller();
internal static UntagResourceResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UntagResourceResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 103 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateCollaboration Request Marshaller
/// </summary>
public class UpdateCollaborationRequestMarshaller : IMarshaller<IRequest, UpdateCollaborationRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateCollaborationRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateCollaborationRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetCollaborationIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field CollaborationIdentifier set");
request.AddPathResource("{collaborationIdentifier}", StringUtils.FromString(publicRequest.CollaborationIdentifier));
request.ResourcePath = "/collaborations/{collaborationIdentifier}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetDescription())
{
context.Writer.WritePropertyName("description");
context.Writer.Write(publicRequest.Description);
}
if(publicRequest.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(publicRequest.Name);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateCollaborationRequestMarshaller _instance = new UpdateCollaborationRequestMarshaller();
internal static UpdateCollaborationRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateCollaborationRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 110 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateCollaboration operation
/// </summary>
public class UpdateCollaborationResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateCollaborationResponse response = new UpdateCollaborationResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("collaboration", targetDepth))
{
var unmarshaller = CollaborationUnmarshaller.Instance;
response.Collaboration = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateCollaborationResponseUnmarshaller _instance = new UpdateCollaborationResponseUnmarshaller();
internal static UpdateCollaborationResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateCollaborationResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 122 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateConfiguredTableAnalysisRule Request Marshaller
/// </summary>
public class UpdateConfiguredTableAnalysisRuleRequestMarshaller : IMarshaller<IRequest, UpdateConfiguredTableAnalysisRuleRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateConfiguredTableAnalysisRuleRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateConfiguredTableAnalysisRuleRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetAnalysisRuleType())
throw new AmazonCleanRoomsException("Request object does not have required field AnalysisRuleType set");
request.AddPathResource("{analysisRuleType}", StringUtils.FromString(publicRequest.AnalysisRuleType));
if (!publicRequest.IsSetConfiguredTableIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field ConfiguredTableIdentifier set");
request.AddPathResource("{configuredTableIdentifier}", StringUtils.FromString(publicRequest.ConfiguredTableIdentifier));
request.ResourcePath = "/configuredTables/{configuredTableIdentifier}/analysisRule/{analysisRuleType}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetAnalysisRulePolicy())
{
context.Writer.WritePropertyName("analysisRulePolicy");
context.Writer.WriteObjectStart();
var marshaller = ConfiguredTableAnalysisRulePolicyMarshaller.Instance;
marshaller.Marshall(publicRequest.AnalysisRulePolicy, context);
context.Writer.WriteObjectEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateConfiguredTableAnalysisRuleRequestMarshaller _instance = new UpdateConfiguredTableAnalysisRuleRequestMarshaller();
internal static UpdateConfiguredTableAnalysisRuleRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateConfiguredTableAnalysisRuleRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 112 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateConfiguredTableAnalysisRule operation
/// </summary>
public class UpdateConfiguredTableAnalysisRuleResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateConfiguredTableAnalysisRuleResponse response = new UpdateConfiguredTableAnalysisRuleResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("analysisRule", targetDepth))
{
var unmarshaller = ConfiguredTableAnalysisRuleUnmarshaller.Instance;
response.AnalysisRule = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateConfiguredTableAnalysisRuleResponseUnmarshaller _instance = new UpdateConfiguredTableAnalysisRuleResponseUnmarshaller();
internal static UpdateConfiguredTableAnalysisRuleResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateConfiguredTableAnalysisRuleResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 130 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateConfiguredTableAssociation Request Marshaller
/// </summary>
public class UpdateConfiguredTableAssociationRequestMarshaller : IMarshaller<IRequest, UpdateConfiguredTableAssociationRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateConfiguredTableAssociationRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateConfiguredTableAssociationRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetConfiguredTableAssociationIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field ConfiguredTableAssociationIdentifier set");
request.AddPathResource("{configuredTableAssociationIdentifier}", StringUtils.FromString(publicRequest.ConfiguredTableAssociationIdentifier));
if (!publicRequest.IsSetMembershipIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field MembershipIdentifier set");
request.AddPathResource("{membershipIdentifier}", StringUtils.FromString(publicRequest.MembershipIdentifier));
request.ResourcePath = "/memberships/{membershipIdentifier}/configuredTableAssociations/{configuredTableAssociationIdentifier}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetDescription())
{
context.Writer.WritePropertyName("description");
context.Writer.Write(publicRequest.Description);
}
if(publicRequest.IsSetRoleArn())
{
context.Writer.WritePropertyName("roleArn");
context.Writer.Write(publicRequest.RoleArn);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateConfiguredTableAssociationRequestMarshaller _instance = new UpdateConfiguredTableAssociationRequestMarshaller();
internal static UpdateConfiguredTableAssociationRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateConfiguredTableAssociationRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 113 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateConfiguredTableAssociation operation
/// </summary>
public class UpdateConfiguredTableAssociationResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateConfiguredTableAssociationResponse response = new UpdateConfiguredTableAssociationResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("configuredTableAssociation", targetDepth))
{
var unmarshaller = ConfiguredTableAssociationUnmarshaller.Instance;
response.ConfiguredTableAssociation = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateConfiguredTableAssociationResponseUnmarshaller _instance = new UpdateConfiguredTableAssociationResponseUnmarshaller();
internal static UpdateConfiguredTableAssociationResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateConfiguredTableAssociationResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 130 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateConfiguredTable Request Marshaller
/// </summary>
public class UpdateConfiguredTableRequestMarshaller : IMarshaller<IRequest, UpdateConfiguredTableRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateConfiguredTableRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateConfiguredTableRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetConfiguredTableIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field ConfiguredTableIdentifier set");
request.AddPathResource("{configuredTableIdentifier}", StringUtils.FromString(publicRequest.ConfiguredTableIdentifier));
request.ResourcePath = "/configuredTables/{configuredTableIdentifier}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetDescription())
{
context.Writer.WritePropertyName("description");
context.Writer.Write(publicRequest.Description);
}
if(publicRequest.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(publicRequest.Name);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateConfiguredTableRequestMarshaller _instance = new UpdateConfiguredTableRequestMarshaller();
internal static UpdateConfiguredTableRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateConfiguredTableRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 110 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateConfiguredTable operation
/// </summary>
public class UpdateConfiguredTableResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateConfiguredTableResponse response = new UpdateConfiguredTableResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("configuredTable", targetDepth))
{
var unmarshaller = ConfiguredTableUnmarshaller.Instance;
response.ConfiguredTable = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateConfiguredTableResponseUnmarshaller _instance = new UpdateConfiguredTableResponseUnmarshaller();
internal static UpdateConfiguredTableResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateConfiguredTableResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 130 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateMembership Request Marshaller
/// </summary>
public class UpdateMembershipRequestMarshaller : IMarshaller<IRequest, UpdateMembershipRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateMembershipRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateMembershipRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetMembershipIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field MembershipIdentifier set");
request.AddPathResource("{membershipIdentifier}", StringUtils.FromString(publicRequest.MembershipIdentifier));
request.ResourcePath = "/memberships/{membershipIdentifier}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetQueryLogStatus())
{
context.Writer.WritePropertyName("queryLogStatus");
context.Writer.Write(publicRequest.QueryLogStatus);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateMembershipRequestMarshaller _instance = new UpdateMembershipRequestMarshaller();
internal static UpdateMembershipRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateMembershipRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 104 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateMembership operation
/// </summary>
public class UpdateMembershipResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateMembershipResponse response = new UpdateMembershipResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("membership", targetDepth))
{
var unmarshaller = MembershipUnmarshaller.Instance;
response.Membership = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateMembershipResponseUnmarshaller _instance = new UpdateMembershipResponseUnmarshaller();
internal static UpdateMembershipResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateMembershipResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 130 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateProtectedQuery Request Marshaller
/// </summary>
public class UpdateProtectedQueryRequestMarshaller : IMarshaller<IRequest, UpdateProtectedQueryRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((UpdateProtectedQueryRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateProtectedQueryRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.CleanRooms");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2022-02-17";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetMembershipIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field MembershipIdentifier set");
request.AddPathResource("{membershipIdentifier}", StringUtils.FromString(publicRequest.MembershipIdentifier));
if (!publicRequest.IsSetProtectedQueryIdentifier())
throw new AmazonCleanRoomsException("Request object does not have required field ProtectedQueryIdentifier set");
request.AddPathResource("{protectedQueryIdentifier}", StringUtils.FromString(publicRequest.ProtectedQueryIdentifier));
request.ResourcePath = "/memberships/{membershipIdentifier}/protectedQueries/{protectedQueryIdentifier}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetTargetStatus())
{
context.Writer.WritePropertyName("targetStatus");
context.Writer.Write(publicRequest.TargetStatus);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateProtectedQueryRequestMarshaller _instance = new UpdateProtectedQueryRequestMarshaller();
internal static UpdateProtectedQueryRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateProtectedQueryRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 107 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateProtectedQuery operation
/// </summary>
public class UpdateProtectedQueryResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateProtectedQueryResponse response = new UpdateProtectedQueryResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("protectedQuery", targetDepth))
{
var unmarshaller = ProtectedQueryUnmarshaller.Instance;
response.ProtectedQuery = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonCleanRoomsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateProtectedQueryResponseUnmarshaller _instance = new UpdateProtectedQueryResponseUnmarshaller();
internal static UpdateProtectedQueryResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateProtectedQueryResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 130 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ValidationExceptionField Object
/// </summary>
public class ValidationExceptionFieldUnmarshaller : IUnmarshaller<ValidationExceptionField, XmlUnmarshallerContext>, IUnmarshaller<ValidationExceptionField, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ValidationExceptionField IUnmarshaller<ValidationExceptionField, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ValidationExceptionField Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ValidationExceptionField unmarshalledObject = new ValidationExceptionField();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("message", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Message = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ValidationExceptionFieldUnmarshaller _instance = new ValidationExceptionFieldUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ValidationExceptionFieldUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.CleanRooms.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.CleanRooms.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ValidationException Object
/// </summary>
public class ValidationExceptionUnmarshaller : IErrorResponseUnmarshaller<ValidationException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ValidationException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse());
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <param name="errorResponse"></param>
/// <returns></returns>
public ValidationException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
ValidationException unmarshalledObject = new ValidationException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("fieldList", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ValidationExceptionField, ValidationExceptionFieldUnmarshaller>(ValidationExceptionFieldUnmarshaller.Instance);
unmarshalledObject.FieldList = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("reason", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Reason = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ValidationExceptionUnmarshaller _instance = new ValidationExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ValidationExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Paginators for the CleanRooms service
///</summary>
public class CleanRoomsPaginatorFactory : ICleanRoomsPaginatorFactory
{
private readonly IAmazonCleanRooms client;
internal CleanRoomsPaginatorFactory(IAmazonCleanRooms client)
{
this.client = client;
}
/// <summary>
/// Paginator for ListCollaborations operation
///</summary>
public IListCollaborationsPaginator ListCollaborations(ListCollaborationsRequest request)
{
return new ListCollaborationsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListConfiguredTableAssociations operation
///</summary>
public IListConfiguredTableAssociationsPaginator ListConfiguredTableAssociations(ListConfiguredTableAssociationsRequest request)
{
return new ListConfiguredTableAssociationsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListConfiguredTables operation
///</summary>
public IListConfiguredTablesPaginator ListConfiguredTables(ListConfiguredTablesRequest request)
{
return new ListConfiguredTablesPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListMembers operation
///</summary>
public IListMembersPaginator ListMembers(ListMembersRequest request)
{
return new ListMembersPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListMemberships operation
///</summary>
public IListMembershipsPaginator ListMemberships(ListMembershipsRequest request)
{
return new ListMembershipsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListProtectedQueries operation
///</summary>
public IListProtectedQueriesPaginator ListProtectedQueries(ListProtectedQueriesRequest request)
{
return new ListProtectedQueriesPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListSchemas operation
///</summary>
public IListSchemasPaginator ListSchemas(ListSchemasRequest request)
{
return new ListSchemasPaginator(this.client, request);
}
}
}
| 94 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Paginators for the CleanRooms service
///</summary>
public interface ICleanRoomsPaginatorFactory
{
/// <summary>
/// Paginator for ListCollaborations operation
///</summary>
IListCollaborationsPaginator ListCollaborations(ListCollaborationsRequest request);
/// <summary>
/// Paginator for ListConfiguredTableAssociations operation
///</summary>
IListConfiguredTableAssociationsPaginator ListConfiguredTableAssociations(ListConfiguredTableAssociationsRequest request);
/// <summary>
/// Paginator for ListConfiguredTables operation
///</summary>
IListConfiguredTablesPaginator ListConfiguredTables(ListConfiguredTablesRequest request);
/// <summary>
/// Paginator for ListMembers operation
///</summary>
IListMembersPaginator ListMembers(ListMembersRequest request);
/// <summary>
/// Paginator for ListMemberships operation
///</summary>
IListMembershipsPaginator ListMemberships(ListMembershipsRequest request);
/// <summary>
/// Paginator for ListProtectedQueries operation
///</summary>
IListProtectedQueriesPaginator ListProtectedQueries(ListProtectedQueriesRequest request);
/// <summary>
/// Paginator for ListSchemas operation
///</summary>
IListSchemasPaginator ListSchemas(ListSchemasRequest request);
}
}
| 63 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Paginator for the ListCollaborations operation
///</summary>
public interface IListCollaborationsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListCollaborationsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the CollaborationList
/// </summary>
IPaginatedEnumerable<CollaborationSummary> CollaborationList { get; }
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Paginator for the ListConfiguredTableAssociations operation
///</summary>
public interface IListConfiguredTableAssociationsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListConfiguredTableAssociationsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the ConfiguredTableAssociationSummaries
/// </summary>
IPaginatedEnumerable<ConfiguredTableAssociationSummary> ConfiguredTableAssociationSummaries { get; }
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Paginator for the ListConfiguredTables operation
///</summary>
public interface IListConfiguredTablesPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListConfiguredTablesResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the ConfiguredTableSummaries
/// </summary>
IPaginatedEnumerable<ConfiguredTableSummary> ConfiguredTableSummaries { get; }
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Paginator for the ListMemberships operation
///</summary>
public interface IListMembershipsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListMembershipsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the MembershipSummaries
/// </summary>
IPaginatedEnumerable<MembershipSummary> MembershipSummaries { get; }
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Paginator for the ListMembers operation
///</summary>
public interface IListMembersPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListMembersResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the MemberSummaries
/// </summary>
IPaginatedEnumerable<MemberSummary> MemberSummaries { get; }
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Paginator for the ListProtectedQueries operation
///</summary>
public interface IListProtectedQueriesPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListProtectedQueriesResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the ProtectedQueries
/// </summary>
IPaginatedEnumerable<ProtectedQuerySummary> ProtectedQueries { get; }
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Paginator for the ListSchemas operation
///</summary>
public interface IListSchemasPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListSchemasResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the SchemaSummaries
/// </summary>
IPaginatedEnumerable<SchemaSummary> SchemaSummaries { get; }
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Base class for ListCollaborations paginators.
/// </summary>
internal sealed partial class ListCollaborationsPaginator : IPaginator<ListCollaborationsResponse>, IListCollaborationsPaginator
{
private readonly IAmazonCleanRooms _client;
private readonly ListCollaborationsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListCollaborationsResponse> Responses => new PaginatedResponse<ListCollaborationsResponse>(this);
/// <summary>
/// Enumerable containing all of the CollaborationList
/// </summary>
public IPaginatedEnumerable<CollaborationSummary> CollaborationList =>
new PaginatedResultKeyResponse<ListCollaborationsResponse, CollaborationSummary>(this, (i) => i.CollaborationList);
internal ListCollaborationsPaginator(IAmazonCleanRooms client, ListCollaborationsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListCollaborationsResponse> IPaginator<ListCollaborationsResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListCollaborationsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListCollaborations(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListCollaborationsResponse> IPaginator<ListCollaborationsResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListCollaborationsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListCollaborationsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Base class for ListConfiguredTableAssociations paginators.
/// </summary>
internal sealed partial class ListConfiguredTableAssociationsPaginator : IPaginator<ListConfiguredTableAssociationsResponse>, IListConfiguredTableAssociationsPaginator
{
private readonly IAmazonCleanRooms _client;
private readonly ListConfiguredTableAssociationsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListConfiguredTableAssociationsResponse> Responses => new PaginatedResponse<ListConfiguredTableAssociationsResponse>(this);
/// <summary>
/// Enumerable containing all of the ConfiguredTableAssociationSummaries
/// </summary>
public IPaginatedEnumerable<ConfiguredTableAssociationSummary> ConfiguredTableAssociationSummaries =>
new PaginatedResultKeyResponse<ListConfiguredTableAssociationsResponse, ConfiguredTableAssociationSummary>(this, (i) => i.ConfiguredTableAssociationSummaries);
internal ListConfiguredTableAssociationsPaginator(IAmazonCleanRooms client, ListConfiguredTableAssociationsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListConfiguredTableAssociationsResponse> IPaginator<ListConfiguredTableAssociationsResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListConfiguredTableAssociationsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListConfiguredTableAssociations(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListConfiguredTableAssociationsResponse> IPaginator<ListConfiguredTableAssociationsResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListConfiguredTableAssociationsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListConfiguredTableAssociationsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Base class for ListConfiguredTables paginators.
/// </summary>
internal sealed partial class ListConfiguredTablesPaginator : IPaginator<ListConfiguredTablesResponse>, IListConfiguredTablesPaginator
{
private readonly IAmazonCleanRooms _client;
private readonly ListConfiguredTablesRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListConfiguredTablesResponse> Responses => new PaginatedResponse<ListConfiguredTablesResponse>(this);
/// <summary>
/// Enumerable containing all of the ConfiguredTableSummaries
/// </summary>
public IPaginatedEnumerable<ConfiguredTableSummary> ConfiguredTableSummaries =>
new PaginatedResultKeyResponse<ListConfiguredTablesResponse, ConfiguredTableSummary>(this, (i) => i.ConfiguredTableSummaries);
internal ListConfiguredTablesPaginator(IAmazonCleanRooms client, ListConfiguredTablesRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListConfiguredTablesResponse> IPaginator<ListConfiguredTablesResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListConfiguredTablesResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListConfiguredTables(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListConfiguredTablesResponse> IPaginator<ListConfiguredTablesResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListConfiguredTablesResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListConfiguredTablesAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Base class for ListMemberships paginators.
/// </summary>
internal sealed partial class ListMembershipsPaginator : IPaginator<ListMembershipsResponse>, IListMembershipsPaginator
{
private readonly IAmazonCleanRooms _client;
private readonly ListMembershipsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListMembershipsResponse> Responses => new PaginatedResponse<ListMembershipsResponse>(this);
/// <summary>
/// Enumerable containing all of the MembershipSummaries
/// </summary>
public IPaginatedEnumerable<MembershipSummary> MembershipSummaries =>
new PaginatedResultKeyResponse<ListMembershipsResponse, MembershipSummary>(this, (i) => i.MembershipSummaries);
internal ListMembershipsPaginator(IAmazonCleanRooms client, ListMembershipsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListMembershipsResponse> IPaginator<ListMembershipsResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListMembershipsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListMemberships(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListMembershipsResponse> IPaginator<ListMembershipsResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListMembershipsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListMembershipsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Base class for ListMembers paginators.
/// </summary>
internal sealed partial class ListMembersPaginator : IPaginator<ListMembersResponse>, IListMembersPaginator
{
private readonly IAmazonCleanRooms _client;
private readonly ListMembersRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListMembersResponse> Responses => new PaginatedResponse<ListMembersResponse>(this);
/// <summary>
/// Enumerable containing all of the MemberSummaries
/// </summary>
public IPaginatedEnumerable<MemberSummary> MemberSummaries =>
new PaginatedResultKeyResponse<ListMembersResponse, MemberSummary>(this, (i) => i.MemberSummaries);
internal ListMembersPaginator(IAmazonCleanRooms client, ListMembersRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListMembersResponse> IPaginator<ListMembersResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListMembersResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListMembers(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListMembersResponse> IPaginator<ListMembersResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListMembersResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListMembersAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Base class for ListProtectedQueries paginators.
/// </summary>
internal sealed partial class ListProtectedQueriesPaginator : IPaginator<ListProtectedQueriesResponse>, IListProtectedQueriesPaginator
{
private readonly IAmazonCleanRooms _client;
private readonly ListProtectedQueriesRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListProtectedQueriesResponse> Responses => new PaginatedResponse<ListProtectedQueriesResponse>(this);
/// <summary>
/// Enumerable containing all of the ProtectedQueries
/// </summary>
public IPaginatedEnumerable<ProtectedQuerySummary> ProtectedQueries =>
new PaginatedResultKeyResponse<ListProtectedQueriesResponse, ProtectedQuerySummary>(this, (i) => i.ProtectedQueries);
internal ListProtectedQueriesPaginator(IAmazonCleanRooms client, ListProtectedQueriesRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListProtectedQueriesResponse> IPaginator<ListProtectedQueriesResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListProtectedQueriesResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListProtectedQueries(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListProtectedQueriesResponse> IPaginator<ListProtectedQueriesResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListProtectedQueriesResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListProtectedQueriesAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.CleanRooms.Model
{
/// <summary>
/// Base class for ListSchemas paginators.
/// </summary>
internal sealed partial class ListSchemasPaginator : IPaginator<ListSchemasResponse>, IListSchemasPaginator
{
private readonly IAmazonCleanRooms _client;
private readonly ListSchemasRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListSchemasResponse> Responses => new PaginatedResponse<ListSchemasResponse>(this);
/// <summary>
/// Enumerable containing all of the SchemaSummaries
/// </summary>
public IPaginatedEnumerable<SchemaSummary> SchemaSummaries =>
new PaginatedResultKeyResponse<ListSchemasResponse, SchemaSummary>(this, (i) => i.SchemaSummaries);
internal ListSchemasPaginator(IAmazonCleanRooms client, ListSchemasRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListSchemasResponse> IPaginator<ListSchemasResponse>.Paginate()
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListSchemasResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListSchemas(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListSchemasResponse> IPaginator<ListSchemasResponse>.PaginateAsync(CancellationToken cancellationToken = default)
{
if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0)
{
throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance.");
}
PaginatorUtils.SetUserAgentAdditionOnRequest(_request);
var nextToken = _request.NextToken;
ListSchemasResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListSchemasAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.CleanRooms.Model;
using Amazon.CleanRooms.Model.Internal.MarshallTransformations;
using Amazon.CleanRooms.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.CleanRooms
{
/// <summary>
/// Implementation for accessing CleanRooms
///
/// Welcome to the <i>Clean Rooms API Reference</i>.
///
///
/// <para>
/// Clean Rooms is an Amazon Web Services service that helps multiple parties to join
/// their data together in a secure collaboration workspace. In the collaboration, members
/// who can query and receive results can get insights into the collective datasets without
/// either party getting access to the other party's raw data.
/// </para>
///
/// <para>
/// To learn more about Clean Rooms concepts, procedures, and best practices, see the
/// <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean
/// Rooms User Guide</a>.
/// </para>
/// </summary>
public partial class AmazonCleanRoomsClient : AmazonServiceClient, IAmazonCleanRooms
{
private static IServiceMetadata serviceMetadata = new AmazonCleanRoomsMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private ICleanRoomsPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public ICleanRoomsPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new CleanRoomsPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
/// <summary>
/// Constructs AmazonCleanRoomsClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonCleanRoomsClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCleanRoomsConfig()) { }
/// <summary>
/// Constructs AmazonCleanRoomsClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCleanRoomsConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonCleanRoomsClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(AmazonCleanRoomsConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonCleanRoomsClient(AWSCredentials credentials)
: this(credentials, new AmazonCleanRoomsConfig())
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonCleanRoomsConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Credentials and an
/// AmazonCleanRoomsClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(AWSCredentials credentials, AmazonCleanRoomsConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCleanRoomsConfig())
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCleanRoomsConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCleanRoomsClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCleanRoomsConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCleanRoomsConfig())
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCleanRoomsConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCleanRoomsClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="clientConfig">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCleanRoomsConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customize the pipeline
/// </summary>
/// <param name="pipeline"></param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonCleanRoomsEndpointResolver());
}
/// <summary>
/// Capture metadata for the service.
/// </summary>
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region BatchGetSchema
/// <summary>
/// Retrieves multiple schemas by their identifiers.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetSchema service method.</param>
///
/// <returns>The response from the BatchGetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
public virtual BatchGetSchemaResponse BatchGetSchema(BatchGetSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetSchemaResponseUnmarshaller.Instance;
return Invoke<BatchGetSchemaResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the BatchGetSchema operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchGetSchema operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetSchema
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
public virtual IAsyncResult BeginBatchGetSchema(BatchGetSchemaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetSchemaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the BatchGetSchema operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchGetSchema.</param>
///
/// <returns>Returns a BatchGetSchemaResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
public virtual BatchGetSchemaResponse EndBatchGetSchema(IAsyncResult asyncResult)
{
return EndInvoke<BatchGetSchemaResponse>(asyncResult);
}
#endregion
#region CreateCollaboration
/// <summary>
/// Creates a new collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateCollaboration service method.</param>
///
/// <returns>The response from the CreateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
public virtual CreateCollaborationResponse CreateCollaboration(CreateCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCollaborationResponseUnmarshaller.Instance;
return Invoke<CreateCollaborationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateCollaboration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateCollaboration operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCollaboration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
public virtual IAsyncResult BeginCreateCollaboration(CreateCollaborationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCollaborationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateCollaboration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateCollaboration.</param>
///
/// <returns>Returns a CreateCollaborationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
public virtual CreateCollaborationResponse EndCreateCollaboration(IAsyncResult asyncResult)
{
return EndInvoke<CreateCollaborationResponse>(asyncResult);
}
#endregion
#region CreateConfiguredTable
/// <summary>
/// Creates a new configured table resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTable service method.</param>
///
/// <returns>The response from the CreateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
public virtual CreateConfiguredTableResponse CreateConfiguredTable(CreateConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableResponseUnmarshaller.Instance;
return Invoke<CreateConfiguredTableResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateConfiguredTable operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTable operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConfiguredTable
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
public virtual IAsyncResult BeginCreateConfiguredTable(CreateConfiguredTableRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateConfiguredTable operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateConfiguredTable.</param>
///
/// <returns>Returns a CreateConfiguredTableResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
public virtual CreateConfiguredTableResponse EndCreateConfiguredTable(IAsyncResult asyncResult)
{
return EndInvoke<CreateConfiguredTableResponse>(asyncResult);
}
#endregion
#region CreateConfiguredTableAnalysisRule
/// <summary>
/// Creates a new analysis rule for a configured table. Currently, only one analysis rule
/// can be created for a given configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the CreateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
public virtual CreateConfiguredTableAnalysisRuleResponse CreateConfiguredTableAnalysisRule(CreateConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<CreateConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAnalysisRule operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConfiguredTableAnalysisRule
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
public virtual IAsyncResult BeginCreateConfiguredTableAnalysisRule(CreateConfiguredTableAnalysisRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateConfiguredTableAnalysisRule.</param>
///
/// <returns>Returns a CreateConfiguredTableAnalysisRuleResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
public virtual CreateConfiguredTableAnalysisRuleResponse EndCreateConfiguredTableAnalysisRule(IAsyncResult asyncResult)
{
return EndInvoke<CreateConfiguredTableAnalysisRuleResponse>(asyncResult);
}
#endregion
#region CreateConfiguredTableAssociation
/// <summary>
/// Creates a configured table association. A configured table association links a configured
/// table with a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the CreateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
public virtual CreateConfiguredTableAssociationResponse CreateConfiguredTableAssociation(CreateConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<CreateConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAssociation operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConfiguredTableAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
public virtual IAsyncResult BeginCreateConfiguredTableAssociation(CreateConfiguredTableAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateConfiguredTableAssociation.</param>
///
/// <returns>Returns a CreateConfiguredTableAssociationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
public virtual CreateConfiguredTableAssociationResponse EndCreateConfiguredTableAssociation(IAsyncResult asyncResult)
{
return EndInvoke<CreateConfiguredTableAssociationResponse>(asyncResult);
}
#endregion
#region CreateMembership
/// <summary>
/// Creates a membership for a specific collaboration identifier and joins the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateMembership service method.</param>
///
/// <returns>The response from the CreateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
public virtual CreateMembershipResponse CreateMembership(CreateMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMembershipResponseUnmarshaller.Instance;
return Invoke<CreateMembershipResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateMembership operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateMembership operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateMembership
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
public virtual IAsyncResult BeginCreateMembership(CreateMembershipRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMembershipResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateMembership operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateMembership.</param>
///
/// <returns>Returns a CreateMembershipResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
public virtual CreateMembershipResponse EndCreateMembership(IAsyncResult asyncResult)
{
return EndInvoke<CreateMembershipResponse>(asyncResult);
}
#endregion
#region DeleteCollaboration
/// <summary>
/// Deletes a collaboration. It can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCollaboration service method.</param>
///
/// <returns>The response from the DeleteCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
public virtual DeleteCollaborationResponse DeleteCollaboration(DeleteCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCollaborationResponseUnmarshaller.Instance;
return Invoke<DeleteCollaborationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteCollaboration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteCollaboration operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCollaboration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
public virtual IAsyncResult BeginDeleteCollaboration(DeleteCollaborationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCollaborationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteCollaboration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteCollaboration.</param>
///
/// <returns>Returns a DeleteCollaborationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
public virtual DeleteCollaborationResponse EndDeleteCollaboration(IAsyncResult asyncResult)
{
return EndInvoke<DeleteCollaborationResponse>(asyncResult);
}
#endregion
#region DeleteConfiguredTable
/// <summary>
/// Deletes a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTable service method.</param>
///
/// <returns>The response from the DeleteConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
public virtual DeleteConfiguredTableResponse DeleteConfiguredTable(DeleteConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableResponseUnmarshaller.Instance;
return Invoke<DeleteConfiguredTableResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteConfiguredTable operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTable operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConfiguredTable
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
public virtual IAsyncResult BeginDeleteConfiguredTable(DeleteConfiguredTableRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteConfiguredTable operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteConfiguredTable.</param>
///
/// <returns>Returns a DeleteConfiguredTableResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
public virtual DeleteConfiguredTableResponse EndDeleteConfiguredTable(IAsyncResult asyncResult)
{
return EndInvoke<DeleteConfiguredTableResponse>(asyncResult);
}
#endregion
#region DeleteConfiguredTableAnalysisRule
/// <summary>
/// Deletes a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the DeleteConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
public virtual DeleteConfiguredTableAnalysisRuleResponse DeleteConfiguredTableAnalysisRule(DeleteConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<DeleteConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAnalysisRule operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConfiguredTableAnalysisRule
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
public virtual IAsyncResult BeginDeleteConfiguredTableAnalysisRule(DeleteConfiguredTableAnalysisRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteConfiguredTableAnalysisRule.</param>
///
/// <returns>Returns a DeleteConfiguredTableAnalysisRuleResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
public virtual DeleteConfiguredTableAnalysisRuleResponse EndDeleteConfiguredTableAnalysisRule(IAsyncResult asyncResult)
{
return EndInvoke<DeleteConfiguredTableAnalysisRuleResponse>(asyncResult);
}
#endregion
#region DeleteConfiguredTableAssociation
/// <summary>
/// Deletes a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the DeleteConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
public virtual DeleteConfiguredTableAssociationResponse DeleteConfiguredTableAssociation(DeleteConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<DeleteConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAssociation operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConfiguredTableAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
public virtual IAsyncResult BeginDeleteConfiguredTableAssociation(DeleteConfiguredTableAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteConfiguredTableAssociation.</param>
///
/// <returns>Returns a DeleteConfiguredTableAssociationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
public virtual DeleteConfiguredTableAssociationResponse EndDeleteConfiguredTableAssociation(IAsyncResult asyncResult)
{
return EndInvoke<DeleteConfiguredTableAssociationResponse>(asyncResult);
}
#endregion
#region DeleteMember
/// <summary>
/// Removes the specified member from a collaboration. The removed member is placed in
/// the Removed status and can't interact with the collaboration. The removed member's
/// data is inaccessible to active members of the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMember service method.</param>
///
/// <returns>The response from the DeleteMember service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
public virtual DeleteMemberResponse DeleteMember(DeleteMemberRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMemberResponseUnmarshaller.Instance;
return Invoke<DeleteMemberResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteMember operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteMember operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMember
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
public virtual IAsyncResult BeginDeleteMember(DeleteMemberRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMemberResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteMember operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteMember.</param>
///
/// <returns>Returns a DeleteMemberResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
public virtual DeleteMemberResponse EndDeleteMember(IAsyncResult asyncResult)
{
return EndInvoke<DeleteMemberResponse>(asyncResult);
}
#endregion
#region DeleteMembership
/// <summary>
/// Deletes a specified membership. All resources under a membership must be deleted.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMembership service method.</param>
///
/// <returns>The response from the DeleteMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
public virtual DeleteMembershipResponse DeleteMembership(DeleteMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMembershipResponseUnmarshaller.Instance;
return Invoke<DeleteMembershipResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteMembership operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteMembership operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMembership
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
public virtual IAsyncResult BeginDeleteMembership(DeleteMembershipRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMembershipResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteMembership operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteMembership.</param>
///
/// <returns>Returns a DeleteMembershipResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
public virtual DeleteMembershipResponse EndDeleteMembership(IAsyncResult asyncResult)
{
return EndInvoke<DeleteMembershipResponse>(asyncResult);
}
#endregion
#region GetCollaboration
/// <summary>
/// Returns metadata about a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetCollaboration service method.</param>
///
/// <returns>The response from the GetCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
public virtual GetCollaborationResponse GetCollaboration(GetCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCollaborationResponseUnmarshaller.Instance;
return Invoke<GetCollaborationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetCollaboration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetCollaboration operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCollaboration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
public virtual IAsyncResult BeginGetCollaboration(GetCollaborationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCollaborationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetCollaboration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetCollaboration.</param>
///
/// <returns>Returns a GetCollaborationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
public virtual GetCollaborationResponse EndGetCollaboration(IAsyncResult asyncResult)
{
return EndInvoke<GetCollaborationResponse>(asyncResult);
}
#endregion
#region GetConfiguredTable
/// <summary>
/// Retrieves a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTable service method.</param>
///
/// <returns>The response from the GetConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
public virtual GetConfiguredTableResponse GetConfiguredTable(GetConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableResponseUnmarshaller.Instance;
return Invoke<GetConfiguredTableResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetConfiguredTable operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTable operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfiguredTable
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
public virtual IAsyncResult BeginGetConfiguredTable(GetConfiguredTableRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetConfiguredTable operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfiguredTable.</param>
///
/// <returns>Returns a GetConfiguredTableResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
public virtual GetConfiguredTableResponse EndGetConfiguredTable(IAsyncResult asyncResult)
{
return EndInvoke<GetConfiguredTableResponse>(asyncResult);
}
#endregion
#region GetConfiguredTableAnalysisRule
/// <summary>
/// Retrieves a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the GetConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
public virtual GetConfiguredTableAnalysisRuleResponse GetConfiguredTableAnalysisRule(GetConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<GetConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAnalysisRule operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfiguredTableAnalysisRule
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
public virtual IAsyncResult BeginGetConfiguredTableAnalysisRule(GetConfiguredTableAnalysisRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfiguredTableAnalysisRule.</param>
///
/// <returns>Returns a GetConfiguredTableAnalysisRuleResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
public virtual GetConfiguredTableAnalysisRuleResponse EndGetConfiguredTableAnalysisRule(IAsyncResult asyncResult)
{
return EndInvoke<GetConfiguredTableAnalysisRuleResponse>(asyncResult);
}
#endregion
#region GetConfiguredTableAssociation
/// <summary>
/// Retrieves a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the GetConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
public virtual GetConfiguredTableAssociationResponse GetConfiguredTableAssociation(GetConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<GetConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAssociation operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfiguredTableAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
public virtual IAsyncResult BeginGetConfiguredTableAssociation(GetConfiguredTableAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfiguredTableAssociation.</param>
///
/// <returns>Returns a GetConfiguredTableAssociationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
public virtual GetConfiguredTableAssociationResponse EndGetConfiguredTableAssociation(IAsyncResult asyncResult)
{
return EndInvoke<GetConfiguredTableAssociationResponse>(asyncResult);
}
#endregion
#region GetMembership
/// <summary>
/// Retrieves a specified membership for an identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMembership service method.</param>
///
/// <returns>The response from the GetMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
public virtual GetMembershipResponse GetMembership(GetMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMembershipResponseUnmarshaller.Instance;
return Invoke<GetMembershipResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetMembership operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetMembership operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMembership
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
public virtual IAsyncResult BeginGetMembership(GetMembershipRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMembershipResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetMembership operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetMembership.</param>
///
/// <returns>Returns a GetMembershipResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
public virtual GetMembershipResponse EndGetMembership(IAsyncResult asyncResult)
{
return EndInvoke<GetMembershipResponse>(asyncResult);
}
#endregion
#region GetProtectedQuery
/// <summary>
/// Returns query processing metadata.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProtectedQuery service method.</param>
///
/// <returns>The response from the GetProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
public virtual GetProtectedQueryResponse GetProtectedQuery(GetProtectedQueryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProtectedQueryResponseUnmarshaller.Instance;
return Invoke<GetProtectedQueryResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetProtectedQuery operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetProtectedQuery operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetProtectedQuery
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
public virtual IAsyncResult BeginGetProtectedQuery(GetProtectedQueryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProtectedQueryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetProtectedQuery operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetProtectedQuery.</param>
///
/// <returns>Returns a GetProtectedQueryResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
public virtual GetProtectedQueryResponse EndGetProtectedQuery(IAsyncResult asyncResult)
{
return EndInvoke<GetProtectedQueryResponse>(asyncResult);
}
#endregion
#region GetSchema
/// <summary>
/// Retrieves the schema for a relation within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchema service method.</param>
///
/// <returns>The response from the GetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
public virtual GetSchemaResponse GetSchema(GetSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaResponseUnmarshaller.Instance;
return Invoke<GetSchemaResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetSchema operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetSchema operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSchema
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
public virtual IAsyncResult BeginGetSchema(GetSchemaRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetSchema operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSchema.</param>
///
/// <returns>Returns a GetSchemaResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
public virtual GetSchemaResponse EndGetSchema(IAsyncResult asyncResult)
{
return EndInvoke<GetSchemaResponse>(asyncResult);
}
#endregion
#region GetSchemaAnalysisRule
/// <summary>
/// Retrieves a schema analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchemaAnalysisRule service method.</param>
///
/// <returns>The response from the GetSchemaAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
public virtual GetSchemaAnalysisRuleResponse GetSchemaAnalysisRule(GetSchemaAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<GetSchemaAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetSchemaAnalysisRule operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetSchemaAnalysisRule operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSchemaAnalysisRule
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
public virtual IAsyncResult BeginGetSchemaAnalysisRule(GetSchemaAnalysisRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaAnalysisRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetSchemaAnalysisRule operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSchemaAnalysisRule.</param>
///
/// <returns>Returns a GetSchemaAnalysisRuleResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
public virtual GetSchemaAnalysisRuleResponse EndGetSchemaAnalysisRule(IAsyncResult asyncResult)
{
return EndInvoke<GetSchemaAnalysisRuleResponse>(asyncResult);
}
#endregion
#region ListCollaborations
/// <summary>
/// Lists collaborations the caller owns, is active in, or has been invited to.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListCollaborations service method.</param>
///
/// <returns>The response from the ListCollaborations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
public virtual ListCollaborationsResponse ListCollaborations(ListCollaborationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCollaborationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCollaborationsResponseUnmarshaller.Instance;
return Invoke<ListCollaborationsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListCollaborations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListCollaborations operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCollaborations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
public virtual IAsyncResult BeginListCollaborations(ListCollaborationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCollaborationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCollaborationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListCollaborations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListCollaborations.</param>
///
/// <returns>Returns a ListCollaborationsResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
public virtual ListCollaborationsResponse EndListCollaborations(IAsyncResult asyncResult)
{
return EndInvoke<ListCollaborationsResponse>(asyncResult);
}
#endregion
#region ListConfiguredTableAssociations
/// <summary>
/// Lists configured table associations for a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTableAssociations service method.</param>
///
/// <returns>The response from the ListConfiguredTableAssociations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
public virtual ListConfiguredTableAssociationsResponse ListConfiguredTableAssociations(ListConfiguredTableAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTableAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTableAssociationsResponseUnmarshaller.Instance;
return Invoke<ListConfiguredTableAssociationsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListConfiguredTableAssociations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTableAssociations operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListConfiguredTableAssociations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
public virtual IAsyncResult BeginListConfiguredTableAssociations(ListConfiguredTableAssociationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTableAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTableAssociationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListConfiguredTableAssociations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListConfiguredTableAssociations.</param>
///
/// <returns>Returns a ListConfiguredTableAssociationsResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
public virtual ListConfiguredTableAssociationsResponse EndListConfiguredTableAssociations(IAsyncResult asyncResult)
{
return EndInvoke<ListConfiguredTableAssociationsResponse>(asyncResult);
}
#endregion
#region ListConfiguredTables
/// <summary>
/// Lists configured tables.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTables service method.</param>
///
/// <returns>The response from the ListConfiguredTables service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
public virtual ListConfiguredTablesResponse ListConfiguredTables(ListConfiguredTablesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTablesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTablesResponseUnmarshaller.Instance;
return Invoke<ListConfiguredTablesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListConfiguredTables operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTables operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListConfiguredTables
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
public virtual IAsyncResult BeginListConfiguredTables(ListConfiguredTablesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTablesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTablesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListConfiguredTables operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListConfiguredTables.</param>
///
/// <returns>Returns a ListConfiguredTablesResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
public virtual ListConfiguredTablesResponse EndListConfiguredTables(IAsyncResult asyncResult)
{
return EndInvoke<ListConfiguredTablesResponse>(asyncResult);
}
#endregion
#region ListMembers
/// <summary>
/// Lists all members within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param>
///
/// <returns>The response from the ListMembers service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
public virtual ListMembersResponse ListMembers(ListMembersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance;
return Invoke<ListMembersResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListMembers operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListMembers operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListMembers
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
public virtual IAsyncResult BeginListMembers(ListMembersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListMembers operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListMembers.</param>
///
/// <returns>Returns a ListMembersResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
public virtual ListMembersResponse EndListMembers(IAsyncResult asyncResult)
{
return EndInvoke<ListMembersResponse>(asyncResult);
}
#endregion
#region ListMemberships
/// <summary>
/// Lists all memberships resources within the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMemberships service method.</param>
///
/// <returns>The response from the ListMemberships service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
public virtual ListMembershipsResponse ListMemberships(ListMembershipsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembershipsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembershipsResponseUnmarshaller.Instance;
return Invoke<ListMembershipsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListMemberships operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListMemberships operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListMemberships
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
public virtual IAsyncResult BeginListMemberships(ListMembershipsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembershipsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembershipsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListMemberships operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListMemberships.</param>
///
/// <returns>Returns a ListMembershipsResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
public virtual ListMembershipsResponse EndListMemberships(IAsyncResult asyncResult)
{
return EndInvoke<ListMembershipsResponse>(asyncResult);
}
#endregion
#region ListProtectedQueries
/// <summary>
/// Lists protected queries, sorted by the most recent query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProtectedQueries service method.</param>
///
/// <returns>The response from the ListProtectedQueries service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
public virtual ListProtectedQueriesResponse ListProtectedQueries(ListProtectedQueriesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProtectedQueriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProtectedQueriesResponseUnmarshaller.Instance;
return Invoke<ListProtectedQueriesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListProtectedQueries operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListProtectedQueries operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListProtectedQueries
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
public virtual IAsyncResult BeginListProtectedQueries(ListProtectedQueriesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProtectedQueriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProtectedQueriesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListProtectedQueries operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListProtectedQueries.</param>
///
/// <returns>Returns a ListProtectedQueriesResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
public virtual ListProtectedQueriesResponse EndListProtectedQueries(IAsyncResult asyncResult)
{
return EndInvoke<ListProtectedQueriesResponse>(asyncResult);
}
#endregion
#region ListSchemas
/// <summary>
/// Lists the schemas for relations within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSchemas service method.</param>
///
/// <returns>The response from the ListSchemas service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
public virtual ListSchemasResponse ListSchemas(ListSchemasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemasResponseUnmarshaller.Instance;
return Invoke<ListSchemasResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListSchemas operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListSchemas operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSchemas
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
public virtual IAsyncResult BeginListSchemas(ListSchemasRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemasResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListSchemas operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListSchemas.</param>
///
/// <returns>Returns a ListSchemasResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
public virtual ListSchemasResponse EndListSchemas(IAsyncResult asyncResult)
{
return EndInvoke<ListSchemasResponse>(asyncResult);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Lists all of the tags that have been added to a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param>
///
/// <returns>Returns a ListTagsForResourceResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke<ListTagsForResourceResponse>(asyncResult);
}
#endregion
#region StartProtectedQuery
/// <summary>
/// Creates a protected query that is started by Clean Rooms .
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartProtectedQuery service method.</param>
///
/// <returns>The response from the StartProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
public virtual StartProtectedQueryResponse StartProtectedQuery(StartProtectedQueryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartProtectedQueryResponseUnmarshaller.Instance;
return Invoke<StartProtectedQueryResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StartProtectedQuery operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartProtectedQuery operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartProtectedQuery
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
public virtual IAsyncResult BeginStartProtectedQuery(StartProtectedQueryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartProtectedQueryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StartProtectedQuery operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartProtectedQuery.</param>
///
/// <returns>Returns a StartProtectedQueryResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
public virtual StartProtectedQueryResponse EndStartProtectedQuery(IAsyncResult asyncResult)
{
return EndInvoke<StartProtectedQueryResponse>(asyncResult);
}
#endregion
#region TagResource
/// <summary>
/// Tags a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param>
///
/// <returns>Returns a TagResourceResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke<TagResourceResponse>(asyncResult);
}
#endregion
#region UntagResource
/// <summary>
/// Removes a tag or list of tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param>
///
/// <returns>Returns a UntagResourceResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke<UntagResourceResponse>(asyncResult);
}
#endregion
#region UpdateCollaboration
/// <summary>
/// Updates collaboration metadata and can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateCollaboration service method.</param>
///
/// <returns>The response from the UpdateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
public virtual UpdateCollaborationResponse UpdateCollaboration(UpdateCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCollaborationResponseUnmarshaller.Instance;
return Invoke<UpdateCollaborationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateCollaboration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateCollaboration operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateCollaboration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
public virtual IAsyncResult BeginUpdateCollaboration(UpdateCollaborationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCollaborationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateCollaboration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateCollaboration.</param>
///
/// <returns>Returns a UpdateCollaborationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
public virtual UpdateCollaborationResponse EndUpdateCollaboration(IAsyncResult asyncResult)
{
return EndInvoke<UpdateCollaborationResponse>(asyncResult);
}
#endregion
#region UpdateConfiguredTable
/// <summary>
/// Updates a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTable service method.</param>
///
/// <returns>The response from the UpdateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
public virtual UpdateConfiguredTableResponse UpdateConfiguredTable(UpdateConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableResponseUnmarshaller.Instance;
return Invoke<UpdateConfiguredTableResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateConfiguredTable operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTable operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConfiguredTable
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
public virtual IAsyncResult BeginUpdateConfiguredTable(UpdateConfiguredTableRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateConfiguredTable operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateConfiguredTable.</param>
///
/// <returns>Returns a UpdateConfiguredTableResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
public virtual UpdateConfiguredTableResponse EndUpdateConfiguredTable(IAsyncResult asyncResult)
{
return EndInvoke<UpdateConfiguredTableResponse>(asyncResult);
}
#endregion
#region UpdateConfiguredTableAnalysisRule
/// <summary>
/// Updates a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the UpdateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
public virtual UpdateConfiguredTableAnalysisRuleResponse UpdateConfiguredTableAnalysisRule(UpdateConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<UpdateConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAnalysisRule operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConfiguredTableAnalysisRule
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
public virtual IAsyncResult BeginUpdateConfiguredTableAnalysisRule(UpdateConfiguredTableAnalysisRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateConfiguredTableAnalysisRule.</param>
///
/// <returns>Returns a UpdateConfiguredTableAnalysisRuleResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
public virtual UpdateConfiguredTableAnalysisRuleResponse EndUpdateConfiguredTableAnalysisRule(IAsyncResult asyncResult)
{
return EndInvoke<UpdateConfiguredTableAnalysisRuleResponse>(asyncResult);
}
#endregion
#region UpdateConfiguredTableAssociation
/// <summary>
/// Updates a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the UpdateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
public virtual UpdateConfiguredTableAssociationResponse UpdateConfiguredTableAssociation(UpdateConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<UpdateConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAssociation operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConfiguredTableAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
public virtual IAsyncResult BeginUpdateConfiguredTableAssociation(UpdateConfiguredTableAssociationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAssociationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateConfiguredTableAssociation.</param>
///
/// <returns>Returns a UpdateConfiguredTableAssociationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
public virtual UpdateConfiguredTableAssociationResponse EndUpdateConfiguredTableAssociation(IAsyncResult asyncResult)
{
return EndInvoke<UpdateConfiguredTableAssociationResponse>(asyncResult);
}
#endregion
#region UpdateMembership
/// <summary>
/// Updates a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMembership service method.</param>
///
/// <returns>The response from the UpdateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
public virtual UpdateMembershipResponse UpdateMembership(UpdateMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMembershipResponseUnmarshaller.Instance;
return Invoke<UpdateMembershipResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateMembership operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateMembership operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateMembership
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
public virtual IAsyncResult BeginUpdateMembership(UpdateMembershipRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMembershipResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateMembership operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateMembership.</param>
///
/// <returns>Returns a UpdateMembershipResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
public virtual UpdateMembershipResponse EndUpdateMembership(IAsyncResult asyncResult)
{
return EndInvoke<UpdateMembershipResponse>(asyncResult);
}
#endregion
#region UpdateProtectedQuery
/// <summary>
/// Updates the processing of a currently running query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProtectedQuery service method.</param>
///
/// <returns>The response from the UpdateProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
public virtual UpdateProtectedQueryResponse UpdateProtectedQuery(UpdateProtectedQueryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProtectedQueryResponseUnmarshaller.Instance;
return Invoke<UpdateProtectedQueryResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateProtectedQuery operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateProtectedQuery operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProtectedQuery
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
public virtual IAsyncResult BeginUpdateProtectedQuery(UpdateProtectedQueryRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProtectedQueryResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateProtectedQuery operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateProtectedQuery.</param>
///
/// <returns>Returns a UpdateProtectedQueryResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
public virtual UpdateProtectedQueryResponse EndUpdateProtectedQuery(IAsyncResult asyncResult)
{
return EndInvoke<UpdateProtectedQueryResponse>(asyncResult);
}
#endregion
}
}
| 2,848 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CleanRooms.Model;
namespace Amazon.CleanRooms
{
/// <summary>
/// Interface for accessing CleanRooms
///
/// Welcome to the <i>Clean Rooms API Reference</i>.
///
///
/// <para>
/// Clean Rooms is an Amazon Web Services service that helps multiple parties to join
/// their data together in a secure collaboration workspace. In the collaboration, members
/// who can query and receive results can get insights into the collective datasets without
/// either party getting access to the other party's raw data.
/// </para>
///
/// <para>
/// To learn more about Clean Rooms concepts, procedures, and best practices, see the
/// <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean
/// Rooms User Guide</a>.
/// </para>
/// </summary>
public partial interface IAmazonCleanRooms : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
ICleanRoomsPaginatorFactory Paginators { get; }
#endif
#region BatchGetSchema
/// <summary>
/// Retrieves multiple schemas by their identifiers.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetSchema service method.</param>
///
/// <returns>The response from the BatchGetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
BatchGetSchemaResponse BatchGetSchema(BatchGetSchemaRequest request);
/// <summary>
/// Initiates the asynchronous execution of the BatchGetSchema operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchGetSchema operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetSchema
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
IAsyncResult BeginBatchGetSchema(BatchGetSchemaRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the BatchGetSchema operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchGetSchema.</param>
///
/// <returns>Returns a BatchGetSchemaResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
BatchGetSchemaResponse EndBatchGetSchema(IAsyncResult asyncResult);
#endregion
#region CreateCollaboration
/// <summary>
/// Creates a new collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateCollaboration service method.</param>
///
/// <returns>The response from the CreateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
CreateCollaborationResponse CreateCollaboration(CreateCollaborationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateCollaboration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateCollaboration operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCollaboration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
IAsyncResult BeginCreateCollaboration(CreateCollaborationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateCollaboration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateCollaboration.</param>
///
/// <returns>Returns a CreateCollaborationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
CreateCollaborationResponse EndCreateCollaboration(IAsyncResult asyncResult);
#endregion
#region CreateConfiguredTable
/// <summary>
/// Creates a new configured table resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTable service method.</param>
///
/// <returns>The response from the CreateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
CreateConfiguredTableResponse CreateConfiguredTable(CreateConfiguredTableRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateConfiguredTable operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTable operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConfiguredTable
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
IAsyncResult BeginCreateConfiguredTable(CreateConfiguredTableRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateConfiguredTable operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateConfiguredTable.</param>
///
/// <returns>Returns a CreateConfiguredTableResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
CreateConfiguredTableResponse EndCreateConfiguredTable(IAsyncResult asyncResult);
#endregion
#region CreateConfiguredTableAnalysisRule
/// <summary>
/// Creates a new analysis rule for a configured table. Currently, only one analysis rule
/// can be created for a given configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the CreateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
CreateConfiguredTableAnalysisRuleResponse CreateConfiguredTableAnalysisRule(CreateConfiguredTableAnalysisRuleRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAnalysisRule operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConfiguredTableAnalysisRule
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
IAsyncResult BeginCreateConfiguredTableAnalysisRule(CreateConfiguredTableAnalysisRuleRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateConfiguredTableAnalysisRule.</param>
///
/// <returns>Returns a CreateConfiguredTableAnalysisRuleResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
CreateConfiguredTableAnalysisRuleResponse EndCreateConfiguredTableAnalysisRule(IAsyncResult asyncResult);
#endregion
#region CreateConfiguredTableAssociation
/// <summary>
/// Creates a configured table association. A configured table association links a configured
/// table with a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the CreateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
CreateConfiguredTableAssociationResponse CreateConfiguredTableAssociation(CreateConfiguredTableAssociationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAssociation operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConfiguredTableAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
IAsyncResult BeginCreateConfiguredTableAssociation(CreateConfiguredTableAssociationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateConfiguredTableAssociation.</param>
///
/// <returns>Returns a CreateConfiguredTableAssociationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
CreateConfiguredTableAssociationResponse EndCreateConfiguredTableAssociation(IAsyncResult asyncResult);
#endregion
#region CreateMembership
/// <summary>
/// Creates a membership for a specific collaboration identifier and joins the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateMembership service method.</param>
///
/// <returns>The response from the CreateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
CreateMembershipResponse CreateMembership(CreateMembershipRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateMembership operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateMembership operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateMembership
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
IAsyncResult BeginCreateMembership(CreateMembershipRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateMembership operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateMembership.</param>
///
/// <returns>Returns a CreateMembershipResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
CreateMembershipResponse EndCreateMembership(IAsyncResult asyncResult);
#endregion
#region DeleteCollaboration
/// <summary>
/// Deletes a collaboration. It can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCollaboration service method.</param>
///
/// <returns>The response from the DeleteCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
DeleteCollaborationResponse DeleteCollaboration(DeleteCollaborationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteCollaboration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteCollaboration operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCollaboration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
IAsyncResult BeginDeleteCollaboration(DeleteCollaborationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteCollaboration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteCollaboration.</param>
///
/// <returns>Returns a DeleteCollaborationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
DeleteCollaborationResponse EndDeleteCollaboration(IAsyncResult asyncResult);
#endregion
#region DeleteConfiguredTable
/// <summary>
/// Deletes a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTable service method.</param>
///
/// <returns>The response from the DeleteConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
DeleteConfiguredTableResponse DeleteConfiguredTable(DeleteConfiguredTableRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteConfiguredTable operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTable operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConfiguredTable
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
IAsyncResult BeginDeleteConfiguredTable(DeleteConfiguredTableRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteConfiguredTable operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteConfiguredTable.</param>
///
/// <returns>Returns a DeleteConfiguredTableResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
DeleteConfiguredTableResponse EndDeleteConfiguredTable(IAsyncResult asyncResult);
#endregion
#region DeleteConfiguredTableAnalysisRule
/// <summary>
/// Deletes a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the DeleteConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
DeleteConfiguredTableAnalysisRuleResponse DeleteConfiguredTableAnalysisRule(DeleteConfiguredTableAnalysisRuleRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAnalysisRule operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConfiguredTableAnalysisRule
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
IAsyncResult BeginDeleteConfiguredTableAnalysisRule(DeleteConfiguredTableAnalysisRuleRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteConfiguredTableAnalysisRule.</param>
///
/// <returns>Returns a DeleteConfiguredTableAnalysisRuleResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
DeleteConfiguredTableAnalysisRuleResponse EndDeleteConfiguredTableAnalysisRule(IAsyncResult asyncResult);
#endregion
#region DeleteConfiguredTableAssociation
/// <summary>
/// Deletes a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the DeleteConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
DeleteConfiguredTableAssociationResponse DeleteConfiguredTableAssociation(DeleteConfiguredTableAssociationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAssociation operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConfiguredTableAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
IAsyncResult BeginDeleteConfiguredTableAssociation(DeleteConfiguredTableAssociationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteConfiguredTableAssociation.</param>
///
/// <returns>Returns a DeleteConfiguredTableAssociationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
DeleteConfiguredTableAssociationResponse EndDeleteConfiguredTableAssociation(IAsyncResult asyncResult);
#endregion
#region DeleteMember
/// <summary>
/// Removes the specified member from a collaboration. The removed member is placed in
/// the Removed status and can't interact with the collaboration. The removed member's
/// data is inaccessible to active members of the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMember service method.</param>
///
/// <returns>The response from the DeleteMember service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
DeleteMemberResponse DeleteMember(DeleteMemberRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteMember operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteMember operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMember
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
IAsyncResult BeginDeleteMember(DeleteMemberRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteMember operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteMember.</param>
///
/// <returns>Returns a DeleteMemberResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
DeleteMemberResponse EndDeleteMember(IAsyncResult asyncResult);
#endregion
#region DeleteMembership
/// <summary>
/// Deletes a specified membership. All resources under a membership must be deleted.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMembership service method.</param>
///
/// <returns>The response from the DeleteMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
DeleteMembershipResponse DeleteMembership(DeleteMembershipRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteMembership operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteMembership operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMembership
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
IAsyncResult BeginDeleteMembership(DeleteMembershipRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteMembership operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteMembership.</param>
///
/// <returns>Returns a DeleteMembershipResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
DeleteMembershipResponse EndDeleteMembership(IAsyncResult asyncResult);
#endregion
#region GetCollaboration
/// <summary>
/// Returns metadata about a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetCollaboration service method.</param>
///
/// <returns>The response from the GetCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
GetCollaborationResponse GetCollaboration(GetCollaborationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetCollaboration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetCollaboration operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCollaboration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
IAsyncResult BeginGetCollaboration(GetCollaborationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetCollaboration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetCollaboration.</param>
///
/// <returns>Returns a GetCollaborationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
GetCollaborationResponse EndGetCollaboration(IAsyncResult asyncResult);
#endregion
#region GetConfiguredTable
/// <summary>
/// Retrieves a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTable service method.</param>
///
/// <returns>The response from the GetConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
GetConfiguredTableResponse GetConfiguredTable(GetConfiguredTableRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetConfiguredTable operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTable operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfiguredTable
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
IAsyncResult BeginGetConfiguredTable(GetConfiguredTableRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetConfiguredTable operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfiguredTable.</param>
///
/// <returns>Returns a GetConfiguredTableResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
GetConfiguredTableResponse EndGetConfiguredTable(IAsyncResult asyncResult);
#endregion
#region GetConfiguredTableAnalysisRule
/// <summary>
/// Retrieves a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the GetConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
GetConfiguredTableAnalysisRuleResponse GetConfiguredTableAnalysisRule(GetConfiguredTableAnalysisRuleRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAnalysisRule operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfiguredTableAnalysisRule
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
IAsyncResult BeginGetConfiguredTableAnalysisRule(GetConfiguredTableAnalysisRuleRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfiguredTableAnalysisRule.</param>
///
/// <returns>Returns a GetConfiguredTableAnalysisRuleResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
GetConfiguredTableAnalysisRuleResponse EndGetConfiguredTableAnalysisRule(IAsyncResult asyncResult);
#endregion
#region GetConfiguredTableAssociation
/// <summary>
/// Retrieves a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the GetConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
GetConfiguredTableAssociationResponse GetConfiguredTableAssociation(GetConfiguredTableAssociationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAssociation operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfiguredTableAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
IAsyncResult BeginGetConfiguredTableAssociation(GetConfiguredTableAssociationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfiguredTableAssociation.</param>
///
/// <returns>Returns a GetConfiguredTableAssociationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
GetConfiguredTableAssociationResponse EndGetConfiguredTableAssociation(IAsyncResult asyncResult);
#endregion
#region GetMembership
/// <summary>
/// Retrieves a specified membership for an identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMembership service method.</param>
///
/// <returns>The response from the GetMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
GetMembershipResponse GetMembership(GetMembershipRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetMembership operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetMembership operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMembership
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
IAsyncResult BeginGetMembership(GetMembershipRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetMembership operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetMembership.</param>
///
/// <returns>Returns a GetMembershipResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
GetMembershipResponse EndGetMembership(IAsyncResult asyncResult);
#endregion
#region GetProtectedQuery
/// <summary>
/// Returns query processing metadata.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProtectedQuery service method.</param>
///
/// <returns>The response from the GetProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
GetProtectedQueryResponse GetProtectedQuery(GetProtectedQueryRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetProtectedQuery operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetProtectedQuery operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetProtectedQuery
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
IAsyncResult BeginGetProtectedQuery(GetProtectedQueryRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetProtectedQuery operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetProtectedQuery.</param>
///
/// <returns>Returns a GetProtectedQueryResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
GetProtectedQueryResponse EndGetProtectedQuery(IAsyncResult asyncResult);
#endregion
#region GetSchema
/// <summary>
/// Retrieves the schema for a relation within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchema service method.</param>
///
/// <returns>The response from the GetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
GetSchemaResponse GetSchema(GetSchemaRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetSchema operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetSchema operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSchema
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
IAsyncResult BeginGetSchema(GetSchemaRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetSchema operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSchema.</param>
///
/// <returns>Returns a GetSchemaResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
GetSchemaResponse EndGetSchema(IAsyncResult asyncResult);
#endregion
#region GetSchemaAnalysisRule
/// <summary>
/// Retrieves a schema analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchemaAnalysisRule service method.</param>
///
/// <returns>The response from the GetSchemaAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
GetSchemaAnalysisRuleResponse GetSchemaAnalysisRule(GetSchemaAnalysisRuleRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetSchemaAnalysisRule operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetSchemaAnalysisRule operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSchemaAnalysisRule
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
IAsyncResult BeginGetSchemaAnalysisRule(GetSchemaAnalysisRuleRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetSchemaAnalysisRule operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSchemaAnalysisRule.</param>
///
/// <returns>Returns a GetSchemaAnalysisRuleResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
GetSchemaAnalysisRuleResponse EndGetSchemaAnalysisRule(IAsyncResult asyncResult);
#endregion
#region ListCollaborations
/// <summary>
/// Lists collaborations the caller owns, is active in, or has been invited to.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListCollaborations service method.</param>
///
/// <returns>The response from the ListCollaborations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
ListCollaborationsResponse ListCollaborations(ListCollaborationsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListCollaborations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListCollaborations operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCollaborations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
IAsyncResult BeginListCollaborations(ListCollaborationsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListCollaborations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListCollaborations.</param>
///
/// <returns>Returns a ListCollaborationsResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
ListCollaborationsResponse EndListCollaborations(IAsyncResult asyncResult);
#endregion
#region ListConfiguredTableAssociations
/// <summary>
/// Lists configured table associations for a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTableAssociations service method.</param>
///
/// <returns>The response from the ListConfiguredTableAssociations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
ListConfiguredTableAssociationsResponse ListConfiguredTableAssociations(ListConfiguredTableAssociationsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListConfiguredTableAssociations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTableAssociations operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListConfiguredTableAssociations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
IAsyncResult BeginListConfiguredTableAssociations(ListConfiguredTableAssociationsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListConfiguredTableAssociations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListConfiguredTableAssociations.</param>
///
/// <returns>Returns a ListConfiguredTableAssociationsResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
ListConfiguredTableAssociationsResponse EndListConfiguredTableAssociations(IAsyncResult asyncResult);
#endregion
#region ListConfiguredTables
/// <summary>
/// Lists configured tables.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTables service method.</param>
///
/// <returns>The response from the ListConfiguredTables service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
ListConfiguredTablesResponse ListConfiguredTables(ListConfiguredTablesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListConfiguredTables operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTables operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListConfiguredTables
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
IAsyncResult BeginListConfiguredTables(ListConfiguredTablesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListConfiguredTables operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListConfiguredTables.</param>
///
/// <returns>Returns a ListConfiguredTablesResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
ListConfiguredTablesResponse EndListConfiguredTables(IAsyncResult asyncResult);
#endregion
#region ListMembers
/// <summary>
/// Lists all members within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param>
///
/// <returns>The response from the ListMembers service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
ListMembersResponse ListMembers(ListMembersRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListMembers operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListMembers operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListMembers
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
IAsyncResult BeginListMembers(ListMembersRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListMembers operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListMembers.</param>
///
/// <returns>Returns a ListMembersResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
ListMembersResponse EndListMembers(IAsyncResult asyncResult);
#endregion
#region ListMemberships
/// <summary>
/// Lists all memberships resources within the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMemberships service method.</param>
///
/// <returns>The response from the ListMemberships service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
ListMembershipsResponse ListMemberships(ListMembershipsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListMemberships operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListMemberships operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListMemberships
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
IAsyncResult BeginListMemberships(ListMembershipsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListMemberships operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListMemberships.</param>
///
/// <returns>Returns a ListMembershipsResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
ListMembershipsResponse EndListMemberships(IAsyncResult asyncResult);
#endregion
#region ListProtectedQueries
/// <summary>
/// Lists protected queries, sorted by the most recent query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProtectedQueries service method.</param>
///
/// <returns>The response from the ListProtectedQueries service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
ListProtectedQueriesResponse ListProtectedQueries(ListProtectedQueriesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListProtectedQueries operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListProtectedQueries operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListProtectedQueries
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
IAsyncResult BeginListProtectedQueries(ListProtectedQueriesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListProtectedQueries operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListProtectedQueries.</param>
///
/// <returns>Returns a ListProtectedQueriesResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
ListProtectedQueriesResponse EndListProtectedQueries(IAsyncResult asyncResult);
#endregion
#region ListSchemas
/// <summary>
/// Lists the schemas for relations within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSchemas service method.</param>
///
/// <returns>The response from the ListSchemas service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
ListSchemasResponse ListSchemas(ListSchemasRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListSchemas operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListSchemas operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSchemas
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
IAsyncResult BeginListSchemas(ListSchemasRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListSchemas operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListSchemas.</param>
///
/// <returns>Returns a ListSchemasResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
ListSchemasResponse EndListSchemas(IAsyncResult asyncResult);
#endregion
#region ListTagsForResource
/// <summary>
/// Lists all of the tags that have been added to a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param>
///
/// <returns>Returns a ListTagsForResourceResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult);
#endregion
#region StartProtectedQuery
/// <summary>
/// Creates a protected query that is started by Clean Rooms .
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartProtectedQuery service method.</param>
///
/// <returns>The response from the StartProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
StartProtectedQueryResponse StartProtectedQuery(StartProtectedQueryRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StartProtectedQuery operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartProtectedQuery operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartProtectedQuery
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
IAsyncResult BeginStartProtectedQuery(StartProtectedQueryRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StartProtectedQuery operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartProtectedQuery.</param>
///
/// <returns>Returns a StartProtectedQueryResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
StartProtectedQueryResponse EndStartProtectedQuery(IAsyncResult asyncResult);
#endregion
#region TagResource
/// <summary>
/// Tags a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param>
///
/// <returns>Returns a TagResourceResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region UntagResource
/// <summary>
/// Removes a tag or list of tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param>
///
/// <returns>Returns a UntagResourceResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
#region UpdateCollaboration
/// <summary>
/// Updates collaboration metadata and can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateCollaboration service method.</param>
///
/// <returns>The response from the UpdateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
UpdateCollaborationResponse UpdateCollaboration(UpdateCollaborationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateCollaboration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateCollaboration operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateCollaboration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
IAsyncResult BeginUpdateCollaboration(UpdateCollaborationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateCollaboration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateCollaboration.</param>
///
/// <returns>Returns a UpdateCollaborationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
UpdateCollaborationResponse EndUpdateCollaboration(IAsyncResult asyncResult);
#endregion
#region UpdateConfiguredTable
/// <summary>
/// Updates a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTable service method.</param>
///
/// <returns>The response from the UpdateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
UpdateConfiguredTableResponse UpdateConfiguredTable(UpdateConfiguredTableRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateConfiguredTable operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTable operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConfiguredTable
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
IAsyncResult BeginUpdateConfiguredTable(UpdateConfiguredTableRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateConfiguredTable operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateConfiguredTable.</param>
///
/// <returns>Returns a UpdateConfiguredTableResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
UpdateConfiguredTableResponse EndUpdateConfiguredTable(IAsyncResult asyncResult);
#endregion
#region UpdateConfiguredTableAnalysisRule
/// <summary>
/// Updates a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the UpdateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
UpdateConfiguredTableAnalysisRuleResponse UpdateConfiguredTableAnalysisRule(UpdateConfiguredTableAnalysisRuleRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAnalysisRule operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConfiguredTableAnalysisRule
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
IAsyncResult BeginUpdateConfiguredTableAnalysisRule(UpdateConfiguredTableAnalysisRuleRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateConfiguredTableAnalysisRule operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateConfiguredTableAnalysisRule.</param>
///
/// <returns>Returns a UpdateConfiguredTableAnalysisRuleResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
UpdateConfiguredTableAnalysisRuleResponse EndUpdateConfiguredTableAnalysisRule(IAsyncResult asyncResult);
#endregion
#region UpdateConfiguredTableAssociation
/// <summary>
/// Updates a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the UpdateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
UpdateConfiguredTableAssociationResponse UpdateConfiguredTableAssociation(UpdateConfiguredTableAssociationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAssociation operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConfiguredTableAssociation
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
IAsyncResult BeginUpdateConfiguredTableAssociation(UpdateConfiguredTableAssociationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateConfiguredTableAssociation operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateConfiguredTableAssociation.</param>
///
/// <returns>Returns a UpdateConfiguredTableAssociationResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
UpdateConfiguredTableAssociationResponse EndUpdateConfiguredTableAssociation(IAsyncResult asyncResult);
#endregion
#region UpdateMembership
/// <summary>
/// Updates a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMembership service method.</param>
///
/// <returns>The response from the UpdateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
UpdateMembershipResponse UpdateMembership(UpdateMembershipRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateMembership operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateMembership operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateMembership
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
IAsyncResult BeginUpdateMembership(UpdateMembershipRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateMembership operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateMembership.</param>
///
/// <returns>Returns a UpdateMembershipResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
UpdateMembershipResponse EndUpdateMembership(IAsyncResult asyncResult);
#endregion
#region UpdateProtectedQuery
/// <summary>
/// Updates the processing of a currently running query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProtectedQuery service method.</param>
///
/// <returns>The response from the UpdateProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
UpdateProtectedQueryResponse UpdateProtectedQuery(UpdateProtectedQueryRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateProtectedQuery operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateProtectedQuery operation on AmazonCleanRoomsClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProtectedQuery
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
IAsyncResult BeginUpdateProtectedQuery(UpdateProtectedQueryRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateProtectedQuery operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateProtectedQuery.</param>
///
/// <returns>Returns a UpdateProtectedQueryResult from CleanRooms.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
UpdateProtectedQueryResponse EndUpdateProtectedQuery(IAsyncResult asyncResult);
#endregion
}
}
| 2,110 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.CleanRooms.Model;
using Amazon.CleanRooms.Model.Internal.MarshallTransformations;
using Amazon.CleanRooms.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.CleanRooms
{
/// <summary>
/// Implementation for accessing CleanRooms
///
/// Welcome to the <i>Clean Rooms API Reference</i>.
///
///
/// <para>
/// Clean Rooms is an Amazon Web Services service that helps multiple parties to join
/// their data together in a secure collaboration workspace. In the collaboration, members
/// who can query and receive results can get insights into the collective datasets without
/// either party getting access to the other party's raw data.
/// </para>
///
/// <para>
/// To learn more about Clean Rooms concepts, procedures, and best practices, see the
/// <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean
/// Rooms User Guide</a>.
/// </para>
/// </summary>
public partial class AmazonCleanRoomsClient : AmazonServiceClient, IAmazonCleanRooms
{
private static IServiceMetadata serviceMetadata = new AmazonCleanRoomsMetadata();
private ICleanRoomsPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public ICleanRoomsPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new CleanRoomsPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
/// <summary>
/// Constructs AmazonCleanRoomsClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonCleanRoomsClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCleanRoomsConfig()) { }
/// <summary>
/// Constructs AmazonCleanRoomsClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCleanRoomsConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonCleanRoomsClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(AmazonCleanRoomsConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonCleanRoomsClient(AWSCredentials credentials)
: this(credentials, new AmazonCleanRoomsConfig())
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonCleanRoomsConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Credentials and an
/// AmazonCleanRoomsClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(AWSCredentials credentials, AmazonCleanRoomsConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCleanRoomsConfig())
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCleanRoomsConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCleanRoomsClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCleanRoomsConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCleanRoomsConfig())
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCleanRoomsConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCleanRoomsClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="clientConfig">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCleanRoomsConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customize the pipeline
/// </summary>
/// <param name="pipeline"></param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonCleanRoomsEndpointResolver());
}
/// <summary>
/// Capture metadata for the service.
/// </summary>
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region BatchGetSchema
/// <summary>
/// Retrieves multiple schemas by their identifiers.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetSchema service method.</param>
///
/// <returns>The response from the BatchGetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
public virtual BatchGetSchemaResponse BatchGetSchema(BatchGetSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetSchemaResponseUnmarshaller.Instance;
return Invoke<BatchGetSchemaResponse>(request, options);
}
/// <summary>
/// Retrieves multiple schemas by their identifiers.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetSchema service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchGetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
public virtual Task<BatchGetSchemaResponse> BatchGetSchemaAsync(BatchGetSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetSchemaResponseUnmarshaller.Instance;
return InvokeAsync<BatchGetSchemaResponse>(request, options, cancellationToken);
}
#endregion
#region CreateCollaboration
/// <summary>
/// Creates a new collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateCollaboration service method.</param>
///
/// <returns>The response from the CreateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
public virtual CreateCollaborationResponse CreateCollaboration(CreateCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCollaborationResponseUnmarshaller.Instance;
return Invoke<CreateCollaborationResponse>(request, options);
}
/// <summary>
/// Creates a new collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
public virtual Task<CreateCollaborationResponse> CreateCollaborationAsync(CreateCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCollaborationResponseUnmarshaller.Instance;
return InvokeAsync<CreateCollaborationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateConfiguredTable
/// <summary>
/// Creates a new configured table resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTable service method.</param>
///
/// <returns>The response from the CreateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
public virtual CreateConfiguredTableResponse CreateConfiguredTable(CreateConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableResponseUnmarshaller.Instance;
return Invoke<CreateConfiguredTableResponse>(request, options);
}
/// <summary>
/// Creates a new configured table resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
public virtual Task<CreateConfiguredTableResponse> CreateConfiguredTableAsync(CreateConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableResponseUnmarshaller.Instance;
return InvokeAsync<CreateConfiguredTableResponse>(request, options, cancellationToken);
}
#endregion
#region CreateConfiguredTableAnalysisRule
/// <summary>
/// Creates a new analysis rule for a configured table. Currently, only one analysis rule
/// can be created for a given configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the CreateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
public virtual CreateConfiguredTableAnalysisRuleResponse CreateConfiguredTableAnalysisRule(CreateConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<CreateConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Creates a new analysis rule for a configured table. Currently, only one analysis rule
/// can be created for a given configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
public virtual Task<CreateConfiguredTableAnalysisRuleResponse> CreateConfiguredTableAnalysisRuleAsync(CreateConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return InvokeAsync<CreateConfiguredTableAnalysisRuleResponse>(request, options, cancellationToken);
}
#endregion
#region CreateConfiguredTableAssociation
/// <summary>
/// Creates a configured table association. A configured table association links a configured
/// table with a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the CreateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
public virtual CreateConfiguredTableAssociationResponse CreateConfiguredTableAssociation(CreateConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<CreateConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Creates a configured table association. A configured table association links a configured
/// table with a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
public virtual Task<CreateConfiguredTableAssociationResponse> CreateConfiguredTableAssociationAsync(CreateConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAssociationResponseUnmarshaller.Instance;
return InvokeAsync<CreateConfiguredTableAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateMembership
/// <summary>
/// Creates a membership for a specific collaboration identifier and joins the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateMembership service method.</param>
///
/// <returns>The response from the CreateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
public virtual CreateMembershipResponse CreateMembership(CreateMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMembershipResponseUnmarshaller.Instance;
return Invoke<CreateMembershipResponse>(request, options);
}
/// <summary>
/// Creates a membership for a specific collaboration identifier and joins the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
public virtual Task<CreateMembershipResponse> CreateMembershipAsync(CreateMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMembershipResponseUnmarshaller.Instance;
return InvokeAsync<CreateMembershipResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteCollaboration
/// <summary>
/// Deletes a collaboration. It can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCollaboration service method.</param>
///
/// <returns>The response from the DeleteCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
public virtual DeleteCollaborationResponse DeleteCollaboration(DeleteCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCollaborationResponseUnmarshaller.Instance;
return Invoke<DeleteCollaborationResponse>(request, options);
}
/// <summary>
/// Deletes a collaboration. It can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
public virtual Task<DeleteCollaborationResponse> DeleteCollaborationAsync(DeleteCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCollaborationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteCollaborationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteConfiguredTable
/// <summary>
/// Deletes a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTable service method.</param>
///
/// <returns>The response from the DeleteConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
public virtual DeleteConfiguredTableResponse DeleteConfiguredTable(DeleteConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableResponseUnmarshaller.Instance;
return Invoke<DeleteConfiguredTableResponse>(request, options);
}
/// <summary>
/// Deletes a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
public virtual Task<DeleteConfiguredTableResponse> DeleteConfiguredTableAsync(DeleteConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableResponseUnmarshaller.Instance;
return InvokeAsync<DeleteConfiguredTableResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteConfiguredTableAnalysisRule
/// <summary>
/// Deletes a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the DeleteConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
public virtual DeleteConfiguredTableAnalysisRuleResponse DeleteConfiguredTableAnalysisRule(DeleteConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<DeleteConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Deletes a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
public virtual Task<DeleteConfiguredTableAnalysisRuleResponse> DeleteConfiguredTableAnalysisRuleAsync(DeleteConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return InvokeAsync<DeleteConfiguredTableAnalysisRuleResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteConfiguredTableAssociation
/// <summary>
/// Deletes a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the DeleteConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
public virtual DeleteConfiguredTableAssociationResponse DeleteConfiguredTableAssociation(DeleteConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<DeleteConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Deletes a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
public virtual Task<DeleteConfiguredTableAssociationResponse> DeleteConfiguredTableAssociationAsync(DeleteConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAssociationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteConfiguredTableAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteMember
/// <summary>
/// Removes the specified member from a collaboration. The removed member is placed in
/// the Removed status and can't interact with the collaboration. The removed member's
/// data is inaccessible to active members of the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMember service method.</param>
///
/// <returns>The response from the DeleteMember service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
public virtual DeleteMemberResponse DeleteMember(DeleteMemberRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMemberResponseUnmarshaller.Instance;
return Invoke<DeleteMemberResponse>(request, options);
}
/// <summary>
/// Removes the specified member from a collaboration. The removed member is placed in
/// the Removed status and can't interact with the collaboration. The removed member's
/// data is inaccessible to active members of the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMember service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMember service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
public virtual Task<DeleteMemberResponse> DeleteMemberAsync(DeleteMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMemberResponseUnmarshaller.Instance;
return InvokeAsync<DeleteMemberResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteMembership
/// <summary>
/// Deletes a specified membership. All resources under a membership must be deleted.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMembership service method.</param>
///
/// <returns>The response from the DeleteMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
public virtual DeleteMembershipResponse DeleteMembership(DeleteMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMembershipResponseUnmarshaller.Instance;
return Invoke<DeleteMembershipResponse>(request, options);
}
/// <summary>
/// Deletes a specified membership. All resources under a membership must be deleted.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
public virtual Task<DeleteMembershipResponse> DeleteMembershipAsync(DeleteMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMembershipResponseUnmarshaller.Instance;
return InvokeAsync<DeleteMembershipResponse>(request, options, cancellationToken);
}
#endregion
#region GetCollaboration
/// <summary>
/// Returns metadata about a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetCollaboration service method.</param>
///
/// <returns>The response from the GetCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
public virtual GetCollaborationResponse GetCollaboration(GetCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCollaborationResponseUnmarshaller.Instance;
return Invoke<GetCollaborationResponse>(request, options);
}
/// <summary>
/// Returns metadata about a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
public virtual Task<GetCollaborationResponse> GetCollaborationAsync(GetCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCollaborationResponseUnmarshaller.Instance;
return InvokeAsync<GetCollaborationResponse>(request, options, cancellationToken);
}
#endregion
#region GetConfiguredTable
/// <summary>
/// Retrieves a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTable service method.</param>
///
/// <returns>The response from the GetConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
public virtual GetConfiguredTableResponse GetConfiguredTable(GetConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableResponseUnmarshaller.Instance;
return Invoke<GetConfiguredTableResponse>(request, options);
}
/// <summary>
/// Retrieves a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
public virtual Task<GetConfiguredTableResponse> GetConfiguredTableAsync(GetConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableResponseUnmarshaller.Instance;
return InvokeAsync<GetConfiguredTableResponse>(request, options, cancellationToken);
}
#endregion
#region GetConfiguredTableAnalysisRule
/// <summary>
/// Retrieves a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the GetConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
public virtual GetConfiguredTableAnalysisRuleResponse GetConfiguredTableAnalysisRule(GetConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<GetConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Retrieves a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
public virtual Task<GetConfiguredTableAnalysisRuleResponse> GetConfiguredTableAnalysisRuleAsync(GetConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return InvokeAsync<GetConfiguredTableAnalysisRuleResponse>(request, options, cancellationToken);
}
#endregion
#region GetConfiguredTableAssociation
/// <summary>
/// Retrieves a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the GetConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
public virtual GetConfiguredTableAssociationResponse GetConfiguredTableAssociation(GetConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<GetConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Retrieves a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
public virtual Task<GetConfiguredTableAssociationResponse> GetConfiguredTableAssociationAsync(GetConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAssociationResponseUnmarshaller.Instance;
return InvokeAsync<GetConfiguredTableAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region GetMembership
/// <summary>
/// Retrieves a specified membership for an identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMembership service method.</param>
///
/// <returns>The response from the GetMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
public virtual GetMembershipResponse GetMembership(GetMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMembershipResponseUnmarshaller.Instance;
return Invoke<GetMembershipResponse>(request, options);
}
/// <summary>
/// Retrieves a specified membership for an identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
public virtual Task<GetMembershipResponse> GetMembershipAsync(GetMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMembershipResponseUnmarshaller.Instance;
return InvokeAsync<GetMembershipResponse>(request, options, cancellationToken);
}
#endregion
#region GetProtectedQuery
/// <summary>
/// Returns query processing metadata.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProtectedQuery service method.</param>
///
/// <returns>The response from the GetProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
public virtual GetProtectedQueryResponse GetProtectedQuery(GetProtectedQueryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProtectedQueryResponseUnmarshaller.Instance;
return Invoke<GetProtectedQueryResponse>(request, options);
}
/// <summary>
/// Returns query processing metadata.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
public virtual Task<GetProtectedQueryResponse> GetProtectedQueryAsync(GetProtectedQueryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProtectedQueryResponseUnmarshaller.Instance;
return InvokeAsync<GetProtectedQueryResponse>(request, options, cancellationToken);
}
#endregion
#region GetSchema
/// <summary>
/// Retrieves the schema for a relation within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchema service method.</param>
///
/// <returns>The response from the GetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
public virtual GetSchemaResponse GetSchema(GetSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaResponseUnmarshaller.Instance;
return Invoke<GetSchemaResponse>(request, options);
}
/// <summary>
/// Retrieves the schema for a relation within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchema service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
public virtual Task<GetSchemaResponse> GetSchemaAsync(GetSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaResponseUnmarshaller.Instance;
return InvokeAsync<GetSchemaResponse>(request, options, cancellationToken);
}
#endregion
#region GetSchemaAnalysisRule
/// <summary>
/// Retrieves a schema analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchemaAnalysisRule service method.</param>
///
/// <returns>The response from the GetSchemaAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
public virtual GetSchemaAnalysisRuleResponse GetSchemaAnalysisRule(GetSchemaAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<GetSchemaAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Retrieves a schema analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchemaAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSchemaAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
public virtual Task<GetSchemaAnalysisRuleResponse> GetSchemaAnalysisRuleAsync(GetSchemaAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaAnalysisRuleResponseUnmarshaller.Instance;
return InvokeAsync<GetSchemaAnalysisRuleResponse>(request, options, cancellationToken);
}
#endregion
#region ListCollaborations
/// <summary>
/// Lists collaborations the caller owns, is active in, or has been invited to.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListCollaborations service method.</param>
///
/// <returns>The response from the ListCollaborations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
public virtual ListCollaborationsResponse ListCollaborations(ListCollaborationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCollaborationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCollaborationsResponseUnmarshaller.Instance;
return Invoke<ListCollaborationsResponse>(request, options);
}
/// <summary>
/// Lists collaborations the caller owns, is active in, or has been invited to.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListCollaborations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListCollaborations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
public virtual Task<ListCollaborationsResponse> ListCollaborationsAsync(ListCollaborationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCollaborationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCollaborationsResponseUnmarshaller.Instance;
return InvokeAsync<ListCollaborationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListConfiguredTableAssociations
/// <summary>
/// Lists configured table associations for a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTableAssociations service method.</param>
///
/// <returns>The response from the ListConfiguredTableAssociations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
public virtual ListConfiguredTableAssociationsResponse ListConfiguredTableAssociations(ListConfiguredTableAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTableAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTableAssociationsResponseUnmarshaller.Instance;
return Invoke<ListConfiguredTableAssociationsResponse>(request, options);
}
/// <summary>
/// Lists configured table associations for a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTableAssociations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListConfiguredTableAssociations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
public virtual Task<ListConfiguredTableAssociationsResponse> ListConfiguredTableAssociationsAsync(ListConfiguredTableAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTableAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTableAssociationsResponseUnmarshaller.Instance;
return InvokeAsync<ListConfiguredTableAssociationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListConfiguredTables
/// <summary>
/// Lists configured tables.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTables service method.</param>
///
/// <returns>The response from the ListConfiguredTables service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
public virtual ListConfiguredTablesResponse ListConfiguredTables(ListConfiguredTablesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTablesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTablesResponseUnmarshaller.Instance;
return Invoke<ListConfiguredTablesResponse>(request, options);
}
/// <summary>
/// Lists configured tables.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTables service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListConfiguredTables service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
public virtual Task<ListConfiguredTablesResponse> ListConfiguredTablesAsync(ListConfiguredTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTablesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTablesResponseUnmarshaller.Instance;
return InvokeAsync<ListConfiguredTablesResponse>(request, options, cancellationToken);
}
#endregion
#region ListMembers
/// <summary>
/// Lists all members within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param>
///
/// <returns>The response from the ListMembers service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
public virtual ListMembersResponse ListMembers(ListMembersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance;
return Invoke<ListMembersResponse>(request, options);
}
/// <summary>
/// Lists all members within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListMembers service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
public virtual Task<ListMembersResponse> ListMembersAsync(ListMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance;
return InvokeAsync<ListMembersResponse>(request, options, cancellationToken);
}
#endregion
#region ListMemberships
/// <summary>
/// Lists all memberships resources within the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMemberships service method.</param>
///
/// <returns>The response from the ListMemberships service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
public virtual ListMembershipsResponse ListMemberships(ListMembershipsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembershipsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembershipsResponseUnmarshaller.Instance;
return Invoke<ListMembershipsResponse>(request, options);
}
/// <summary>
/// Lists all memberships resources within the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMemberships service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListMemberships service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
public virtual Task<ListMembershipsResponse> ListMembershipsAsync(ListMembershipsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembershipsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembershipsResponseUnmarshaller.Instance;
return InvokeAsync<ListMembershipsResponse>(request, options, cancellationToken);
}
#endregion
#region ListProtectedQueries
/// <summary>
/// Lists protected queries, sorted by the most recent query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProtectedQueries service method.</param>
///
/// <returns>The response from the ListProtectedQueries service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
public virtual ListProtectedQueriesResponse ListProtectedQueries(ListProtectedQueriesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProtectedQueriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProtectedQueriesResponseUnmarshaller.Instance;
return Invoke<ListProtectedQueriesResponse>(request, options);
}
/// <summary>
/// Lists protected queries, sorted by the most recent query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProtectedQueries service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListProtectedQueries service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
public virtual Task<ListProtectedQueriesResponse> ListProtectedQueriesAsync(ListProtectedQueriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProtectedQueriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProtectedQueriesResponseUnmarshaller.Instance;
return InvokeAsync<ListProtectedQueriesResponse>(request, options, cancellationToken);
}
#endregion
#region ListSchemas
/// <summary>
/// Lists the schemas for relations within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSchemas service method.</param>
///
/// <returns>The response from the ListSchemas service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
public virtual ListSchemasResponse ListSchemas(ListSchemasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemasResponseUnmarshaller.Instance;
return Invoke<ListSchemasResponse>(request, options);
}
/// <summary>
/// Lists the schemas for relations within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSchemas service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSchemas service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
public virtual Task<ListSchemasResponse> ListSchemasAsync(ListSchemasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemasResponseUnmarshaller.Instance;
return InvokeAsync<ListSchemasResponse>(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Lists all of the tags that have been added to a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Lists all of the tags that have been added to a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken);
}
#endregion
#region StartProtectedQuery
/// <summary>
/// Creates a protected query that is started by Clean Rooms .
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartProtectedQuery service method.</param>
///
/// <returns>The response from the StartProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
public virtual StartProtectedQueryResponse StartProtectedQuery(StartProtectedQueryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartProtectedQueryResponseUnmarshaller.Instance;
return Invoke<StartProtectedQueryResponse>(request, options);
}
/// <summary>
/// Creates a protected query that is started by Clean Rooms .
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
public virtual Task<StartProtectedQueryResponse> StartProtectedQueryAsync(StartProtectedQueryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartProtectedQueryResponseUnmarshaller.Instance;
return InvokeAsync<StartProtectedQueryResponse>(request, options, cancellationToken);
}
#endregion
#region TagResource
/// <summary>
/// Tags a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Tags a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync<TagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UntagResource
/// <summary>
/// Removes a tag or list of tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Removes a tag or list of tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateCollaboration
/// <summary>
/// Updates collaboration metadata and can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateCollaboration service method.</param>
///
/// <returns>The response from the UpdateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
public virtual UpdateCollaborationResponse UpdateCollaboration(UpdateCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCollaborationResponseUnmarshaller.Instance;
return Invoke<UpdateCollaborationResponse>(request, options);
}
/// <summary>
/// Updates collaboration metadata and can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
public virtual Task<UpdateCollaborationResponse> UpdateCollaborationAsync(UpdateCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCollaborationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateCollaborationResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateConfiguredTable
/// <summary>
/// Updates a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTable service method.</param>
///
/// <returns>The response from the UpdateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
public virtual UpdateConfiguredTableResponse UpdateConfiguredTable(UpdateConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableResponseUnmarshaller.Instance;
return Invoke<UpdateConfiguredTableResponse>(request, options);
}
/// <summary>
/// Updates a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
public virtual Task<UpdateConfiguredTableResponse> UpdateConfiguredTableAsync(UpdateConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableResponseUnmarshaller.Instance;
return InvokeAsync<UpdateConfiguredTableResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateConfiguredTableAnalysisRule
/// <summary>
/// Updates a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the UpdateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
public virtual UpdateConfiguredTableAnalysisRuleResponse UpdateConfiguredTableAnalysisRule(UpdateConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<UpdateConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Updates a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
public virtual Task<UpdateConfiguredTableAnalysisRuleResponse> UpdateConfiguredTableAnalysisRuleAsync(UpdateConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return InvokeAsync<UpdateConfiguredTableAnalysisRuleResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateConfiguredTableAssociation
/// <summary>
/// Updates a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the UpdateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
public virtual UpdateConfiguredTableAssociationResponse UpdateConfiguredTableAssociation(UpdateConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<UpdateConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Updates a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
public virtual Task<UpdateConfiguredTableAssociationResponse> UpdateConfiguredTableAssociationAsync(UpdateConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAssociationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateConfiguredTableAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateMembership
/// <summary>
/// Updates a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMembership service method.</param>
///
/// <returns>The response from the UpdateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
public virtual UpdateMembershipResponse UpdateMembership(UpdateMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMembershipResponseUnmarshaller.Instance;
return Invoke<UpdateMembershipResponse>(request, options);
}
/// <summary>
/// Updates a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
public virtual Task<UpdateMembershipResponse> UpdateMembershipAsync(UpdateMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMembershipResponseUnmarshaller.Instance;
return InvokeAsync<UpdateMembershipResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateProtectedQuery
/// <summary>
/// Updates the processing of a currently running query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProtectedQuery service method.</param>
///
/// <returns>The response from the UpdateProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
public virtual UpdateProtectedQueryResponse UpdateProtectedQuery(UpdateProtectedQueryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProtectedQueryResponseUnmarshaller.Instance;
return Invoke<UpdateProtectedQueryResponse>(request, options);
}
/// <summary>
/// Updates the processing of a currently running query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
public virtual Task<UpdateProtectedQueryResponse> UpdateProtectedQueryAsync(UpdateProtectedQueryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProtectedQueryResponseUnmarshaller.Instance;
return InvokeAsync<UpdateProtectedQueryResponse>(request, options, cancellationToken);
}
#endregion
}
}
| 2,934 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CleanRooms.Model;
namespace Amazon.CleanRooms
{
/// <summary>
/// Interface for accessing CleanRooms
///
/// Welcome to the <i>Clean Rooms API Reference</i>.
///
///
/// <para>
/// Clean Rooms is an Amazon Web Services service that helps multiple parties to join
/// their data together in a secure collaboration workspace. In the collaboration, members
/// who can query and receive results can get insights into the collective datasets without
/// either party getting access to the other party's raw data.
/// </para>
///
/// <para>
/// To learn more about Clean Rooms concepts, procedures, and best practices, see the
/// <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean
/// Rooms User Guide</a>.
/// </para>
/// </summary>
public partial interface IAmazonCleanRooms : IAmazonService, IDisposable
{
/// <summary>
/// Paginators for the service
/// </summary>
ICleanRoomsPaginatorFactory Paginators { get; }
#region BatchGetSchema
/// <summary>
/// Retrieves multiple schemas by their identifiers.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetSchema service method.</param>
///
/// <returns>The response from the BatchGetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
BatchGetSchemaResponse BatchGetSchema(BatchGetSchemaRequest request);
/// <summary>
/// Retrieves multiple schemas by their identifiers.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetSchema service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchGetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
Task<BatchGetSchemaResponse> BatchGetSchemaAsync(BatchGetSchemaRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateCollaboration
/// <summary>
/// Creates a new collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateCollaboration service method.</param>
///
/// <returns>The response from the CreateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
CreateCollaborationResponse CreateCollaboration(CreateCollaborationRequest request);
/// <summary>
/// Creates a new collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
Task<CreateCollaborationResponse> CreateCollaborationAsync(CreateCollaborationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateConfiguredTable
/// <summary>
/// Creates a new configured table resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTable service method.</param>
///
/// <returns>The response from the CreateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
CreateConfiguredTableResponse CreateConfiguredTable(CreateConfiguredTableRequest request);
/// <summary>
/// Creates a new configured table resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
Task<CreateConfiguredTableResponse> CreateConfiguredTableAsync(CreateConfiguredTableRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateConfiguredTableAnalysisRule
/// <summary>
/// Creates a new analysis rule for a configured table. Currently, only one analysis rule
/// can be created for a given configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the CreateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
CreateConfiguredTableAnalysisRuleResponse CreateConfiguredTableAnalysisRule(CreateConfiguredTableAnalysisRuleRequest request);
/// <summary>
/// Creates a new analysis rule for a configured table. Currently, only one analysis rule
/// can be created for a given configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
Task<CreateConfiguredTableAnalysisRuleResponse> CreateConfiguredTableAnalysisRuleAsync(CreateConfiguredTableAnalysisRuleRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateConfiguredTableAssociation
/// <summary>
/// Creates a configured table association. A configured table association links a configured
/// table with a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the CreateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
CreateConfiguredTableAssociationResponse CreateConfiguredTableAssociation(CreateConfiguredTableAssociationRequest request);
/// <summary>
/// Creates a configured table association. A configured table association links a configured
/// table with a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
Task<CreateConfiguredTableAssociationResponse> CreateConfiguredTableAssociationAsync(CreateConfiguredTableAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateMembership
/// <summary>
/// Creates a membership for a specific collaboration identifier and joins the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateMembership service method.</param>
///
/// <returns>The response from the CreateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
CreateMembershipResponse CreateMembership(CreateMembershipRequest request);
/// <summary>
/// Creates a membership for a specific collaboration identifier and joins the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
Task<CreateMembershipResponse> CreateMembershipAsync(CreateMembershipRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteCollaboration
/// <summary>
/// Deletes a collaboration. It can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCollaboration service method.</param>
///
/// <returns>The response from the DeleteCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
DeleteCollaborationResponse DeleteCollaboration(DeleteCollaborationRequest request);
/// <summary>
/// Deletes a collaboration. It can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
Task<DeleteCollaborationResponse> DeleteCollaborationAsync(DeleteCollaborationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteConfiguredTable
/// <summary>
/// Deletes a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTable service method.</param>
///
/// <returns>The response from the DeleteConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
DeleteConfiguredTableResponse DeleteConfiguredTable(DeleteConfiguredTableRequest request);
/// <summary>
/// Deletes a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
Task<DeleteConfiguredTableResponse> DeleteConfiguredTableAsync(DeleteConfiguredTableRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteConfiguredTableAnalysisRule
/// <summary>
/// Deletes a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the DeleteConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
DeleteConfiguredTableAnalysisRuleResponse DeleteConfiguredTableAnalysisRule(DeleteConfiguredTableAnalysisRuleRequest request);
/// <summary>
/// Deletes a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
Task<DeleteConfiguredTableAnalysisRuleResponse> DeleteConfiguredTableAnalysisRuleAsync(DeleteConfiguredTableAnalysisRuleRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteConfiguredTableAssociation
/// <summary>
/// Deletes a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the DeleteConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
DeleteConfiguredTableAssociationResponse DeleteConfiguredTableAssociation(DeleteConfiguredTableAssociationRequest request);
/// <summary>
/// Deletes a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
Task<DeleteConfiguredTableAssociationResponse> DeleteConfiguredTableAssociationAsync(DeleteConfiguredTableAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteMember
/// <summary>
/// Removes the specified member from a collaboration. The removed member is placed in
/// the Removed status and can't interact with the collaboration. The removed member's
/// data is inaccessible to active members of the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMember service method.</param>
///
/// <returns>The response from the DeleteMember service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
DeleteMemberResponse DeleteMember(DeleteMemberRequest request);
/// <summary>
/// Removes the specified member from a collaboration. The removed member is placed in
/// the Removed status and can't interact with the collaboration. The removed member's
/// data is inaccessible to active members of the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMember service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMember service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
Task<DeleteMemberResponse> DeleteMemberAsync(DeleteMemberRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteMembership
/// <summary>
/// Deletes a specified membership. All resources under a membership must be deleted.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMembership service method.</param>
///
/// <returns>The response from the DeleteMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
DeleteMembershipResponse DeleteMembership(DeleteMembershipRequest request);
/// <summary>
/// Deletes a specified membership. All resources under a membership must be deleted.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
Task<DeleteMembershipResponse> DeleteMembershipAsync(DeleteMembershipRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCollaboration
/// <summary>
/// Returns metadata about a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetCollaboration service method.</param>
///
/// <returns>The response from the GetCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
GetCollaborationResponse GetCollaboration(GetCollaborationRequest request);
/// <summary>
/// Returns metadata about a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
Task<GetCollaborationResponse> GetCollaborationAsync(GetCollaborationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetConfiguredTable
/// <summary>
/// Retrieves a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTable service method.</param>
///
/// <returns>The response from the GetConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
GetConfiguredTableResponse GetConfiguredTable(GetConfiguredTableRequest request);
/// <summary>
/// Retrieves a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
Task<GetConfiguredTableResponse> GetConfiguredTableAsync(GetConfiguredTableRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetConfiguredTableAnalysisRule
/// <summary>
/// Retrieves a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the GetConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
GetConfiguredTableAnalysisRuleResponse GetConfiguredTableAnalysisRule(GetConfiguredTableAnalysisRuleRequest request);
/// <summary>
/// Retrieves a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
Task<GetConfiguredTableAnalysisRuleResponse> GetConfiguredTableAnalysisRuleAsync(GetConfiguredTableAnalysisRuleRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetConfiguredTableAssociation
/// <summary>
/// Retrieves a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the GetConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
GetConfiguredTableAssociationResponse GetConfiguredTableAssociation(GetConfiguredTableAssociationRequest request);
/// <summary>
/// Retrieves a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
Task<GetConfiguredTableAssociationResponse> GetConfiguredTableAssociationAsync(GetConfiguredTableAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetMembership
/// <summary>
/// Retrieves a specified membership for an identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMembership service method.</param>
///
/// <returns>The response from the GetMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
GetMembershipResponse GetMembership(GetMembershipRequest request);
/// <summary>
/// Retrieves a specified membership for an identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
Task<GetMembershipResponse> GetMembershipAsync(GetMembershipRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetProtectedQuery
/// <summary>
/// Returns query processing metadata.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProtectedQuery service method.</param>
///
/// <returns>The response from the GetProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
GetProtectedQueryResponse GetProtectedQuery(GetProtectedQueryRequest request);
/// <summary>
/// Returns query processing metadata.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
Task<GetProtectedQueryResponse> GetProtectedQueryAsync(GetProtectedQueryRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSchema
/// <summary>
/// Retrieves the schema for a relation within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchema service method.</param>
///
/// <returns>The response from the GetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
GetSchemaResponse GetSchema(GetSchemaRequest request);
/// <summary>
/// Retrieves the schema for a relation within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchema service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
Task<GetSchemaResponse> GetSchemaAsync(GetSchemaRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSchemaAnalysisRule
/// <summary>
/// Retrieves a schema analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchemaAnalysisRule service method.</param>
///
/// <returns>The response from the GetSchemaAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
GetSchemaAnalysisRuleResponse GetSchemaAnalysisRule(GetSchemaAnalysisRuleRequest request);
/// <summary>
/// Retrieves a schema analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchemaAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSchemaAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
Task<GetSchemaAnalysisRuleResponse> GetSchemaAnalysisRuleAsync(GetSchemaAnalysisRuleRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListCollaborations
/// <summary>
/// Lists collaborations the caller owns, is active in, or has been invited to.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListCollaborations service method.</param>
///
/// <returns>The response from the ListCollaborations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
ListCollaborationsResponse ListCollaborations(ListCollaborationsRequest request);
/// <summary>
/// Lists collaborations the caller owns, is active in, or has been invited to.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListCollaborations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListCollaborations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
Task<ListCollaborationsResponse> ListCollaborationsAsync(ListCollaborationsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListConfiguredTableAssociations
/// <summary>
/// Lists configured table associations for a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTableAssociations service method.</param>
///
/// <returns>The response from the ListConfiguredTableAssociations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
ListConfiguredTableAssociationsResponse ListConfiguredTableAssociations(ListConfiguredTableAssociationsRequest request);
/// <summary>
/// Lists configured table associations for a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTableAssociations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListConfiguredTableAssociations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
Task<ListConfiguredTableAssociationsResponse> ListConfiguredTableAssociationsAsync(ListConfiguredTableAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListConfiguredTables
/// <summary>
/// Lists configured tables.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTables service method.</param>
///
/// <returns>The response from the ListConfiguredTables service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
ListConfiguredTablesResponse ListConfiguredTables(ListConfiguredTablesRequest request);
/// <summary>
/// Lists configured tables.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTables service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListConfiguredTables service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
Task<ListConfiguredTablesResponse> ListConfiguredTablesAsync(ListConfiguredTablesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListMembers
/// <summary>
/// Lists all members within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param>
///
/// <returns>The response from the ListMembers service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
ListMembersResponse ListMembers(ListMembersRequest request);
/// <summary>
/// Lists all members within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListMembers service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
Task<ListMembersResponse> ListMembersAsync(ListMembersRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListMemberships
/// <summary>
/// Lists all memberships resources within the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMemberships service method.</param>
///
/// <returns>The response from the ListMemberships service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
ListMembershipsResponse ListMemberships(ListMembershipsRequest request);
/// <summary>
/// Lists all memberships resources within the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMemberships service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListMemberships service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
Task<ListMembershipsResponse> ListMembershipsAsync(ListMembershipsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListProtectedQueries
/// <summary>
/// Lists protected queries, sorted by the most recent query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProtectedQueries service method.</param>
///
/// <returns>The response from the ListProtectedQueries service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
ListProtectedQueriesResponse ListProtectedQueries(ListProtectedQueriesRequest request);
/// <summary>
/// Lists protected queries, sorted by the most recent query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProtectedQueries service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListProtectedQueries service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
Task<ListProtectedQueriesResponse> ListProtectedQueriesAsync(ListProtectedQueriesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSchemas
/// <summary>
/// Lists the schemas for relations within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSchemas service method.</param>
///
/// <returns>The response from the ListSchemas service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
ListSchemasResponse ListSchemas(ListSchemasRequest request);
/// <summary>
/// Lists the schemas for relations within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSchemas service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSchemas service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
Task<ListSchemasResponse> ListSchemasAsync(ListSchemasRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Lists all of the tags that have been added to a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
/// <summary>
/// Lists all of the tags that have been added to a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartProtectedQuery
/// <summary>
/// Creates a protected query that is started by Clean Rooms .
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartProtectedQuery service method.</param>
///
/// <returns>The response from the StartProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
StartProtectedQueryResponse StartProtectedQuery(StartProtectedQueryRequest request);
/// <summary>
/// Creates a protected query that is started by Clean Rooms .
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
Task<StartProtectedQueryResponse> StartProtectedQueryAsync(StartProtectedQueryRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Tags a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Tags a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes a tag or list of tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Removes a tag or list of tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateCollaboration
/// <summary>
/// Updates collaboration metadata and can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateCollaboration service method.</param>
///
/// <returns>The response from the UpdateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
UpdateCollaborationResponse UpdateCollaboration(UpdateCollaborationRequest request);
/// <summary>
/// Updates collaboration metadata and can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
Task<UpdateCollaborationResponse> UpdateCollaborationAsync(UpdateCollaborationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateConfiguredTable
/// <summary>
/// Updates a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTable service method.</param>
///
/// <returns>The response from the UpdateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
UpdateConfiguredTableResponse UpdateConfiguredTable(UpdateConfiguredTableRequest request);
/// <summary>
/// Updates a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
Task<UpdateConfiguredTableResponse> UpdateConfiguredTableAsync(UpdateConfiguredTableRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateConfiguredTableAnalysisRule
/// <summary>
/// Updates a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAnalysisRule service method.</param>
///
/// <returns>The response from the UpdateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
UpdateConfiguredTableAnalysisRuleResponse UpdateConfiguredTableAnalysisRule(UpdateConfiguredTableAnalysisRuleRequest request);
/// <summary>
/// Updates a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
Task<UpdateConfiguredTableAnalysisRuleResponse> UpdateConfiguredTableAnalysisRuleAsync(UpdateConfiguredTableAnalysisRuleRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateConfiguredTableAssociation
/// <summary>
/// Updates a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAssociation service method.</param>
///
/// <returns>The response from the UpdateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
UpdateConfiguredTableAssociationResponse UpdateConfiguredTableAssociation(UpdateConfiguredTableAssociationRequest request);
/// <summary>
/// Updates a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
Task<UpdateConfiguredTableAssociationResponse> UpdateConfiguredTableAssociationAsync(UpdateConfiguredTableAssociationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateMembership
/// <summary>
/// Updates a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMembership service method.</param>
///
/// <returns>The response from the UpdateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
UpdateMembershipResponse UpdateMembership(UpdateMembershipRequest request);
/// <summary>
/// Updates a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
Task<UpdateMembershipResponse> UpdateMembershipAsync(UpdateMembershipRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateProtectedQuery
/// <summary>
/// Updates the processing of a currently running query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProtectedQuery service method.</param>
///
/// <returns>The response from the UpdateProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
UpdateProtectedQueryResponse UpdateProtectedQuery(UpdateProtectedQueryRequest request);
/// <summary>
/// Updates the processing of a currently running query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
Task<UpdateProtectedQueryResponse> UpdateProtectedQueryAsync(UpdateProtectedQueryRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}
| 2,232 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.CleanRooms.Model;
using Amazon.CleanRooms.Model.Internal.MarshallTransformations;
using Amazon.CleanRooms.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.CleanRooms
{
/// <summary>
/// Implementation for accessing CleanRooms
///
/// Welcome to the <i>Clean Rooms API Reference</i>.
///
///
/// <para>
/// Clean Rooms is an Amazon Web Services service that helps multiple parties to join
/// their data together in a secure collaboration workspace. In the collaboration, members
/// who can query and receive results can get insights into the collective datasets without
/// either party getting access to the other party's raw data.
/// </para>
///
/// <para>
/// To learn more about Clean Rooms concepts, procedures, and best practices, see the
/// <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean
/// Rooms User Guide</a>.
/// </para>
/// </summary>
public partial class AmazonCleanRoomsClient : AmazonServiceClient, IAmazonCleanRooms
{
private static IServiceMetadata serviceMetadata = new AmazonCleanRoomsMetadata();
#region Constructors
/// <summary>
/// Constructs AmazonCleanRoomsClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonCleanRoomsClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCleanRoomsConfig()) { }
/// <summary>
/// Constructs AmazonCleanRoomsClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonCleanRoomsConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonCleanRoomsClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
/// <code>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(AmazonCleanRoomsConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonCleanRoomsClient(AWSCredentials credentials)
: this(credentials, new AmazonCleanRoomsConfig())
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonCleanRoomsConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Credentials and an
/// AmazonCleanRoomsClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(AWSCredentials credentials, AmazonCleanRoomsConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCleanRoomsConfig())
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonCleanRoomsConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCleanRoomsClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonCleanRoomsConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCleanRoomsConfig())
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID and AWS Secret Key
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="region">The region to connect.</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonCleanRoomsConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonCleanRoomsClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonCleanRoomsClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="awsSessionToken">AWS Session Token</param>
/// <param name="clientConfig">The AmazonCleanRoomsClient Configuration Object</param>
public AmazonCleanRoomsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonCleanRoomsConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private ICleanRoomsPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public ICleanRoomsPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new CleanRoomsPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
/// <summary>
/// Creates the signer for the service.
/// </summary>
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
/// <summary>
/// Customizes the runtime pipeline.
/// </summary>
/// <param name="pipeline">Runtime pipeline for the current client.</param>
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>();
pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonCleanRoomsEndpointResolver());
}
/// <summary>
/// Capture metadata for the service.
/// </summary>
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
/// <summary>
/// Disposes the service client.
/// </summary>
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region BatchGetSchema
internal virtual BatchGetSchemaResponse BatchGetSchema(BatchGetSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetSchemaResponseUnmarshaller.Instance;
return Invoke<BatchGetSchemaResponse>(request, options);
}
/// <summary>
/// Retrieves multiple schemas by their identifiers.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetSchema service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchGetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
public virtual Task<BatchGetSchemaResponse> BatchGetSchemaAsync(BatchGetSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetSchemaResponseUnmarshaller.Instance;
return InvokeAsync<BatchGetSchemaResponse>(request, options, cancellationToken);
}
#endregion
#region CreateCollaboration
internal virtual CreateCollaborationResponse CreateCollaboration(CreateCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCollaborationResponseUnmarshaller.Instance;
return Invoke<CreateCollaborationResponse>(request, options);
}
/// <summary>
/// Creates a new collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
public virtual Task<CreateCollaborationResponse> CreateCollaborationAsync(CreateCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCollaborationResponseUnmarshaller.Instance;
return InvokeAsync<CreateCollaborationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateConfiguredTable
internal virtual CreateConfiguredTableResponse CreateConfiguredTable(CreateConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableResponseUnmarshaller.Instance;
return Invoke<CreateConfiguredTableResponse>(request, options);
}
/// <summary>
/// Creates a new configured table resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
public virtual Task<CreateConfiguredTableResponse> CreateConfiguredTableAsync(CreateConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableResponseUnmarshaller.Instance;
return InvokeAsync<CreateConfiguredTableResponse>(request, options, cancellationToken);
}
#endregion
#region CreateConfiguredTableAnalysisRule
internal virtual CreateConfiguredTableAnalysisRuleResponse CreateConfiguredTableAnalysisRule(CreateConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<CreateConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Creates a new analysis rule for a configured table. Currently, only one analysis rule
/// can be created for a given configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
public virtual Task<CreateConfiguredTableAnalysisRuleResponse> CreateConfiguredTableAnalysisRuleAsync(CreateConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return InvokeAsync<CreateConfiguredTableAnalysisRuleResponse>(request, options, cancellationToken);
}
#endregion
#region CreateConfiguredTableAssociation
internal virtual CreateConfiguredTableAssociationResponse CreateConfiguredTableAssociation(CreateConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<CreateConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Creates a configured table association. A configured table association links a configured
/// table with a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
public virtual Task<CreateConfiguredTableAssociationResponse> CreateConfiguredTableAssociationAsync(CreateConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateConfiguredTableAssociationResponseUnmarshaller.Instance;
return InvokeAsync<CreateConfiguredTableAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateMembership
internal virtual CreateMembershipResponse CreateMembership(CreateMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMembershipResponseUnmarshaller.Instance;
return Invoke<CreateMembershipResponse>(request, options);
}
/// <summary>
/// Creates a membership for a specific collaboration identifier and joins the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
public virtual Task<CreateMembershipResponse> CreateMembershipAsync(CreateMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMembershipResponseUnmarshaller.Instance;
return InvokeAsync<CreateMembershipResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteCollaboration
internal virtual DeleteCollaborationResponse DeleteCollaboration(DeleteCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCollaborationResponseUnmarshaller.Instance;
return Invoke<DeleteCollaborationResponse>(request, options);
}
/// <summary>
/// Deletes a collaboration. It can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
public virtual Task<DeleteCollaborationResponse> DeleteCollaborationAsync(DeleteCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCollaborationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteCollaborationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteConfiguredTable
internal virtual DeleteConfiguredTableResponse DeleteConfiguredTable(DeleteConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableResponseUnmarshaller.Instance;
return Invoke<DeleteConfiguredTableResponse>(request, options);
}
/// <summary>
/// Deletes a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
public virtual Task<DeleteConfiguredTableResponse> DeleteConfiguredTableAsync(DeleteConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableResponseUnmarshaller.Instance;
return InvokeAsync<DeleteConfiguredTableResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteConfiguredTableAnalysisRule
internal virtual DeleteConfiguredTableAnalysisRuleResponse DeleteConfiguredTableAnalysisRule(DeleteConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<DeleteConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Deletes a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
public virtual Task<DeleteConfiguredTableAnalysisRuleResponse> DeleteConfiguredTableAnalysisRuleAsync(DeleteConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return InvokeAsync<DeleteConfiguredTableAnalysisRuleResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteConfiguredTableAssociation
internal virtual DeleteConfiguredTableAssociationResponse DeleteConfiguredTableAssociation(DeleteConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<DeleteConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Deletes a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
public virtual Task<DeleteConfiguredTableAssociationResponse> DeleteConfiguredTableAssociationAsync(DeleteConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteConfiguredTableAssociationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteConfiguredTableAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteMember
internal virtual DeleteMemberResponse DeleteMember(DeleteMemberRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMemberResponseUnmarshaller.Instance;
return Invoke<DeleteMemberResponse>(request, options);
}
/// <summary>
/// Removes the specified member from a collaboration. The removed member is placed in
/// the Removed status and can't interact with the collaboration. The removed member's
/// data is inaccessible to active members of the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMember service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMember service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
public virtual Task<DeleteMemberResponse> DeleteMemberAsync(DeleteMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMemberResponseUnmarshaller.Instance;
return InvokeAsync<DeleteMemberResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteMembership
internal virtual DeleteMembershipResponse DeleteMembership(DeleteMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMembershipResponseUnmarshaller.Instance;
return Invoke<DeleteMembershipResponse>(request, options);
}
/// <summary>
/// Deletes a specified membership. All resources under a membership must be deleted.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
public virtual Task<DeleteMembershipResponse> DeleteMembershipAsync(DeleteMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMembershipResponseUnmarshaller.Instance;
return InvokeAsync<DeleteMembershipResponse>(request, options, cancellationToken);
}
#endregion
#region GetCollaboration
internal virtual GetCollaborationResponse GetCollaboration(GetCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCollaborationResponseUnmarshaller.Instance;
return Invoke<GetCollaborationResponse>(request, options);
}
/// <summary>
/// Returns metadata about a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
public virtual Task<GetCollaborationResponse> GetCollaborationAsync(GetCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCollaborationResponseUnmarshaller.Instance;
return InvokeAsync<GetCollaborationResponse>(request, options, cancellationToken);
}
#endregion
#region GetConfiguredTable
internal virtual GetConfiguredTableResponse GetConfiguredTable(GetConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableResponseUnmarshaller.Instance;
return Invoke<GetConfiguredTableResponse>(request, options);
}
/// <summary>
/// Retrieves a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
public virtual Task<GetConfiguredTableResponse> GetConfiguredTableAsync(GetConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableResponseUnmarshaller.Instance;
return InvokeAsync<GetConfiguredTableResponse>(request, options, cancellationToken);
}
#endregion
#region GetConfiguredTableAnalysisRule
internal virtual GetConfiguredTableAnalysisRuleResponse GetConfiguredTableAnalysisRule(GetConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<GetConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Retrieves a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
public virtual Task<GetConfiguredTableAnalysisRuleResponse> GetConfiguredTableAnalysisRuleAsync(GetConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return InvokeAsync<GetConfiguredTableAnalysisRuleResponse>(request, options, cancellationToken);
}
#endregion
#region GetConfiguredTableAssociation
internal virtual GetConfiguredTableAssociationResponse GetConfiguredTableAssociation(GetConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<GetConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Retrieves a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
public virtual Task<GetConfiguredTableAssociationResponse> GetConfiguredTableAssociationAsync(GetConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfiguredTableAssociationResponseUnmarshaller.Instance;
return InvokeAsync<GetConfiguredTableAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region GetMembership
internal virtual GetMembershipResponse GetMembership(GetMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMembershipResponseUnmarshaller.Instance;
return Invoke<GetMembershipResponse>(request, options);
}
/// <summary>
/// Retrieves a specified membership for an identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
public virtual Task<GetMembershipResponse> GetMembershipAsync(GetMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMembershipResponseUnmarshaller.Instance;
return InvokeAsync<GetMembershipResponse>(request, options, cancellationToken);
}
#endregion
#region GetProtectedQuery
internal virtual GetProtectedQueryResponse GetProtectedQuery(GetProtectedQueryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProtectedQueryResponseUnmarshaller.Instance;
return Invoke<GetProtectedQueryResponse>(request, options);
}
/// <summary>
/// Returns query processing metadata.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
public virtual Task<GetProtectedQueryResponse> GetProtectedQueryAsync(GetProtectedQueryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetProtectedQueryResponseUnmarshaller.Instance;
return InvokeAsync<GetProtectedQueryResponse>(request, options, cancellationToken);
}
#endregion
#region GetSchema
internal virtual GetSchemaResponse GetSchema(GetSchemaRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaResponseUnmarshaller.Instance;
return Invoke<GetSchemaResponse>(request, options);
}
/// <summary>
/// Retrieves the schema for a relation within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchema service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
public virtual Task<GetSchemaResponse> GetSchemaAsync(GetSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaResponseUnmarshaller.Instance;
return InvokeAsync<GetSchemaResponse>(request, options, cancellationToken);
}
#endregion
#region GetSchemaAnalysisRule
internal virtual GetSchemaAnalysisRuleResponse GetSchemaAnalysisRule(GetSchemaAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<GetSchemaAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Retrieves a schema analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchemaAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSchemaAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
public virtual Task<GetSchemaAnalysisRuleResponse> GetSchemaAnalysisRuleAsync(GetSchemaAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSchemaAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSchemaAnalysisRuleResponseUnmarshaller.Instance;
return InvokeAsync<GetSchemaAnalysisRuleResponse>(request, options, cancellationToken);
}
#endregion
#region ListCollaborations
internal virtual ListCollaborationsResponse ListCollaborations(ListCollaborationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCollaborationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCollaborationsResponseUnmarshaller.Instance;
return Invoke<ListCollaborationsResponse>(request, options);
}
/// <summary>
/// Lists collaborations the caller owns, is active in, or has been invited to.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListCollaborations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListCollaborations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
public virtual Task<ListCollaborationsResponse> ListCollaborationsAsync(ListCollaborationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCollaborationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCollaborationsResponseUnmarshaller.Instance;
return InvokeAsync<ListCollaborationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListConfiguredTableAssociations
internal virtual ListConfiguredTableAssociationsResponse ListConfiguredTableAssociations(ListConfiguredTableAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTableAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTableAssociationsResponseUnmarshaller.Instance;
return Invoke<ListConfiguredTableAssociationsResponse>(request, options);
}
/// <summary>
/// Lists configured table associations for a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTableAssociations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListConfiguredTableAssociations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
public virtual Task<ListConfiguredTableAssociationsResponse> ListConfiguredTableAssociationsAsync(ListConfiguredTableAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTableAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTableAssociationsResponseUnmarshaller.Instance;
return InvokeAsync<ListConfiguredTableAssociationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListConfiguredTables
internal virtual ListConfiguredTablesResponse ListConfiguredTables(ListConfiguredTablesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTablesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTablesResponseUnmarshaller.Instance;
return Invoke<ListConfiguredTablesResponse>(request, options);
}
/// <summary>
/// Lists configured tables.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTables service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListConfiguredTables service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
public virtual Task<ListConfiguredTablesResponse> ListConfiguredTablesAsync(ListConfiguredTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListConfiguredTablesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListConfiguredTablesResponseUnmarshaller.Instance;
return InvokeAsync<ListConfiguredTablesResponse>(request, options, cancellationToken);
}
#endregion
#region ListMembers
internal virtual ListMembersResponse ListMembers(ListMembersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance;
return Invoke<ListMembersResponse>(request, options);
}
/// <summary>
/// Lists all members within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListMembers service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
public virtual Task<ListMembersResponse> ListMembersAsync(ListMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance;
return InvokeAsync<ListMembersResponse>(request, options, cancellationToken);
}
#endregion
#region ListMemberships
internal virtual ListMembershipsResponse ListMemberships(ListMembershipsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembershipsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembershipsResponseUnmarshaller.Instance;
return Invoke<ListMembershipsResponse>(request, options);
}
/// <summary>
/// Lists all memberships resources within the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMemberships service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListMemberships service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
public virtual Task<ListMembershipsResponse> ListMembershipsAsync(ListMembershipsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembershipsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembershipsResponseUnmarshaller.Instance;
return InvokeAsync<ListMembershipsResponse>(request, options, cancellationToken);
}
#endregion
#region ListProtectedQueries
internal virtual ListProtectedQueriesResponse ListProtectedQueries(ListProtectedQueriesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProtectedQueriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProtectedQueriesResponseUnmarshaller.Instance;
return Invoke<ListProtectedQueriesResponse>(request, options);
}
/// <summary>
/// Lists protected queries, sorted by the most recent query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProtectedQueries service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListProtectedQueries service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
public virtual Task<ListProtectedQueriesResponse> ListProtectedQueriesAsync(ListProtectedQueriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProtectedQueriesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProtectedQueriesResponseUnmarshaller.Instance;
return InvokeAsync<ListProtectedQueriesResponse>(request, options, cancellationToken);
}
#endregion
#region ListSchemas
internal virtual ListSchemasResponse ListSchemas(ListSchemasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemasResponseUnmarshaller.Instance;
return Invoke<ListSchemasResponse>(request, options);
}
/// <summary>
/// Lists the schemas for relations within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSchemas service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSchemas service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
public virtual Task<ListSchemasResponse> ListSchemasAsync(ListSchemasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSchemasRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSchemasResponseUnmarshaller.Instance;
return InvokeAsync<ListSchemasResponse>(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Lists all of the tags that have been added to a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken);
}
#endregion
#region StartProtectedQuery
internal virtual StartProtectedQueryResponse StartProtectedQuery(StartProtectedQueryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartProtectedQueryResponseUnmarshaller.Instance;
return Invoke<StartProtectedQueryResponse>(request, options);
}
/// <summary>
/// Creates a protected query that is started by Clean Rooms .
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
public virtual Task<StartProtectedQueryResponse> StartProtectedQueryAsync(StartProtectedQueryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartProtectedQueryResponseUnmarshaller.Instance;
return InvokeAsync<StartProtectedQueryResponse>(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Tags a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync<TagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Removes a tag or list of tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateCollaboration
internal virtual UpdateCollaborationResponse UpdateCollaboration(UpdateCollaborationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCollaborationResponseUnmarshaller.Instance;
return Invoke<UpdateCollaborationResponse>(request, options);
}
/// <summary>
/// Updates collaboration metadata and can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
public virtual Task<UpdateCollaborationResponse> UpdateCollaborationAsync(UpdateCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateCollaborationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateCollaborationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateCollaborationResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateConfiguredTable
internal virtual UpdateConfiguredTableResponse UpdateConfiguredTable(UpdateConfiguredTableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableResponseUnmarshaller.Instance;
return Invoke<UpdateConfiguredTableResponse>(request, options);
}
/// <summary>
/// Updates a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
public virtual Task<UpdateConfiguredTableResponse> UpdateConfiguredTableAsync(UpdateConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableResponseUnmarshaller.Instance;
return InvokeAsync<UpdateConfiguredTableResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateConfiguredTableAnalysisRule
internal virtual UpdateConfiguredTableAnalysisRuleResponse UpdateConfiguredTableAnalysisRule(UpdateConfiguredTableAnalysisRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return Invoke<UpdateConfiguredTableAnalysisRuleResponse>(request, options);
}
/// <summary>
/// Updates a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
public virtual Task<UpdateConfiguredTableAnalysisRuleResponse> UpdateConfiguredTableAnalysisRuleAsync(UpdateConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAnalysisRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAnalysisRuleResponseUnmarshaller.Instance;
return InvokeAsync<UpdateConfiguredTableAnalysisRuleResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateConfiguredTableAssociation
internal virtual UpdateConfiguredTableAssociationResponse UpdateConfiguredTableAssociation(UpdateConfiguredTableAssociationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAssociationResponseUnmarshaller.Instance;
return Invoke<UpdateConfiguredTableAssociationResponse>(request, options);
}
/// <summary>
/// Updates a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
public virtual Task<UpdateConfiguredTableAssociationResponse> UpdateConfiguredTableAssociationAsync(UpdateConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfiguredTableAssociationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfiguredTableAssociationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateConfiguredTableAssociationResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateMembership
internal virtual UpdateMembershipResponse UpdateMembership(UpdateMembershipRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMembershipResponseUnmarshaller.Instance;
return Invoke<UpdateMembershipResponse>(request, options);
}
/// <summary>
/// Updates a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
public virtual Task<UpdateMembershipResponse> UpdateMembershipAsync(UpdateMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateMembershipRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateMembershipResponseUnmarshaller.Instance;
return InvokeAsync<UpdateMembershipResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateProtectedQuery
internal virtual UpdateProtectedQueryResponse UpdateProtectedQuery(UpdateProtectedQueryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProtectedQueryResponseUnmarshaller.Instance;
return Invoke<UpdateProtectedQueryResponse>(request, options);
}
/// <summary>
/// Updates the processing of a currently running query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
public virtual Task<UpdateProtectedQueryResponse> UpdateProtectedQueryAsync(UpdateProtectedQueryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateProtectedQueryRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateProtectedQueryResponseUnmarshaller.Instance;
return InvokeAsync<UpdateProtectedQueryResponse>(request, options, cancellationToken);
}
#endregion
}
}
| 2,111 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cleanrooms-2022-02-17.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.CleanRooms.Model;
namespace Amazon.CleanRooms
{
/// <summary>
/// Interface for accessing CleanRooms
///
/// Welcome to the <i>Clean Rooms API Reference</i>.
///
///
/// <para>
/// Clean Rooms is an Amazon Web Services service that helps multiple parties to join
/// their data together in a secure collaboration workspace. In the collaboration, members
/// who can query and receive results can get insights into the collective datasets without
/// either party getting access to the other party's raw data.
/// </para>
///
/// <para>
/// To learn more about Clean Rooms concepts, procedures, and best practices, see the
/// <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean
/// Rooms User Guide</a>.
/// </para>
/// </summary>
public partial interface IAmazonCleanRooms : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
ICleanRoomsPaginatorFactory Paginators { get; }
#endif
#region BatchGetSchema
/// <summary>
/// Retrieves multiple schemas by their identifiers.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetSchema service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchGetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/BatchGetSchema">REST API Reference for BatchGetSchema Operation</seealso>
Task<BatchGetSchemaResponse> BatchGetSchemaAsync(BatchGetSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateCollaboration
/// <summary>
/// Creates a new collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateCollaboration">REST API Reference for CreateCollaboration Operation</seealso>
Task<CreateCollaborationResponse> CreateCollaborationAsync(CreateCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateConfiguredTable
/// <summary>
/// Creates a new configured table resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTable">REST API Reference for CreateConfiguredTable Operation</seealso>
Task<CreateConfiguredTableResponse> CreateConfiguredTableAsync(CreateConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateConfiguredTableAnalysisRule
/// <summary>
/// Creates a new analysis rule for a configured table. Currently, only one analysis rule
/// can be created for a given configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAnalysisRule">REST API Reference for CreateConfiguredTableAnalysisRule Operation</seealso>
Task<CreateConfiguredTableAnalysisRuleResponse> CreateConfiguredTableAnalysisRuleAsync(CreateConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateConfiguredTableAssociation
/// <summary>
/// Creates a configured table association. A configured table association links a configured
/// table with a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateConfiguredTableAssociation">REST API Reference for CreateConfiguredTableAssociation Operation</seealso>
Task<CreateConfiguredTableAssociationResponse> CreateConfiguredTableAssociationAsync(CreateConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateMembership
/// <summary>
/// Creates a membership for a specific collaboration identifier and joins the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/CreateMembership">REST API Reference for CreateMembership Operation</seealso>
Task<CreateMembershipResponse> CreateMembershipAsync(CreateMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteCollaboration
/// <summary>
/// Deletes a collaboration. It can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteCollaboration">REST API Reference for DeleteCollaboration Operation</seealso>
Task<DeleteCollaborationResponse> DeleteCollaborationAsync(DeleteCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteConfiguredTable
/// <summary>
/// Deletes a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTable">REST API Reference for DeleteConfiguredTable Operation</seealso>
Task<DeleteConfiguredTableResponse> DeleteConfiguredTableAsync(DeleteConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteConfiguredTableAnalysisRule
/// <summary>
/// Deletes a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAnalysisRule">REST API Reference for DeleteConfiguredTableAnalysisRule Operation</seealso>
Task<DeleteConfiguredTableAnalysisRuleResponse> DeleteConfiguredTableAnalysisRuleAsync(DeleteConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteConfiguredTableAssociation
/// <summary>
/// Deletes a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteConfiguredTableAssociation">REST API Reference for DeleteConfiguredTableAssociation Operation</seealso>
Task<DeleteConfiguredTableAssociationResponse> DeleteConfiguredTableAssociationAsync(DeleteConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteMember
/// <summary>
/// Removes the specified member from a collaboration. The removed member is placed in
/// the Removed status and can't interact with the collaboration. The removed member's
/// data is inaccessible to active members of the collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMember service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMember service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMember">REST API Reference for DeleteMember Operation</seealso>
Task<DeleteMemberResponse> DeleteMemberAsync(DeleteMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteMembership
/// <summary>
/// Deletes a specified membership. All resources under a membership must be deleted.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/DeleteMembership">REST API Reference for DeleteMembership Operation</seealso>
Task<DeleteMembershipResponse> DeleteMembershipAsync(DeleteMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetCollaboration
/// <summary>
/// Returns metadata about a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetCollaboration">REST API Reference for GetCollaboration Operation</seealso>
Task<GetCollaborationResponse> GetCollaborationAsync(GetCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetConfiguredTable
/// <summary>
/// Retrieves a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTable">REST API Reference for GetConfiguredTable Operation</seealso>
Task<GetConfiguredTableResponse> GetConfiguredTableAsync(GetConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetConfiguredTableAnalysisRule
/// <summary>
/// Retrieves a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAnalysisRule">REST API Reference for GetConfiguredTableAnalysisRule Operation</seealso>
Task<GetConfiguredTableAnalysisRuleResponse> GetConfiguredTableAnalysisRuleAsync(GetConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetConfiguredTableAssociation
/// <summary>
/// Retrieves a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetConfiguredTableAssociation">REST API Reference for GetConfiguredTableAssociation Operation</seealso>
Task<GetConfiguredTableAssociationResponse> GetConfiguredTableAssociationAsync(GetConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetMembership
/// <summary>
/// Retrieves a specified membership for an identifier.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetMembership">REST API Reference for GetMembership Operation</seealso>
Task<GetMembershipResponse> GetMembershipAsync(GetMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetProtectedQuery
/// <summary>
/// Returns query processing metadata.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetProtectedQuery">REST API Reference for GetProtectedQuery Operation</seealso>
Task<GetProtectedQueryResponse> GetProtectedQueryAsync(GetProtectedQueryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSchema
/// <summary>
/// Retrieves the schema for a relation within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchema service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSchema service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchema">REST API Reference for GetSchema Operation</seealso>
Task<GetSchemaResponse> GetSchemaAsync(GetSchemaRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSchemaAnalysisRule
/// <summary>
/// Retrieves a schema analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSchemaAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSchemaAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/GetSchemaAnalysisRule">REST API Reference for GetSchemaAnalysisRule Operation</seealso>
Task<GetSchemaAnalysisRuleResponse> GetSchemaAnalysisRuleAsync(GetSchemaAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListCollaborations
/// <summary>
/// Lists collaborations the caller owns, is active in, or has been invited to.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListCollaborations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListCollaborations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListCollaborations">REST API Reference for ListCollaborations Operation</seealso>
Task<ListCollaborationsResponse> ListCollaborationsAsync(ListCollaborationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListConfiguredTableAssociations
/// <summary>
/// Lists configured table associations for a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTableAssociations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListConfiguredTableAssociations service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTableAssociations">REST API Reference for ListConfiguredTableAssociations Operation</seealso>
Task<ListConfiguredTableAssociationsResponse> ListConfiguredTableAssociationsAsync(ListConfiguredTableAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListConfiguredTables
/// <summary>
/// Lists configured tables.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListConfiguredTables service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListConfiguredTables service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListConfiguredTables">REST API Reference for ListConfiguredTables Operation</seealso>
Task<ListConfiguredTablesResponse> ListConfiguredTablesAsync(ListConfiguredTablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListMembers
/// <summary>
/// Lists all members within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListMembers service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMembers">REST API Reference for ListMembers Operation</seealso>
Task<ListMembersResponse> ListMembersAsync(ListMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListMemberships
/// <summary>
/// Lists all memberships resources within the caller's account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListMemberships service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListMemberships service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListMemberships">REST API Reference for ListMemberships Operation</seealso>
Task<ListMembershipsResponse> ListMembershipsAsync(ListMembershipsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListProtectedQueries
/// <summary>
/// Lists protected queries, sorted by the most recent query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListProtectedQueries service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListProtectedQueries service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListProtectedQueries">REST API Reference for ListProtectedQueries Operation</seealso>
Task<ListProtectedQueriesResponse> ListProtectedQueriesAsync(ListProtectedQueriesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListSchemas
/// <summary>
/// Lists the schemas for relations within a collaboration.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListSchemas service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListSchemas service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListSchemas">REST API Reference for ListSchemas Operation</seealso>
Task<ListSchemasResponse> ListSchemasAsync(ListSchemasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Lists all of the tags that have been added to a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartProtectedQuery
/// <summary>
/// Creates a protected query that is started by Clean Rooms .
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ServiceQuotaExceededException">
/// Request denied because service quota has been exceeded.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/StartProtectedQuery">REST API Reference for StartProtectedQuery Operation</seealso>
Task<StartProtectedQueryResponse> StartProtectedQueryAsync(StartProtectedQueryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Tags a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes a tag or list of tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateCollaboration
/// <summary>
/// Updates collaboration metadata and can only be called by the collaboration owner.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateCollaboration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateCollaboration service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateCollaboration">REST API Reference for UpdateCollaboration Operation</seealso>
Task<UpdateCollaborationResponse> UpdateCollaborationAsync(UpdateCollaborationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateConfiguredTable
/// <summary>
/// Updates a configured table.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTable service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTable service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTable">REST API Reference for UpdateConfiguredTable Operation</seealso>
Task<UpdateConfiguredTableResponse> UpdateConfiguredTableAsync(UpdateConfiguredTableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateConfiguredTableAnalysisRule
/// <summary>
/// Updates a configured table analysis rule.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAnalysisRule service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTableAnalysisRule service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAnalysisRule">REST API Reference for UpdateConfiguredTableAnalysisRule Operation</seealso>
Task<UpdateConfiguredTableAnalysisRuleResponse> UpdateConfiguredTableAnalysisRuleAsync(UpdateConfiguredTableAnalysisRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateConfiguredTableAssociation
/// <summary>
/// Updates a configured table association.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateConfiguredTableAssociation service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateConfiguredTableAssociation service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateConfiguredTableAssociation">REST API Reference for UpdateConfiguredTableAssociation Operation</seealso>
Task<UpdateConfiguredTableAssociationResponse> UpdateConfiguredTableAssociationAsync(UpdateConfiguredTableAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateMembership
/// <summary>
/// Updates a membership.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateMembership service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateMembership service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateMembership">REST API Reference for UpdateMembership Operation</seealso>
Task<UpdateMembershipResponse> UpdateMembershipAsync(UpdateMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateProtectedQuery
/// <summary>
/// Updates the processing of a currently running query.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateProtectedQuery service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateProtectedQuery service method, as returned by CleanRooms.</returns>
/// <exception cref="Amazon.CleanRooms.Model.AccessDeniedException">
/// Caller does not have sufficient access to perform this action.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ConflictException">
/// Updating or deleting a resource can cause an inconsistent state.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.InternalServerException">
/// Unexpected error during processing of request.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ResourceNotFoundException">
/// Request references a resource which does not exist.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ThrottlingException">
/// Request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.CleanRooms.Model.ValidationException">
/// The input fails to satisfy the specified constraints.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/cleanrooms-2022-02-17/UpdateProtectedQuery">REST API Reference for UpdateProtectedQuery Operation</seealso>
Task<UpdateProtectedQueryResponse> UpdateProtectedQueryAsync(UpdateProtectedQueryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}
| 1,294 |
aws-sdk-net
|
aws
|
C#
|
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.CleanRooms")]
#if BCL35
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Clean Rooms Service. Initial release of AWS Clean Rooms")]
#elif BCL45
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AWS Clean Rooms Service. Initial release of AWS Clean Rooms")]
#elif NETSTANDARD20
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AWS Clean Rooms Service. Initial release of AWS Clean Rooms")]
#elif NETCOREAPP3_1
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AWS Clean Rooms Service. Initial release of AWS Clean Rooms")]
#else
#error Unknown platform constant - unable to set correct AssemblyDescription
#endif
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.102.0")]
[assembly: System.CLSCompliant(true)]
#if BCL
[assembly: System.Security.AllowPartiallyTrustedCallers]
#endif
| 51 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using System;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.Cloud9.Internal;
namespace Amazon.Cloud9
{
/// <summary>
/// Configuration for accessing Amazon Cloud9 service
/// </summary>
[AWSSignerType("v4")]
public partial class AmazonCloud9Config : ClientConfig
{
private static readonly string UserAgentString =
InternalSDKUtils.BuildUserAgentString("3.7.101.92");
private string _userAgent = UserAgentString;
/// <summary>
/// Default constructor
/// </summary>
public AmazonCloud9Config()
: base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonCloud9DefaultConfiguration.GetAllConfigurations()))
{
this.AuthenticationServiceName = "cloud9";
this.EndpointProvider = new AmazonCloud9EndpointProvider();
}
/// <summary>
/// The constant used to lookup in the region hash the endpoint.
/// </summary>
public override string RegionEndpointServiceName
{
get
{
return "cloud9";
}
}
/// <summary>
/// Gets the ServiceVersion property.
/// </summary>
public override string ServiceVersion
{
get
{
return "2017-09-23";
}
}
/// <summary>
/// Gets the value of UserAgent property.
/// </summary>
public override string UserAgent
{
get
{
return _userAgent;
}
}
}
}
| 83 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Amazon.Runtime;
namespace Amazon.Cloud9
{
/// <summary>
/// Configuration for accessing Amazon Cloud9 service
/// </summary>
public static class AmazonCloud9DefaultConfiguration
{
/// <summary>
/// Collection of all <see cref="DefaultConfiguration"/>s supported by
/// Cloud9
/// </summary>
public static ReadOnlyCollection<IDefaultConfiguration> GetAllConfigurations()
{
return new ReadOnlyCollection<IDefaultConfiguration>(new List<IDefaultConfiguration>
{
Standard,
InRegion,
CrossRegion,
Mobile,
Auto,
Legacy
});
}
/// <summary>
/// <p>The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration Standard {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Standard,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:03.1
ConnectTimeout = TimeSpan.FromMilliseconds(3100L),
// 0:00:03.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration InRegion {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.InRegion,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:01.1
ConnectTimeout = TimeSpan.FromMilliseconds(1100L),
// 0:00:01.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration CrossRegion {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.CrossRegion,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:03.1
ConnectTimeout = TimeSpan.FromMilliseconds(3100L),
// 0:00:03.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p>
/// </summary>
public static IDefaultConfiguration Mobile {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Mobile,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:30
ConnectTimeout = TimeSpan.FromMilliseconds(30000L),
// 0:00:30
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(30000L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p>
/// </summary>
public static IDefaultConfiguration Auto {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Auto,
RetryMode = RequestRetryMode.Standard,
StsRegionalEndpoints = StsRegionalEndpointsValue.Regional,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional,
// 0:00:01.1
ConnectTimeout = TimeSpan.FromMilliseconds(1100L),
// 0:00:01.1
TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L),
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
/// <summary>
/// <p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p>
/// </summary>
public static IDefaultConfiguration Legacy {get;} = new DefaultConfiguration
{
Name = DefaultConfigurationMode.Legacy,
RetryMode = RequestRetryMode.Legacy,
StsRegionalEndpoints = StsRegionalEndpointsValue.Legacy,
S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Legacy,
ConnectTimeout = null,
TlsNegotiationTimeout = null,
TimeToFirstByteTimeout = null,
HttpRequestTimeout = null
};
}
}
| 146 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
namespace Amazon.Cloud9.Endpoints
{
/// <summary>
/// Contains parameters used for resolving Cloud9 endpoints
/// Parameters can be sourced from client config and service operations
/// Used by internal Cloud9EndpointProvider and Cloud9EndpointResolver
/// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider
/// </summary>
public class Cloud9EndpointParameters : EndpointParameters
{
/// <summary>
/// Cloud9EndpointParameters constructor
/// </summary>
public Cloud9EndpointParameters()
{
UseDualStack = false;
UseFIPS = false;
}
/// <summary>
/// Region parameter
/// </summary>
public string Region
{
get { return (string)this["Region"]; }
set { this["Region"] = value; }
}
/// <summary>
/// UseDualStack parameter
/// </summary>
public bool? UseDualStack
{
get { return (bool?)this["UseDualStack"]; }
set { this["UseDualStack"] = value; }
}
/// <summary>
/// UseFIPS parameter
/// </summary>
public bool? UseFIPS
{
get { return (bool?)this["UseFIPS"]; }
set { this["UseFIPS"] = value; }
}
/// <summary>
/// Endpoint parameter
/// </summary>
public string Endpoint
{
get { return (string)this["Endpoint"]; }
set { this["Endpoint"] = value; }
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using Amazon.Runtime;
namespace Amazon.Cloud9
{
///<summary>
/// Common exception for the Cloud9 service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class AmazonCloud9Exception : AmazonServiceException
{
/// <summary>
/// Construct instance of AmazonCloud9Exception
/// </summary>
/// <param name="message"></param>
public AmazonCloud9Exception(string message)
: base(message)
{
}
/// <summary>
/// Construct instance of AmazonCloud9Exception
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public AmazonCloud9Exception(string message, Exception innerException)
: base(message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonCloud9Exception
/// </summary>
/// <param name="innerException"></param>
public AmazonCloud9Exception(Exception innerException)
: base(innerException.Message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonCloud9Exception
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonCloud9Exception(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode)
{
}
/// <summary>
/// Construct instance of AmazonCloud9Exception
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonCloud9Exception(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode)
{
}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the AmazonCloud9Exception class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected AmazonCloud9Exception(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
#endif
}
}
| 105 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Cloud9
{
/// <summary>
/// Constants used for properties of type ConnectionType.
/// </summary>
public class ConnectionType : ConstantClass
{
/// <summary>
/// Constant CONNECT_SSH for ConnectionType
/// </summary>
public static readonly ConnectionType CONNECT_SSH = new ConnectionType("CONNECT_SSH");
/// <summary>
/// Constant CONNECT_SSM for ConnectionType
/// </summary>
public static readonly ConnectionType CONNECT_SSM = new ConnectionType("CONNECT_SSM");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public ConnectionType(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static ConnectionType FindValue(string value)
{
return FindValue<ConnectionType>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator ConnectionType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type EnvironmentLifecycleStatus.
/// </summary>
public class EnvironmentLifecycleStatus : ConstantClass
{
/// <summary>
/// Constant CREATE_FAILED for EnvironmentLifecycleStatus
/// </summary>
public static readonly EnvironmentLifecycleStatus CREATE_FAILED = new EnvironmentLifecycleStatus("CREATE_FAILED");
/// <summary>
/// Constant CREATED for EnvironmentLifecycleStatus
/// </summary>
public static readonly EnvironmentLifecycleStatus CREATED = new EnvironmentLifecycleStatus("CREATED");
/// <summary>
/// Constant CREATING for EnvironmentLifecycleStatus
/// </summary>
public static readonly EnvironmentLifecycleStatus CREATING = new EnvironmentLifecycleStatus("CREATING");
/// <summary>
/// Constant DELETE_FAILED for EnvironmentLifecycleStatus
/// </summary>
public static readonly EnvironmentLifecycleStatus DELETE_FAILED = new EnvironmentLifecycleStatus("DELETE_FAILED");
/// <summary>
/// Constant DELETING for EnvironmentLifecycleStatus
/// </summary>
public static readonly EnvironmentLifecycleStatus DELETING = new EnvironmentLifecycleStatus("DELETING");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public EnvironmentLifecycleStatus(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static EnvironmentLifecycleStatus FindValue(string value)
{
return FindValue<EnvironmentLifecycleStatus>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator EnvironmentLifecycleStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type EnvironmentStatus.
/// </summary>
public class EnvironmentStatus : ConstantClass
{
/// <summary>
/// Constant Connecting for EnvironmentStatus
/// </summary>
public static readonly EnvironmentStatus Connecting = new EnvironmentStatus("connecting");
/// <summary>
/// Constant Creating for EnvironmentStatus
/// </summary>
public static readonly EnvironmentStatus Creating = new EnvironmentStatus("creating");
/// <summary>
/// Constant Deleting for EnvironmentStatus
/// </summary>
public static readonly EnvironmentStatus Deleting = new EnvironmentStatus("deleting");
/// <summary>
/// Constant Error for EnvironmentStatus
/// </summary>
public static readonly EnvironmentStatus Error = new EnvironmentStatus("error");
/// <summary>
/// Constant Ready for EnvironmentStatus
/// </summary>
public static readonly EnvironmentStatus Ready = new EnvironmentStatus("ready");
/// <summary>
/// Constant Stopped for EnvironmentStatus
/// </summary>
public static readonly EnvironmentStatus Stopped = new EnvironmentStatus("stopped");
/// <summary>
/// Constant Stopping for EnvironmentStatus
/// </summary>
public static readonly EnvironmentStatus Stopping = new EnvironmentStatus("stopping");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public EnvironmentStatus(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static EnvironmentStatus FindValue(string value)
{
return FindValue<EnvironmentStatus>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator EnvironmentStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type EnvironmentType.
/// </summary>
public class EnvironmentType : ConstantClass
{
/// <summary>
/// Constant Ec2 for EnvironmentType
/// </summary>
public static readonly EnvironmentType Ec2 = new EnvironmentType("ec2");
/// <summary>
/// Constant Ssh for EnvironmentType
/// </summary>
public static readonly EnvironmentType Ssh = new EnvironmentType("ssh");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public EnvironmentType(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static EnvironmentType FindValue(string value)
{
return FindValue<EnvironmentType>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator EnvironmentType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ManagedCredentialsAction.
/// </summary>
public class ManagedCredentialsAction : ConstantClass
{
/// <summary>
/// Constant DISABLE for ManagedCredentialsAction
/// </summary>
public static readonly ManagedCredentialsAction DISABLE = new ManagedCredentialsAction("DISABLE");
/// <summary>
/// Constant ENABLE for ManagedCredentialsAction
/// </summary>
public static readonly ManagedCredentialsAction ENABLE = new ManagedCredentialsAction("ENABLE");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public ManagedCredentialsAction(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static ManagedCredentialsAction FindValue(string value)
{
return FindValue<ManagedCredentialsAction>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator ManagedCredentialsAction(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ManagedCredentialsStatus.
/// </summary>
public class ManagedCredentialsStatus : ConstantClass
{
/// <summary>
/// Constant DISABLED_BY_COLLABORATOR for ManagedCredentialsStatus
/// </summary>
public static readonly ManagedCredentialsStatus DISABLED_BY_COLLABORATOR = new ManagedCredentialsStatus("DISABLED_BY_COLLABORATOR");
/// <summary>
/// Constant DISABLED_BY_DEFAULT for ManagedCredentialsStatus
/// </summary>
public static readonly ManagedCredentialsStatus DISABLED_BY_DEFAULT = new ManagedCredentialsStatus("DISABLED_BY_DEFAULT");
/// <summary>
/// Constant DISABLED_BY_OWNER for ManagedCredentialsStatus
/// </summary>
public static readonly ManagedCredentialsStatus DISABLED_BY_OWNER = new ManagedCredentialsStatus("DISABLED_BY_OWNER");
/// <summary>
/// Constant ENABLED_BY_OWNER for ManagedCredentialsStatus
/// </summary>
public static readonly ManagedCredentialsStatus ENABLED_BY_OWNER = new ManagedCredentialsStatus("ENABLED_BY_OWNER");
/// <summary>
/// Constant ENABLED_ON_CREATE for ManagedCredentialsStatus
/// </summary>
public static readonly ManagedCredentialsStatus ENABLED_ON_CREATE = new ManagedCredentialsStatus("ENABLED_ON_CREATE");
/// <summary>
/// Constant FAILED_REMOVAL_BY_COLLABORATOR for ManagedCredentialsStatus
/// </summary>
public static readonly ManagedCredentialsStatus FAILED_REMOVAL_BY_COLLABORATOR = new ManagedCredentialsStatus("FAILED_REMOVAL_BY_COLLABORATOR");
/// <summary>
/// Constant FAILED_REMOVAL_BY_OWNER for ManagedCredentialsStatus
/// </summary>
public static readonly ManagedCredentialsStatus FAILED_REMOVAL_BY_OWNER = new ManagedCredentialsStatus("FAILED_REMOVAL_BY_OWNER");
/// <summary>
/// Constant PENDING_REMOVAL_BY_COLLABORATOR for ManagedCredentialsStatus
/// </summary>
public static readonly ManagedCredentialsStatus PENDING_REMOVAL_BY_COLLABORATOR = new ManagedCredentialsStatus("PENDING_REMOVAL_BY_COLLABORATOR");
/// <summary>
/// Constant PENDING_REMOVAL_BY_OWNER for ManagedCredentialsStatus
/// </summary>
public static readonly ManagedCredentialsStatus PENDING_REMOVAL_BY_OWNER = new ManagedCredentialsStatus("PENDING_REMOVAL_BY_OWNER");
/// <summary>
/// Constant PENDING_START_REMOVAL_BY_COLLABORATOR for ManagedCredentialsStatus
/// </summary>
public static readonly ManagedCredentialsStatus PENDING_START_REMOVAL_BY_COLLABORATOR = new ManagedCredentialsStatus("PENDING_START_REMOVAL_BY_COLLABORATOR");
/// <summary>
/// Constant PENDING_START_REMOVAL_BY_OWNER for ManagedCredentialsStatus
/// </summary>
public static readonly ManagedCredentialsStatus PENDING_START_REMOVAL_BY_OWNER = new ManagedCredentialsStatus("PENDING_START_REMOVAL_BY_OWNER");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public ManagedCredentialsStatus(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static ManagedCredentialsStatus FindValue(string value)
{
return FindValue<ManagedCredentialsStatus>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator ManagedCredentialsStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type MemberPermissions.
/// </summary>
public class MemberPermissions : ConstantClass
{
/// <summary>
/// Constant ReadOnly for MemberPermissions
/// </summary>
public static readonly MemberPermissions ReadOnly = new MemberPermissions("read-only");
/// <summary>
/// Constant ReadWrite for MemberPermissions
/// </summary>
public static readonly MemberPermissions ReadWrite = new MemberPermissions("read-write");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public MemberPermissions(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static MemberPermissions FindValue(string value)
{
return FindValue<MemberPermissions>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator MemberPermissions(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type PermissionsType.
/// </summary>
public class PermissionsType : ConstantClass
{
/// <summary>
/// Constant Owner for PermissionsType
/// </summary>
public static readonly PermissionsType Owner = new PermissionsType("owner");
/// <summary>
/// Constant ReadOnly for PermissionsType
/// </summary>
public static readonly PermissionsType ReadOnly = new PermissionsType("read-only");
/// <summary>
/// Constant ReadWrite for PermissionsType
/// </summary>
public static readonly PermissionsType ReadWrite = new PermissionsType("read-write");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public PermissionsType(string value)
: base(value)
{
}
/// <summary>
/// Finds the constant for the unique value.
/// </summary>
/// <param name="value">The unique value for the constant</param>
/// <returns>The constant for the unique value</returns>
public static PermissionsType FindValue(string value)
{
return FindValue<PermissionsType>(value);
}
/// <summary>
/// Utility method to convert strings to the constant class.
/// </summary>
/// <param name="value">The string value to convert to the constant class.</param>
/// <returns></returns>
public static implicit operator PermissionsType(string value)
{
return FindValue(value);
}
}
}
| 498 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
using static Amazon.Runtime.Internal.Endpoints.StandardLibrary.Fn;
namespace Amazon.Cloud9.Internal
{
/// <summary>
/// Amazon Cloud9 endpoint provider.
/// Resolves endpoint for given set of Cloud9EndpointParameters.
/// Can throw AmazonClientException if endpoint resolution is unsuccessful.
/// </summary>
public class AmazonCloud9EndpointProvider : IEndpointProvider
{
/// <summary>
/// Resolve endpoint for Cloud9EndpointParameters
/// </summary>
public Endpoint ResolveEndpoint(EndpointParameters parameters)
{
if (parameters == null)
throw new ArgumentNullException("parameters");
if (parameters["Region"] == null)
throw new AmazonClientException("Region parameter must be set for endpoint resolution");
if (parameters["UseDualStack"] == null)
throw new AmazonClientException("UseDualStack parameter must be set for endpoint resolution");
if (parameters["UseFIPS"] == null)
throw new AmazonClientException("UseFIPS parameter must be set for endpoint resolution");
var refs = new Dictionary<string, object>()
{
["Region"] = parameters["Region"],
["UseDualStack"] = parameters["UseDualStack"],
["UseFIPS"] = parameters["UseFIPS"],
["Endpoint"] = parameters["Endpoint"],
};
if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null)
{
if (IsSet(refs["Endpoint"]))
{
if (Equals(refs["UseFIPS"], true))
{
throw new AmazonClientException("Invalid Configuration: FIPS and custom endpoint are not supported");
}
if (Equals(refs["UseDualStack"], true))
{
throw new AmazonClientException("Invalid Configuration: Dualstack and custom endpoint are not supported");
}
return new Endpoint((string)refs["Endpoint"], InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
if (Equals(refs["UseFIPS"], true) && Equals(refs["UseDualStack"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")) && Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack")))
{
return new Endpoint(Interpolate(@"https://cloud9-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both");
}
if (Equals(refs["UseFIPS"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")))
{
return new Endpoint(Interpolate(@"https://cloud9-fips.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("FIPS is enabled but this partition does not support FIPS");
}
if (Equals(refs["UseDualStack"], true))
{
if (Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack")))
{
return new Endpoint(Interpolate(@"https://cloud9.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("DualStack is enabled but this partition does not support DualStack");
}
return new Endpoint(Interpolate(@"https://cloud9.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("Cannot resolve endpoint");
}
}
}
| 101 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using System;
using Amazon.Cloud9.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Endpoints;
using Amazon.Util;
using Amazon.Cloud9.Endpoints;
#pragma warning disable 1591
namespace Amazon.Cloud9.Internal
{
/// <summary>
/// Amazon Cloud9 endpoint resolver.
/// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for Cloud9 service requests.
/// Collects values for Cloud9EndpointParameters and then tries to resolve endpoint by calling
/// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses Cloud9EndpointProvider.
/// Responsible for setting authentication and http headers provided by resolved endpoint.
/// </summary>
public class AmazonCloud9EndpointResolver : BaseEndpointResolver
{
protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters)
{
InjectHostPrefix(executionContext.RequestContext);
}
protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext)
{
var config = (AmazonCloud9Config)requestContext.ClientConfig;
var result = new Cloud9EndpointParameters();
result.Region = config.RegionEndpoint?.SystemName;
result.UseDualStack = config.UseDualstackEndpoint;
result.UseFIPS = config.UseFIPSEndpoint;
result.Endpoint = config.ServiceURL;
// The region needs to be determined from the ServiceURL if not set.
var regionEndpoint = config.RegionEndpoint;
if (regionEndpoint == null && !string.IsNullOrEmpty(config.ServiceURL))
{
var regionName = AWSSDKUtils.DetermineRegion(config.ServiceURL);
result.Region = RegionEndpoint.GetBySystemName(regionName).SystemName;
}
// To support legacy endpoint overridding rules in the endpoints.json
if (result.Region == "us-east-1-regional")
{
result.Region = "us-east-1";
}
// Use AlternateEndpoint region override if set
if (requestContext.Request.AlternateEndpoint != null)
{
result.Region = requestContext.Request.AlternateEndpoint.SystemName;
}
// Assign staticContextParams and contextParam per operation
return result;
}
}
}
| 83 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using Amazon.Runtime.Internal;
namespace Amazon.Cloud9.Internal
{
/// <summary>
/// Service metadata for Amazon Cloud9 service
/// </summary>
public partial class AmazonCloud9Metadata : IServiceMetadata
{
/// <summary>
/// Gets the value of the Service Id.
/// </summary>
public string ServiceId
{
get
{
return "Cloud9";
}
}
/// <summary>
/// Gets the dictionary that gives mapping of renamed operations
/// </summary>
public System.Collections.Generic.IDictionary<string, string> OperationNameMapping
{
get
{
return new System.Collections.Generic.Dictionary<string, string>(0)
{
};
}
}
}
}
| 55 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.Cloud9
{
/// <summary>
/// Base class for Cloud9 operation requests.
/// </summary>
public partial class AmazonCloud9Request : AmazonWebServiceRequest
{
}
}
| 30 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Cloud9.Model
{
/// <summary>
/// The target request is invalid.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class BadRequestException : AmazonCloud9Exception
{
/// <summary>
/// Constructs a new BadRequestException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public BadRequestException(string message)
: base(message) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public BadRequestException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="innerException"></param>
public BadRequestException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public BadRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of BadRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public BadRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the BadRequestException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected BadRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the cloud9-2017-09-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Cloud9.Model
{
/// <summary>
/// A concurrent access issue occurred.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ConcurrentAccessException : AmazonCloud9Exception
{
/// <summary>
/// Constructs a new ConcurrentAccessException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ConcurrentAccessException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ConcurrentAccessException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ConcurrentAccessException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ConcurrentAccessException
/// </summary>
/// <param name="innerException"></param>
public ConcurrentAccessException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ConcurrentAccessException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ConcurrentAccessException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ConcurrentAccessException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ConcurrentAccessException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ConcurrentAccessException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ConcurrentAccessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.