All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.cleanrooms.AWSCleanRoomsClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Clean Rooms module holds the client classes that are used for communicating with AWS Clean Rooms Service

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2019-2024 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. *

*

* To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the Clean Rooms SQL Reference. *

*/ @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("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("ResourceNotFoundException").withExceptionUnmarshaller( com.amazonaws.services.cleanrooms.model.transform.ResourceNotFoundExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ValidationException").withExceptionUnmarshaller( com.amazonaws.services.cleanrooms.model.transform.ValidationExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ThrottlingException").withExceptionUnmarshaller( com.amazonaws.services.cleanrooms.model.transform.ThrottlingExceptionUnmarshaller.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())) .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 analysis templates within a collaboration by their Amazon Resource Names (ARNs). *

* * @param batchGetCollaborationAnalysisTemplateRequest * @return Result of the BatchGetCollaborationAnalysisTemplate 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.BatchGetCollaborationAnalysisTemplate * @see AWS API Documentation */ @Override public BatchGetCollaborationAnalysisTemplateResult batchGetCollaborationAnalysisTemplate(BatchGetCollaborationAnalysisTemplateRequest request) { request = beforeClientExecution(request); return executeBatchGetCollaborationAnalysisTemplate(request); } @SdkInternalApi final BatchGetCollaborationAnalysisTemplateResult executeBatchGetCollaborationAnalysisTemplate( BatchGetCollaborationAnalysisTemplateRequest batchGetCollaborationAnalysisTemplateRequest) { ExecutionContext executionContext = createExecutionContext(batchGetCollaborationAnalysisTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new BatchGetCollaborationAnalysisTemplateRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(batchGetCollaborationAnalysisTemplateRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "BatchGetCollaborationAnalysisTemplate"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new BatchGetCollaborationAnalysisTemplateResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new BatchGetSchemaRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(batchGetSchemaRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "BatchGetSchema"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new BatchGetSchemaResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Retrieves multiple analysis rule schemas. *

* * @param batchGetSchemaAnalysisRuleRequest * @return Result of the BatchGetSchemaAnalysisRule 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.BatchGetSchemaAnalysisRule * @see AWS API Documentation */ @Override public BatchGetSchemaAnalysisRuleResult batchGetSchemaAnalysisRule(BatchGetSchemaAnalysisRuleRequest request) { request = beforeClientExecution(request); return executeBatchGetSchemaAnalysisRule(request); } @SdkInternalApi final BatchGetSchemaAnalysisRuleResult executeBatchGetSchemaAnalysisRule(BatchGetSchemaAnalysisRuleRequest batchGetSchemaAnalysisRuleRequest) { ExecutionContext executionContext = createExecutionContext(batchGetSchemaAnalysisRuleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new BatchGetSchemaAnalysisRuleRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(batchGetSchemaAnalysisRuleRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "BatchGetSchemaAnalysisRule"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new BatchGetSchemaAnalysisRuleResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Creates a new analysis template. *

* * @param createAnalysisTemplateRequest * @return Result of the CreateAnalysisTemplate 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.CreateAnalysisTemplate * @see AWS API Documentation */ @Override public CreateAnalysisTemplateResult createAnalysisTemplate(CreateAnalysisTemplateRequest request) { request = beforeClientExecution(request); return executeCreateAnalysisTemplate(request); } @SdkInternalApi final CreateAnalysisTemplateResult executeCreateAnalysisTemplate(CreateAnalysisTemplateRequest createAnalysisTemplateRequest) { ExecutionContext executionContext = createExecutionContext(createAnalysisTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new CreateAnalysisTemplateRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(createAnalysisTemplateRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateAnalysisTemplate"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateAnalysisTemplateResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new CreateCollaborationRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(createCollaborationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateCollaboration"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateCollaborationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Provides the details necessary to create a configured audience model association. *

* * @param createConfiguredAudienceModelAssociationRequest * @return Result of the CreateConfiguredAudienceModelAssociation 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.CreateConfiguredAudienceModelAssociation * @see AWS API Documentation */ @Override public CreateConfiguredAudienceModelAssociationResult createConfiguredAudienceModelAssociation(CreateConfiguredAudienceModelAssociationRequest request) { request = beforeClientExecution(request); return executeCreateConfiguredAudienceModelAssociation(request); } @SdkInternalApi final CreateConfiguredAudienceModelAssociationResult executeCreateConfiguredAudienceModelAssociation( CreateConfiguredAudienceModelAssociationRequest createConfiguredAudienceModelAssociationRequest) { ExecutionContext executionContext = createExecutionContext(createConfiguredAudienceModelAssociationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new CreateConfiguredAudienceModelAssociationRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(createConfiguredAudienceModelAssociationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateConfiguredAudienceModelAssociation"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateConfiguredAudienceModelAssociationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new CreateConfiguredTableRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(createConfiguredTableRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateConfiguredTable"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateConfiguredTableResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new CreateConfiguredTableAnalysisRuleRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(createConfiguredTableAnalysisRuleRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateConfiguredTableAnalysisRule"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateConfiguredTableAnalysisRuleResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new CreateConfiguredTableAssociationRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(createConfiguredTableAssociationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateConfiguredTableAssociation"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateConfiguredTableAssociationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Creates a new analysis rule for an associated configured table. *

* * @param createConfiguredTableAssociationAnalysisRuleRequest * @return Result of the CreateConfiguredTableAssociationAnalysisRule 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.CreateConfiguredTableAssociationAnalysisRule * @see AWS API Documentation */ @Override public CreateConfiguredTableAssociationAnalysisRuleResult createConfiguredTableAssociationAnalysisRule( CreateConfiguredTableAssociationAnalysisRuleRequest request) { request = beforeClientExecution(request); return executeCreateConfiguredTableAssociationAnalysisRule(request); } @SdkInternalApi final CreateConfiguredTableAssociationAnalysisRuleResult executeCreateConfiguredTableAssociationAnalysisRule( CreateConfiguredTableAssociationAnalysisRuleRequest createConfiguredTableAssociationAnalysisRuleRequest) { ExecutionContext executionContext = createExecutionContext(createConfiguredTableAssociationAnalysisRuleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new CreateConfiguredTableAssociationAnalysisRuleRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(createConfiguredTableAssociationAnalysisRuleRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateConfiguredTableAssociationAnalysisRule"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateConfiguredTableAssociationAnalysisRuleResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Creates an ID mapping table. *

* * @param createIdMappingTableRequest * @return Result of the CreateIdMappingTable 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.CreateIdMappingTable * @see AWS API Documentation */ @Override public CreateIdMappingTableResult createIdMappingTable(CreateIdMappingTableRequest request) { request = beforeClientExecution(request); return executeCreateIdMappingTable(request); } @SdkInternalApi final CreateIdMappingTableResult executeCreateIdMappingTable(CreateIdMappingTableRequest createIdMappingTableRequest) { ExecutionContext executionContext = createExecutionContext(createIdMappingTableRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new CreateIdMappingTableRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(createIdMappingTableRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateIdMappingTable"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateIdMappingTableResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new CreateMembershipRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(createMembershipRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateMembership"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateMembershipResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Creates a privacy budget template for a specified membership. Each membership can have only one privacy budget * template, but it can be deleted and recreated. If you need to change the privacy budget template for a * membership, use the UpdatePrivacyBudgetTemplate operation. *

* * @param createPrivacyBudgetTemplateRequest * @return Result of the CreatePrivacyBudgetTemplate 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.CreatePrivacyBudgetTemplate * @see AWS API Documentation */ @Override public CreatePrivacyBudgetTemplateResult createPrivacyBudgetTemplate(CreatePrivacyBudgetTemplateRequest request) { request = beforeClientExecution(request); return executeCreatePrivacyBudgetTemplate(request); } @SdkInternalApi final CreatePrivacyBudgetTemplateResult executeCreatePrivacyBudgetTemplate(CreatePrivacyBudgetTemplateRequest createPrivacyBudgetTemplateRequest) { ExecutionContext executionContext = createExecutionContext(createPrivacyBudgetTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new CreatePrivacyBudgetTemplateRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(createPrivacyBudgetTemplateRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreatePrivacyBudgetTemplate"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreatePrivacyBudgetTemplateResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Deletes an analysis template. *

* * @param deleteAnalysisTemplateRequest * @return Result of the DeleteAnalysisTemplate 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.DeleteAnalysisTemplate * @see AWS API Documentation */ @Override public DeleteAnalysisTemplateResult deleteAnalysisTemplate(DeleteAnalysisTemplateRequest request) { request = beforeClientExecution(request); return executeDeleteAnalysisTemplate(request); } @SdkInternalApi final DeleteAnalysisTemplateResult executeDeleteAnalysisTemplate(DeleteAnalysisTemplateRequest deleteAnalysisTemplateRequest) { ExecutionContext executionContext = createExecutionContext(deleteAnalysisTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeleteAnalysisTemplateRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(deleteAnalysisTemplateRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteAnalysisTemplate"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteAnalysisTemplateResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeleteCollaborationRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(deleteCollaborationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteCollaboration"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteCollaborationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Provides the information necessary to delete a configured audience model association. *

* * @param deleteConfiguredAudienceModelAssociationRequest * @return Result of the DeleteConfiguredAudienceModelAssociation 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.DeleteConfiguredAudienceModelAssociation * @see AWS API Documentation */ @Override public DeleteConfiguredAudienceModelAssociationResult deleteConfiguredAudienceModelAssociation(DeleteConfiguredAudienceModelAssociationRequest request) { request = beforeClientExecution(request); return executeDeleteConfiguredAudienceModelAssociation(request); } @SdkInternalApi final DeleteConfiguredAudienceModelAssociationResult executeDeleteConfiguredAudienceModelAssociation( DeleteConfiguredAudienceModelAssociationRequest deleteConfiguredAudienceModelAssociationRequest) { ExecutionContext executionContext = createExecutionContext(deleteConfiguredAudienceModelAssociationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeleteConfiguredAudienceModelAssociationRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(deleteConfiguredAudienceModelAssociationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteConfiguredAudienceModelAssociation"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteConfiguredAudienceModelAssociationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeleteConfiguredTableRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(deleteConfiguredTableRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteConfiguredTable"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteConfiguredTableResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeleteConfiguredTableAnalysisRuleRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(deleteConfiguredTableAnalysisRuleRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteConfiguredTableAnalysisRule"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteConfiguredTableAnalysisRuleResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeleteConfiguredTableAssociationRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(deleteConfiguredTableAssociationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteConfiguredTableAssociation"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteConfiguredTableAssociationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Deletes an analysis rule for a configured table association. *

* * @param deleteConfiguredTableAssociationAnalysisRuleRequest * @return Result of the DeleteConfiguredTableAssociationAnalysisRule 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.DeleteConfiguredTableAssociationAnalysisRule * @see AWS API Documentation */ @Override public DeleteConfiguredTableAssociationAnalysisRuleResult deleteConfiguredTableAssociationAnalysisRule( DeleteConfiguredTableAssociationAnalysisRuleRequest request) { request = beforeClientExecution(request); return executeDeleteConfiguredTableAssociationAnalysisRule(request); } @SdkInternalApi final DeleteConfiguredTableAssociationAnalysisRuleResult executeDeleteConfiguredTableAssociationAnalysisRule( DeleteConfiguredTableAssociationAnalysisRuleRequest deleteConfiguredTableAssociationAnalysisRuleRequest) { ExecutionContext executionContext = createExecutionContext(deleteConfiguredTableAssociationAnalysisRuleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeleteConfiguredTableAssociationAnalysisRuleRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(deleteConfiguredTableAssociationAnalysisRuleRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteConfiguredTableAssociationAnalysisRule"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteConfiguredTableAssociationAnalysisRuleResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Deletes an ID mapping table. *

* * @param deleteIdMappingTableRequest * @return Result of the DeleteIdMappingTable 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.DeleteIdMappingTable * @see AWS API Documentation */ @Override public DeleteIdMappingTableResult deleteIdMappingTable(DeleteIdMappingTableRequest request) { request = beforeClientExecution(request); return executeDeleteIdMappingTable(request); } @SdkInternalApi final DeleteIdMappingTableResult executeDeleteIdMappingTable(DeleteIdMappingTableRequest deleteIdMappingTableRequest) { ExecutionContext executionContext = createExecutionContext(deleteIdMappingTableRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeleteIdMappingTableRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(deleteIdMappingTableRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteIdMappingTable"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteIdMappingTableResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Deletes an ID namespace association. *

* * @param deleteIdNamespaceAssociationRequest * @return Result of the DeleteIdNamespaceAssociation 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.DeleteIdNamespaceAssociation * @see AWS API Documentation */ @Override public DeleteIdNamespaceAssociationResult deleteIdNamespaceAssociation(DeleteIdNamespaceAssociationRequest request) { request = beforeClientExecution(request); return executeDeleteIdNamespaceAssociation(request); } @SdkInternalApi final DeleteIdNamespaceAssociationResult executeDeleteIdNamespaceAssociation(DeleteIdNamespaceAssociationRequest deleteIdNamespaceAssociationRequest) { ExecutionContext executionContext = createExecutionContext(deleteIdNamespaceAssociationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeleteIdNamespaceAssociationRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(deleteIdNamespaceAssociationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteIdNamespaceAssociation"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteIdNamespaceAssociationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeleteMemberRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(deleteMemberRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteMember"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteMemberResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeleteMembershipRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(deleteMembershipRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteMembership"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteMembershipResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Deletes a privacy budget template for a specified membership. *

* * @param deletePrivacyBudgetTemplateRequest * @return Result of the DeletePrivacyBudgetTemplate 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.DeletePrivacyBudgetTemplate * @see AWS API Documentation */ @Override public DeletePrivacyBudgetTemplateResult deletePrivacyBudgetTemplate(DeletePrivacyBudgetTemplateRequest request) { request = beforeClientExecution(request); return executeDeletePrivacyBudgetTemplate(request); } @SdkInternalApi final DeletePrivacyBudgetTemplateResult executeDeletePrivacyBudgetTemplate(DeletePrivacyBudgetTemplateRequest deletePrivacyBudgetTemplateRequest) { ExecutionContext executionContext = createExecutionContext(deletePrivacyBudgetTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new DeletePrivacyBudgetTemplateRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(deletePrivacyBudgetTemplateRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeletePrivacyBudgetTemplate"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeletePrivacyBudgetTemplateResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Retrieves an analysis template. *

* * @param getAnalysisTemplateRequest * @return Result of the GetAnalysisTemplate 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.GetAnalysisTemplate * @see AWS * API Documentation */ @Override public GetAnalysisTemplateResult getAnalysisTemplate(GetAnalysisTemplateRequest request) { request = beforeClientExecution(request); return executeGetAnalysisTemplate(request); } @SdkInternalApi final GetAnalysisTemplateResult executeGetAnalysisTemplate(GetAnalysisTemplateRequest getAnalysisTemplateRequest) { ExecutionContext executionContext = createExecutionContext(getAnalysisTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetAnalysisTemplateRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getAnalysisTemplateRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetAnalysisTemplate"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetAnalysisTemplateResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetCollaborationRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getCollaborationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetCollaboration"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetCollaborationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Retrieves an analysis template within a collaboration. *

* * @param getCollaborationAnalysisTemplateRequest * @return Result of the GetCollaborationAnalysisTemplate 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.GetCollaborationAnalysisTemplate * @see AWS API Documentation */ @Override public GetCollaborationAnalysisTemplateResult getCollaborationAnalysisTemplate(GetCollaborationAnalysisTemplateRequest request) { request = beforeClientExecution(request); return executeGetCollaborationAnalysisTemplate(request); } @SdkInternalApi final GetCollaborationAnalysisTemplateResult executeGetCollaborationAnalysisTemplate( GetCollaborationAnalysisTemplateRequest getCollaborationAnalysisTemplateRequest) { ExecutionContext executionContext = createExecutionContext(getCollaborationAnalysisTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetCollaborationAnalysisTemplateRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(getCollaborationAnalysisTemplateRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetCollaborationAnalysisTemplate"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetCollaborationAnalysisTemplateResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Retrieves a configured audience model association within a collaboration. *

* * @param getCollaborationConfiguredAudienceModelAssociationRequest * @return Result of the GetCollaborationConfiguredAudienceModelAssociation 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.GetCollaborationConfiguredAudienceModelAssociation * @see AWS API Documentation */ @Override public GetCollaborationConfiguredAudienceModelAssociationResult getCollaborationConfiguredAudienceModelAssociation( GetCollaborationConfiguredAudienceModelAssociationRequest request) { request = beforeClientExecution(request); return executeGetCollaborationConfiguredAudienceModelAssociation(request); } @SdkInternalApi final GetCollaborationConfiguredAudienceModelAssociationResult executeGetCollaborationConfiguredAudienceModelAssociation( GetCollaborationConfiguredAudienceModelAssociationRequest getCollaborationConfiguredAudienceModelAssociationRequest) { ExecutionContext executionContext = createExecutionContext(getCollaborationConfiguredAudienceModelAssociationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetCollaborationConfiguredAudienceModelAssociationRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(getCollaborationConfiguredAudienceModelAssociationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetCollaborationConfiguredAudienceModelAssociation"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetCollaborationConfiguredAudienceModelAssociationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Returns details about a specified privacy budget template. *

* * @param getCollaborationPrivacyBudgetTemplateRequest * @return Result of the GetCollaborationPrivacyBudgetTemplate 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.GetCollaborationPrivacyBudgetTemplate * @see AWS API Documentation */ @Override public GetCollaborationPrivacyBudgetTemplateResult getCollaborationPrivacyBudgetTemplate(GetCollaborationPrivacyBudgetTemplateRequest request) { request = beforeClientExecution(request); return executeGetCollaborationPrivacyBudgetTemplate(request); } @SdkInternalApi final GetCollaborationPrivacyBudgetTemplateResult executeGetCollaborationPrivacyBudgetTemplate( GetCollaborationPrivacyBudgetTemplateRequest getCollaborationPrivacyBudgetTemplateRequest) { ExecutionContext executionContext = createExecutionContext(getCollaborationPrivacyBudgetTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetCollaborationPrivacyBudgetTemplateRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(getCollaborationPrivacyBudgetTemplateRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetCollaborationPrivacyBudgetTemplate"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetCollaborationPrivacyBudgetTemplateResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Returns information about a configured audience model association. *

* * @param getConfiguredAudienceModelAssociationRequest * @return Result of the GetConfiguredAudienceModelAssociation 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.GetConfiguredAudienceModelAssociation * @see AWS API Documentation */ @Override public GetConfiguredAudienceModelAssociationResult getConfiguredAudienceModelAssociation(GetConfiguredAudienceModelAssociationRequest request) { request = beforeClientExecution(request); return executeGetConfiguredAudienceModelAssociation(request); } @SdkInternalApi final GetConfiguredAudienceModelAssociationResult executeGetConfiguredAudienceModelAssociation( GetConfiguredAudienceModelAssociationRequest getConfiguredAudienceModelAssociationRequest) { ExecutionContext executionContext = createExecutionContext(getConfiguredAudienceModelAssociationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetConfiguredAudienceModelAssociationRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(getConfiguredAudienceModelAssociationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetConfiguredAudienceModelAssociation"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetConfiguredAudienceModelAssociationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetConfiguredTableRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getConfiguredTableRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetConfiguredTable"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetConfiguredTableResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetConfiguredTableAnalysisRuleRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(getConfiguredTableAnalysisRuleRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetConfiguredTableAnalysisRule"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetConfiguredTableAnalysisRuleResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetConfiguredTableAssociationRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(getConfiguredTableAssociationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetConfiguredTableAssociation"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetConfiguredTableAssociationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Retrieves the analysis rule for a configured table association. *

* * @param getConfiguredTableAssociationAnalysisRuleRequest * @return Result of the GetConfiguredTableAssociationAnalysisRule 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.GetConfiguredTableAssociationAnalysisRule * @see AWS API Documentation */ @Override public GetConfiguredTableAssociationAnalysisRuleResult getConfiguredTableAssociationAnalysisRule(GetConfiguredTableAssociationAnalysisRuleRequest request) { request = beforeClientExecution(request); return executeGetConfiguredTableAssociationAnalysisRule(request); } @SdkInternalApi final GetConfiguredTableAssociationAnalysisRuleResult executeGetConfiguredTableAssociationAnalysisRule( GetConfiguredTableAssociationAnalysisRuleRequest getConfiguredTableAssociationAnalysisRuleRequest) { ExecutionContext executionContext = createExecutionContext(getConfiguredTableAssociationAnalysisRuleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetConfiguredTableAssociationAnalysisRuleRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(getConfiguredTableAssociationAnalysisRuleRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetConfiguredTableAssociationAnalysisRule"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetConfiguredTableAssociationAnalysisRuleResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Retrieves an ID mapping table. *

* * @param getIdMappingTableRequest * @return Result of the GetIdMappingTable 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.GetIdMappingTable * @see AWS * API Documentation */ @Override public GetIdMappingTableResult getIdMappingTable(GetIdMappingTableRequest request) { request = beforeClientExecution(request); return executeGetIdMappingTable(request); } @SdkInternalApi final GetIdMappingTableResult executeGetIdMappingTable(GetIdMappingTableRequest getIdMappingTableRequest) { ExecutionContext executionContext = createExecutionContext(getIdMappingTableRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetIdMappingTableRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getIdMappingTableRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetIdMappingTable"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetIdMappingTableResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetMembershipRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getMembershipRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetMembership"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetMembershipResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Returns details for a specified privacy budget template. *

* * @param getPrivacyBudgetTemplateRequest * @return Result of the GetPrivacyBudgetTemplate 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.GetPrivacyBudgetTemplate * @see AWS API Documentation */ @Override public GetPrivacyBudgetTemplateResult getPrivacyBudgetTemplate(GetPrivacyBudgetTemplateRequest request) { request = beforeClientExecution(request); return executeGetPrivacyBudgetTemplate(request); } @SdkInternalApi final GetPrivacyBudgetTemplateResult executeGetPrivacyBudgetTemplate(GetPrivacyBudgetTemplateRequest getPrivacyBudgetTemplateRequest) { ExecutionContext executionContext = createExecutionContext(getPrivacyBudgetTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetPrivacyBudgetTemplateRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(getPrivacyBudgetTemplateRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetPrivacyBudgetTemplate"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetPrivacyBudgetTemplateResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetProtectedQueryRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getProtectedQueryRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetProtectedQuery"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetProtectedQueryResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetSchemaRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getSchemaRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetSchema"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(new JsonOperationMetadata() .withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetSchemaResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new GetSchemaAnalysisRuleRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(getSchemaAnalysisRuleRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "GetSchemaAnalysisRule"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new GetSchemaAnalysisRuleResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Lists analysis templates that the caller owns. *

* * @param listAnalysisTemplatesRequest * @return Result of the ListAnalysisTemplates 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.ListAnalysisTemplates * @see AWS API Documentation */ @Override public ListAnalysisTemplatesResult listAnalysisTemplates(ListAnalysisTemplatesRequest request) { request = beforeClientExecution(request); return executeListAnalysisTemplates(request); } @SdkInternalApi final ListAnalysisTemplatesResult executeListAnalysisTemplates(ListAnalysisTemplatesRequest listAnalysisTemplatesRequest) { ExecutionContext executionContext = createExecutionContext(listAnalysisTemplatesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListAnalysisTemplatesRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listAnalysisTemplatesRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListAnalysisTemplates"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListAnalysisTemplatesResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Lists analysis templates within a collaboration. *

* * @param listCollaborationAnalysisTemplatesRequest * @return Result of the ListCollaborationAnalysisTemplates 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.ListCollaborationAnalysisTemplates * @see AWS API Documentation */ @Override public ListCollaborationAnalysisTemplatesResult listCollaborationAnalysisTemplates(ListCollaborationAnalysisTemplatesRequest request) { request = beforeClientExecution(request); return executeListCollaborationAnalysisTemplates(request); } @SdkInternalApi final ListCollaborationAnalysisTemplatesResult executeListCollaborationAnalysisTemplates( ListCollaborationAnalysisTemplatesRequest listCollaborationAnalysisTemplatesRequest) { ExecutionContext executionContext = createExecutionContext(listCollaborationAnalysisTemplatesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListCollaborationAnalysisTemplatesRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(listCollaborationAnalysisTemplatesRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListCollaborationAnalysisTemplates"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListCollaborationAnalysisTemplatesResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Lists configured audience model associations within a collaboration. *

* * @param listCollaborationConfiguredAudienceModelAssociationsRequest * @return Result of the ListCollaborationConfiguredAudienceModelAssociations 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.ListCollaborationConfiguredAudienceModelAssociations * @see AWS API Documentation */ @Override public ListCollaborationConfiguredAudienceModelAssociationsResult listCollaborationConfiguredAudienceModelAssociations( ListCollaborationConfiguredAudienceModelAssociationsRequest request) { request = beforeClientExecution(request); return executeListCollaborationConfiguredAudienceModelAssociations(request); } @SdkInternalApi final ListCollaborationConfiguredAudienceModelAssociationsResult executeListCollaborationConfiguredAudienceModelAssociations( ListCollaborationConfiguredAudienceModelAssociationsRequest listCollaborationConfiguredAudienceModelAssociationsRequest) { ExecutionContext executionContext = createExecutionContext(listCollaborationConfiguredAudienceModelAssociationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListCollaborationConfiguredAudienceModelAssociationsRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(listCollaborationConfiguredAudienceModelAssociationsRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListCollaborationConfiguredAudienceModelAssociations"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListCollaborationConfiguredAudienceModelAssociationsResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Returns a list of the ID namespace associations in a collaboration. *

* * @param listCollaborationIdNamespaceAssociationsRequest * @return Result of the ListCollaborationIdNamespaceAssociations 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.ListCollaborationIdNamespaceAssociations * @see AWS API Documentation */ @Override public ListCollaborationIdNamespaceAssociationsResult listCollaborationIdNamespaceAssociations(ListCollaborationIdNamespaceAssociationsRequest request) { request = beforeClientExecution(request); return executeListCollaborationIdNamespaceAssociations(request); } @SdkInternalApi final ListCollaborationIdNamespaceAssociationsResult executeListCollaborationIdNamespaceAssociations( ListCollaborationIdNamespaceAssociationsRequest listCollaborationIdNamespaceAssociationsRequest) { ExecutionContext executionContext = createExecutionContext(listCollaborationIdNamespaceAssociationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListCollaborationIdNamespaceAssociationsRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(listCollaborationIdNamespaceAssociationsRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListCollaborationIdNamespaceAssociations"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListCollaborationIdNamespaceAssociationsResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Returns an array that summarizes each privacy budget template in a specified collaboration. *

* * @param listCollaborationPrivacyBudgetTemplatesRequest * @return Result of the ListCollaborationPrivacyBudgetTemplates 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.ListCollaborationPrivacyBudgetTemplates * @see AWS API Documentation */ @Override public ListCollaborationPrivacyBudgetTemplatesResult listCollaborationPrivacyBudgetTemplates(ListCollaborationPrivacyBudgetTemplatesRequest request) { request = beforeClientExecution(request); return executeListCollaborationPrivacyBudgetTemplates(request); } @SdkInternalApi final ListCollaborationPrivacyBudgetTemplatesResult executeListCollaborationPrivacyBudgetTemplates( ListCollaborationPrivacyBudgetTemplatesRequest listCollaborationPrivacyBudgetTemplatesRequest) { ExecutionContext executionContext = createExecutionContext(listCollaborationPrivacyBudgetTemplatesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListCollaborationPrivacyBudgetTemplatesRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(listCollaborationPrivacyBudgetTemplatesRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListCollaborationPrivacyBudgetTemplates"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListCollaborationPrivacyBudgetTemplatesResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Returns an array that summarizes each privacy budget in a specified collaboration. The summary includes the * collaboration ARN, creation time, creating account, and privacy budget details. *

* * @param listCollaborationPrivacyBudgetsRequest * @return Result of the ListCollaborationPrivacyBudgets 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.ListCollaborationPrivacyBudgets * @see AWS API Documentation */ @Override public ListCollaborationPrivacyBudgetsResult listCollaborationPrivacyBudgets(ListCollaborationPrivacyBudgetsRequest request) { request = beforeClientExecution(request); return executeListCollaborationPrivacyBudgets(request); } @SdkInternalApi final ListCollaborationPrivacyBudgetsResult executeListCollaborationPrivacyBudgets( ListCollaborationPrivacyBudgetsRequest listCollaborationPrivacyBudgetsRequest) { ExecutionContext executionContext = createExecutionContext(listCollaborationPrivacyBudgetsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListCollaborationPrivacyBudgetsRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(listCollaborationPrivacyBudgetsRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListCollaborationPrivacyBudgets"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListCollaborationPrivacyBudgetsResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListCollaborationsRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listCollaborationsRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListCollaborations"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListCollaborationsResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Lists information about requested configured audience model associations. *

* * @param listConfiguredAudienceModelAssociationsRequest * @return Result of the ListConfiguredAudienceModelAssociations 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.ListConfiguredAudienceModelAssociations * @see AWS API Documentation */ @Override public ListConfiguredAudienceModelAssociationsResult listConfiguredAudienceModelAssociations(ListConfiguredAudienceModelAssociationsRequest request) { request = beforeClientExecution(request); return executeListConfiguredAudienceModelAssociations(request); } @SdkInternalApi final ListConfiguredAudienceModelAssociationsResult executeListConfiguredAudienceModelAssociations( ListConfiguredAudienceModelAssociationsRequest listConfiguredAudienceModelAssociationsRequest) { ExecutionContext executionContext = createExecutionContext(listConfiguredAudienceModelAssociationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListConfiguredAudienceModelAssociationsRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(listConfiguredAudienceModelAssociationsRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListConfiguredAudienceModelAssociations"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListConfiguredAudienceModelAssociationsResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListConfiguredTableAssociationsRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(listConfiguredTableAssociationsRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListConfiguredTableAssociations"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListConfiguredTableAssociationsResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListConfiguredTablesRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listConfiguredTablesRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListConfiguredTables"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListConfiguredTablesResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Returns a list of ID mapping tables. *

* * @param listIdMappingTablesRequest * @return Result of the ListIdMappingTables 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.ListIdMappingTables * @see AWS * API Documentation */ @Override public ListIdMappingTablesResult listIdMappingTables(ListIdMappingTablesRequest request) { request = beforeClientExecution(request); return executeListIdMappingTables(request); } @SdkInternalApi final ListIdMappingTablesResult executeListIdMappingTables(ListIdMappingTablesRequest listIdMappingTablesRequest) { ExecutionContext executionContext = createExecutionContext(listIdMappingTablesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListIdMappingTablesRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listIdMappingTablesRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListIdMappingTables"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListIdMappingTablesResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Returns a list of ID namespace associations. *

* * @param listIdNamespaceAssociationsRequest * @return Result of the ListIdNamespaceAssociations 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.ListIdNamespaceAssociations * @see AWS API Documentation */ @Override public ListIdNamespaceAssociationsResult listIdNamespaceAssociations(ListIdNamespaceAssociationsRequest request) { request = beforeClientExecution(request); return executeListIdNamespaceAssociations(request); } @SdkInternalApi final ListIdNamespaceAssociationsResult executeListIdNamespaceAssociations(ListIdNamespaceAssociationsRequest listIdNamespaceAssociationsRequest) { ExecutionContext executionContext = createExecutionContext(listIdNamespaceAssociationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListIdNamespaceAssociationsRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(listIdNamespaceAssociationsRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListIdNamespaceAssociations"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListIdNamespaceAssociationsResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListMembersRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listMembersRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListMembers"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListMembersResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListMembershipsRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listMembershipsRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListMemberships"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListMembershipsResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Returns detailed information about the privacy budget templates in a specified membership. *

* * @param listPrivacyBudgetTemplatesRequest * @return Result of the ListPrivacyBudgetTemplates 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.ListPrivacyBudgetTemplates * @see AWS API Documentation */ @Override public ListPrivacyBudgetTemplatesResult listPrivacyBudgetTemplates(ListPrivacyBudgetTemplatesRequest request) { request = beforeClientExecution(request); return executeListPrivacyBudgetTemplates(request); } @SdkInternalApi final ListPrivacyBudgetTemplatesResult executeListPrivacyBudgetTemplates(ListPrivacyBudgetTemplatesRequest listPrivacyBudgetTemplatesRequest) { ExecutionContext executionContext = createExecutionContext(listPrivacyBudgetTemplatesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListPrivacyBudgetTemplatesRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(listPrivacyBudgetTemplatesRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListPrivacyBudgetTemplates"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListPrivacyBudgetTemplatesResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Returns detailed information about the privacy budgets in a specified membership. *

* * @param listPrivacyBudgetsRequest * @return Result of the ListPrivacyBudgets 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.ListPrivacyBudgets * @see AWS * API Documentation */ @Override public ListPrivacyBudgetsResult listPrivacyBudgets(ListPrivacyBudgetsRequest request) { request = beforeClientExecution(request); return executeListPrivacyBudgets(request); } @SdkInternalApi final ListPrivacyBudgetsResult executeListPrivacyBudgets(ListPrivacyBudgetsRequest listPrivacyBudgetsRequest) { ExecutionContext executionContext = createExecutionContext(listPrivacyBudgetsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListPrivacyBudgetsRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listPrivacyBudgetsRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListPrivacyBudgets"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListPrivacyBudgetsResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListProtectedQueriesRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listProtectedQueriesRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListProtectedQueries"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListProtectedQueriesResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListSchemasRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listSchemasRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListSchemas"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListSchemasResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new ListTagsForResourceRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listTagsForResourceRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListTagsForResource"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListTagsForResourceResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Defines the information that's necessary to populate an ID mapping table. *

* * @param populateIdMappingTableRequest * @return Result of the PopulateIdMappingTable 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.PopulateIdMappingTable * @see AWS API Documentation */ @Override public PopulateIdMappingTableResult populateIdMappingTable(PopulateIdMappingTableRequest request) { request = beforeClientExecution(request); return executePopulateIdMappingTable(request); } @SdkInternalApi final PopulateIdMappingTableResult executePopulateIdMappingTable(PopulateIdMappingTableRequest populateIdMappingTableRequest) { ExecutionContext executionContext = createExecutionContext(populateIdMappingTableRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new PopulateIdMappingTableRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(populateIdMappingTableRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "PopulateIdMappingTable"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new PopulateIdMappingTableResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* An estimate of the number of aggregation functions that the member who can query can run given epsilon and noise * parameters. *

* * @param previewPrivacyImpactRequest * @return Result of the PreviewPrivacyImpact 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.PreviewPrivacyImpact * @see AWS API Documentation */ @Override public PreviewPrivacyImpactResult previewPrivacyImpact(PreviewPrivacyImpactRequest request) { request = beforeClientExecution(request); return executePreviewPrivacyImpact(request); } @SdkInternalApi final PreviewPrivacyImpactResult executePreviewPrivacyImpact(PreviewPrivacyImpactRequest previewPrivacyImpactRequest) { ExecutionContext executionContext = createExecutionContext(previewPrivacyImpactRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new PreviewPrivacyImpactRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(previewPrivacyImpactRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "PreviewPrivacyImpact"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new PreviewPrivacyImpactResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new StartProtectedQueryRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(startProtectedQueryRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "StartProtectedQuery"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new StartProtectedQueryResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new TagResourceRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(tagResourceRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "TagResource"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new TagResourceResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UntagResourceRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(untagResourceRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UntagResource"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UntagResourceResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Updates the analysis template metadata. *

* * @param updateAnalysisTemplateRequest * @return Result of the UpdateAnalysisTemplate 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.UpdateAnalysisTemplate * @see AWS API Documentation */ @Override public UpdateAnalysisTemplateResult updateAnalysisTemplate(UpdateAnalysisTemplateRequest request) { request = beforeClientExecution(request); return executeUpdateAnalysisTemplate(request); } @SdkInternalApi final UpdateAnalysisTemplateResult executeUpdateAnalysisTemplate(UpdateAnalysisTemplateRequest updateAnalysisTemplateRequest) { ExecutionContext executionContext = createExecutionContext(updateAnalysisTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UpdateAnalysisTemplateRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(updateAnalysisTemplateRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateAnalysisTemplate"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateAnalysisTemplateResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UpdateCollaborationRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(updateCollaborationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateCollaboration"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateCollaborationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Provides the details necessary to update a configured audience model association. *

* * @param updateConfiguredAudienceModelAssociationRequest * @return Result of the UpdateConfiguredAudienceModelAssociation 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.UpdateConfiguredAudienceModelAssociation * @see AWS API Documentation */ @Override public UpdateConfiguredAudienceModelAssociationResult updateConfiguredAudienceModelAssociation(UpdateConfiguredAudienceModelAssociationRequest request) { request = beforeClientExecution(request); return executeUpdateConfiguredAudienceModelAssociation(request); } @SdkInternalApi final UpdateConfiguredAudienceModelAssociationResult executeUpdateConfiguredAudienceModelAssociation( UpdateConfiguredAudienceModelAssociationRequest updateConfiguredAudienceModelAssociationRequest) { ExecutionContext executionContext = createExecutionContext(updateConfiguredAudienceModelAssociationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UpdateConfiguredAudienceModelAssociationRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(updateConfiguredAudienceModelAssociationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateConfiguredAudienceModelAssociation"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateConfiguredAudienceModelAssociationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UpdateConfiguredTableRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(updateConfiguredTableRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateConfiguredTable"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateConfiguredTableResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UpdateConfiguredTableAnalysisRuleRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(updateConfiguredTableAnalysisRuleRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateConfiguredTableAnalysisRule"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateConfiguredTableAnalysisRuleResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UpdateConfiguredTableAssociationRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(updateConfiguredTableAssociationRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateConfiguredTableAssociation"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateConfiguredTableAssociationResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Updates the analysis rule for a configured table association. *

* * @param updateConfiguredTableAssociationAnalysisRuleRequest * @return Result of the UpdateConfiguredTableAssociationAnalysisRule 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.UpdateConfiguredTableAssociationAnalysisRule * @see AWS API Documentation */ @Override public UpdateConfiguredTableAssociationAnalysisRuleResult updateConfiguredTableAssociationAnalysisRule( UpdateConfiguredTableAssociationAnalysisRuleRequest request) { request = beforeClientExecution(request); return executeUpdateConfiguredTableAssociationAnalysisRule(request); } @SdkInternalApi final UpdateConfiguredTableAssociationAnalysisRuleResult executeUpdateConfiguredTableAssociationAnalysisRule( UpdateConfiguredTableAssociationAnalysisRuleRequest updateConfiguredTableAssociationAnalysisRuleRequest) { ExecutionContext executionContext = createExecutionContext(updateConfiguredTableAssociationAnalysisRuleRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UpdateConfiguredTableAssociationAnalysisRuleRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(updateConfiguredTableAssociationAnalysisRuleRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateConfiguredTableAssociationAnalysisRule"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateConfiguredTableAssociationAnalysisRuleResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Provides the details that are necessary to update an ID mapping table. *

* * @param updateIdMappingTableRequest * @return Result of the UpdateIdMappingTable 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.UpdateIdMappingTable * @see AWS API Documentation */ @Override public UpdateIdMappingTableResult updateIdMappingTable(UpdateIdMappingTableRequest request) { request = beforeClientExecution(request); return executeUpdateIdMappingTable(request); } @SdkInternalApi final UpdateIdMappingTableResult executeUpdateIdMappingTable(UpdateIdMappingTableRequest updateIdMappingTableRequest) { ExecutionContext executionContext = createExecutionContext(updateIdMappingTableRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UpdateIdMappingTableRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(updateIdMappingTableRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateIdMappingTable"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateIdMappingTableResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UpdateMembershipRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(updateMembershipRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateMembership"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateMembershipResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* Updates the privacy budget template for the specified membership. *

* * @param updatePrivacyBudgetTemplateRequest * @return Result of the UpdatePrivacyBudgetTemplate 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.UpdatePrivacyBudgetTemplate * @see AWS API Documentation */ @Override public UpdatePrivacyBudgetTemplateResult updatePrivacyBudgetTemplate(UpdatePrivacyBudgetTemplateRequest request) { request = beforeClientExecution(request); return executeUpdatePrivacyBudgetTemplate(request); } @SdkInternalApi final UpdatePrivacyBudgetTemplateResult executeUpdatePrivacyBudgetTemplate(UpdatePrivacyBudgetTemplateRequest updatePrivacyBudgetTemplateRequest) { ExecutionContext executionContext = createExecutionContext(updatePrivacyBudgetTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UpdatePrivacyBudgetTemplateRequestProtocolMarshaller(protocolFactory).marshall(super .beforeMarshalling(updatePrivacyBudgetTemplateRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdatePrivacyBudgetTemplate"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdatePrivacyBudgetTemplateResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** *

* 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 request = null; Response response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new UpdateProtectedQueryRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(updateProtectedQueryRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint); request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden()); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "CleanRooms"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "UpdateProtectedQuery"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler( new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new UpdateProtectedQueryResultJsonUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } } /** * Returns additional metadata for a previously executed successful, request, typically used for debugging issues * where a service isn't acting as expected. This data isn't considered part of the result data returned by an * operation, so it's available through this separate, diagnostic interface. *

* 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 Response invoke(Request request, HttpResponseHandler> responseHandler, ExecutionContext executionContext) { return invoke(request, responseHandler, executionContext, null, null); } /** * Normal invoke with authentication. Credentials are required and may be overriden at the request level. **/ private Response invoke(Request request, HttpResponseHandler> responseHandler, ExecutionContext executionContext, URI cachedEndpoint, URI uriFromEndpointTrait) { executionContext.setCredentialsProvider(CredentialUtils.getCredentialsProvider(request.getOriginalRequest(), awsCredentialsProvider)); return doInvoke(request, responseHandler, executionContext, cachedEndpoint, uriFromEndpointTrait); } /** * Invoke with no authentication. Credentials are not required and any credentials set on the client or request will * be ignored for this operation. **/ private Response anonymousInvoke(Request request, HttpResponseHandler> responseHandler, ExecutionContext executionContext) { return doInvoke(request, responseHandler, executionContext, null, null); } /** * Invoke the request using the http client. Assumes credentials (or lack thereof) have been configured in the * ExecutionContext beforehand. **/ private Response doInvoke(Request request, HttpResponseHandler> responseHandler, ExecutionContext executionContext, URI discoveredEndpoint, URI uriFromEndpointTrait) { if (discoveredEndpoint != null) { request.setEndpoint(discoveredEndpoint); request.getOriginalRequest().getRequestClientOptions().appendUserAgent("endpoint-discovery"); } else if (uriFromEndpointTrait != null) { request.setEndpoint(uriFromEndpointTrait); } else { request.setEndpoint(endpoint); } request.setTimeOffset(timeOffset); HttpResponseHandler errorResponseHandler = protocolFactory.createErrorResponseHandler(new JsonErrorResponseMetadata()); return client.execute(request, responseHandler, errorResponseHandler, executionContext); } @com.amazonaws.annotation.SdkInternalApi static com.amazonaws.protocol.json.SdkJsonProtocolFactory getProtocolFactory() { return protocolFactory; } @Override public void shutdown() { super.shutdown(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy