/* * Copyright 2018-2023 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. */ package com.amazonaws.services.cleanrooms; import org.w3c.dom.*; import java.net.*; import java.util.*; import javax.annotation.Generated; import org.apache.commons.logging.*; import com.amazonaws.*; import com.amazonaws.annotation.SdkInternalApi; import com.amazonaws.auth.*; import com.amazonaws.handlers.*; import com.amazonaws.http.*; import com.amazonaws.internal.*; import com.amazonaws.internal.auth.*; import com.amazonaws.metrics.*; import com.amazonaws.regions.*; import com.amazonaws.transform.*; import com.amazonaws.util.*; import com.amazonaws.protocol.json.*; import com.amazonaws.util.AWSRequestMetrics.Field; import com.amazonaws.annotation.ThreadSafe; import com.amazonaws.client.AwsSyncClientParams; import com.amazonaws.client.builder.AdvancedConfig; import com.amazonaws.services.cleanrooms.AWSCleanRoomsClientBuilder; import com.amazonaws.AmazonServiceException; import com.amazonaws.services.cleanrooms.model.*; import com.amazonaws.services.cleanrooms.model.transform.*; /** * Client for accessing AWS Clean Rooms Service. All service calls made using this client are blocking, and will not * return until the service call completes. *
*
* Welcome to the Clean Rooms API Reference. *
** 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. *
** To learn more about Clean Rooms concepts, procedures, and best practices, see the Clean Rooms User Guide. *
*/ @ThreadSafe @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AWSCleanRoomsClient extends AmazonWebServiceClient implements AWSCleanRooms { /** Provider for AWS credentials. */ private final AWSCredentialsProvider awsCredentialsProvider; private static final Log log = LogFactory.getLog(AWSCleanRooms.class); /** Default signing name for the service. */ private static final String DEFAULT_SIGNING_NAME = "cleanrooms"; /** Client configuration factory providing ClientConfigurations tailored to this client */ protected static final ClientConfigurationFactory configFactory = new ClientConfigurationFactory(); private final AdvancedConfig advancedConfig; private static final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory = new com.amazonaws.protocol.json.SdkJsonProtocolFactory( new JsonClientMetadata() .withProtocolVersion("1.1") .withSupportsCbor(false) .withSupportsIon(false) .withContentTypeOverride("application/json") .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ThrottlingException").withExceptionUnmarshaller( com.amazonaws.services.cleanrooms.model.transform.ThrottlingExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ServiceQuotaExceededException").withExceptionUnmarshaller( com.amazonaws.services.cleanrooms.model.transform.ServiceQuotaExceededExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("InternalServerException").withExceptionUnmarshaller( com.amazonaws.services.cleanrooms.model.transform.InternalServerExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("AccessDeniedException").withExceptionUnmarshaller( com.amazonaws.services.cleanrooms.model.transform.AccessDeniedExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ConflictException").withExceptionUnmarshaller( com.amazonaws.services.cleanrooms.model.transform.ConflictExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ResourceNotFoundException").withExceptionUnmarshaller( com.amazonaws.services.cleanrooms.model.transform.ResourceNotFoundExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ValidationException").withExceptionUnmarshaller( com.amazonaws.services.cleanrooms.model.transform.ValidationExceptionUnmarshaller.getInstance())) .withBaseServiceExceptionClass(com.amazonaws.services.cleanrooms.model.AWSCleanRoomsException.class)); public static AWSCleanRoomsClientBuilder builder() { return AWSCleanRoomsClientBuilder.standard(); } /** * Constructs a new client to invoke service methods on AWS Clean Rooms Service using the specified parameters. * ** All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AWSCleanRoomsClient(AwsSyncClientParams clientParams) { this(clientParams, false); } /** * Constructs a new client to invoke service methods on AWS Clean Rooms Service using the specified parameters. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientParams * Object providing client parameters. */ AWSCleanRoomsClient(AwsSyncClientParams clientParams, boolean endpointDiscoveryEnabled) { super(clientParams); this.awsCredentialsProvider = clientParams.getCredentialsProvider(); this.advancedConfig = clientParams.getAdvancedConfig(); init(); } private void init() { setServiceNameIntern(DEFAULT_SIGNING_NAME); setEndpointPrefix(ENDPOINT_PREFIX); // calling this.setEndPoint(...) will also modify the signer accordingly setEndpoint("cleanrooms.us-east-1.amazonaws.com"); HandlerChainFactory chainFactory = new HandlerChainFactory(); requestHandler2s.addAll(chainFactory.newRequestHandlerChain("/com/amazonaws/services/cleanrooms/request.handlers")); requestHandler2s.addAll(chainFactory.newRequestHandler2Chain("/com/amazonaws/services/cleanrooms/request.handler2s")); requestHandler2s.addAll(chainFactory.getGlobalHandlers()); } /** *
* Retrieves multiple schemas by their identifiers. *
* * @param batchGetSchemaRequest * @return Result of the BatchGetSchema operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.BatchGetSchema * @see AWS API * Documentation */ @Override public BatchGetSchemaResult batchGetSchema(BatchGetSchemaRequest request) { request = beforeClientExecution(request); return executeBatchGetSchema(request); } @SdkInternalApi final BatchGetSchemaResult executeBatchGetSchema(BatchGetSchemaRequest batchGetSchemaRequest) { ExecutionContext executionContext = createExecutionContext(batchGetSchemaRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a new collaboration. *
* * @param createCollaborationRequest * @return Result of the CreateCollaboration operation returned by the service. * @throws ServiceQuotaExceededException * Request denied because service quota has been exceeded. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.CreateCollaboration * @see AWS * API Documentation */ @Override public CreateCollaborationResult createCollaboration(CreateCollaborationRequest request) { request = beforeClientExecution(request); return executeCreateCollaboration(request); } @SdkInternalApi final CreateCollaborationResult executeCreateCollaboration(CreateCollaborationRequest createCollaborationRequest) { ExecutionContext executionContext = createExecutionContext(createCollaborationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a new configured table resource. *
* * @param createConfiguredTableRequest * @return Result of the CreateConfiguredTable operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ServiceQuotaExceededException * Request denied because service quota has been exceeded. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.CreateConfiguredTable * @see AWS API Documentation */ @Override public CreateConfiguredTableResult createConfiguredTable(CreateConfiguredTableRequest request) { request = beforeClientExecution(request); return executeCreateConfiguredTable(request); } @SdkInternalApi final CreateConfiguredTableResult executeCreateConfiguredTable(CreateConfiguredTableRequest createConfiguredTableRequest) { ExecutionContext executionContext = createExecutionContext(createConfiguredTableRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a new analysis rule for a configured table. Currently, only one analysis rule can be created for a given * configured table. *
* * @param createConfiguredTableAnalysisRuleRequest * @return Result of the CreateConfiguredTableAnalysisRule operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.CreateConfiguredTableAnalysisRule * @see AWS API Documentation */ @Override public CreateConfiguredTableAnalysisRuleResult createConfiguredTableAnalysisRule(CreateConfiguredTableAnalysisRuleRequest request) { request = beforeClientExecution(request); return executeCreateConfiguredTableAnalysisRule(request); } @SdkInternalApi final CreateConfiguredTableAnalysisRuleResult executeCreateConfiguredTableAnalysisRule( CreateConfiguredTableAnalysisRuleRequest createConfiguredTableAnalysisRuleRequest) { ExecutionContext executionContext = createExecutionContext(createConfiguredTableAnalysisRuleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a configured table association. A configured table association links a configured table with a * collaboration. *
* * @param createConfiguredTableAssociationRequest * @return Result of the CreateConfiguredTableAssociation operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ServiceQuotaExceededException * Request denied because service quota has been exceeded. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.CreateConfiguredTableAssociation * @see AWS API Documentation */ @Override public CreateConfiguredTableAssociationResult createConfiguredTableAssociation(CreateConfiguredTableAssociationRequest request) { request = beforeClientExecution(request); return executeCreateConfiguredTableAssociation(request); } @SdkInternalApi final CreateConfiguredTableAssociationResult executeCreateConfiguredTableAssociation( CreateConfiguredTableAssociationRequest createConfiguredTableAssociationRequest) { ExecutionContext executionContext = createExecutionContext(createConfiguredTableAssociationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a membership for a specific collaboration identifier and joins the collaboration. *
* * @param createMembershipRequest * @return Result of the CreateMembership operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ServiceQuotaExceededException * Request denied because service quota has been exceeded. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.CreateMembership * @see AWS * API Documentation */ @Override public CreateMembershipResult createMembership(CreateMembershipRequest request) { request = beforeClientExecution(request); return executeCreateMembership(request); } @SdkInternalApi final CreateMembershipResult executeCreateMembership(CreateMembershipRequest createMembershipRequest) { ExecutionContext executionContext = createExecutionContext(createMembershipRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a collaboration. It can only be called by the collaboration owner. *
* * @param deleteCollaborationRequest * @return Result of the DeleteCollaboration operation returned by the service. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.DeleteCollaboration * @see AWS * API Documentation */ @Override public DeleteCollaborationResult deleteCollaboration(DeleteCollaborationRequest request) { request = beforeClientExecution(request); return executeDeleteCollaboration(request); } @SdkInternalApi final DeleteCollaborationResult executeDeleteCollaboration(DeleteCollaborationRequest deleteCollaborationRequest) { ExecutionContext executionContext = createExecutionContext(deleteCollaborationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a configured table. *
* * @param deleteConfiguredTableRequest * @return Result of the DeleteConfiguredTable operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.DeleteConfiguredTable * @see AWS API Documentation */ @Override public DeleteConfiguredTableResult deleteConfiguredTable(DeleteConfiguredTableRequest request) { request = beforeClientExecution(request); return executeDeleteConfiguredTable(request); } @SdkInternalApi final DeleteConfiguredTableResult executeDeleteConfiguredTable(DeleteConfiguredTableRequest deleteConfiguredTableRequest) { ExecutionContext executionContext = createExecutionContext(deleteConfiguredTableRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a configured table analysis rule. *
* * @param deleteConfiguredTableAnalysisRuleRequest * @return Result of the DeleteConfiguredTableAnalysisRule operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.DeleteConfiguredTableAnalysisRule * @see AWS API Documentation */ @Override public DeleteConfiguredTableAnalysisRuleResult deleteConfiguredTableAnalysisRule(DeleteConfiguredTableAnalysisRuleRequest request) { request = beforeClientExecution(request); return executeDeleteConfiguredTableAnalysisRule(request); } @SdkInternalApi final DeleteConfiguredTableAnalysisRuleResult executeDeleteConfiguredTableAnalysisRule( DeleteConfiguredTableAnalysisRuleRequest deleteConfiguredTableAnalysisRuleRequest) { ExecutionContext executionContext = createExecutionContext(deleteConfiguredTableAnalysisRuleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a configured table association. *
* * @param deleteConfiguredTableAssociationRequest * @return Result of the DeleteConfiguredTableAssociation operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.DeleteConfiguredTableAssociation * @see AWS API Documentation */ @Override public DeleteConfiguredTableAssociationResult deleteConfiguredTableAssociation(DeleteConfiguredTableAssociationRequest request) { request = beforeClientExecution(request); return executeDeleteConfiguredTableAssociation(request); } @SdkInternalApi final DeleteConfiguredTableAssociationResult executeDeleteConfiguredTableAssociation( DeleteConfiguredTableAssociationRequest deleteConfiguredTableAssociationRequest) { ExecutionContext executionContext = createExecutionContext(deleteConfiguredTableAssociationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* 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. *
* * @param deleteMemberRequest * @return Result of the DeleteMember operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.DeleteMember * @see AWS API * Documentation */ @Override public DeleteMemberResult deleteMember(DeleteMemberRequest request) { request = beforeClientExecution(request); return executeDeleteMember(request); } @SdkInternalApi final DeleteMemberResult executeDeleteMember(DeleteMemberRequest deleteMemberRequest) { ExecutionContext executionContext = createExecutionContext(deleteMemberRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a specified membership. All resources under a membership must be deleted. *
* * @param deleteMembershipRequest * @return Result of the DeleteMembership operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.DeleteMembership * @see AWS * API Documentation */ @Override public DeleteMembershipResult deleteMembership(DeleteMembershipRequest request) { request = beforeClientExecution(request); return executeDeleteMembership(request); } @SdkInternalApi final DeleteMembershipResult executeDeleteMembership(DeleteMembershipRequest deleteMembershipRequest) { ExecutionContext executionContext = createExecutionContext(deleteMembershipRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns metadata about a collaboration. *
* * @param getCollaborationRequest * @return Result of the GetCollaboration operation returned by the service. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.GetCollaboration * @see AWS * API Documentation */ @Override public GetCollaborationResult getCollaboration(GetCollaborationRequest request) { request = beforeClientExecution(request); return executeGetCollaboration(request); } @SdkInternalApi final GetCollaborationResult executeGetCollaboration(GetCollaborationRequest getCollaborationRequest) { ExecutionContext executionContext = createExecutionContext(getCollaborationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves a configured table. *
* * @param getConfiguredTableRequest * @return Result of the GetConfiguredTable operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.GetConfiguredTable * @see AWS * API Documentation */ @Override public GetConfiguredTableResult getConfiguredTable(GetConfiguredTableRequest request) { request = beforeClientExecution(request); return executeGetConfiguredTable(request); } @SdkInternalApi final GetConfiguredTableResult executeGetConfiguredTable(GetConfiguredTableRequest getConfiguredTableRequest) { ExecutionContext executionContext = createExecutionContext(getConfiguredTableRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves a configured table analysis rule. *
* * @param getConfiguredTableAnalysisRuleRequest * @return Result of the GetConfiguredTableAnalysisRule operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.GetConfiguredTableAnalysisRule * @see AWS API Documentation */ @Override public GetConfiguredTableAnalysisRuleResult getConfiguredTableAnalysisRule(GetConfiguredTableAnalysisRuleRequest request) { request = beforeClientExecution(request); return executeGetConfiguredTableAnalysisRule(request); } @SdkInternalApi final GetConfiguredTableAnalysisRuleResult executeGetConfiguredTableAnalysisRule(GetConfiguredTableAnalysisRuleRequest getConfiguredTableAnalysisRuleRequest) { ExecutionContext executionContext = createExecutionContext(getConfiguredTableAnalysisRuleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves a configured table association. *
* * @param getConfiguredTableAssociationRequest * @return Result of the GetConfiguredTableAssociation operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.GetConfiguredTableAssociation * @see AWS API Documentation */ @Override public GetConfiguredTableAssociationResult getConfiguredTableAssociation(GetConfiguredTableAssociationRequest request) { request = beforeClientExecution(request); return executeGetConfiguredTableAssociation(request); } @SdkInternalApi final GetConfiguredTableAssociationResult executeGetConfiguredTableAssociation(GetConfiguredTableAssociationRequest getConfiguredTableAssociationRequest) { ExecutionContext executionContext = createExecutionContext(getConfiguredTableAssociationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves a specified membership for an identifier. *
* * @param getMembershipRequest * @return Result of the GetMembership operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.GetMembership * @see AWS API * Documentation */ @Override public GetMembershipResult getMembership(GetMembershipRequest request) { request = beforeClientExecution(request); return executeGetMembership(request); } @SdkInternalApi final GetMembershipResult executeGetMembership(GetMembershipRequest getMembershipRequest) { ExecutionContext executionContext = createExecutionContext(getMembershipRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Returns query processing metadata. *
* * @param getProtectedQueryRequest * @return Result of the GetProtectedQuery operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.GetProtectedQuery * @see AWS * API Documentation */ @Override public GetProtectedQueryResult getProtectedQuery(GetProtectedQueryRequest request) { request = beforeClientExecution(request); return executeGetProtectedQuery(request); } @SdkInternalApi final GetProtectedQueryResult executeGetProtectedQuery(GetProtectedQueryRequest getProtectedQueryRequest) { ExecutionContext executionContext = createExecutionContext(getProtectedQueryRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves the schema for a relation within a collaboration. *
* * @param getSchemaRequest * @return Result of the GetSchema operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.GetSchema * @see AWS API * Documentation */ @Override public GetSchemaResult getSchema(GetSchemaRequest request) { request = beforeClientExecution(request); return executeGetSchema(request); } @SdkInternalApi final GetSchemaResult executeGetSchema(GetSchemaRequest getSchemaRequest) { ExecutionContext executionContext = createExecutionContext(getSchemaRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves a schema analysis rule. *
* * @param getSchemaAnalysisRuleRequest * @return Result of the GetSchemaAnalysisRule operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.GetSchemaAnalysisRule * @see AWS API Documentation */ @Override public GetSchemaAnalysisRuleResult getSchemaAnalysisRule(GetSchemaAnalysisRuleRequest request) { request = beforeClientExecution(request); return executeGetSchemaAnalysisRule(request); } @SdkInternalApi final GetSchemaAnalysisRuleResult executeGetSchemaAnalysisRule(GetSchemaAnalysisRuleRequest getSchemaAnalysisRuleRequest) { ExecutionContext executionContext = createExecutionContext(getSchemaAnalysisRuleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists collaborations the caller owns, is active in, or has been invited to. *
* * @param listCollaborationsRequest * @return Result of the ListCollaborations operation returned by the service. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.ListCollaborations * @see AWS * API Documentation */ @Override public ListCollaborationsResult listCollaborations(ListCollaborationsRequest request) { request = beforeClientExecution(request); return executeListCollaborations(request); } @SdkInternalApi final ListCollaborationsResult executeListCollaborations(ListCollaborationsRequest listCollaborationsRequest) { ExecutionContext executionContext = createExecutionContext(listCollaborationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists configured table associations for a membership. *
* * @param listConfiguredTableAssociationsRequest * @return Result of the ListConfiguredTableAssociations operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.ListConfiguredTableAssociations * @see AWS API Documentation */ @Override public ListConfiguredTableAssociationsResult listConfiguredTableAssociations(ListConfiguredTableAssociationsRequest request) { request = beforeClientExecution(request); return executeListConfiguredTableAssociations(request); } @SdkInternalApi final ListConfiguredTableAssociationsResult executeListConfiguredTableAssociations( ListConfiguredTableAssociationsRequest listConfiguredTableAssociationsRequest) { ExecutionContext executionContext = createExecutionContext(listConfiguredTableAssociationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists configured tables. *
* * @param listConfiguredTablesRequest * @return Result of the ListConfiguredTables operation returned by the service. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.ListConfiguredTables * @see AWS API Documentation */ @Override public ListConfiguredTablesResult listConfiguredTables(ListConfiguredTablesRequest request) { request = beforeClientExecution(request); return executeListConfiguredTables(request); } @SdkInternalApi final ListConfiguredTablesResult executeListConfiguredTables(ListConfiguredTablesRequest listConfiguredTablesRequest) { ExecutionContext executionContext = createExecutionContext(listConfiguredTablesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists all members within a collaboration. *
* * @param listMembersRequest * @return Result of the ListMembers operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.ListMembers * @see AWS API * Documentation */ @Override public ListMembersResult listMembers(ListMembersRequest request) { request = beforeClientExecution(request); return executeListMembers(request); } @SdkInternalApi final ListMembersResult executeListMembers(ListMembersRequest listMembersRequest) { ExecutionContext executionContext = createExecutionContext(listMembersRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists all memberships resources within the caller's account. *
* * @param listMembershipsRequest * @return Result of the ListMemberships operation returned by the service. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.ListMemberships * @see AWS API * Documentation */ @Override public ListMembershipsResult listMemberships(ListMembershipsRequest request) { request = beforeClientExecution(request); return executeListMemberships(request); } @SdkInternalApi final ListMembershipsResult executeListMemberships(ListMembershipsRequest listMembershipsRequest) { ExecutionContext executionContext = createExecutionContext(listMembershipsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists protected queries, sorted by the most recent query. *
* * @param listProtectedQueriesRequest * @return Result of the ListProtectedQueries operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.ListProtectedQueries * @see AWS API Documentation */ @Override public ListProtectedQueriesResult listProtectedQueries(ListProtectedQueriesRequest request) { request = beforeClientExecution(request); return executeListProtectedQueries(request); } @SdkInternalApi final ListProtectedQueriesResult executeListProtectedQueries(ListProtectedQueriesRequest listProtectedQueriesRequest) { ExecutionContext executionContext = createExecutionContext(listProtectedQueriesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists the schemas for relations within a collaboration. *
* * @param listSchemasRequest * @return Result of the ListSchemas operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.ListSchemas * @see AWS API * Documentation */ @Override public ListSchemasResult listSchemas(ListSchemasRequest request) { request = beforeClientExecution(request); return executeListSchemas(request); } @SdkInternalApi final ListSchemasResult executeListSchemas(ListSchemasRequest listSchemasRequest) { ExecutionContext executionContext = createExecutionContext(listSchemasRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Lists all of the tags that have been added to a resource. *
* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws ValidationException * The input fails to satisfy the specified constraints. * @sample AWSCleanRooms.ListTagsForResource * @see AWS * API Documentation */ @Override public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request) { request = beforeClientExecution(request); return executeListTagsForResource(request); } @SdkInternalApi final ListTagsForResourceResult executeListTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) { ExecutionContext executionContext = createExecutionContext(listTagsForResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a protected query that is started by Clean Rooms . *
* * @param startProtectedQueryRequest * @return Result of the StartProtectedQuery operation returned by the service. * @throws ServiceQuotaExceededException * Request denied because service quota has been exceeded. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.StartProtectedQuery * @see AWS * API Documentation */ @Override public StartProtectedQueryResult startProtectedQuery(StartProtectedQueryRequest request) { request = beforeClientExecution(request); return executeStartProtectedQuery(request); } @SdkInternalApi final StartProtectedQueryResult executeStartProtectedQuery(StartProtectedQueryRequest startProtectedQueryRequest) { ExecutionContext executionContext = createExecutionContext(startProtectedQueryRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Tags a resource. *
* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws ValidationException * The input fails to satisfy the specified constraints. * @sample AWSCleanRooms.TagResource * @see AWS API * Documentation */ @Override public TagResourceResult tagResource(TagResourceRequest request) { request = beforeClientExecution(request); return executeTagResource(request); } @SdkInternalApi final TagResourceResult executeTagResource(TagResourceRequest tagResourceRequest) { ExecutionContext executionContext = createExecutionContext(tagResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Removes a tag or list of tags from a resource. *
* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws ValidationException * The input fails to satisfy the specified constraints. * @sample AWSCleanRooms.UntagResource * @see AWS API * Documentation */ @Override public UntagResourceResult untagResource(UntagResourceRequest request) { request = beforeClientExecution(request); return executeUntagResource(request); } @SdkInternalApi final UntagResourceResult executeUntagResource(UntagResourceRequest untagResourceRequest) { ExecutionContext executionContext = createExecutionContext(untagResourceRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates collaboration metadata and can only be called by the collaboration owner. *
* * @param updateCollaborationRequest * @return Result of the UpdateCollaboration operation returned by the service. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.UpdateCollaboration * @see AWS * API Documentation */ @Override public UpdateCollaborationResult updateCollaboration(UpdateCollaborationRequest request) { request = beforeClientExecution(request); return executeUpdateCollaboration(request); } @SdkInternalApi final UpdateCollaborationResult executeUpdateCollaboration(UpdateCollaborationRequest updateCollaborationRequest) { ExecutionContext executionContext = createExecutionContext(updateCollaborationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a configured table. *
* * @param updateConfiguredTableRequest * @return Result of the UpdateConfiguredTable operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.UpdateConfiguredTable * @see AWS API Documentation */ @Override public UpdateConfiguredTableResult updateConfiguredTable(UpdateConfiguredTableRequest request) { request = beforeClientExecution(request); return executeUpdateConfiguredTable(request); } @SdkInternalApi final UpdateConfiguredTableResult executeUpdateConfiguredTable(UpdateConfiguredTableRequest updateConfiguredTableRequest) { ExecutionContext executionContext = createExecutionContext(updateConfiguredTableRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a configured table analysis rule. *
* * @param updateConfiguredTableAnalysisRuleRequest * @return Result of the UpdateConfiguredTableAnalysisRule operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.UpdateConfiguredTableAnalysisRule * @see AWS API Documentation */ @Override public UpdateConfiguredTableAnalysisRuleResult updateConfiguredTableAnalysisRule(UpdateConfiguredTableAnalysisRuleRequest request) { request = beforeClientExecution(request); return executeUpdateConfiguredTableAnalysisRule(request); } @SdkInternalApi final UpdateConfiguredTableAnalysisRuleResult executeUpdateConfiguredTableAnalysisRule( UpdateConfiguredTableAnalysisRuleRequest updateConfiguredTableAnalysisRuleRequest) { ExecutionContext executionContext = createExecutionContext(updateConfiguredTableAnalysisRuleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a configured table association. *
* * @param updateConfiguredTableAssociationRequest * @return Result of the UpdateConfiguredTableAssociation operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.UpdateConfiguredTableAssociation * @see AWS API Documentation */ @Override public UpdateConfiguredTableAssociationResult updateConfiguredTableAssociation(UpdateConfiguredTableAssociationRequest request) { request = beforeClientExecution(request); return executeUpdateConfiguredTableAssociation(request); } @SdkInternalApi final UpdateConfiguredTableAssociationResult executeUpdateConfiguredTableAssociation( UpdateConfiguredTableAssociationRequest updateConfiguredTableAssociationRequest) { ExecutionContext executionContext = createExecutionContext(updateConfiguredTableAssociationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates a membership. *
* * @param updateMembershipRequest * @return Result of the UpdateMembership operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.UpdateMembership * @see AWS * API Documentation */ @Override public UpdateMembershipResult updateMembership(UpdateMembershipRequest request) { request = beforeClientExecution(request); return executeUpdateMembership(request); } @SdkInternalApi final UpdateMembershipResult executeUpdateMembership(UpdateMembershipRequest updateMembershipRequest) { ExecutionContext executionContext = createExecutionContext(updateMembershipRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Updates the processing of a currently running query. *
* * @param updateProtectedQueryRequest * @return Result of the UpdateProtectedQuery operation returned by the service. * @throws ConflictException * Updating or deleting a resource can cause an inconsistent state. * @throws ResourceNotFoundException * Request references a resource which does not exist. * @throws InternalServerException * Unexpected error during processing of request. * @throws ValidationException * The input fails to satisfy the specified constraints. * @throws ThrottlingException * Request was denied due to request throttling. * @throws AccessDeniedException * Caller does not have sufficient access to perform this action. * @sample AWSCleanRooms.UpdateProtectedQuery * @see AWS API Documentation */ @Override public UpdateProtectedQueryResult updateProtectedQuery(UpdateProtectedQueryRequest request) { request = beforeClientExecution(request); return executeUpdateProtectedQuery(request); } @SdkInternalApi final UpdateProtectedQueryResult executeUpdateProtectedQuery(UpdateProtectedQueryRequest updateProtectedQueryRequest) { ExecutionContext executionContext = createExecutionContext(updateProtectedQueryRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request
* Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic
* information for an executed request, you should use this method to retrieve it as soon as possible after
* executing the request.
*
* @param request
* The originally executed request
*
* @return The response metadata for the specified request, or null if none is available.
*/
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request) {
return client.getResponseMetadataForRequest(request);
}
/**
* Normal invoke with authentication. Credentials are required and may be overriden at the request level.
**/
private