/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.pinpoint; 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.pinpoint.AmazonPinpointClientBuilder; import com.amazonaws.AmazonServiceException; import com.amazonaws.services.pinpoint.model.*; import com.amazonaws.services.pinpoint.model.transform.*; /** * Client for accessing Amazon Pinpoint. All service calls made using this client are blocking, and will not return * until the service call completes. *
*
* Doc Engage API - Amazon Pinpoint API *
*/ @ThreadSafe @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AmazonPinpointClient extends AmazonWebServiceClient implements AmazonPinpoint { /** Provider for AWS credentials. */ private final AWSCredentialsProvider awsCredentialsProvider; private static final Log log = LogFactory.getLog(AmazonPinpoint.class); /** Default signing name for the service. */ private static final String DEFAULT_SIGNING_NAME = "mobiletargeting"; /** 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("ForbiddenException").withExceptionUnmarshaller( com.amazonaws.services.pinpoint.model.transform.ForbiddenExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("NotFoundException").withExceptionUnmarshaller( com.amazonaws.services.pinpoint.model.transform.NotFoundExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("MethodNotAllowedException").withExceptionUnmarshaller( com.amazonaws.services.pinpoint.model.transform.MethodNotAllowedExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("ConflictException").withExceptionUnmarshaller( com.amazonaws.services.pinpoint.model.transform.ConflictExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("PayloadTooLargeException").withExceptionUnmarshaller( com.amazonaws.services.pinpoint.model.transform.PayloadTooLargeExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("TooManyRequestsException").withExceptionUnmarshaller( com.amazonaws.services.pinpoint.model.transform.TooManyRequestsExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("BadRequestException").withExceptionUnmarshaller( com.amazonaws.services.pinpoint.model.transform.BadRequestExceptionUnmarshaller.getInstance())) .addErrorMetadata( new JsonErrorShapeMetadata().withErrorCode("InternalServerErrorException").withExceptionUnmarshaller( com.amazonaws.services.pinpoint.model.transform.InternalServerErrorExceptionUnmarshaller.getInstance())) .withBaseServiceExceptionClass(com.amazonaws.services.pinpoint.model.AmazonPinpointException.class)); /** * Constructs a new client to invoke service methods on Amazon Pinpoint. A credentials provider chain will be used * that searches for credentials in this order: ** All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @see DefaultAWSCredentialsProviderChain * @deprecated use {@link AmazonPinpointClientBuilder#defaultClient()} */ @Deprecated public AmazonPinpointClient() { this(DefaultAWSCredentialsProviderChain.getInstance(), configFactory.getConfig()); } /** * Constructs a new client to invoke service methods on Amazon Pinpoint. A credentials provider chain will be used * that searches for credentials in this order: *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param clientConfiguration * The client configuration options controlling how this client connects to Amazon Pinpoint (ex: proxy * settings, retry counts, etc.). * * @see DefaultAWSCredentialsProviderChain * @deprecated use {@link AmazonPinpointClientBuilder#withClientConfiguration(ClientConfiguration)} */ @Deprecated public AmazonPinpointClient(ClientConfiguration clientConfiguration) { this(DefaultAWSCredentialsProviderChain.getInstance(), clientConfiguration); } /** * Constructs a new client to invoke service methods on Amazon Pinpoint using the specified AWS account credentials. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param awsCredentials * The AWS credentials (access key ID and secret key) to use when authenticating with AWS services. * @deprecated use {@link AmazonPinpointClientBuilder#withCredentials(AWSCredentialsProvider)} for example: * {@code AmazonPinpointClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();} */ @Deprecated public AmazonPinpointClient(AWSCredentials awsCredentials) { this(awsCredentials, configFactory.getConfig()); } /** * Constructs a new client to invoke service methods on Amazon Pinpoint using the specified AWS account credentials * and client configuration options. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param awsCredentials * The AWS credentials (access key ID and secret key) to use when authenticating with AWS services. * @param clientConfiguration * The client configuration options controlling how this client connects to Amazon Pinpoint (ex: proxy * settings, retry counts, etc.). * @deprecated use {@link AmazonPinpointClientBuilder#withCredentials(AWSCredentialsProvider)} and * {@link AmazonPinpointClientBuilder#withClientConfiguration(ClientConfiguration)} */ @Deprecated public AmazonPinpointClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration) { super(clientConfiguration); this.awsCredentialsProvider = new StaticCredentialsProvider(awsCredentials); this.advancedConfig = AdvancedConfig.EMPTY; init(); } /** * Constructs a new client to invoke service methods on Amazon Pinpoint using the specified AWS account credentials * provider. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param awsCredentialsProvider * The AWS credentials provider which will provide credentials to authenticate requests with AWS services. * @deprecated use {@link AmazonPinpointClientBuilder#withCredentials(AWSCredentialsProvider)} */ @Deprecated public AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider) { this(awsCredentialsProvider, configFactory.getConfig()); } /** * Constructs a new client to invoke service methods on Amazon Pinpoint using the specified AWS account credentials * provider and client configuration options. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param awsCredentialsProvider * The AWS credentials provider which will provide credentials to authenticate requests with AWS services. * @param clientConfiguration * The client configuration options controlling how this client connects to Amazon Pinpoint (ex: proxy * settings, retry counts, etc.). * @deprecated use {@link AmazonPinpointClientBuilder#withCredentials(AWSCredentialsProvider)} and * {@link AmazonPinpointClientBuilder#withClientConfiguration(ClientConfiguration)} */ @Deprecated public AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) { this(awsCredentialsProvider, clientConfiguration, null); } /** * Constructs a new client to invoke service methods on Amazon Pinpoint using the specified AWS account credentials * provider, client configuration options, and request metric collector. * *
* All service calls made using this new client object are blocking, and will not return until the service call * completes. * * @param awsCredentialsProvider * The AWS credentials provider which will provide credentials to authenticate requests with AWS services. * @param clientConfiguration * The client configuration options controlling how this client connects to Amazon Pinpoint (ex: proxy * settings, retry counts, etc.). * @param requestMetricCollector * optional request metric collector * @deprecated use {@link AmazonPinpointClientBuilder#withCredentials(AWSCredentialsProvider)} and * {@link AmazonPinpointClientBuilder#withClientConfiguration(ClientConfiguration)} and * {@link AmazonPinpointClientBuilder#withMetricsCollector(RequestMetricCollector)} */ @Deprecated public AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector) { super(clientConfiguration, requestMetricCollector); this.awsCredentialsProvider = awsCredentialsProvider; this.advancedConfig = AdvancedConfig.EMPTY; init(); } public static AmazonPinpointClientBuilder builder() { return AmazonPinpointClientBuilder.standard(); } /** * Constructs a new client to invoke service methods on Amazon Pinpoint 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. */ AmazonPinpointClient(AwsSyncClientParams clientParams) { this(clientParams, false); } /** * Constructs a new client to invoke service methods on Amazon Pinpoint 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. */ AmazonPinpointClient(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("https://pinpoint.us-east-1.amazonaws.com"); HandlerChainFactory chainFactory = new HandlerChainFactory(); requestHandler2s.addAll(chainFactory.newRequestHandlerChain("/com/amazonaws/services/pinpoint/request.handlers")); requestHandler2s.addAll(chainFactory.newRequestHandler2Chain("/com/amazonaws/services/pinpoint/request.handler2s")); requestHandler2s.addAll(chainFactory.getGlobalHandlers()); } /** *
* Creates an application. *
* * @param createAppRequest * @return Result of the CreateApp operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.CreateApp * @see AWS API * Documentation */ @Override public CreateAppResult createApp(CreateAppRequest request) { request = beforeClientExecution(request); return executeCreateApp(request); } @SdkInternalApi final CreateAppResult executeCreateApp(CreateAppRequest createAppRequest) { ExecutionContext executionContext = createExecutionContext(createAppRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a new campaign for an application or updates the settings of an existing campaign for an application. *
* * @param createCampaignRequest * @return Result of the CreateCampaign operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.CreateCampaign * @see AWS API * Documentation */ @Override public CreateCampaignResult createCampaign(CreateCampaignRequest request) { request = beforeClientExecution(request); return executeCreateCampaign(request); } @SdkInternalApi final CreateCampaignResult executeCreateCampaign(CreateCampaignRequest createCampaignRequest) { ExecutionContext executionContext = createExecutionContext(createCampaignRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a message template for messages that are sent through the email channel. *
* * @param createEmailTemplateRequest * @return Result of the CreateEmailTemplate operation returned by the service. * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @sample AmazonPinpoint.CreateEmailTemplate * @see AWS * API Documentation */ @Override public CreateEmailTemplateResult createEmailTemplate(CreateEmailTemplateRequest request) { request = beforeClientExecution(request); return executeCreateEmailTemplate(request); } @SdkInternalApi final CreateEmailTemplateResult executeCreateEmailTemplate(CreateEmailTemplateRequest createEmailTemplateRequest) { ExecutionContext executionContext = createExecutionContext(createEmailTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates an export job for an application. *
* * @param createExportJobRequest * @return Result of the CreateExportJob operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.CreateExportJob * @see AWS API * Documentation */ @Override public CreateExportJobResult createExportJob(CreateExportJobRequest request) { request = beforeClientExecution(request); return executeCreateExportJob(request); } @SdkInternalApi final CreateExportJobResult executeCreateExportJob(CreateExportJobRequest createExportJobRequest) { ExecutionContext executionContext = createExecutionContext(createExportJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates an import job for an application. *
* * @param createImportJobRequest * @return Result of the CreateImportJob operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.CreateImportJob * @see AWS API * Documentation */ @Override public CreateImportJobResult createImportJob(CreateImportJobRequest request) { request = beforeClientExecution(request); return executeCreateImportJob(request); } @SdkInternalApi final CreateImportJobResult executeCreateImportJob(CreateImportJobRequest createImportJobRequest) { ExecutionContext executionContext = createExecutionContext(createImportJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a new message template for messages using the in-app message channel. *
* * @param createInAppTemplateRequest * @return Result of the CreateInAppTemplate operation returned by the service. * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @sample AmazonPinpoint.CreateInAppTemplate * @see AWS * API Documentation */ @Override public CreateInAppTemplateResult createInAppTemplate(CreateInAppTemplateRequest request) { request = beforeClientExecution(request); return executeCreateInAppTemplate(request); } @SdkInternalApi final CreateInAppTemplateResult executeCreateInAppTemplate(CreateInAppTemplateRequest createInAppTemplateRequest) { ExecutionContext executionContext = createExecutionContext(createInAppTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a journey for an application. *
* * @param createJourneyRequest * @return Result of the CreateJourney operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.CreateJourney * @see AWS API * Documentation */ @Override public CreateJourneyResult createJourney(CreateJourneyRequest request) { request = beforeClientExecution(request); return executeCreateJourney(request); } @SdkInternalApi final CreateJourneyResult executeCreateJourney(CreateJourneyRequest createJourneyRequest) { ExecutionContext executionContext = createExecutionContext(createJourneyRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a message template for messages that are sent through a push notification channel. *
* * @param createPushTemplateRequest * @return Result of the CreatePushTemplate operation returned by the service. * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @sample AmazonPinpoint.CreatePushTemplate * @see AWS * API Documentation */ @Override public CreatePushTemplateResult createPushTemplate(CreatePushTemplateRequest request) { request = beforeClientExecution(request); return executeCreatePushTemplate(request); } @SdkInternalApi final CreatePushTemplateResult executeCreatePushTemplate(CreatePushTemplateRequest createPushTemplateRequest) { ExecutionContext executionContext = createExecutionContext(createPushTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates an Amazon Pinpoint configuration for a recommender model. *
* * @param createRecommenderConfigurationRequest * @return Result of the CreateRecommenderConfiguration operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.CreateRecommenderConfiguration * @see AWS API Documentation */ @Override public CreateRecommenderConfigurationResult createRecommenderConfiguration(CreateRecommenderConfigurationRequest request) { request = beforeClientExecution(request); return executeCreateRecommenderConfiguration(request); } @SdkInternalApi final CreateRecommenderConfigurationResult executeCreateRecommenderConfiguration(CreateRecommenderConfigurationRequest createRecommenderConfigurationRequest) { ExecutionContext executionContext = createExecutionContext(createRecommenderConfigurationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a new segment for an application or updates the configuration, dimension, and other settings for an * existing segment that's associated with an application. *
* * @param createSegmentRequest * @return Result of the CreateSegment operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.CreateSegment * @see AWS API * Documentation */ @Override public CreateSegmentResult createSegment(CreateSegmentRequest request) { request = beforeClientExecution(request); return executeCreateSegment(request); } @SdkInternalApi final CreateSegmentResult executeCreateSegment(CreateSegmentRequest createSegmentRequest) { ExecutionContext executionContext = createExecutionContext(createSegmentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a message template for messages that are sent through the SMS channel. *
* * @param createSmsTemplateRequest * @return Result of the CreateSmsTemplate operation returned by the service. * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @sample AmazonPinpoint.CreateSmsTemplate * @see AWS API * Documentation */ @Override public CreateSmsTemplateResult createSmsTemplate(CreateSmsTemplateRequest request) { request = beforeClientExecution(request); return executeCreateSmsTemplate(request); } @SdkInternalApi final CreateSmsTemplateResult executeCreateSmsTemplate(CreateSmsTemplateRequest createSmsTemplateRequest) { ExecutionContext executionContext = createExecutionContext(createSmsTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Creates a message template for messages that are sent through the voice channel. *
* * @param createVoiceTemplateRequest * @return Result of the CreateVoiceTemplate operation returned by the service. * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @sample AmazonPinpoint.CreateVoiceTemplate * @see AWS * API Documentation */ @Override public CreateVoiceTemplateResult createVoiceTemplate(CreateVoiceTemplateRequest request) { request = beforeClientExecution(request); return executeCreateVoiceTemplate(request); } @SdkInternalApi final CreateVoiceTemplateResult executeCreateVoiceTemplate(CreateVoiceTemplateRequest createVoiceTemplateRequest) { ExecutionContext executionContext = createExecutionContext(createVoiceTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Disables the ADM channel for an application and deletes any existing settings for the channel. *
* * @param deleteAdmChannelRequest * @return Result of the DeleteAdmChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteAdmChannel * @see AWS API * Documentation */ @Override public DeleteAdmChannelResult deleteAdmChannel(DeleteAdmChannelRequest request) { request = beforeClientExecution(request); return executeDeleteAdmChannel(request); } @SdkInternalApi final DeleteAdmChannelResult executeDeleteAdmChannel(DeleteAdmChannelRequest deleteAdmChannelRequest) { ExecutionContext executionContext = createExecutionContext(deleteAdmChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Disables the APNs channel for an application and deletes any existing settings for the channel. *
* * @param deleteApnsChannelRequest * @return Result of the DeleteApnsChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteApnsChannel * @see AWS API * Documentation */ @Override public DeleteApnsChannelResult deleteApnsChannel(DeleteApnsChannelRequest request) { request = beforeClientExecution(request); return executeDeleteApnsChannel(request); } @SdkInternalApi final DeleteApnsChannelResult executeDeleteApnsChannel(DeleteApnsChannelRequest deleteApnsChannelRequest) { ExecutionContext executionContext = createExecutionContext(deleteApnsChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Disables the APNs sandbox channel for an application and deletes any existing settings for the channel. *
* * @param deleteApnsSandboxChannelRequest * @return Result of the DeleteApnsSandboxChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteApnsSandboxChannel * @see AWS API Documentation */ @Override public DeleteApnsSandboxChannelResult deleteApnsSandboxChannel(DeleteApnsSandboxChannelRequest request) { request = beforeClientExecution(request); return executeDeleteApnsSandboxChannel(request); } @SdkInternalApi final DeleteApnsSandboxChannelResult executeDeleteApnsSandboxChannel(DeleteApnsSandboxChannelRequest deleteApnsSandboxChannelRequest) { ExecutionContext executionContext = createExecutionContext(deleteApnsSandboxChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Disables the APNs VoIP channel for an application and deletes any existing settings for the channel. *
* * @param deleteApnsVoipChannelRequest * @return Result of the DeleteApnsVoipChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteApnsVoipChannel * @see AWS * API Documentation */ @Override public DeleteApnsVoipChannelResult deleteApnsVoipChannel(DeleteApnsVoipChannelRequest request) { request = beforeClientExecution(request); return executeDeleteApnsVoipChannel(request); } @SdkInternalApi final DeleteApnsVoipChannelResult executeDeleteApnsVoipChannel(DeleteApnsVoipChannelRequest deleteApnsVoipChannelRequest) { ExecutionContext executionContext = createExecutionContext(deleteApnsVoipChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel. *
* * @param deleteApnsVoipSandboxChannelRequest * @return Result of the DeleteApnsVoipSandboxChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteApnsVoipSandboxChannel * @see AWS API Documentation */ @Override public DeleteApnsVoipSandboxChannelResult deleteApnsVoipSandboxChannel(DeleteApnsVoipSandboxChannelRequest request) { request = beforeClientExecution(request); return executeDeleteApnsVoipSandboxChannel(request); } @SdkInternalApi final DeleteApnsVoipSandboxChannelResult executeDeleteApnsVoipSandboxChannel(DeleteApnsVoipSandboxChannelRequest deleteApnsVoipSandboxChannelRequest) { ExecutionContext executionContext = createExecutionContext(deleteApnsVoipSandboxChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an application. *
* * @param deleteAppRequest * @return Result of the DeleteApp operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteApp * @see AWS API * Documentation */ @Override public DeleteAppResult deleteApp(DeleteAppRequest request) { request = beforeClientExecution(request); return executeDeleteApp(request); } @SdkInternalApi final DeleteAppResult executeDeleteApp(DeleteAppRequest deleteAppRequest) { ExecutionContext executionContext = createExecutionContext(deleteAppRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Disables the Baidu channel for an application and deletes any existing settings for the channel. *
* * @param deleteBaiduChannelRequest * @return Result of the DeleteBaiduChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteBaiduChannel * @see AWS * API Documentation */ @Override public DeleteBaiduChannelResult deleteBaiduChannel(DeleteBaiduChannelRequest request) { request = beforeClientExecution(request); return executeDeleteBaiduChannel(request); } @SdkInternalApi final DeleteBaiduChannelResult executeDeleteBaiduChannel(DeleteBaiduChannelRequest deleteBaiduChannelRequest) { ExecutionContext executionContext = createExecutionContext(deleteBaiduChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a campaign from an application. *
* * @param deleteCampaignRequest * @return Result of the DeleteCampaign operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteCampaign * @see AWS API * Documentation */ @Override public DeleteCampaignResult deleteCampaign(DeleteCampaignRequest request) { request = beforeClientExecution(request); return executeDeleteCampaign(request); } @SdkInternalApi final DeleteCampaignResult executeDeleteCampaign(DeleteCampaignRequest deleteCampaignRequest) { ExecutionContext executionContext = createExecutionContext(deleteCampaignRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Disables the email channel for an application and deletes any existing settings for the channel. *
* * @param deleteEmailChannelRequest * @return Result of the DeleteEmailChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteEmailChannel * @see AWS * API Documentation */ @Override public DeleteEmailChannelResult deleteEmailChannel(DeleteEmailChannelRequest request) { request = beforeClientExecution(request); return executeDeleteEmailChannel(request); } @SdkInternalApi final DeleteEmailChannelResult executeDeleteEmailChannel(DeleteEmailChannelRequest deleteEmailChannelRequest) { ExecutionContext executionContext = createExecutionContext(deleteEmailChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a message template for messages that were sent through the email channel. *
* * @param deleteEmailTemplateRequest * @return Result of the DeleteEmailTemplate operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteEmailTemplate * @see AWS * API Documentation */ @Override public DeleteEmailTemplateResult deleteEmailTemplate(DeleteEmailTemplateRequest request) { request = beforeClientExecution(request); return executeDeleteEmailTemplate(request); } @SdkInternalApi final DeleteEmailTemplateResult executeDeleteEmailTemplate(DeleteEmailTemplateRequest deleteEmailTemplateRequest) { ExecutionContext executionContext = createExecutionContext(deleteEmailTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an endpoint from an application. *
* * @param deleteEndpointRequest * @return Result of the DeleteEndpoint operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteEndpoint * @see AWS API * Documentation */ @Override public DeleteEndpointResult deleteEndpoint(DeleteEndpointRequest request) { request = beforeClientExecution(request); return executeDeleteEndpoint(request); } @SdkInternalApi final DeleteEndpointResult executeDeleteEndpoint(DeleteEndpointRequest deleteEndpointRequest) { ExecutionContext executionContext = createExecutionContext(deleteEndpointRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes the event stream for an application. *
* * @param deleteEventStreamRequest * @return Result of the DeleteEventStream operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteEventStream * @see AWS API * Documentation */ @Override public DeleteEventStreamResult deleteEventStream(DeleteEventStreamRequest request) { request = beforeClientExecution(request); return executeDeleteEventStream(request); } @SdkInternalApi final DeleteEventStreamResult executeDeleteEventStream(DeleteEventStreamRequest deleteEventStreamRequest) { ExecutionContext executionContext = createExecutionContext(deleteEventStreamRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Disables the GCM channel for an application and deletes any existing settings for the channel. *
* * @param deleteGcmChannelRequest * @return Result of the DeleteGcmChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteGcmChannel * @see AWS API * Documentation */ @Override public DeleteGcmChannelResult deleteGcmChannel(DeleteGcmChannelRequest request) { request = beforeClientExecution(request); return executeDeleteGcmChannel(request); } @SdkInternalApi final DeleteGcmChannelResult executeDeleteGcmChannel(DeleteGcmChannelRequest deleteGcmChannelRequest) { ExecutionContext executionContext = createExecutionContext(deleteGcmChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a message template for messages sent using the in-app message channel. *
* * @param deleteInAppTemplateRequest * @return Result of the DeleteInAppTemplate operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteInAppTemplate * @see AWS * API Documentation */ @Override public DeleteInAppTemplateResult deleteInAppTemplate(DeleteInAppTemplateRequest request) { request = beforeClientExecution(request); return executeDeleteInAppTemplate(request); } @SdkInternalApi final DeleteInAppTemplateResult executeDeleteInAppTemplate(DeleteInAppTemplateRequest deleteInAppTemplateRequest) { ExecutionContext executionContext = createExecutionContext(deleteInAppTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a journey from an application. *
* * @param deleteJourneyRequest * @return Result of the DeleteJourney operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteJourney * @see AWS API * Documentation */ @Override public DeleteJourneyResult deleteJourney(DeleteJourneyRequest request) { request = beforeClientExecution(request); return executeDeleteJourney(request); } @SdkInternalApi final DeleteJourneyResult executeDeleteJourney(DeleteJourneyRequest deleteJourneyRequest) { ExecutionContext executionContext = createExecutionContext(deleteJourneyRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a message template for messages that were sent through a push notification channel. *
* * @param deletePushTemplateRequest * @return Result of the DeletePushTemplate operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeletePushTemplate * @see AWS * API Documentation */ @Override public DeletePushTemplateResult deletePushTemplate(DeletePushTemplateRequest request) { request = beforeClientExecution(request); return executeDeletePushTemplate(request); } @SdkInternalApi final DeletePushTemplateResult executeDeletePushTemplate(DeletePushTemplateRequest deletePushTemplateRequest) { ExecutionContext executionContext = createExecutionContext(deletePushTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes an Amazon Pinpoint configuration for a recommender model. *
* * @param deleteRecommenderConfigurationRequest * @return Result of the DeleteRecommenderConfiguration operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteRecommenderConfiguration * @see AWS API Documentation */ @Override public DeleteRecommenderConfigurationResult deleteRecommenderConfiguration(DeleteRecommenderConfigurationRequest request) { request = beforeClientExecution(request); return executeDeleteRecommenderConfiguration(request); } @SdkInternalApi final DeleteRecommenderConfigurationResult executeDeleteRecommenderConfiguration(DeleteRecommenderConfigurationRequest deleteRecommenderConfigurationRequest) { ExecutionContext executionContext = createExecutionContext(deleteRecommenderConfigurationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a segment from an application. *
* * @param deleteSegmentRequest * @return Result of the DeleteSegment operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteSegment * @see AWS API * Documentation */ @Override public DeleteSegmentResult deleteSegment(DeleteSegmentRequest request) { request = beforeClientExecution(request); return executeDeleteSegment(request); } @SdkInternalApi final DeleteSegmentResult executeDeleteSegment(DeleteSegmentRequest deleteSegmentRequest) { ExecutionContext executionContext = createExecutionContext(deleteSegmentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Disables the SMS channel for an application and deletes any existing settings for the channel. *
* * @param deleteSmsChannelRequest * @return Result of the DeleteSmsChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteSmsChannel * @see AWS API * Documentation */ @Override public DeleteSmsChannelResult deleteSmsChannel(DeleteSmsChannelRequest request) { request = beforeClientExecution(request); return executeDeleteSmsChannel(request); } @SdkInternalApi final DeleteSmsChannelResult executeDeleteSmsChannel(DeleteSmsChannelRequest deleteSmsChannelRequest) { ExecutionContext executionContext = createExecutionContext(deleteSmsChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a message template for messages that were sent through the SMS channel. *
* * @param deleteSmsTemplateRequest * @return Result of the DeleteSmsTemplate operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteSmsTemplate * @see AWS API * Documentation */ @Override public DeleteSmsTemplateResult deleteSmsTemplate(DeleteSmsTemplateRequest request) { request = beforeClientExecution(request); return executeDeleteSmsTemplate(request); } @SdkInternalApi final DeleteSmsTemplateResult executeDeleteSmsTemplate(DeleteSmsTemplateRequest deleteSmsTemplateRequest) { ExecutionContext executionContext = createExecutionContext(deleteSmsTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes all the endpoints that are associated with a specific user ID. *
* * @param deleteUserEndpointsRequest * @return Result of the DeleteUserEndpoints operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteUserEndpoints * @see AWS * API Documentation */ @Override public DeleteUserEndpointsResult deleteUserEndpoints(DeleteUserEndpointsRequest request) { request = beforeClientExecution(request); return executeDeleteUserEndpoints(request); } @SdkInternalApi final DeleteUserEndpointsResult executeDeleteUserEndpoints(DeleteUserEndpointsRequest deleteUserEndpointsRequest) { ExecutionContext executionContext = createExecutionContext(deleteUserEndpointsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Disables the voice channel for an application and deletes any existing settings for the channel. *
* * @param deleteVoiceChannelRequest * @return Result of the DeleteVoiceChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteVoiceChannel * @see AWS * API Documentation */ @Override public DeleteVoiceChannelResult deleteVoiceChannel(DeleteVoiceChannelRequest request) { request = beforeClientExecution(request); return executeDeleteVoiceChannel(request); } @SdkInternalApi final DeleteVoiceChannelResult executeDeleteVoiceChannel(DeleteVoiceChannelRequest deleteVoiceChannelRequest) { ExecutionContext executionContext = createExecutionContext(deleteVoiceChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Deletes a message template for messages that were sent through the voice channel. *
* * @param deleteVoiceTemplateRequest * @return Result of the DeleteVoiceTemplate operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.DeleteVoiceTemplate * @see AWS * API Documentation */ @Override public DeleteVoiceTemplateResult deleteVoiceTemplate(DeleteVoiceTemplateRequest request) { request = beforeClientExecution(request); return executeDeleteVoiceTemplate(request); } @SdkInternalApi final DeleteVoiceTemplateResult executeDeleteVoiceTemplate(DeleteVoiceTemplateRequest deleteVoiceTemplateRequest) { ExecutionContext executionContext = createExecutionContext(deleteVoiceTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the ADM channel for an application. *
* * @param getAdmChannelRequest * @return Result of the GetAdmChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetAdmChannel * @see AWS API * Documentation */ @Override public GetAdmChannelResult getAdmChannel(GetAdmChannelRequest request) { request = beforeClientExecution(request); return executeGetAdmChannel(request); } @SdkInternalApi final GetAdmChannelResult executeGetAdmChannel(GetAdmChannelRequest getAdmChannelRequest) { ExecutionContext executionContext = createExecutionContext(getAdmChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the APNs channel for an application. *
* * @param getApnsChannelRequest * @return Result of the GetApnsChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetApnsChannel * @see AWS API * Documentation */ @Override public GetApnsChannelResult getApnsChannel(GetApnsChannelRequest request) { request = beforeClientExecution(request); return executeGetApnsChannel(request); } @SdkInternalApi final GetApnsChannelResult executeGetApnsChannel(GetApnsChannelRequest getApnsChannelRequest) { ExecutionContext executionContext = createExecutionContext(getApnsChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the APNs sandbox channel for an application. *
* * @param getApnsSandboxChannelRequest * @return Result of the GetApnsSandboxChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetApnsSandboxChannel * @see AWS * API Documentation */ @Override public GetApnsSandboxChannelResult getApnsSandboxChannel(GetApnsSandboxChannelRequest request) { request = beforeClientExecution(request); return executeGetApnsSandboxChannel(request); } @SdkInternalApi final GetApnsSandboxChannelResult executeGetApnsSandboxChannel(GetApnsSandboxChannelRequest getApnsSandboxChannelRequest) { ExecutionContext executionContext = createExecutionContext(getApnsSandboxChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the APNs VoIP channel for an application. *
* * @param getApnsVoipChannelRequest * @return Result of the GetApnsVoipChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetApnsVoipChannel * @see AWS * API Documentation */ @Override public GetApnsVoipChannelResult getApnsVoipChannel(GetApnsVoipChannelRequest request) { request = beforeClientExecution(request); return executeGetApnsVoipChannel(request); } @SdkInternalApi final GetApnsVoipChannelResult executeGetApnsVoipChannel(GetApnsVoipChannelRequest getApnsVoipChannelRequest) { ExecutionContext executionContext = createExecutionContext(getApnsVoipChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application. *
* * @param getApnsVoipSandboxChannelRequest * @return Result of the GetApnsVoipSandboxChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetApnsVoipSandboxChannel * @see AWS API Documentation */ @Override public GetApnsVoipSandboxChannelResult getApnsVoipSandboxChannel(GetApnsVoipSandboxChannelRequest request) { request = beforeClientExecution(request); return executeGetApnsVoipSandboxChannel(request); } @SdkInternalApi final GetApnsVoipSandboxChannelResult executeGetApnsVoipSandboxChannel(GetApnsVoipSandboxChannelRequest getApnsVoipSandboxChannelRequest) { ExecutionContext executionContext = createExecutionContext(getApnsVoipSandboxChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about an application. *
* * @param getAppRequest * @return Result of the GetApp operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetApp * @see AWS API * Documentation */ @Override public GetAppResult getApp(GetAppRequest request) { request = beforeClientExecution(request); return executeGetApp(request); } @SdkInternalApi final GetAppResult executeGetApp(GetAppRequest getAppRequest) { ExecutionContext executionContext = createExecutionContext(getAppRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves (queries) pre-aggregated data for a standard metric that applies to an application. *
* * @param getApplicationDateRangeKpiRequest * @return Result of the GetApplicationDateRangeKpi operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetApplicationDateRangeKpi * @see AWS API Documentation */ @Override public GetApplicationDateRangeKpiResult getApplicationDateRangeKpi(GetApplicationDateRangeKpiRequest request) { request = beforeClientExecution(request); return executeGetApplicationDateRangeKpi(request); } @SdkInternalApi final GetApplicationDateRangeKpiResult executeGetApplicationDateRangeKpi(GetApplicationDateRangeKpiRequest getApplicationDateRangeKpiRequest) { ExecutionContext executionContext = createExecutionContext(getApplicationDateRangeKpiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the settings for an application. *
* * @param getApplicationSettingsRequest * @return Result of the GetApplicationSettings operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetApplicationSettings * @see AWS API Documentation */ @Override public GetApplicationSettingsResult getApplicationSettings(GetApplicationSettingsRequest request) { request = beforeClientExecution(request); return executeGetApplicationSettings(request); } @SdkInternalApi final GetApplicationSettingsResult executeGetApplicationSettings(GetApplicationSettingsRequest getApplicationSettingsRequest) { ExecutionContext executionContext = createExecutionContext(getApplicationSettingsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about all the applications that are associated with your Amazon Pinpoint account. *
* * @param getAppsRequest * @return Result of the GetApps operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetApps * @see AWS API * Documentation */ @Override public GetAppsResult getApps(GetAppsRequest request) { request = beforeClientExecution(request); return executeGetApps(request); } @SdkInternalApi final GetAppsResult executeGetApps(GetAppsRequest getAppsRequest) { ExecutionContext executionContext = createExecutionContext(getAppsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the Baidu channel for an application. *
* * @param getBaiduChannelRequest * @return Result of the GetBaiduChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetBaiduChannel * @see AWS API * Documentation */ @Override public GetBaiduChannelResult getBaiduChannel(GetBaiduChannelRequest request) { request = beforeClientExecution(request); return executeGetBaiduChannel(request); } @SdkInternalApi final GetBaiduChannelResult executeGetBaiduChannel(GetBaiduChannelRequest getBaiduChannelRequest) { ExecutionContext executionContext = createExecutionContext(getBaiduChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status, configuration, and other settings for a campaign. *
* * @param getCampaignRequest * @return Result of the GetCampaign operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetCampaign * @see AWS API * Documentation */ @Override public GetCampaignResult getCampaign(GetCampaignRequest request) { request = beforeClientExecution(request); return executeGetCampaign(request); } @SdkInternalApi final GetCampaignResult executeGetCampaign(GetCampaignRequest getCampaignRequest) { ExecutionContext executionContext = createExecutionContext(getCampaignRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about all the activities for a campaign. *
* * @param getCampaignActivitiesRequest * @return Result of the GetCampaignActivities operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetCampaignActivities * @see AWS * API Documentation */ @Override public GetCampaignActivitiesResult getCampaignActivities(GetCampaignActivitiesRequest request) { request = beforeClientExecution(request); return executeGetCampaignActivities(request); } @SdkInternalApi final GetCampaignActivitiesResult executeGetCampaignActivities(GetCampaignActivitiesRequest getCampaignActivitiesRequest) { ExecutionContext executionContext = createExecutionContext(getCampaignActivitiesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign. *
* * @param getCampaignDateRangeKpiRequest * @return Result of the GetCampaignDateRangeKpi operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetCampaignDateRangeKpi * @see AWS API Documentation */ @Override public GetCampaignDateRangeKpiResult getCampaignDateRangeKpi(GetCampaignDateRangeKpiRequest request) { request = beforeClientExecution(request); return executeGetCampaignDateRangeKpi(request); } @SdkInternalApi final GetCampaignDateRangeKpiResult executeGetCampaignDateRangeKpi(GetCampaignDateRangeKpiRequest getCampaignDateRangeKpiRequest) { ExecutionContext executionContext = createExecutionContext(getCampaignDateRangeKpiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status, configuration, and other settings for a specific version of a campaign. *
* * @param getCampaignVersionRequest * @return Result of the GetCampaignVersion operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetCampaignVersion * @see AWS * API Documentation */ @Override public GetCampaignVersionResult getCampaignVersion(GetCampaignVersionRequest request) { request = beforeClientExecution(request); return executeGetCampaignVersion(request); } @SdkInternalApi final GetCampaignVersionResult executeGetCampaignVersion(GetCampaignVersionRequest getCampaignVersionRequest) { ExecutionContext executionContext = createExecutionContext(getCampaignVersionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status, configuration, and other settings for all versions of a campaign. *
* * @param getCampaignVersionsRequest * @return Result of the GetCampaignVersions operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetCampaignVersions * @see AWS * API Documentation */ @Override public GetCampaignVersionsResult getCampaignVersions(GetCampaignVersionsRequest request) { request = beforeClientExecution(request); return executeGetCampaignVersions(request); } @SdkInternalApi final GetCampaignVersionsResult executeGetCampaignVersions(GetCampaignVersionsRequest getCampaignVersionsRequest) { ExecutionContext executionContext = createExecutionContext(getCampaignVersionsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status, configuration, and other settings for all the campaigns that are * associated with an application. *
* * @param getCampaignsRequest * @return Result of the GetCampaigns operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetCampaigns * @see AWS API * Documentation */ @Override public GetCampaignsResult getCampaigns(GetCampaignsRequest request) { request = beforeClientExecution(request); return executeGetCampaigns(request); } @SdkInternalApi final GetCampaignsResult executeGetCampaigns(GetCampaignsRequest getCampaignsRequest) { ExecutionContext executionContext = createExecutionContext(getCampaignsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the history and status of each channel for an application. *
* * @param getChannelsRequest * @return Result of the GetChannels operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetChannels * @see AWS API * Documentation */ @Override public GetChannelsResult getChannels(GetChannelsRequest request) { request = beforeClientExecution(request); return executeGetChannels(request); } @SdkInternalApi final GetChannelsResult executeGetChannels(GetChannelsRequest getChannelsRequest) { ExecutionContext executionContext = createExecutionContext(getChannelsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the email channel for an application. *
* * @param getEmailChannelRequest * @return Result of the GetEmailChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetEmailChannel * @see AWS API * Documentation */ @Override public GetEmailChannelResult getEmailChannel(GetEmailChannelRequest request) { request = beforeClientExecution(request); return executeGetEmailChannel(request); } @SdkInternalApi final GetEmailChannelResult executeGetEmailChannel(GetEmailChannelRequest getEmailChannelRequest) { ExecutionContext executionContext = createExecutionContext(getEmailChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves the content and settings of a message template for messages that are sent through the email channel. *
* * @param getEmailTemplateRequest * @return Result of the GetEmailTemplate operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetEmailTemplate * @see AWS API * Documentation */ @Override public GetEmailTemplateResult getEmailTemplate(GetEmailTemplateRequest request) { request = beforeClientExecution(request); return executeGetEmailTemplate(request); } @SdkInternalApi final GetEmailTemplateResult executeGetEmailTemplate(GetEmailTemplateRequest getEmailTemplateRequest) { ExecutionContext executionContext = createExecutionContext(getEmailTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the settings and attributes of a specific endpoint for an application. *
* * @param getEndpointRequest * @return Result of the GetEndpoint operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetEndpoint * @see AWS API * Documentation */ @Override public GetEndpointResult getEndpoint(GetEndpointRequest request) { request = beforeClientExecution(request); return executeGetEndpoint(request); } @SdkInternalApi final GetEndpointResult executeGetEndpoint(GetEndpointRequest getEndpointRequest) { ExecutionContext executionContext = createExecutionContext(getEndpointRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the event stream settings for an application. *
* * @param getEventStreamRequest * @return Result of the GetEventStream operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetEventStream * @see AWS API * Documentation */ @Override public GetEventStreamResult getEventStream(GetEventStreamRequest request) { request = beforeClientExecution(request); return executeGetEventStream(request); } @SdkInternalApi final GetEventStreamResult executeGetEventStream(GetEventStreamRequest getEventStreamRequest) { ExecutionContext executionContext = createExecutionContext(getEventStreamRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of a specific export job for an application. *
* * @param getExportJobRequest * @return Result of the GetExportJob operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetExportJob * @see AWS API * Documentation */ @Override public GetExportJobResult getExportJob(GetExportJobRequest request) { request = beforeClientExecution(request); return executeGetExportJob(request); } @SdkInternalApi final GetExportJobResult executeGetExportJob(GetExportJobRequest getExportJobRequest) { ExecutionContext executionContext = createExecutionContext(getExportJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of all the export jobs for an application. *
* * @param getExportJobsRequest * @return Result of the GetExportJobs operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetExportJobs * @see AWS API * Documentation */ @Override public GetExportJobsResult getExportJobs(GetExportJobsRequest request) { request = beforeClientExecution(request); return executeGetExportJobs(request); } @SdkInternalApi final GetExportJobsResult executeGetExportJobs(GetExportJobsRequest getExportJobsRequest) { ExecutionContext executionContext = createExecutionContext(getExportJobsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the GCM channel for an application. *
* * @param getGcmChannelRequest * @return Result of the GetGcmChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetGcmChannel * @see AWS API * Documentation */ @Override public GetGcmChannelResult getGcmChannel(GetGcmChannelRequest request) { request = beforeClientExecution(request); return executeGetGcmChannel(request); } @SdkInternalApi final GetGcmChannelResult executeGetGcmChannel(GetGcmChannelRequest getGcmChannelRequest) { ExecutionContext executionContext = createExecutionContext(getGcmChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of a specific import job for an application. *
* * @param getImportJobRequest * @return Result of the GetImportJob operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetImportJob * @see AWS API * Documentation */ @Override public GetImportJobResult getImportJob(GetImportJobRequest request) { request = beforeClientExecution(request); return executeGetImportJob(request); } @SdkInternalApi final GetImportJobResult executeGetImportJob(GetImportJobRequest getImportJobRequest) { ExecutionContext executionContext = createExecutionContext(getImportJobRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of all the import jobs for an application. *
* * @param getImportJobsRequest * @return Result of the GetImportJobs operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetImportJobs * @see AWS API * Documentation */ @Override public GetImportJobsResult getImportJobs(GetImportJobsRequest request) { request = beforeClientExecution(request); return executeGetImportJobs(request); } @SdkInternalApi final GetImportJobsResult executeGetImportJobs(GetImportJobsRequest getImportJobsRequest) { ExecutionContext executionContext = createExecutionContext(getImportJobsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves the in-app messages targeted for the provided endpoint ID. *
* * @param getInAppMessagesRequest * @return Result of the GetInAppMessages operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetInAppMessages * @see AWS API * Documentation */ @Override public GetInAppMessagesResult getInAppMessages(GetInAppMessagesRequest request) { request = beforeClientExecution(request); return executeGetInAppMessages(request); } @SdkInternalApi final GetInAppMessagesResult executeGetInAppMessages(GetInAppMessagesRequest getInAppMessagesRequest) { ExecutionContext executionContext = createExecutionContext(getInAppMessagesRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves the content and settings of a message template for messages sent through the in-app channel. *
* * @param getInAppTemplateRequest * @return Result of the GetInAppTemplate operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetInAppTemplate * @see AWS API * Documentation */ @Override public GetInAppTemplateResult getInAppTemplate(GetInAppTemplateRequest request) { request = beforeClientExecution(request); return executeGetInAppTemplate(request); } @SdkInternalApi final GetInAppTemplateResult executeGetInAppTemplate(GetInAppTemplateRequest getInAppTemplateRequest) { ExecutionContext executionContext = createExecutionContext(getInAppTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status, configuration, and other settings for a journey. *
* * @param getJourneyRequest * @return Result of the GetJourney operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetJourney * @see AWS API * Documentation */ @Override public GetJourneyResult getJourney(GetJourneyRequest request) { request = beforeClientExecution(request); return executeGetJourney(request); } @SdkInternalApi final GetJourneyResult executeGetJourney(GetJourneyRequest getJourneyRequest) { ExecutionContext executionContext = createExecutionContext(getJourneyRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves (queries) pre-aggregated data for a standard engagement metric that applies to a journey. *
* * @param getJourneyDateRangeKpiRequest * @return Result of the GetJourneyDateRangeKpi operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetJourneyDateRangeKpi * @see AWS API Documentation */ @Override public GetJourneyDateRangeKpiResult getJourneyDateRangeKpi(GetJourneyDateRangeKpiRequest request) { request = beforeClientExecution(request); return executeGetJourneyDateRangeKpi(request); } @SdkInternalApi final GetJourneyDateRangeKpiResult executeGetJourneyDateRangeKpi(GetJourneyDateRangeKpiRequest getJourneyDateRangeKpiRequest) { ExecutionContext executionContext = createExecutionContext(getJourneyDateRangeKpiRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey activity. *
* * @param getJourneyExecutionActivityMetricsRequest * @return Result of the GetJourneyExecutionActivityMetrics operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetJourneyExecutionActivityMetrics * @see AWS API Documentation */ @Override public GetJourneyExecutionActivityMetricsResult getJourneyExecutionActivityMetrics(GetJourneyExecutionActivityMetricsRequest request) { request = beforeClientExecution(request); return executeGetJourneyExecutionActivityMetrics(request); } @SdkInternalApi final GetJourneyExecutionActivityMetricsResult executeGetJourneyExecutionActivityMetrics( GetJourneyExecutionActivityMetricsRequest getJourneyExecutionActivityMetricsRequest) { ExecutionContext executionContext = createExecutionContext(getJourneyExecutionActivityMetricsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey. *
* * @param getJourneyExecutionMetricsRequest * @return Result of the GetJourneyExecutionMetrics operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetJourneyExecutionMetrics * @see AWS API Documentation */ @Override public GetJourneyExecutionMetricsResult getJourneyExecutionMetrics(GetJourneyExecutionMetricsRequest request) { request = beforeClientExecution(request); return executeGetJourneyExecutionMetrics(request); } @SdkInternalApi final GetJourneyExecutionMetricsResult executeGetJourneyExecutionMetrics(GetJourneyExecutionMetricsRequest getJourneyExecutionMetricsRequest) { ExecutionContext executionContext = createExecutionContext(getJourneyExecutionMetricsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey activity. *
* * @param getJourneyRunExecutionActivityMetricsRequest * @return Result of the GetJourneyRunExecutionActivityMetrics operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetJourneyRunExecutionActivityMetrics * @see AWS API Documentation */ @Override public GetJourneyRunExecutionActivityMetricsResult getJourneyRunExecutionActivityMetrics(GetJourneyRunExecutionActivityMetricsRequest request) { request = beforeClientExecution(request); return executeGetJourneyRunExecutionActivityMetrics(request); } @SdkInternalApi final GetJourneyRunExecutionActivityMetricsResult executeGetJourneyRunExecutionActivityMetrics( GetJourneyRunExecutionActivityMetricsRequest getJourneyRunExecutionActivityMetricsRequest) { ExecutionContext executionContext = createExecutionContext(getJourneyRunExecutionActivityMetricsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey. *
* * @param getJourneyRunExecutionMetricsRequest * @return Result of the GetJourneyRunExecutionMetrics operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetJourneyRunExecutionMetrics * @see AWS API Documentation */ @Override public GetJourneyRunExecutionMetricsResult getJourneyRunExecutionMetrics(GetJourneyRunExecutionMetricsRequest request) { request = beforeClientExecution(request); return executeGetJourneyRunExecutionMetrics(request); } @SdkInternalApi final GetJourneyRunExecutionMetricsResult executeGetJourneyRunExecutionMetrics(GetJourneyRunExecutionMetricsRequest getJourneyRunExecutionMetricsRequest) { ExecutionContext executionContext = createExecutionContext(getJourneyRunExecutionMetricsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Provides information about the runs of a journey. *
* * @param getJourneyRunsRequest * @return Result of the GetJourneyRuns operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetJourneyRuns * @see AWS API * Documentation */ @Override public GetJourneyRunsResult getJourneyRuns(GetJourneyRunsRequest request) { request = beforeClientExecution(request); return executeGetJourneyRuns(request); } @SdkInternalApi final GetJourneyRunsResult executeGetJourneyRuns(GetJourneyRunsRequest getJourneyRunsRequest) { ExecutionContext executionContext = createExecutionContext(getJourneyRunsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves the content and settings of a message template for messages that are sent through a push notification * channel. *
* * @param getPushTemplateRequest * @return Result of the GetPushTemplate operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetPushTemplate * @see AWS API * Documentation */ @Override public GetPushTemplateResult getPushTemplate(GetPushTemplateRequest request) { request = beforeClientExecution(request); return executeGetPushTemplate(request); } @SdkInternalApi final GetPushTemplateResult executeGetPushTemplate(GetPushTemplateRequest getPushTemplateRequest) { ExecutionContext executionContext = createExecutionContext(getPushTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about an Amazon Pinpoint configuration for a recommender model. *
* * @param getRecommenderConfigurationRequest * @return Result of the GetRecommenderConfiguration operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetRecommenderConfiguration * @see AWS API Documentation */ @Override public GetRecommenderConfigurationResult getRecommenderConfiguration(GetRecommenderConfigurationRequest request) { request = beforeClientExecution(request); return executeGetRecommenderConfiguration(request); } @SdkInternalApi final GetRecommenderConfigurationResult executeGetRecommenderConfiguration(GetRecommenderConfigurationRequest getRecommenderConfigurationRequest) { ExecutionContext executionContext = createExecutionContext(getRecommenderConfigurationRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about all the recommender model configurations that are associated with your Amazon * Pinpoint account. *
* * @param getRecommenderConfigurationsRequest * @return Result of the GetRecommenderConfigurations operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetRecommenderConfigurations * @see AWS API Documentation */ @Override public GetRecommenderConfigurationsResult getRecommenderConfigurations(GetRecommenderConfigurationsRequest request) { request = beforeClientExecution(request); return executeGetRecommenderConfigurations(request); } @SdkInternalApi final GetRecommenderConfigurationsResult executeGetRecommenderConfigurations(GetRecommenderConfigurationsRequest getRecommenderConfigurationsRequest) { ExecutionContext executionContext = createExecutionContext(getRecommenderConfigurationsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the configuration, dimension, and other settings for a specific segment that's * associated with an application. *
* * @param getSegmentRequest * @return Result of the GetSegment operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetSegment * @see AWS API * Documentation */ @Override public GetSegmentResult getSegment(GetSegmentRequest request) { request = beforeClientExecution(request); return executeGetSegment(request); } @SdkInternalApi final GetSegmentResult executeGetSegment(GetSegmentRequest getSegmentRequest) { ExecutionContext executionContext = createExecutionContext(getSegmentRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the export jobs for a segment. *
* * @param getSegmentExportJobsRequest * @return Result of the GetSegmentExportJobs operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetSegmentExportJobs * @see AWS * API Documentation */ @Override public GetSegmentExportJobsResult getSegmentExportJobs(GetSegmentExportJobsRequest request) { request = beforeClientExecution(request); return executeGetSegmentExportJobs(request); } @SdkInternalApi final GetSegmentExportJobsResult executeGetSegmentExportJobs(GetSegmentExportJobsRequest getSegmentExportJobsRequest) { ExecutionContext executionContext = createExecutionContext(getSegmentExportJobsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the import jobs for a segment. *
* * @param getSegmentImportJobsRequest * @return Result of the GetSegmentImportJobs operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetSegmentImportJobs * @see AWS * API Documentation */ @Override public GetSegmentImportJobsResult getSegmentImportJobs(GetSegmentImportJobsRequest request) { request = beforeClientExecution(request); return executeGetSegmentImportJobs(request); } @SdkInternalApi final GetSegmentImportJobsResult executeGetSegmentImportJobs(GetSegmentImportJobsRequest getSegmentImportJobsRequest) { ExecutionContext executionContext = createExecutionContext(getSegmentImportJobsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the configuration, dimension, and other settings for a specific version of a segment * that's associated with an application. *
* * @param getSegmentVersionRequest * @return Result of the GetSegmentVersion operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetSegmentVersion * @see AWS API * Documentation */ @Override public GetSegmentVersionResult getSegmentVersion(GetSegmentVersionRequest request) { request = beforeClientExecution(request); return executeGetSegmentVersion(request); } @SdkInternalApi final GetSegmentVersionResult executeGetSegmentVersion(GetSegmentVersionRequest getSegmentVersionRequest) { ExecutionContext executionContext = createExecutionContext(getSegmentVersionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the configuration, dimension, and other settings for all the versions of a specific * segment that's associated with an application. *
* * @param getSegmentVersionsRequest * @return Result of the GetSegmentVersions operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetSegmentVersions * @see AWS * API Documentation */ @Override public GetSegmentVersionsResult getSegmentVersions(GetSegmentVersionsRequest request) { request = beforeClientExecution(request); return executeGetSegmentVersions(request); } @SdkInternalApi final GetSegmentVersionsResult executeGetSegmentVersions(GetSegmentVersionsRequest getSegmentVersionsRequest) { ExecutionContext executionContext = createExecutionContext(getSegmentVersionsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the configuration, dimension, and other settings for all the segments that are * associated with an application. *
* * @param getSegmentsRequest * @return Result of the GetSegments operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetSegments * @see AWS API * Documentation */ @Override public GetSegmentsResult getSegments(GetSegmentsRequest request) { request = beforeClientExecution(request); return executeGetSegments(request); } @SdkInternalApi final GetSegmentsResult executeGetSegments(GetSegmentsRequest getSegmentsRequest) { ExecutionContext executionContext = createExecutionContext(getSegmentsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the SMS channel for an application. *
* * @param getSmsChannelRequest * @return Result of the GetSmsChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetSmsChannel * @see AWS API * Documentation */ @Override public GetSmsChannelResult getSmsChannel(GetSmsChannelRequest request) { request = beforeClientExecution(request); return executeGetSmsChannel(request); } @SdkInternalApi final GetSmsChannelResult executeGetSmsChannel(GetSmsChannelRequest getSmsChannelRequest) { ExecutionContext executionContext = createExecutionContext(getSmsChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves the content and settings of a message template for messages that are sent through the SMS channel. *
* * @param getSmsTemplateRequest * @return Result of the GetSmsTemplate operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetSmsTemplate * @see AWS API * Documentation */ @Override public GetSmsTemplateResult getSmsTemplate(GetSmsTemplateRequest request) { request = beforeClientExecution(request); return executeGetSmsTemplate(request); } @SdkInternalApi final GetSmsTemplateResult executeGetSmsTemplate(GetSmsTemplateRequest getSmsTemplateRequest) { ExecutionContext executionContext = createExecutionContext(getSmsTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about all the endpoints that are associated with a specific user ID. *
* * @param getUserEndpointsRequest * @return Result of the GetUserEndpoints operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetUserEndpoints * @see AWS API * Documentation */ @Override public GetUserEndpointsResult getUserEndpoints(GetUserEndpointsRequest request) { request = beforeClientExecution(request); return executeGetUserEndpoints(request); } @SdkInternalApi final GetUserEndpointsResult executeGetUserEndpoints(GetUserEndpointsRequest getUserEndpointsRequest) { ExecutionContext executionContext = createExecutionContext(getUserEndpointsRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status and settings of the voice channel for an application. *
* * @param getVoiceChannelRequest * @return Result of the GetVoiceChannel operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetVoiceChannel * @see AWS API * Documentation */ @Override public GetVoiceChannelResult getVoiceChannel(GetVoiceChannelRequest request) { request = beforeClientExecution(request); return executeGetVoiceChannel(request); } @SdkInternalApi final GetVoiceChannelResult executeGetVoiceChannel(GetVoiceChannelRequest getVoiceChannelRequest) { ExecutionContext executionContext = createExecutionContext(getVoiceChannelRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves the content and settings of a message template for messages that are sent through the voice channel. *
* * @param getVoiceTemplateRequest * @return Result of the GetVoiceTemplate operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.GetVoiceTemplate * @see AWS API * Documentation */ @Override public GetVoiceTemplateResult getVoiceTemplate(GetVoiceTemplateRequest request) { request = beforeClientExecution(request); return executeGetVoiceTemplate(request); } @SdkInternalApi final GetVoiceTemplateResult executeGetVoiceTemplate(GetVoiceTemplateRequest getVoiceTemplateRequest) { ExecutionContext executionContext = createExecutionContext(getVoiceTemplateRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request* Retrieves information about the status, configuration, and other settings for all the journeys that are * associated with an application. *
* * @param listJourneysRequest * @return Result of the ListJourneys operation returned by the service. * @throws BadRequestException * The request contains a syntax error (BadRequestException). * @throws InternalServerErrorException * The request failed due to an unknown internal server error, exception, or failure * (InternalServerErrorException). * @throws PayloadTooLargeException * The request failed because the payload for the body of the request is too large * (RequestEntityTooLargeException). * @throws ForbiddenException * The request was denied because access to the specified resource is forbidden (ForbiddenException). * @throws NotFoundException * The request failed because the specified resource was not found (NotFoundException). * @throws MethodNotAllowedException * The request failed because the method is not allowed for the specified resource * (MethodNotAllowedException). * @throws TooManyRequestsException * The request failed because too many requests were sent during a certain amount of time * (TooManyRequestsException). * @sample AmazonPinpoint.ListJourneys * @see AWS API * Documentation */ @Override public ListJourneysResult listJourneys(ListJourneysRequest request) { request = beforeClientExecution(request); return executeListJourneys(request); } @SdkInternalApi final ListJourneysResult executeListJourneys(ListJourneysRequest listJourneysRequest) { ExecutionContext executionContext = createExecutionContext(listJourneysRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request