software.amazon.awssdk.services.pinpoint.PinpointClient Maven / Gradle / Ivy
Show all versions of pinpoint Show documentation
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.pinpoint;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.pinpoint.model.BadRequestException;
import software.amazon.awssdk.services.pinpoint.model.ConflictException;
import software.amazon.awssdk.services.pinpoint.model.CreateAppRequest;
import software.amazon.awssdk.services.pinpoint.model.CreateAppResponse;
import software.amazon.awssdk.services.pinpoint.model.CreateCampaignRequest;
import software.amazon.awssdk.services.pinpoint.model.CreateCampaignResponse;
import software.amazon.awssdk.services.pinpoint.model.CreateEmailTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.CreateEmailTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.CreateExportJobRequest;
import software.amazon.awssdk.services.pinpoint.model.CreateExportJobResponse;
import software.amazon.awssdk.services.pinpoint.model.CreateImportJobRequest;
import software.amazon.awssdk.services.pinpoint.model.CreateImportJobResponse;
import software.amazon.awssdk.services.pinpoint.model.CreateInAppTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.CreateInAppTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.CreateJourneyRequest;
import software.amazon.awssdk.services.pinpoint.model.CreateJourneyResponse;
import software.amazon.awssdk.services.pinpoint.model.CreatePushTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.CreatePushTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.CreateRecommenderConfigurationRequest;
import software.amazon.awssdk.services.pinpoint.model.CreateRecommenderConfigurationResponse;
import software.amazon.awssdk.services.pinpoint.model.CreateSegmentRequest;
import software.amazon.awssdk.services.pinpoint.model.CreateSegmentResponse;
import software.amazon.awssdk.services.pinpoint.model.CreateSmsTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.CreateSmsTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.CreateVoiceTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.CreateVoiceTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteAdmChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteAdmChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteApnsChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteApnsChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteApnsSandboxChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteApnsSandboxChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteApnsVoipChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteApnsVoipChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteApnsVoipSandboxChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteApnsVoipSandboxChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteAppRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteAppResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteBaiduChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteBaiduChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteCampaignRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteCampaignResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteEmailChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteEmailChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteEmailTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteEmailTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteEndpointRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteEndpointResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteEventStreamRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteEventStreamResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteGcmChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteGcmChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteInAppTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteInAppTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteJourneyRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteJourneyResponse;
import software.amazon.awssdk.services.pinpoint.model.DeletePushTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.DeletePushTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteRecommenderConfigurationRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteRecommenderConfigurationResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteSegmentRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteSegmentResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteSmsChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteSmsChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteSmsTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteSmsTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteUserEndpointsRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteUserEndpointsResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteVoiceChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteVoiceChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.DeleteVoiceTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.DeleteVoiceTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.ForbiddenException;
import software.amazon.awssdk.services.pinpoint.model.GetAdmChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.GetAdmChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.GetApnsChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.GetApnsChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.GetApnsSandboxChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.GetApnsSandboxChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.GetApnsVoipChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.GetApnsVoipChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.GetApnsVoipSandboxChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.GetApnsVoipSandboxChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.GetAppRequest;
import software.amazon.awssdk.services.pinpoint.model.GetAppResponse;
import software.amazon.awssdk.services.pinpoint.model.GetApplicationDateRangeKpiRequest;
import software.amazon.awssdk.services.pinpoint.model.GetApplicationDateRangeKpiResponse;
import software.amazon.awssdk.services.pinpoint.model.GetApplicationSettingsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetApplicationSettingsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetAppsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetAppsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetBaiduChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.GetBaiduChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignActivitiesRequest;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignActivitiesResponse;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignDateRangeKpiRequest;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignDateRangeKpiResponse;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignRequest;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignResponse;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignVersionRequest;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignVersionResponse;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignVersionsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignVersionsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetCampaignsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetChannelsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetChannelsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetEmailChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.GetEmailChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.GetEmailTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.GetEmailTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.GetEndpointRequest;
import software.amazon.awssdk.services.pinpoint.model.GetEndpointResponse;
import software.amazon.awssdk.services.pinpoint.model.GetEventStreamRequest;
import software.amazon.awssdk.services.pinpoint.model.GetEventStreamResponse;
import software.amazon.awssdk.services.pinpoint.model.GetExportJobRequest;
import software.amazon.awssdk.services.pinpoint.model.GetExportJobResponse;
import software.amazon.awssdk.services.pinpoint.model.GetExportJobsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetExportJobsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetGcmChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.GetGcmChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.GetImportJobRequest;
import software.amazon.awssdk.services.pinpoint.model.GetImportJobResponse;
import software.amazon.awssdk.services.pinpoint.model.GetImportJobsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetImportJobsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetInAppMessagesRequest;
import software.amazon.awssdk.services.pinpoint.model.GetInAppMessagesResponse;
import software.amazon.awssdk.services.pinpoint.model.GetInAppTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.GetInAppTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.GetJourneyDateRangeKpiRequest;
import software.amazon.awssdk.services.pinpoint.model.GetJourneyDateRangeKpiResponse;
import software.amazon.awssdk.services.pinpoint.model.GetJourneyExecutionActivityMetricsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetJourneyExecutionActivityMetricsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetJourneyExecutionMetricsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetJourneyExecutionMetricsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetJourneyRequest;
import software.amazon.awssdk.services.pinpoint.model.GetJourneyResponse;
import software.amazon.awssdk.services.pinpoint.model.GetPushTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.GetPushTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.GetRecommenderConfigurationRequest;
import software.amazon.awssdk.services.pinpoint.model.GetRecommenderConfigurationResponse;
import software.amazon.awssdk.services.pinpoint.model.GetRecommenderConfigurationsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetRecommenderConfigurationsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentExportJobsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentExportJobsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentImportJobsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentImportJobsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentRequest;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentResponse;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentVersionRequest;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentVersionResponse;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentVersionsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentVersionsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetSegmentsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetSmsChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.GetSmsChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.GetSmsTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.GetSmsTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.GetUserEndpointsRequest;
import software.amazon.awssdk.services.pinpoint.model.GetUserEndpointsResponse;
import software.amazon.awssdk.services.pinpoint.model.GetVoiceChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.GetVoiceChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.GetVoiceTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.GetVoiceTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.InternalServerErrorException;
import software.amazon.awssdk.services.pinpoint.model.ListJourneysRequest;
import software.amazon.awssdk.services.pinpoint.model.ListJourneysResponse;
import software.amazon.awssdk.services.pinpoint.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.pinpoint.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.pinpoint.model.ListTemplateVersionsRequest;
import software.amazon.awssdk.services.pinpoint.model.ListTemplateVersionsResponse;
import software.amazon.awssdk.services.pinpoint.model.ListTemplatesRequest;
import software.amazon.awssdk.services.pinpoint.model.ListTemplatesResponse;
import software.amazon.awssdk.services.pinpoint.model.MethodNotAllowedException;
import software.amazon.awssdk.services.pinpoint.model.NotFoundException;
import software.amazon.awssdk.services.pinpoint.model.PayloadTooLargeException;
import software.amazon.awssdk.services.pinpoint.model.PhoneNumberValidateRequest;
import software.amazon.awssdk.services.pinpoint.model.PhoneNumberValidateResponse;
import software.amazon.awssdk.services.pinpoint.model.PinpointException;
import software.amazon.awssdk.services.pinpoint.model.PutEventStreamRequest;
import software.amazon.awssdk.services.pinpoint.model.PutEventStreamResponse;
import software.amazon.awssdk.services.pinpoint.model.PutEventsRequest;
import software.amazon.awssdk.services.pinpoint.model.PutEventsResponse;
import software.amazon.awssdk.services.pinpoint.model.RemoveAttributesRequest;
import software.amazon.awssdk.services.pinpoint.model.RemoveAttributesResponse;
import software.amazon.awssdk.services.pinpoint.model.SendMessagesRequest;
import software.amazon.awssdk.services.pinpoint.model.SendMessagesResponse;
import software.amazon.awssdk.services.pinpoint.model.SendUsersMessagesRequest;
import software.amazon.awssdk.services.pinpoint.model.SendUsersMessagesResponse;
import software.amazon.awssdk.services.pinpoint.model.TagResourceRequest;
import software.amazon.awssdk.services.pinpoint.model.TagResourceResponse;
import software.amazon.awssdk.services.pinpoint.model.TooManyRequestsException;
import software.amazon.awssdk.services.pinpoint.model.UntagResourceRequest;
import software.amazon.awssdk.services.pinpoint.model.UntagResourceResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateAdmChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateAdmChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateApnsChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateApnsChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateApnsSandboxChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateApnsSandboxChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateApnsVoipChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateApnsVoipChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateApnsVoipSandboxChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateApnsVoipSandboxChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateApplicationSettingsRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateApplicationSettingsResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateBaiduChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateBaiduChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateCampaignRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateCampaignResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateEmailChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateEmailChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateEmailTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateEmailTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateEndpointRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateEndpointResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateEndpointsBatchRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateEndpointsBatchResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateGcmChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateGcmChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateInAppTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateInAppTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateJourneyRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateJourneyResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateJourneyStateRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateJourneyStateResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdatePushTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdatePushTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateRecommenderConfigurationRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateRecommenderConfigurationResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateSegmentRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateSegmentResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateSmsChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateSmsChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateSmsTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateSmsTemplateResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateTemplateActiveVersionRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateTemplateActiveVersionResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateVoiceChannelRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateVoiceChannelResponse;
import software.amazon.awssdk.services.pinpoint.model.UpdateVoiceTemplateRequest;
import software.amazon.awssdk.services.pinpoint.model.UpdateVoiceTemplateResponse;
/**
* Service client for accessing Amazon Pinpoint. This can be created using the static {@link #builder()} method.
*
*
* Doc Engage API - Amazon Pinpoint API
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface PinpointClient extends SdkClient {
String SERVICE_NAME = "mobiletargeting";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "pinpoint";
/**
* Create a {@link PinpointClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static PinpointClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link PinpointClient}.
*/
static PinpointClientBuilder builder() {
return new DefaultPinpointClientBuilder();
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateApp
* @see AWS API
* Documentation
*/
default CreateAppResponse createApp(CreateAppRequest createAppRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates an application.
*
*
*
* This is a convenience which creates an instance of the {@link CreateAppRequest.Builder} avoiding the need to
* create one manually via {@link CreateAppRequest#builder()}
*
*
* @param createAppRequest
* A {@link Consumer} that will call methods on {@link CreateAppRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateApp
* @see AWS API
* Documentation
*/
default CreateAppResponse createApp(Consumer createAppRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return createApp(CreateAppRequest.builder().applyMutation(createAppRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateCampaign
* @see AWS API
* Documentation
*/
default CreateCampaignResponse createCampaign(CreateCampaignRequest createCampaignRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new campaign for an application or updates the settings of an existing campaign for an application.
*
*
*
* This is a convenience which creates an instance of the {@link CreateCampaignRequest.Builder} avoiding the need to
* create one manually via {@link CreateCampaignRequest#builder()}
*
*
* @param createCampaignRequest
* A {@link Consumer} that will call methods on {@link CreateCampaignRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateCampaign
* @see AWS API
* Documentation
*/
default CreateCampaignResponse createCampaign(Consumer createCampaignRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return createCampaign(CreateCampaignRequest.builder().applyMutation(createCampaignRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateEmailTemplate
* @see AWS
* API Documentation
*/
default CreateEmailTemplateResponse createEmailTemplate(CreateEmailTemplateRequest createEmailTemplateRequest)
throws MethodNotAllowedException, TooManyRequestsException, BadRequestException, InternalServerErrorException,
ForbiddenException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a message template for messages that are sent through the email channel.
*
*
*
* This is a convenience which creates an instance of the {@link CreateEmailTemplateRequest.Builder} avoiding the
* need to create one manually via {@link CreateEmailTemplateRequest#builder()}
*
*
* @param createEmailTemplateRequest
* A {@link Consumer} that will call methods on {@link CreateEmailTemplateRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateEmailTemplate
* @see AWS
* API Documentation
*/
default CreateEmailTemplateResponse createEmailTemplate(
Consumer createEmailTemplateRequest) throws MethodNotAllowedException,
TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException,
SdkClientException, PinpointException {
return createEmailTemplate(CreateEmailTemplateRequest.builder().applyMutation(createEmailTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateExportJob
* @see AWS API
* Documentation
*/
default CreateExportJobResponse createExportJob(CreateExportJobRequest createExportJobRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates an export job for an application.
*
*
*
* This is a convenience which creates an instance of the {@link CreateExportJobRequest.Builder} avoiding the need
* to create one manually via {@link CreateExportJobRequest#builder()}
*
*
* @param createExportJobRequest
* A {@link Consumer} that will call methods on {@link CreateExportJobRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateExportJob
* @see AWS API
* Documentation
*/
default CreateExportJobResponse createExportJob(Consumer createExportJobRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return createExportJob(CreateExportJobRequest.builder().applyMutation(createExportJobRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateImportJob
* @see AWS API
* Documentation
*/
default CreateImportJobResponse createImportJob(CreateImportJobRequest createImportJobRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates an import job for an application.
*
*
*
* This is a convenience which creates an instance of the {@link CreateImportJobRequest.Builder} avoiding the need
* to create one manually via {@link CreateImportJobRequest#builder()}
*
*
* @param createImportJobRequest
* A {@link Consumer} that will call methods on {@link CreateImportJobRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateImportJob
* @see AWS API
* Documentation
*/
default CreateImportJobResponse createImportJob(Consumer createImportJobRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return createImportJob(CreateImportJobRequest.builder().applyMutation(createImportJobRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateInAppTemplate
* @see AWS
* API Documentation
*/
default CreateInAppTemplateResponse createInAppTemplate(CreateInAppTemplateRequest createInAppTemplateRequest)
throws MethodNotAllowedException, TooManyRequestsException, BadRequestException, InternalServerErrorException,
ForbiddenException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new message template for messages using the in-app message channel.
*
*
*
* This is a convenience which creates an instance of the {@link CreateInAppTemplateRequest.Builder} avoiding the
* need to create one manually via {@link CreateInAppTemplateRequest#builder()}
*
*
* @param createInAppTemplateRequest
* A {@link Consumer} that will call methods on {@link CreateInAppTemplateRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateInAppTemplate
* @see AWS
* API Documentation
*/
default CreateInAppTemplateResponse createInAppTemplate(
Consumer createInAppTemplateRequest) throws MethodNotAllowedException,
TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException,
SdkClientException, PinpointException {
return createInAppTemplate(CreateInAppTemplateRequest.builder().applyMutation(createInAppTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateJourney
* @see AWS API
* Documentation
*/
default CreateJourneyResponse createJourney(CreateJourneyRequest createJourneyRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a journey for an application.
*
*
*
* This is a convenience which creates an instance of the {@link CreateJourneyRequest.Builder} avoiding the need to
* create one manually via {@link CreateJourneyRequest#builder()}
*
*
* @param createJourneyRequest
* A {@link Consumer} that will call methods on {@link CreateJourneyRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateJourney
* @see AWS API
* Documentation
*/
default CreateJourneyResponse createJourney(Consumer createJourneyRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return createJourney(CreateJourneyRequest.builder().applyMutation(createJourneyRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreatePushTemplate
* @see AWS
* API Documentation
*/
default CreatePushTemplateResponse createPushTemplate(CreatePushTemplateRequest createPushTemplateRequest)
throws MethodNotAllowedException, TooManyRequestsException, BadRequestException, InternalServerErrorException,
ForbiddenException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a message template for messages that are sent through a push notification channel.
*
*
*
* This is a convenience which creates an instance of the {@link CreatePushTemplateRequest.Builder} avoiding the
* need to create one manually via {@link CreatePushTemplateRequest#builder()}
*
*
* @param createPushTemplateRequest
* A {@link Consumer} that will call methods on {@link CreatePushTemplateRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreatePushTemplate
* @see AWS
* API Documentation
*/
default CreatePushTemplateResponse createPushTemplate(Consumer createPushTemplateRequest)
throws MethodNotAllowedException, TooManyRequestsException, BadRequestException, InternalServerErrorException,
ForbiddenException, AwsServiceException, SdkClientException, PinpointException {
return createPushTemplate(CreatePushTemplateRequest.builder().applyMutation(createPushTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateRecommenderConfiguration
* @see AWS API Documentation
*/
default CreateRecommenderConfigurationResponse createRecommenderConfiguration(
CreateRecommenderConfigurationRequest createRecommenderConfigurationRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates an Amazon Pinpoint configuration for a recommender model.
*
*
*
* This is a convenience which creates an instance of the {@link CreateRecommenderConfigurationRequest.Builder}
* avoiding the need to create one manually via {@link CreateRecommenderConfigurationRequest#builder()}
*
*
* @param createRecommenderConfigurationRequest
* A {@link Consumer} that will call methods on {@link CreateRecommenderConfigurationRequest.Builder} to
* create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateRecommenderConfiguration
* @see AWS API Documentation
*/
default CreateRecommenderConfigurationResponse createRecommenderConfiguration(
Consumer createRecommenderConfigurationRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return createRecommenderConfiguration(CreateRecommenderConfigurationRequest.builder()
.applyMutation(createRecommenderConfigurationRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateSegment
* @see AWS API
* Documentation
*/
default CreateSegmentResponse createSegment(CreateSegmentRequest createSegmentRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link CreateSegmentRequest.Builder} avoiding the need to
* create one manually via {@link CreateSegmentRequest#builder()}
*
*
* @param createSegmentRequest
* A {@link Consumer} that will call methods on {@link CreateSegmentRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateSegment
* @see AWS API
* Documentation
*/
default CreateSegmentResponse createSegment(Consumer createSegmentRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return createSegment(CreateSegmentRequest.builder().applyMutation(createSegmentRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateSmsTemplate
* @see AWS
* API Documentation
*/
default CreateSmsTemplateResponse createSmsTemplate(CreateSmsTemplateRequest createSmsTemplateRequest)
throws MethodNotAllowedException, TooManyRequestsException, BadRequestException, InternalServerErrorException,
ForbiddenException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a message template for messages that are sent through the SMS channel.
*
*
*
* This is a convenience which creates an instance of the {@link CreateSmsTemplateRequest.Builder} avoiding the need
* to create one manually via {@link CreateSmsTemplateRequest#builder()}
*
*
* @param createSmsTemplateRequest
* A {@link Consumer} that will call methods on {@link CreateSmsTemplateRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateSmsTemplate
* @see AWS
* API Documentation
*/
default CreateSmsTemplateResponse createSmsTemplate(Consumer createSmsTemplateRequest)
throws MethodNotAllowedException, TooManyRequestsException, BadRequestException, InternalServerErrorException,
ForbiddenException, AwsServiceException, SdkClientException, PinpointException {
return createSmsTemplate(CreateSmsTemplateRequest.builder().applyMutation(createSmsTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateVoiceTemplate
* @see AWS
* API Documentation
*/
default CreateVoiceTemplateResponse createVoiceTemplate(CreateVoiceTemplateRequest createVoiceTemplateRequest)
throws MethodNotAllowedException, TooManyRequestsException, BadRequestException, InternalServerErrorException,
ForbiddenException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a message template for messages that are sent through the voice channel.
*
*
*
* This is a convenience which creates an instance of the {@link CreateVoiceTemplateRequest.Builder} avoiding the
* need to create one manually via {@link CreateVoiceTemplateRequest#builder()}
*
*
* @param createVoiceTemplateRequest
* A {@link Consumer} that will call methods on {@link CreateVoiceTemplateRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.CreateVoiceTemplate
* @see AWS
* API Documentation
*/
default CreateVoiceTemplateResponse createVoiceTemplate(
Consumer createVoiceTemplateRequest) throws MethodNotAllowedException,
TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException,
SdkClientException, PinpointException {
return createVoiceTemplate(CreateVoiceTemplateRequest.builder().applyMutation(createVoiceTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteAdmChannel
* @see AWS API
* Documentation
*/
default DeleteAdmChannelResponse deleteAdmChannel(DeleteAdmChannelRequest deleteAdmChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Disables the ADM channel for an application and deletes any existing settings for the channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteAdmChannelRequest.Builder} avoiding the need
* to create one manually via {@link DeleteAdmChannelRequest#builder()}
*
*
* @param deleteAdmChannelRequest
* A {@link Consumer} that will call methods on {@link DeleteAdmChannelRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteAdmChannel
* @see AWS API
* Documentation
*/
default DeleteAdmChannelResponse deleteAdmChannel(Consumer deleteAdmChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteAdmChannel(DeleteAdmChannelRequest.builder().applyMutation(deleteAdmChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteApnsChannel
* @see AWS
* API Documentation
*/
default DeleteApnsChannelResponse deleteApnsChannel(DeleteApnsChannelRequest deleteApnsChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Disables the APNs channel for an application and deletes any existing settings for the channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteApnsChannelRequest.Builder} avoiding the need
* to create one manually via {@link DeleteApnsChannelRequest#builder()}
*
*
* @param deleteApnsChannelRequest
* A {@link Consumer} that will call methods on {@link DeleteApnsChannelRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteApnsChannel
* @see AWS
* API Documentation
*/
default DeleteApnsChannelResponse deleteApnsChannel(Consumer deleteApnsChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteApnsChannel(DeleteApnsChannelRequest.builder().applyMutation(deleteApnsChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteApnsSandboxChannel
* @see AWS API Documentation
*/
default DeleteApnsSandboxChannelResponse deleteApnsSandboxChannel(
DeleteApnsSandboxChannelRequest deleteApnsSandboxChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Disables the APNs sandbox channel for an application and deletes any existing settings for the channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteApnsSandboxChannelRequest.Builder} avoiding
* the need to create one manually via {@link DeleteApnsSandboxChannelRequest#builder()}
*
*
* @param deleteApnsSandboxChannelRequest
* A {@link Consumer} that will call methods on {@link DeleteApnsSandboxChannelRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteApnsSandboxChannel
* @see AWS API Documentation
*/
default DeleteApnsSandboxChannelResponse deleteApnsSandboxChannel(
Consumer deleteApnsSandboxChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return deleteApnsSandboxChannel(DeleteApnsSandboxChannelRequest.builder().applyMutation(deleteApnsSandboxChannelRequest)
.build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteApnsVoipChannel
* @see AWS API Documentation
*/
default DeleteApnsVoipChannelResponse deleteApnsVoipChannel(DeleteApnsVoipChannelRequest deleteApnsVoipChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Disables the APNs VoIP channel for an application and deletes any existing settings for the channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteApnsVoipChannelRequest.Builder} avoiding the
* need to create one manually via {@link DeleteApnsVoipChannelRequest#builder()}
*
*
* @param deleteApnsVoipChannelRequest
* A {@link Consumer} that will call methods on {@link DeleteApnsVoipChannelRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteApnsVoipChannel
* @see AWS API Documentation
*/
default DeleteApnsVoipChannelResponse deleteApnsVoipChannel(
Consumer deleteApnsVoipChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return deleteApnsVoipChannel(DeleteApnsVoipChannelRequest.builder().applyMutation(deleteApnsVoipChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteApnsVoipSandboxChannel
* @see AWS API Documentation
*/
default DeleteApnsVoipSandboxChannelResponse deleteApnsVoipSandboxChannel(
DeleteApnsVoipSandboxChannelRequest deleteApnsVoipSandboxChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteApnsVoipSandboxChannelRequest.Builder}
* avoiding the need to create one manually via {@link DeleteApnsVoipSandboxChannelRequest#builder()}
*
*
* @param deleteApnsVoipSandboxChannelRequest
* A {@link Consumer} that will call methods on {@link DeleteApnsVoipSandboxChannelRequest.Builder} to create
* a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteApnsVoipSandboxChannel
* @see AWS API Documentation
*/
default DeleteApnsVoipSandboxChannelResponse deleteApnsVoipSandboxChannel(
Consumer deleteApnsVoipSandboxChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteApnsVoipSandboxChannel(DeleteApnsVoipSandboxChannelRequest.builder()
.applyMutation(deleteApnsVoipSandboxChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteApp
* @see AWS API
* Documentation
*/
default DeleteAppResponse deleteApp(DeleteAppRequest deleteAppRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an application.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteAppRequest.Builder} avoiding the need to
* create one manually via {@link DeleteAppRequest#builder()}
*
*
* @param deleteAppRequest
* A {@link Consumer} that will call methods on {@link DeleteAppRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteApp
* @see AWS API
* Documentation
*/
default DeleteAppResponse deleteApp(Consumer deleteAppRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return deleteApp(DeleteAppRequest.builder().applyMutation(deleteAppRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteBaiduChannel
* @see AWS
* API Documentation
*/
default DeleteBaiduChannelResponse deleteBaiduChannel(DeleteBaiduChannelRequest deleteBaiduChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Disables the Baidu channel for an application and deletes any existing settings for the channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteBaiduChannelRequest.Builder} avoiding the
* need to create one manually via {@link DeleteBaiduChannelRequest#builder()}
*
*
* @param deleteBaiduChannelRequest
* A {@link Consumer} that will call methods on {@link DeleteBaiduChannelRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteBaiduChannel
* @see AWS
* API Documentation
*/
default DeleteBaiduChannelResponse deleteBaiduChannel(Consumer deleteBaiduChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteBaiduChannel(DeleteBaiduChannelRequest.builder().applyMutation(deleteBaiduChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteCampaign
* @see AWS API
* Documentation
*/
default DeleteCampaignResponse deleteCampaign(DeleteCampaignRequest deleteCampaignRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a campaign from an application.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteCampaignRequest.Builder} avoiding the need to
* create one manually via {@link DeleteCampaignRequest#builder()}
*
*
* @param deleteCampaignRequest
* A {@link Consumer} that will call methods on {@link DeleteCampaignRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteCampaign
* @see AWS API
* Documentation
*/
default DeleteCampaignResponse deleteCampaign(Consumer deleteCampaignRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteCampaign(DeleteCampaignRequest.builder().applyMutation(deleteCampaignRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteEmailChannel
* @see AWS
* API Documentation
*/
default DeleteEmailChannelResponse deleteEmailChannel(DeleteEmailChannelRequest deleteEmailChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Disables the email channel for an application and deletes any existing settings for the channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteEmailChannelRequest.Builder} avoiding the
* need to create one manually via {@link DeleteEmailChannelRequest#builder()}
*
*
* @param deleteEmailChannelRequest
* A {@link Consumer} that will call methods on {@link DeleteEmailChannelRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteEmailChannel
* @see AWS
* API Documentation
*/
default DeleteEmailChannelResponse deleteEmailChannel(Consumer deleteEmailChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteEmailChannel(DeleteEmailChannelRequest.builder().applyMutation(deleteEmailChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteEmailTemplate
* @see AWS
* API Documentation
*/
default DeleteEmailTemplateResponse deleteEmailTemplate(DeleteEmailTemplateRequest deleteEmailTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a message template for messages that were sent through the email channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteEmailTemplateRequest.Builder} avoiding the
* need to create one manually via {@link DeleteEmailTemplateRequest#builder()}
*
*
* @param deleteEmailTemplateRequest
* A {@link Consumer} that will call methods on {@link DeleteEmailTemplateRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteEmailTemplate
* @see AWS
* API Documentation
*/
default DeleteEmailTemplateResponse deleteEmailTemplate(
Consumer deleteEmailTemplateRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return deleteEmailTemplate(DeleteEmailTemplateRequest.builder().applyMutation(deleteEmailTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteEndpoint
* @see AWS API
* Documentation
*/
default DeleteEndpointResponse deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an endpoint from an application.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteEndpointRequest.Builder} avoiding the need to
* create one manually via {@link DeleteEndpointRequest#builder()}
*
*
* @param deleteEndpointRequest
* A {@link Consumer} that will call methods on {@link DeleteEndpointRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteEndpoint
* @see AWS API
* Documentation
*/
default DeleteEndpointResponse deleteEndpoint(Consumer deleteEndpointRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteEndpoint(DeleteEndpointRequest.builder().applyMutation(deleteEndpointRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteEventStream
* @see AWS
* API Documentation
*/
default DeleteEventStreamResponse deleteEventStream(DeleteEventStreamRequest deleteEventStreamRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the event stream for an application.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteEventStreamRequest.Builder} avoiding the need
* to create one manually via {@link DeleteEventStreamRequest#builder()}
*
*
* @param deleteEventStreamRequest
* A {@link Consumer} that will call methods on {@link DeleteEventStreamRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteEventStream
* @see AWS
* API Documentation
*/
default DeleteEventStreamResponse deleteEventStream(Consumer deleteEventStreamRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteEventStream(DeleteEventStreamRequest.builder().applyMutation(deleteEventStreamRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteGcmChannel
* @see AWS API
* Documentation
*/
default DeleteGcmChannelResponse deleteGcmChannel(DeleteGcmChannelRequest deleteGcmChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Disables the GCM channel for an application and deletes any existing settings for the channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteGcmChannelRequest.Builder} avoiding the need
* to create one manually via {@link DeleteGcmChannelRequest#builder()}
*
*
* @param deleteGcmChannelRequest
* A {@link Consumer} that will call methods on {@link DeleteGcmChannelRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteGcmChannel
* @see AWS API
* Documentation
*/
default DeleteGcmChannelResponse deleteGcmChannel(Consumer deleteGcmChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteGcmChannel(DeleteGcmChannelRequest.builder().applyMutation(deleteGcmChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteInAppTemplate
* @see AWS
* API Documentation
*/
default DeleteInAppTemplateResponse deleteInAppTemplate(DeleteInAppTemplateRequest deleteInAppTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a message template for messages sent using the in-app message channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteInAppTemplateRequest.Builder} avoiding the
* need to create one manually via {@link DeleteInAppTemplateRequest#builder()}
*
*
* @param deleteInAppTemplateRequest
* A {@link Consumer} that will call methods on {@link DeleteInAppTemplateRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteInAppTemplate
* @see AWS
* API Documentation
*/
default DeleteInAppTemplateResponse deleteInAppTemplate(
Consumer deleteInAppTemplateRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return deleteInAppTemplate(DeleteInAppTemplateRequest.builder().applyMutation(deleteInAppTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteJourney
* @see AWS API
* Documentation
*/
default DeleteJourneyResponse deleteJourney(DeleteJourneyRequest deleteJourneyRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a journey from an application.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteJourneyRequest.Builder} avoiding the need to
* create one manually via {@link DeleteJourneyRequest#builder()}
*
*
* @param deleteJourneyRequest
* A {@link Consumer} that will call methods on {@link DeleteJourneyRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteJourney
* @see AWS API
* Documentation
*/
default DeleteJourneyResponse deleteJourney(Consumer deleteJourneyRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteJourney(DeleteJourneyRequest.builder().applyMutation(deleteJourneyRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeletePushTemplate
* @see AWS
* API Documentation
*/
default DeletePushTemplateResponse deletePushTemplate(DeletePushTemplateRequest deletePushTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a message template for messages that were sent through a push notification channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeletePushTemplateRequest.Builder} avoiding the
* need to create one manually via {@link DeletePushTemplateRequest#builder()}
*
*
* @param deletePushTemplateRequest
* A {@link Consumer} that will call methods on {@link DeletePushTemplateRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeletePushTemplate
* @see AWS
* API Documentation
*/
default DeletePushTemplateResponse deletePushTemplate(Consumer deletePushTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deletePushTemplate(DeletePushTemplateRequest.builder().applyMutation(deletePushTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteRecommenderConfiguration
* @see AWS API Documentation
*/
default DeleteRecommenderConfigurationResponse deleteRecommenderConfiguration(
DeleteRecommenderConfigurationRequest deleteRecommenderConfigurationRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an Amazon Pinpoint configuration for a recommender model.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteRecommenderConfigurationRequest.Builder}
* avoiding the need to create one manually via {@link DeleteRecommenderConfigurationRequest#builder()}
*
*
* @param deleteRecommenderConfigurationRequest
* A {@link Consumer} that will call methods on {@link DeleteRecommenderConfigurationRequest.Builder} to
* create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteRecommenderConfiguration
* @see AWS API Documentation
*/
default DeleteRecommenderConfigurationResponse deleteRecommenderConfiguration(
Consumer deleteRecommenderConfigurationRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteRecommenderConfiguration(DeleteRecommenderConfigurationRequest.builder()
.applyMutation(deleteRecommenderConfigurationRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteSegment
* @see AWS API
* Documentation
*/
default DeleteSegmentResponse deleteSegment(DeleteSegmentRequest deleteSegmentRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a segment from an application.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteSegmentRequest.Builder} avoiding the need to
* create one manually via {@link DeleteSegmentRequest#builder()}
*
*
* @param deleteSegmentRequest
* A {@link Consumer} that will call methods on {@link DeleteSegmentRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteSegment
* @see AWS API
* Documentation
*/
default DeleteSegmentResponse deleteSegment(Consumer deleteSegmentRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteSegment(DeleteSegmentRequest.builder().applyMutation(deleteSegmentRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteSmsChannel
* @see AWS API
* Documentation
*/
default DeleteSmsChannelResponse deleteSmsChannel(DeleteSmsChannelRequest deleteSmsChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Disables the SMS channel for an application and deletes any existing settings for the channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteSmsChannelRequest.Builder} avoiding the need
* to create one manually via {@link DeleteSmsChannelRequest#builder()}
*
*
* @param deleteSmsChannelRequest
* A {@link Consumer} that will call methods on {@link DeleteSmsChannelRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteSmsChannel
* @see AWS API
* Documentation
*/
default DeleteSmsChannelResponse deleteSmsChannel(Consumer deleteSmsChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteSmsChannel(DeleteSmsChannelRequest.builder().applyMutation(deleteSmsChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteSmsTemplate
* @see AWS
* API Documentation
*/
default DeleteSmsTemplateResponse deleteSmsTemplate(DeleteSmsTemplateRequest deleteSmsTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a message template for messages that were sent through the SMS channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteSmsTemplateRequest.Builder} avoiding the need
* to create one manually via {@link DeleteSmsTemplateRequest#builder()}
*
*
* @param deleteSmsTemplateRequest
* A {@link Consumer} that will call methods on {@link DeleteSmsTemplateRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteSmsTemplate
* @see AWS
* API Documentation
*/
default DeleteSmsTemplateResponse deleteSmsTemplate(Consumer deleteSmsTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteSmsTemplate(DeleteSmsTemplateRequest.builder().applyMutation(deleteSmsTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteUserEndpoints
* @see AWS
* API Documentation
*/
default DeleteUserEndpointsResponse deleteUserEndpoints(DeleteUserEndpointsRequest deleteUserEndpointsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes all the endpoints that are associated with a specific user ID.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteUserEndpointsRequest.Builder} avoiding the
* need to create one manually via {@link DeleteUserEndpointsRequest#builder()}
*
*
* @param deleteUserEndpointsRequest
* A {@link Consumer} that will call methods on {@link DeleteUserEndpointsRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteUserEndpoints
* @see AWS
* API Documentation
*/
default DeleteUserEndpointsResponse deleteUserEndpoints(
Consumer deleteUserEndpointsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return deleteUserEndpoints(DeleteUserEndpointsRequest.builder().applyMutation(deleteUserEndpointsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteVoiceChannel
* @see AWS
* API Documentation
*/
default DeleteVoiceChannelResponse deleteVoiceChannel(DeleteVoiceChannelRequest deleteVoiceChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Disables the voice channel for an application and deletes any existing settings for the channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteVoiceChannelRequest.Builder} avoiding the
* need to create one manually via {@link DeleteVoiceChannelRequest#builder()}
*
*
* @param deleteVoiceChannelRequest
* A {@link Consumer} that will call methods on {@link DeleteVoiceChannelRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteVoiceChannel
* @see AWS
* API Documentation
*/
default DeleteVoiceChannelResponse deleteVoiceChannel(Consumer deleteVoiceChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return deleteVoiceChannel(DeleteVoiceChannelRequest.builder().applyMutation(deleteVoiceChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteVoiceTemplate
* @see AWS
* API Documentation
*/
default DeleteVoiceTemplateResponse deleteVoiceTemplate(DeleteVoiceTemplateRequest deleteVoiceTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a message template for messages that were sent through the voice channel.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteVoiceTemplateRequest.Builder} avoiding the
* need to create one manually via {@link DeleteVoiceTemplateRequest#builder()}
*
*
* @param deleteVoiceTemplateRequest
* A {@link Consumer} that will call methods on {@link DeleteVoiceTemplateRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.DeleteVoiceTemplate
* @see AWS
* API Documentation
*/
default DeleteVoiceTemplateResponse deleteVoiceTemplate(
Consumer deleteVoiceTemplateRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return deleteVoiceTemplate(DeleteVoiceTemplateRequest.builder().applyMutation(deleteVoiceTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetAdmChannel
* @see AWS API
* Documentation
*/
default GetAdmChannelResponse getAdmChannel(GetAdmChannelRequest getAdmChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the ADM channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetAdmChannelRequest.Builder} avoiding the need to
* create one manually via {@link GetAdmChannelRequest#builder()}
*
*
* @param getAdmChannelRequest
* A {@link Consumer} that will call methods on {@link GetAdmChannelRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetAdmChannel
* @see AWS API
* Documentation
*/
default GetAdmChannelResponse getAdmChannel(Consumer getAdmChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getAdmChannel(GetAdmChannelRequest.builder().applyMutation(getAdmChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApnsChannel
* @see AWS API
* Documentation
*/
default GetApnsChannelResponse getApnsChannel(GetApnsChannelRequest getApnsChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the APNs channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetApnsChannelRequest.Builder} avoiding the need to
* create one manually via {@link GetApnsChannelRequest#builder()}
*
*
* @param getApnsChannelRequest
* A {@link Consumer} that will call methods on {@link GetApnsChannelRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApnsChannel
* @see AWS API
* Documentation
*/
default GetApnsChannelResponse getApnsChannel(Consumer getApnsChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getApnsChannel(GetApnsChannelRequest.builder().applyMutation(getApnsChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApnsSandboxChannel
* @see AWS API Documentation
*/
default GetApnsSandboxChannelResponse getApnsSandboxChannel(GetApnsSandboxChannelRequest getApnsSandboxChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the APNs sandbox channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetApnsSandboxChannelRequest.Builder} avoiding the
* need to create one manually via {@link GetApnsSandboxChannelRequest#builder()}
*
*
* @param getApnsSandboxChannelRequest
* A {@link Consumer} that will call methods on {@link GetApnsSandboxChannelRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApnsSandboxChannel
* @see AWS API Documentation
*/
default GetApnsSandboxChannelResponse getApnsSandboxChannel(
Consumer getApnsSandboxChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getApnsSandboxChannel(GetApnsSandboxChannelRequest.builder().applyMutation(getApnsSandboxChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApnsVoipChannel
* @see AWS
* API Documentation
*/
default GetApnsVoipChannelResponse getApnsVoipChannel(GetApnsVoipChannelRequest getApnsVoipChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the APNs VoIP channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetApnsVoipChannelRequest.Builder} avoiding the
* need to create one manually via {@link GetApnsVoipChannelRequest#builder()}
*
*
* @param getApnsVoipChannelRequest
* A {@link Consumer} that will call methods on {@link GetApnsVoipChannelRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApnsVoipChannel
* @see AWS
* API Documentation
*/
default GetApnsVoipChannelResponse getApnsVoipChannel(Consumer getApnsVoipChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getApnsVoipChannel(GetApnsVoipChannelRequest.builder().applyMutation(getApnsVoipChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApnsVoipSandboxChannel
* @see AWS API Documentation
*/
default GetApnsVoipSandboxChannelResponse getApnsVoipSandboxChannel(
GetApnsVoipSandboxChannelRequest getApnsVoipSandboxChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetApnsVoipSandboxChannelRequest.Builder} avoiding
* the need to create one manually via {@link GetApnsVoipSandboxChannelRequest#builder()}
*
*
* @param getApnsVoipSandboxChannelRequest
* A {@link Consumer} that will call methods on {@link GetApnsVoipSandboxChannelRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApnsVoipSandboxChannel
* @see AWS API Documentation
*/
default GetApnsVoipSandboxChannelResponse getApnsVoipSandboxChannel(
Consumer getApnsVoipSandboxChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getApnsVoipSandboxChannel(GetApnsVoipSandboxChannelRequest.builder()
.applyMutation(getApnsVoipSandboxChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApp
* @see AWS API
* Documentation
*/
default GetAppResponse getApp(GetAppRequest getAppRequest) throws BadRequestException, InternalServerErrorException,
PayloadTooLargeException, ForbiddenException, NotFoundException, MethodNotAllowedException, TooManyRequestsException,
AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetAppRequest.Builder} avoiding the need to create
* one manually via {@link GetAppRequest#builder()}
*
*
* @param getAppRequest
* A {@link Consumer} that will call methods on {@link GetAppRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApp
* @see AWS API
* Documentation
*/
default GetAppResponse getApp(Consumer getAppRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getApp(GetAppRequest.builder().applyMutation(getAppRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApplicationDateRangeKpi
* @see AWS API Documentation
*/
default GetApplicationDateRangeKpiResponse getApplicationDateRangeKpi(
GetApplicationDateRangeKpiRequest getApplicationDateRangeKpiRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetApplicationDateRangeKpiRequest.Builder} avoiding
* the need to create one manually via {@link GetApplicationDateRangeKpiRequest#builder()}
*
*
* @param getApplicationDateRangeKpiRequest
* A {@link Consumer} that will call methods on {@link GetApplicationDateRangeKpiRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApplicationDateRangeKpi
* @see AWS API Documentation
*/
default GetApplicationDateRangeKpiResponse getApplicationDateRangeKpi(
Consumer getApplicationDateRangeKpiRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getApplicationDateRangeKpi(GetApplicationDateRangeKpiRequest.builder()
.applyMutation(getApplicationDateRangeKpiRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApplicationSettings
* @see AWS API Documentation
*/
default GetApplicationSettingsResponse getApplicationSettings(GetApplicationSettingsRequest getApplicationSettingsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the settings for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetApplicationSettingsRequest.Builder} avoiding the
* need to create one manually via {@link GetApplicationSettingsRequest#builder()}
*
*
* @param getApplicationSettingsRequest
* A {@link Consumer} that will call methods on {@link GetApplicationSettingsRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApplicationSettings
* @see AWS API Documentation
*/
default GetApplicationSettingsResponse getApplicationSettings(
Consumer getApplicationSettingsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getApplicationSettings(GetApplicationSettingsRequest.builder().applyMutation(getApplicationSettingsRequest)
.build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApps
* @see AWS API
* Documentation
*/
default GetAppsResponse getApps(GetAppsRequest getAppsRequest) throws BadRequestException, InternalServerErrorException,
PayloadTooLargeException, ForbiddenException, NotFoundException, MethodNotAllowedException, TooManyRequestsException,
AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about all the applications that are associated with your Amazon Pinpoint account.
*
*
*
* This is a convenience which creates an instance of the {@link GetAppsRequest.Builder} avoiding the need to create
* one manually via {@link GetAppsRequest#builder()}
*
*
* @param getAppsRequest
* A {@link Consumer} that will call methods on {@link GetAppsRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetApps
* @see AWS API
* Documentation
*/
default GetAppsResponse getApps(Consumer getAppsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getApps(GetAppsRequest.builder().applyMutation(getAppsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetBaiduChannel
* @see AWS API
* Documentation
*/
default GetBaiduChannelResponse getBaiduChannel(GetBaiduChannelRequest getBaiduChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the Baidu channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetBaiduChannelRequest.Builder} avoiding the need
* to create one manually via {@link GetBaiduChannelRequest#builder()}
*
*
* @param getBaiduChannelRequest
* A {@link Consumer} that will call methods on {@link GetBaiduChannelRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetBaiduChannel
* @see AWS API
* Documentation
*/
default GetBaiduChannelResponse getBaiduChannel(Consumer getBaiduChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getBaiduChannel(GetBaiduChannelRequest.builder().applyMutation(getBaiduChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaign
* @see AWS API
* Documentation
*/
default GetCampaignResponse getCampaign(GetCampaignRequest getCampaignRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status, configuration, and other settings for a campaign.
*
*
*
* This is a convenience which creates an instance of the {@link GetCampaignRequest.Builder} avoiding the need to
* create one manually via {@link GetCampaignRequest#builder()}
*
*
* @param getCampaignRequest
* A {@link Consumer} that will call methods on {@link GetCampaignRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaign
* @see AWS API
* Documentation
*/
default GetCampaignResponse getCampaign(Consumer getCampaignRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getCampaign(GetCampaignRequest.builder().applyMutation(getCampaignRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaignActivities
* @see AWS API Documentation
*/
default GetCampaignActivitiesResponse getCampaignActivities(GetCampaignActivitiesRequest getCampaignActivitiesRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about all the activities for a campaign.
*
*
*
* This is a convenience which creates an instance of the {@link GetCampaignActivitiesRequest.Builder} avoiding the
* need to create one manually via {@link GetCampaignActivitiesRequest#builder()}
*
*
* @param getCampaignActivitiesRequest
* A {@link Consumer} that will call methods on {@link GetCampaignActivitiesRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaignActivities
* @see AWS API Documentation
*/
default GetCampaignActivitiesResponse getCampaignActivities(
Consumer getCampaignActivitiesRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getCampaignActivities(GetCampaignActivitiesRequest.builder().applyMutation(getCampaignActivitiesRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaignDateRangeKpi
* @see AWS API Documentation
*/
default GetCampaignDateRangeKpiResponse getCampaignDateRangeKpi(GetCampaignDateRangeKpiRequest getCampaignDateRangeKpiRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.
*
*
*
* This is a convenience which creates an instance of the {@link GetCampaignDateRangeKpiRequest.Builder} avoiding
* the need to create one manually via {@link GetCampaignDateRangeKpiRequest#builder()}
*
*
* @param getCampaignDateRangeKpiRequest
* A {@link Consumer} that will call methods on {@link GetCampaignDateRangeKpiRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaignDateRangeKpi
* @see AWS API Documentation
*/
default GetCampaignDateRangeKpiResponse getCampaignDateRangeKpi(
Consumer getCampaignDateRangeKpiRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getCampaignDateRangeKpi(GetCampaignDateRangeKpiRequest.builder().applyMutation(getCampaignDateRangeKpiRequest)
.build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaignVersion
* @see AWS
* API Documentation
*/
default GetCampaignVersionResponse getCampaignVersion(GetCampaignVersionRequest getCampaignVersionRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status, configuration, and other settings for a specific version of a campaign.
*
*
*
* This is a convenience which creates an instance of the {@link GetCampaignVersionRequest.Builder} avoiding the
* need to create one manually via {@link GetCampaignVersionRequest#builder()}
*
*
* @param getCampaignVersionRequest
* A {@link Consumer} that will call methods on {@link GetCampaignVersionRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaignVersion
* @see AWS
* API Documentation
*/
default GetCampaignVersionResponse getCampaignVersion(Consumer getCampaignVersionRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getCampaignVersion(GetCampaignVersionRequest.builder().applyMutation(getCampaignVersionRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaignVersions
* @see AWS
* API Documentation
*/
default GetCampaignVersionsResponse getCampaignVersions(GetCampaignVersionsRequest getCampaignVersionsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status, configuration, and other settings for all versions of a campaign.
*
*
*
* This is a convenience which creates an instance of the {@link GetCampaignVersionsRequest.Builder} avoiding the
* need to create one manually via {@link GetCampaignVersionsRequest#builder()}
*
*
* @param getCampaignVersionsRequest
* A {@link Consumer} that will call methods on {@link GetCampaignVersionsRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaignVersions
* @see AWS
* API Documentation
*/
default GetCampaignVersionsResponse getCampaignVersions(
Consumer getCampaignVersionsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getCampaignVersions(GetCampaignVersionsRequest.builder().applyMutation(getCampaignVersionsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaigns
* @see AWS API
* Documentation
*/
default GetCampaignsResponse getCampaigns(GetCampaignsRequest getCampaignsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status, configuration, and other settings for all the campaigns that are
* associated with an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetCampaignsRequest.Builder} avoiding the need to
* create one manually via {@link GetCampaignsRequest#builder()}
*
*
* @param getCampaignsRequest
* A {@link Consumer} that will call methods on {@link GetCampaignsRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetCampaigns
* @see AWS API
* Documentation
*/
default GetCampaignsResponse getCampaigns(Consumer getCampaignsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getCampaigns(GetCampaignsRequest.builder().applyMutation(getCampaignsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetChannels
* @see AWS API
* Documentation
*/
default GetChannelsResponse getChannels(GetChannelsRequest getChannelsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the history and status of each channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetChannelsRequest.Builder} avoiding the need to
* create one manually via {@link GetChannelsRequest#builder()}
*
*
* @param getChannelsRequest
* A {@link Consumer} that will call methods on {@link GetChannelsRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetChannels
* @see AWS API
* Documentation
*/
default GetChannelsResponse getChannels(Consumer getChannelsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getChannels(GetChannelsRequest.builder().applyMutation(getChannelsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetEmailChannel
* @see AWS API
* Documentation
*/
default GetEmailChannelResponse getEmailChannel(GetEmailChannelRequest getEmailChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the email channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetEmailChannelRequest.Builder} avoiding the need
* to create one manually via {@link GetEmailChannelRequest#builder()}
*
*
* @param getEmailChannelRequest
* A {@link Consumer} that will call methods on {@link GetEmailChannelRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetEmailChannel
* @see AWS API
* Documentation
*/
default GetEmailChannelResponse getEmailChannel(Consumer getEmailChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getEmailChannel(GetEmailChannelRequest.builder().applyMutation(getEmailChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetEmailTemplate
* @see AWS API
* Documentation
*/
default GetEmailTemplateResponse getEmailTemplate(GetEmailTemplateRequest getEmailTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the content and settings of a message template for messages that are sent through the email channel.
*
*
*
* This is a convenience which creates an instance of the {@link GetEmailTemplateRequest.Builder} avoiding the need
* to create one manually via {@link GetEmailTemplateRequest#builder()}
*
*
* @param getEmailTemplateRequest
* A {@link Consumer} that will call methods on {@link GetEmailTemplateRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetEmailTemplate
* @see AWS API
* Documentation
*/
default GetEmailTemplateResponse getEmailTemplate(Consumer getEmailTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getEmailTemplate(GetEmailTemplateRequest.builder().applyMutation(getEmailTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetEndpoint
* @see AWS API
* Documentation
*/
default GetEndpointResponse getEndpoint(GetEndpointRequest getEndpointRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the settings and attributes of a specific endpoint for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetEndpointRequest.Builder} avoiding the need to
* create one manually via {@link GetEndpointRequest#builder()}
*
*
* @param getEndpointRequest
* A {@link Consumer} that will call methods on {@link GetEndpointRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetEndpoint
* @see AWS API
* Documentation
*/
default GetEndpointResponse getEndpoint(Consumer getEndpointRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getEndpoint(GetEndpointRequest.builder().applyMutation(getEndpointRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetEventStream
* @see AWS API
* Documentation
*/
default GetEventStreamResponse getEventStream(GetEventStreamRequest getEventStreamRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the event stream settings for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetEventStreamRequest.Builder} avoiding the need to
* create one manually via {@link GetEventStreamRequest#builder()}
*
*
* @param getEventStreamRequest
* A {@link Consumer} that will call methods on {@link GetEventStreamRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetEventStream
* @see AWS API
* Documentation
*/
default GetEventStreamResponse getEventStream(Consumer getEventStreamRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getEventStream(GetEventStreamRequest.builder().applyMutation(getEventStreamRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetExportJob
* @see AWS API
* Documentation
*/
default GetExportJobResponse getExportJob(GetExportJobRequest getExportJobRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of a specific export job for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetExportJobRequest.Builder} avoiding the need to
* create one manually via {@link GetExportJobRequest#builder()}
*
*
* @param getExportJobRequest
* A {@link Consumer} that will call methods on {@link GetExportJobRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetExportJob
* @see AWS API
* Documentation
*/
default GetExportJobResponse getExportJob(Consumer getExportJobRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getExportJob(GetExportJobRequest.builder().applyMutation(getExportJobRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetExportJobs
* @see AWS API
* Documentation
*/
default GetExportJobsResponse getExportJobs(GetExportJobsRequest getExportJobsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of all the export jobs for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetExportJobsRequest.Builder} avoiding the need to
* create one manually via {@link GetExportJobsRequest#builder()}
*
*
* @param getExportJobsRequest
* A {@link Consumer} that will call methods on {@link GetExportJobsRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetExportJobs
* @see AWS API
* Documentation
*/
default GetExportJobsResponse getExportJobs(Consumer getExportJobsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getExportJobs(GetExportJobsRequest.builder().applyMutation(getExportJobsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetGcmChannel
* @see AWS API
* Documentation
*/
default GetGcmChannelResponse getGcmChannel(GetGcmChannelRequest getGcmChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the GCM channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetGcmChannelRequest.Builder} avoiding the need to
* create one manually via {@link GetGcmChannelRequest#builder()}
*
*
* @param getGcmChannelRequest
* A {@link Consumer} that will call methods on {@link GetGcmChannelRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetGcmChannel
* @see AWS API
* Documentation
*/
default GetGcmChannelResponse getGcmChannel(Consumer getGcmChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getGcmChannel(GetGcmChannelRequest.builder().applyMutation(getGcmChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetImportJob
* @see AWS API
* Documentation
*/
default GetImportJobResponse getImportJob(GetImportJobRequest getImportJobRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of a specific import job for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetImportJobRequest.Builder} avoiding the need to
* create one manually via {@link GetImportJobRequest#builder()}
*
*
* @param getImportJobRequest
* A {@link Consumer} that will call methods on {@link GetImportJobRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetImportJob
* @see AWS API
* Documentation
*/
default GetImportJobResponse getImportJob(Consumer getImportJobRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getImportJob(GetImportJobRequest.builder().applyMutation(getImportJobRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetImportJobs
* @see AWS API
* Documentation
*/
default GetImportJobsResponse getImportJobs(GetImportJobsRequest getImportJobsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of all the import jobs for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetImportJobsRequest.Builder} avoiding the need to
* create one manually via {@link GetImportJobsRequest#builder()}
*
*
* @param getImportJobsRequest
* A {@link Consumer} that will call methods on {@link GetImportJobsRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetImportJobs
* @see AWS API
* Documentation
*/
default GetImportJobsResponse getImportJobs(Consumer getImportJobsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getImportJobs(GetImportJobsRequest.builder().applyMutation(getImportJobsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetInAppMessages
* @see AWS API
* Documentation
*/
default GetInAppMessagesResponse getInAppMessages(GetInAppMessagesRequest getInAppMessagesRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the in-app messages targeted for the provided endpoint ID.
*
*
*
* This is a convenience which creates an instance of the {@link GetInAppMessagesRequest.Builder} avoiding the need
* to create one manually via {@link GetInAppMessagesRequest#builder()}
*
*
* @param getInAppMessagesRequest
* A {@link Consumer} that will call methods on {@link GetInAppMessagesRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetInAppMessages
* @see AWS API
* Documentation
*/
default GetInAppMessagesResponse getInAppMessages(Consumer getInAppMessagesRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getInAppMessages(GetInAppMessagesRequest.builder().applyMutation(getInAppMessagesRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetInAppTemplate
* @see AWS API
* Documentation
*/
default GetInAppTemplateResponse getInAppTemplate(GetInAppTemplateRequest getInAppTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the content and settings of a message template for messages sent through the in-app channel.
*
*
*
* This is a convenience which creates an instance of the {@link GetInAppTemplateRequest.Builder} avoiding the need
* to create one manually via {@link GetInAppTemplateRequest#builder()}
*
*
* @param getInAppTemplateRequest
* A {@link Consumer} that will call methods on {@link GetInAppTemplateRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetInAppTemplate
* @see AWS API
* Documentation
*/
default GetInAppTemplateResponse getInAppTemplate(Consumer getInAppTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getInAppTemplate(GetInAppTemplateRequest.builder().applyMutation(getInAppTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetJourney
* @see AWS API
* Documentation
*/
default GetJourneyResponse getJourney(GetJourneyRequest getJourneyRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status, configuration, and other settings for a journey.
*
*
*
* This is a convenience which creates an instance of the {@link GetJourneyRequest.Builder} avoiding the need to
* create one manually via {@link GetJourneyRequest#builder()}
*
*
* @param getJourneyRequest
* A {@link Consumer} that will call methods on {@link GetJourneyRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetJourney
* @see AWS API
* Documentation
*/
default GetJourneyResponse getJourney(Consumer getJourneyRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getJourney(GetJourneyRequest.builder().applyMutation(getJourneyRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetJourneyDateRangeKpi
* @see AWS API Documentation
*/
default GetJourneyDateRangeKpiResponse getJourneyDateRangeKpi(GetJourneyDateRangeKpiRequest getJourneyDateRangeKpiRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) pre-aggregated data for a standard engagement metric that applies to a journey.
*
*
*
* This is a convenience which creates an instance of the {@link GetJourneyDateRangeKpiRequest.Builder} avoiding the
* need to create one manually via {@link GetJourneyDateRangeKpiRequest#builder()}
*
*
* @param getJourneyDateRangeKpiRequest
* A {@link Consumer} that will call methods on {@link GetJourneyDateRangeKpiRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetJourneyDateRangeKpi
* @see AWS API Documentation
*/
default GetJourneyDateRangeKpiResponse getJourneyDateRangeKpi(
Consumer getJourneyDateRangeKpiRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getJourneyDateRangeKpi(GetJourneyDateRangeKpiRequest.builder().applyMutation(getJourneyDateRangeKpiRequest)
.build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetJourneyExecutionActivityMetrics
* @see AWS API Documentation
*/
default GetJourneyExecutionActivityMetricsResponse getJourneyExecutionActivityMetrics(
GetJourneyExecutionActivityMetricsRequest getJourneyExecutionActivityMetricsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey activity.
*
*
*
* This is a convenience which creates an instance of the {@link GetJourneyExecutionActivityMetricsRequest.Builder}
* avoiding the need to create one manually via {@link GetJourneyExecutionActivityMetricsRequest#builder()}
*
*
* @param getJourneyExecutionActivityMetricsRequest
* A {@link Consumer} that will call methods on {@link GetJourneyExecutionActivityMetricsRequest.Builder} to
* create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetJourneyExecutionActivityMetrics
* @see AWS API Documentation
*/
default GetJourneyExecutionActivityMetricsResponse getJourneyExecutionActivityMetrics(
Consumer getJourneyExecutionActivityMetricsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getJourneyExecutionActivityMetrics(GetJourneyExecutionActivityMetricsRequest.builder()
.applyMutation(getJourneyExecutionActivityMetricsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetJourneyExecutionMetrics
* @see AWS API Documentation
*/
default GetJourneyExecutionMetricsResponse getJourneyExecutionMetrics(
GetJourneyExecutionMetricsRequest getJourneyExecutionMetricsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey.
*
*
*
* This is a convenience which creates an instance of the {@link GetJourneyExecutionMetricsRequest.Builder} avoiding
* the need to create one manually via {@link GetJourneyExecutionMetricsRequest#builder()}
*
*
* @param getJourneyExecutionMetricsRequest
* A {@link Consumer} that will call methods on {@link GetJourneyExecutionMetricsRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetJourneyExecutionMetrics
* @see AWS API Documentation
*/
default GetJourneyExecutionMetricsResponse getJourneyExecutionMetrics(
Consumer getJourneyExecutionMetricsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getJourneyExecutionMetrics(GetJourneyExecutionMetricsRequest.builder()
.applyMutation(getJourneyExecutionMetricsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetPushTemplate
* @see AWS API
* Documentation
*/
default GetPushTemplateResponse getPushTemplate(GetPushTemplateRequest getPushTemplateRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the content and settings of a message template for messages that are sent through a push notification
* channel.
*
*
*
* This is a convenience which creates an instance of the {@link GetPushTemplateRequest.Builder} avoiding the need
* to create one manually via {@link GetPushTemplateRequest#builder()}
*
*
* @param getPushTemplateRequest
* A {@link Consumer} that will call methods on {@link GetPushTemplateRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetPushTemplate
* @see AWS API
* Documentation
*/
default GetPushTemplateResponse getPushTemplate(Consumer getPushTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getPushTemplate(GetPushTemplateRequest.builder().applyMutation(getPushTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetRecommenderConfiguration
* @see AWS API Documentation
*/
default GetRecommenderConfigurationResponse getRecommenderConfiguration(
GetRecommenderConfigurationRequest getRecommenderConfigurationRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about an Amazon Pinpoint configuration for a recommender model.
*
*
*
* This is a convenience which creates an instance of the {@link GetRecommenderConfigurationRequest.Builder}
* avoiding the need to create one manually via {@link GetRecommenderConfigurationRequest#builder()}
*
*
* @param getRecommenderConfigurationRequest
* A {@link Consumer} that will call methods on {@link GetRecommenderConfigurationRequest.Builder} to create
* a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetRecommenderConfiguration
* @see AWS API Documentation
*/
default GetRecommenderConfigurationResponse getRecommenderConfiguration(
Consumer getRecommenderConfigurationRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getRecommenderConfiguration(GetRecommenderConfigurationRequest.builder()
.applyMutation(getRecommenderConfigurationRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetRecommenderConfigurations
* @see AWS API Documentation
*/
default GetRecommenderConfigurationsResponse getRecommenderConfigurations(
GetRecommenderConfigurationsRequest getRecommenderConfigurationsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about all the recommender model configurations that are associated with your Amazon
* Pinpoint account.
*
*
*
* This is a convenience which creates an instance of the {@link GetRecommenderConfigurationsRequest.Builder}
* avoiding the need to create one manually via {@link GetRecommenderConfigurationsRequest#builder()}
*
*
* @param getRecommenderConfigurationsRequest
* A {@link Consumer} that will call methods on {@link GetRecommenderConfigurationsRequest.Builder} to create
* a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetRecommenderConfigurations
* @see AWS API Documentation
*/
default GetRecommenderConfigurationsResponse getRecommenderConfigurations(
Consumer getRecommenderConfigurationsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getRecommenderConfigurations(GetRecommenderConfigurationsRequest.builder()
.applyMutation(getRecommenderConfigurationsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegment
* @see AWS API
* Documentation
*/
default GetSegmentResponse getSegment(GetSegmentRequest getSegmentRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the configuration, dimension, and other settings for a specific segment that's
* associated with an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetSegmentRequest.Builder} avoiding the need to
* create one manually via {@link GetSegmentRequest#builder()}
*
*
* @param getSegmentRequest
* A {@link Consumer} that will call methods on {@link GetSegmentRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegment
* @see AWS API
* Documentation
*/
default GetSegmentResponse getSegment(Consumer getSegmentRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getSegment(GetSegmentRequest.builder().applyMutation(getSegmentRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegmentExportJobs
* @see AWS
* API Documentation
*/
default GetSegmentExportJobsResponse getSegmentExportJobs(GetSegmentExportJobsRequest getSegmentExportJobsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the export jobs for a segment.
*
*
*
* This is a convenience which creates an instance of the {@link GetSegmentExportJobsRequest.Builder} avoiding the
* need to create one manually via {@link GetSegmentExportJobsRequest#builder()}
*
*
* @param getSegmentExportJobsRequest
* A {@link Consumer} that will call methods on {@link GetSegmentExportJobsRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegmentExportJobs
* @see AWS
* API Documentation
*/
default GetSegmentExportJobsResponse getSegmentExportJobs(
Consumer getSegmentExportJobsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getSegmentExportJobs(GetSegmentExportJobsRequest.builder().applyMutation(getSegmentExportJobsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegmentImportJobs
* @see AWS
* API Documentation
*/
default GetSegmentImportJobsResponse getSegmentImportJobs(GetSegmentImportJobsRequest getSegmentImportJobsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the import jobs for a segment.
*
*
*
* This is a convenience which creates an instance of the {@link GetSegmentImportJobsRequest.Builder} avoiding the
* need to create one manually via {@link GetSegmentImportJobsRequest#builder()}
*
*
* @param getSegmentImportJobsRequest
* A {@link Consumer} that will call methods on {@link GetSegmentImportJobsRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegmentImportJobs
* @see AWS
* API Documentation
*/
default GetSegmentImportJobsResponse getSegmentImportJobs(
Consumer getSegmentImportJobsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getSegmentImportJobs(GetSegmentImportJobsRequest.builder().applyMutation(getSegmentImportJobsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegmentVersion
* @see AWS
* API Documentation
*/
default GetSegmentVersionResponse getSegmentVersion(GetSegmentVersionRequest getSegmentVersionRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the configuration, dimension, and other settings for a specific version of a segment
* that's associated with an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetSegmentVersionRequest.Builder} avoiding the need
* to create one manually via {@link GetSegmentVersionRequest#builder()}
*
*
* @param getSegmentVersionRequest
* A {@link Consumer} that will call methods on {@link GetSegmentVersionRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegmentVersion
* @see AWS
* API Documentation
*/
default GetSegmentVersionResponse getSegmentVersion(Consumer getSegmentVersionRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getSegmentVersion(GetSegmentVersionRequest.builder().applyMutation(getSegmentVersionRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegmentVersions
* @see AWS
* API Documentation
*/
default GetSegmentVersionsResponse getSegmentVersions(GetSegmentVersionsRequest getSegmentVersionsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the configuration, dimension, and other settings for all the versions of a specific
* segment that's associated with an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetSegmentVersionsRequest.Builder} avoiding the
* need to create one manually via {@link GetSegmentVersionsRequest#builder()}
*
*
* @param getSegmentVersionsRequest
* A {@link Consumer} that will call methods on {@link GetSegmentVersionsRequest.Builder} to create a
* request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegmentVersions
* @see AWS
* API Documentation
*/
default GetSegmentVersionsResponse getSegmentVersions(Consumer getSegmentVersionsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getSegmentVersions(GetSegmentVersionsRequest.builder().applyMutation(getSegmentVersionsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegments
* @see AWS API
* Documentation
*/
default GetSegmentsResponse getSegments(GetSegmentsRequest getSegmentsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the configuration, dimension, and other settings for all the segments that are
* associated with an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetSegmentsRequest.Builder} avoiding the need to
* create one manually via {@link GetSegmentsRequest#builder()}
*
*
* @param getSegmentsRequest
* A {@link Consumer} that will call methods on {@link GetSegmentsRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSegments
* @see AWS API
* Documentation
*/
default GetSegmentsResponse getSegments(Consumer getSegmentsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return getSegments(GetSegmentsRequest.builder().applyMutation(getSegmentsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSmsChannel
* @see AWS API
* Documentation
*/
default GetSmsChannelResponse getSmsChannel(GetSmsChannelRequest getSmsChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the SMS channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetSmsChannelRequest.Builder} avoiding the need to
* create one manually via {@link GetSmsChannelRequest#builder()}
*
*
* @param getSmsChannelRequest
* A {@link Consumer} that will call methods on {@link GetSmsChannelRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSmsChannel
* @see AWS API
* Documentation
*/
default GetSmsChannelResponse getSmsChannel(Consumer getSmsChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getSmsChannel(GetSmsChannelRequest.builder().applyMutation(getSmsChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSmsTemplate
* @see AWS API
* Documentation
*/
default GetSmsTemplateResponse getSmsTemplate(GetSmsTemplateRequest getSmsTemplateRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the content and settings of a message template for messages that are sent through the SMS channel.
*
*
*
* This is a convenience which creates an instance of the {@link GetSmsTemplateRequest.Builder} avoiding the need to
* create one manually via {@link GetSmsTemplateRequest#builder()}
*
*
* @param getSmsTemplateRequest
* A {@link Consumer} that will call methods on {@link GetSmsTemplateRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetSmsTemplate
* @see AWS API
* Documentation
*/
default GetSmsTemplateResponse getSmsTemplate(Consumer getSmsTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getSmsTemplate(GetSmsTemplateRequest.builder().applyMutation(getSmsTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetUserEndpoints
* @see AWS API
* Documentation
*/
default GetUserEndpointsResponse getUserEndpoints(GetUserEndpointsRequest getUserEndpointsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about all the endpoints that are associated with a specific user ID.
*
*
*
* This is a convenience which creates an instance of the {@link GetUserEndpointsRequest.Builder} avoiding the need
* to create one manually via {@link GetUserEndpointsRequest#builder()}
*
*
* @param getUserEndpointsRequest
* A {@link Consumer} that will call methods on {@link GetUserEndpointsRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetUserEndpoints
* @see AWS API
* Documentation
*/
default GetUserEndpointsResponse getUserEndpoints(Consumer getUserEndpointsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getUserEndpoints(GetUserEndpointsRequest.builder().applyMutation(getUserEndpointsRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetVoiceChannel
* @see AWS API
* Documentation
*/
default GetVoiceChannelResponse getVoiceChannel(GetVoiceChannelRequest getVoiceChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status and settings of the voice channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link GetVoiceChannelRequest.Builder} avoiding the need
* to create one manually via {@link GetVoiceChannelRequest#builder()}
*
*
* @param getVoiceChannelRequest
* A {@link Consumer} that will call methods on {@link GetVoiceChannelRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetVoiceChannel
* @see AWS API
* Documentation
*/
default GetVoiceChannelResponse getVoiceChannel(Consumer getVoiceChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getVoiceChannel(GetVoiceChannelRequest.builder().applyMutation(getVoiceChannelRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetVoiceTemplate
* @see AWS API
* Documentation
*/
default GetVoiceTemplateResponse getVoiceTemplate(GetVoiceTemplateRequest getVoiceTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the content and settings of a message template for messages that are sent through the voice channel.
*
*
*
* This is a convenience which creates an instance of the {@link GetVoiceTemplateRequest.Builder} avoiding the need
* to create one manually via {@link GetVoiceTemplateRequest#builder()}
*
*
* @param getVoiceTemplateRequest
* A {@link Consumer} that will call methods on {@link GetVoiceTemplateRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.GetVoiceTemplate
* @see AWS API
* Documentation
*/
default GetVoiceTemplateResponse getVoiceTemplate(Consumer getVoiceTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return getVoiceTemplate(GetVoiceTemplateRequest.builder().applyMutation(getVoiceTemplateRequest).build());
}
/**
*
* 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.ListJourneys
* @see AWS API
* Documentation
*/
default ListJourneysResponse listJourneys(ListJourneysRequest listJourneysRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the status, configuration, and other settings for all the journeys that are
* associated with an application.
*
*
*
* This is a convenience which creates an instance of the {@link ListJourneysRequest.Builder} avoiding the need to
* create one manually via {@link ListJourneysRequest#builder()}
*
*
* @param listJourneysRequest
* A {@link Consumer} that will call methods on {@link ListJourneysRequest.Builder} to create a request.
* @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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.ListJourneys
* @see AWS API
* Documentation
*/
default ListJourneysResponse listJourneys(Consumer listJourneysRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return listJourneys(ListJourneysRequest.builder().applyMutation(listJourneysRequest).build());
}
/**
*
* Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or
* segment.
*
*
* @param listTagsForResourceRequest
* @return Result of the ListTagsForResource operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
throws AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or
* segment.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on {@link ListTagsForResourceRequest.Builder} to create a
* request.
* @return Result of the ListTagsForResource operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default ListTagsForResourceResponse listTagsForResource(
Consumer listTagsForResourceRequest) throws AwsServiceException,
SdkClientException, PinpointException {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Retrieves information about all the versions of a specific message template.
*
*
* @param listTemplateVersionsRequest
* @return Result of the ListTemplateVersions 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.ListTemplateVersions
* @see AWS
* API Documentation
*/
default ListTemplateVersionsResponse listTemplateVersions(ListTemplateVersionsRequest listTemplateVersionsRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about all the versions of a specific message template.
*
*
*
* This is a convenience which creates an instance of the {@link ListTemplateVersionsRequest.Builder} avoiding the
* need to create one manually via {@link ListTemplateVersionsRequest#builder()}
*
*
* @param listTemplateVersionsRequest
* A {@link Consumer} that will call methods on {@link ListTemplateVersionsRequest.Builder} to create a
* request.
* @return Result of the ListTemplateVersions 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.ListTemplateVersions
* @see AWS
* API Documentation
*/
default ListTemplateVersionsResponse listTemplateVersions(
Consumer listTemplateVersionsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return listTemplateVersions(ListTemplateVersionsRequest.builder().applyMutation(listTemplateVersionsRequest).build());
}
/**
*
* Retrieves information about all the message templates that are associated with your Amazon Pinpoint account.
*
*
* @param listTemplatesRequest
* @return Result of the ListTemplates 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.ListTemplates
* @see AWS API
* Documentation
*/
default ListTemplatesResponse listTemplates(ListTemplatesRequest listTemplatesRequest) throws MethodNotAllowedException,
TooManyRequestsException, BadRequestException, InternalServerErrorException, ForbiddenException, AwsServiceException,
SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about all the message templates that are associated with your Amazon Pinpoint account.
*
*
*
* This is a convenience which creates an instance of the {@link ListTemplatesRequest.Builder} avoiding the need to
* create one manually via {@link ListTemplatesRequest#builder()}
*
*
* @param listTemplatesRequest
* A {@link Consumer} that will call methods on {@link ListTemplatesRequest.Builder} to create a request.
* @return Result of the ListTemplates 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.ListTemplates
* @see AWS API
* Documentation
*/
default ListTemplatesResponse listTemplates(Consumer listTemplatesRequest)
throws MethodNotAllowedException, TooManyRequestsException, BadRequestException, InternalServerErrorException,
ForbiddenException, AwsServiceException, SdkClientException, PinpointException {
return listTemplates(ListTemplatesRequest.builder().applyMutation(listTemplatesRequest).build());
}
/**
*
* Retrieves information about a phone number.
*
*
* @param phoneNumberValidateRequest
* @return Result of the PhoneNumberValidate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.PhoneNumberValidate
* @see AWS
* API Documentation
*/
default PhoneNumberValidateResponse phoneNumberValidate(PhoneNumberValidateRequest phoneNumberValidateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about a phone number.
*
*
*
* This is a convenience which creates an instance of the {@link PhoneNumberValidateRequest.Builder} avoiding the
* need to create one manually via {@link PhoneNumberValidateRequest#builder()}
*
*
* @param phoneNumberValidateRequest
* A {@link Consumer} that will call methods on {@link PhoneNumberValidateRequest.Builder} to create a
* request.
* @return Result of the PhoneNumberValidate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.PhoneNumberValidate
* @see AWS
* API Documentation
*/
default PhoneNumberValidateResponse phoneNumberValidate(
Consumer phoneNumberValidateRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return phoneNumberValidate(PhoneNumberValidateRequest.builder().applyMutation(phoneNumberValidateRequest).build());
}
/**
*
* Creates a new event stream for an application or updates the settings of an existing event stream for an
* application.
*
*
* @param putEventStreamRequest
* @return Result of the PutEventStream 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.PutEventStream
* @see AWS API
* Documentation
*/
default PutEventStreamResponse putEventStream(PutEventStreamRequest putEventStreamRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new event stream for an application or updates the settings of an existing event stream for an
* application.
*
*
*
* This is a convenience which creates an instance of the {@link PutEventStreamRequest.Builder} avoiding the need to
* create one manually via {@link PutEventStreamRequest#builder()}
*
*
* @param putEventStreamRequest
* A {@link Consumer} that will call methods on {@link PutEventStreamRequest.Builder} to create a request.
* @return Result of the PutEventStream 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.PutEventStream
* @see AWS API
* Documentation
*/
default PutEventStreamResponse putEventStream(Consumer putEventStreamRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return putEventStream(PutEventStreamRequest.builder().applyMutation(putEventStreamRequest).build());
}
/**
*
* Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are
* associated with.
*
*
* @param putEventsRequest
* @return Result of the PutEvents 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.PutEvents
* @see AWS API
* Documentation
*/
default PutEventsResponse putEvents(PutEventsRequest putEventsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are
* associated with.
*
*
*
* This is a convenience which creates an instance of the {@link PutEventsRequest.Builder} avoiding the need to
* create one manually via {@link PutEventsRequest#builder()}
*
*
* @param putEventsRequest
* A {@link Consumer} that will call methods on {@link PutEventsRequest.Builder} to create a request.
* @return Result of the PutEvents 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.PutEvents
* @see AWS API
* Documentation
*/
default PutEventsResponse putEvents(Consumer putEventsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return putEvents(PutEventsRequest.builder().applyMutation(putEventsRequest).build());
}
/**
*
* Removes one or more attributes, of the same attribute type, from all the endpoints that are associated with an
* application.
*
*
* @param removeAttributesRequest
* @return Result of the RemoveAttributes 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.RemoveAttributes
* @see AWS API
* Documentation
*/
default RemoveAttributesResponse removeAttributes(RemoveAttributesRequest removeAttributesRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Removes one or more attributes, of the same attribute type, from all the endpoints that are associated with an
* application.
*
*
*
* This is a convenience which creates an instance of the {@link RemoveAttributesRequest.Builder} avoiding the need
* to create one manually via {@link RemoveAttributesRequest#builder()}
*
*
* @param removeAttributesRequest
* A {@link Consumer} that will call methods on {@link RemoveAttributesRequest.Builder} to create a request.
* @return Result of the RemoveAttributes 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.RemoveAttributes
* @see AWS API
* Documentation
*/
default RemoveAttributesResponse removeAttributes(Consumer removeAttributesRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return removeAttributes(RemoveAttributesRequest.builder().applyMutation(removeAttributesRequest).build());
}
/**
*
* Creates and sends a direct message.
*
*
* @param sendMessagesRequest
* @return Result of the SendMessages 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.SendMessages
* @see AWS API
* Documentation
*/
default SendMessagesResponse sendMessages(SendMessagesRequest sendMessagesRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates and sends a direct message.
*
*
*
* This is a convenience which creates an instance of the {@link SendMessagesRequest.Builder} avoiding the need to
* create one manually via {@link SendMessagesRequest#builder()}
*
*
* @param sendMessagesRequest
* A {@link Consumer} that will call methods on {@link SendMessagesRequest.Builder} to create a request.
* @return Result of the SendMessages 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.SendMessages
* @see AWS API
* Documentation
*/
default SendMessagesResponse sendMessages(Consumer sendMessagesRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return sendMessages(SendMessagesRequest.builder().applyMutation(sendMessagesRequest).build());
}
/**
*
* Creates and sends a message to a list of users.
*
*
* @param sendUsersMessagesRequest
* @return Result of the SendUsersMessages 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.SendUsersMessages
* @see AWS
* API Documentation
*/
default SendUsersMessagesResponse sendUsersMessages(SendUsersMessagesRequest sendUsersMessagesRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates and sends a message to a list of users.
*
*
*
* This is a convenience which creates an instance of the {@link SendUsersMessagesRequest.Builder} avoiding the need
* to create one manually via {@link SendUsersMessagesRequest#builder()}
*
*
* @param sendUsersMessagesRequest
* A {@link Consumer} that will call methods on {@link SendUsersMessagesRequest.Builder} to create a request.
* @return Result of the SendUsersMessages 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.SendUsersMessages
* @see AWS
* API Documentation
*/
default SendUsersMessagesResponse sendUsersMessages(Consumer sendUsersMessagesRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return sendUsersMessages(SendUsersMessagesRequest.builder().applyMutation(sendUsersMessagesRequest).build());
}
/**
*
* Adds one or more tags (keys and values) to an application, campaign, message template, or segment.
*
*
* @param tagResourceRequest
* @return Result of the TagResource operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException,
SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Adds one or more tags (keys and values) to an application, campaign, message template, or segment.
*
*
*
* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request.
* @return Result of the TagResource operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.TagResource
* @see AWS API
* Documentation
*/
default TagResourceResponse tagResource(Consumer tagResourceRequest) throws AwsServiceException,
SdkClientException, PinpointException {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Removes one or more tags (keys and values) from an application, campaign, message template, or segment.
*
*
* @param untagResourceRequest
* @return Result of the UntagResource operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UntagResource
* @see AWS API
* Documentation
*/
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException,
SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Removes one or more tags (keys and values) from an application, campaign, message template, or segment.
*
*
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request.
* @return Result of the UntagResource operation returned by the service.
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UntagResource
* @see AWS API
* Documentation
*/
default UntagResourceResponse untagResource(Consumer untagResourceRequest)
throws AwsServiceException, SdkClientException, PinpointException {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Enables the ADM channel for an application or updates the status and settings of the ADM channel for an
* application.
*
*
* @param updateAdmChannelRequest
* @return Result of the UpdateAdmChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateAdmChannel
* @see AWS API
* Documentation
*/
default UpdateAdmChannelResponse updateAdmChannel(UpdateAdmChannelRequest updateAdmChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Enables the ADM channel for an application or updates the status and settings of the ADM channel for an
* application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateAdmChannelRequest.Builder} avoiding the need
* to create one manually via {@link UpdateAdmChannelRequest#builder()}
*
*
* @param updateAdmChannelRequest
* A {@link Consumer} that will call methods on {@link UpdateAdmChannelRequest.Builder} to create a request.
* @return Result of the UpdateAdmChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateAdmChannel
* @see AWS API
* Documentation
*/
default UpdateAdmChannelResponse updateAdmChannel(Consumer updateAdmChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateAdmChannel(UpdateAdmChannelRequest.builder().applyMutation(updateAdmChannelRequest).build());
}
/**
*
* Enables the APNs channel for an application or updates the status and settings of the APNs channel for an
* application.
*
*
* @param updateApnsChannelRequest
* @return Result of the UpdateApnsChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateApnsChannel
* @see AWS
* API Documentation
*/
default UpdateApnsChannelResponse updateApnsChannel(UpdateApnsChannelRequest updateApnsChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Enables the APNs channel for an application or updates the status and settings of the APNs channel for an
* application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateApnsChannelRequest.Builder} avoiding the need
* to create one manually via {@link UpdateApnsChannelRequest#builder()}
*
*
* @param updateApnsChannelRequest
* A {@link Consumer} that will call methods on {@link UpdateApnsChannelRequest.Builder} to create a request.
* @return Result of the UpdateApnsChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateApnsChannel
* @see AWS
* API Documentation
*/
default UpdateApnsChannelResponse updateApnsChannel(Consumer updateApnsChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateApnsChannel(UpdateApnsChannelRequest.builder().applyMutation(updateApnsChannelRequest).build());
}
/**
*
* Enables the APNs sandbox channel for an application or updates the status and settings of the APNs sandbox
* channel for an application.
*
*
* @param updateApnsSandboxChannelRequest
* @return Result of the UpdateApnsSandboxChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateApnsSandboxChannel
* @see AWS API Documentation
*/
default UpdateApnsSandboxChannelResponse updateApnsSandboxChannel(
UpdateApnsSandboxChannelRequest updateApnsSandboxChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Enables the APNs sandbox channel for an application or updates the status and settings of the APNs sandbox
* channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateApnsSandboxChannelRequest.Builder} avoiding
* the need to create one manually via {@link UpdateApnsSandboxChannelRequest#builder()}
*
*
* @param updateApnsSandboxChannelRequest
* A {@link Consumer} that will call methods on {@link UpdateApnsSandboxChannelRequest.Builder} to create a
* request.
* @return Result of the UpdateApnsSandboxChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateApnsSandboxChannel
* @see AWS API Documentation
*/
default UpdateApnsSandboxChannelResponse updateApnsSandboxChannel(
Consumer updateApnsSandboxChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return updateApnsSandboxChannel(UpdateApnsSandboxChannelRequest.builder().applyMutation(updateApnsSandboxChannelRequest)
.build());
}
/**
*
* Enables the APNs VoIP channel for an application or updates the status and settings of the APNs VoIP channel for
* an application.
*
*
* @param updateApnsVoipChannelRequest
* @return Result of the UpdateApnsVoipChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateApnsVoipChannel
* @see AWS API Documentation
*/
default UpdateApnsVoipChannelResponse updateApnsVoipChannel(UpdateApnsVoipChannelRequest updateApnsVoipChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Enables the APNs VoIP channel for an application or updates the status and settings of the APNs VoIP channel for
* an application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateApnsVoipChannelRequest.Builder} avoiding the
* need to create one manually via {@link UpdateApnsVoipChannelRequest#builder()}
*
*
* @param updateApnsVoipChannelRequest
* A {@link Consumer} that will call methods on {@link UpdateApnsVoipChannelRequest.Builder} to create a
* request.
* @return Result of the UpdateApnsVoipChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateApnsVoipChannel
* @see AWS API Documentation
*/
default UpdateApnsVoipChannelResponse updateApnsVoipChannel(
Consumer updateApnsVoipChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return updateApnsVoipChannel(UpdateApnsVoipChannelRequest.builder().applyMutation(updateApnsVoipChannelRequest).build());
}
/**
*
* Enables the APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP
* sandbox channel for an application.
*
*
* @param updateApnsVoipSandboxChannelRequest
* @return Result of the UpdateApnsVoipSandboxChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateApnsVoipSandboxChannel
* @see AWS API Documentation
*/
default UpdateApnsVoipSandboxChannelResponse updateApnsVoipSandboxChannel(
UpdateApnsVoipSandboxChannelRequest updateApnsVoipSandboxChannelRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Enables the APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP
* sandbox channel for an application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateApnsVoipSandboxChannelRequest.Builder}
* avoiding the need to create one manually via {@link UpdateApnsVoipSandboxChannelRequest#builder()}
*
*
* @param updateApnsVoipSandboxChannelRequest
* A {@link Consumer} that will call methods on {@link UpdateApnsVoipSandboxChannelRequest.Builder} to create
* a request.
* @return Result of the UpdateApnsVoipSandboxChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateApnsVoipSandboxChannel
* @see AWS API Documentation
*/
default UpdateApnsVoipSandboxChannelResponse updateApnsVoipSandboxChannel(
Consumer updateApnsVoipSandboxChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateApnsVoipSandboxChannel(UpdateApnsVoipSandboxChannelRequest.builder()
.applyMutation(updateApnsVoipSandboxChannelRequest).build());
}
/**
*
* Updates the settings for an application.
*
*
* @param updateApplicationSettingsRequest
* @return Result of the UpdateApplicationSettings 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateApplicationSettings
* @see AWS API Documentation
*/
default UpdateApplicationSettingsResponse updateApplicationSettings(
UpdateApplicationSettingsRequest updateApplicationSettingsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the settings for an application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateApplicationSettingsRequest.Builder} avoiding
* the need to create one manually via {@link UpdateApplicationSettingsRequest#builder()}
*
*
* @param updateApplicationSettingsRequest
* A {@link Consumer} that will call methods on {@link UpdateApplicationSettingsRequest.Builder} to create a
* request.
* @return Result of the UpdateApplicationSettings 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateApplicationSettings
* @see AWS API Documentation
*/
default UpdateApplicationSettingsResponse updateApplicationSettings(
Consumer updateApplicationSettingsRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return updateApplicationSettings(UpdateApplicationSettingsRequest.builder()
.applyMutation(updateApplicationSettingsRequest).build());
}
/**
*
* Enables the Baidu channel for an application or updates the status and settings of the Baidu channel for an
* application.
*
*
* @param updateBaiduChannelRequest
* @return Result of the UpdateBaiduChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateBaiduChannel
* @see AWS
* API Documentation
*/
default UpdateBaiduChannelResponse updateBaiduChannel(UpdateBaiduChannelRequest updateBaiduChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Enables the Baidu channel for an application or updates the status and settings of the Baidu channel for an
* application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateBaiduChannelRequest.Builder} avoiding the
* need to create one manually via {@link UpdateBaiduChannelRequest#builder()}
*
*
* @param updateBaiduChannelRequest
* A {@link Consumer} that will call methods on {@link UpdateBaiduChannelRequest.Builder} to create a
* request.
* @return Result of the UpdateBaiduChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateBaiduChannel
* @see AWS
* API Documentation
*/
default UpdateBaiduChannelResponse updateBaiduChannel(Consumer updateBaiduChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateBaiduChannel(UpdateBaiduChannelRequest.builder().applyMutation(updateBaiduChannelRequest).build());
}
/**
*
* Updates the configuration and other settings for a campaign.
*
*
* @param updateCampaignRequest
* @return Result of the UpdateCampaign 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateCampaign
* @see AWS API
* Documentation
*/
default UpdateCampaignResponse updateCampaign(UpdateCampaignRequest updateCampaignRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the configuration and other settings for a campaign.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateCampaignRequest.Builder} avoiding the need to
* create one manually via {@link UpdateCampaignRequest#builder()}
*
*
* @param updateCampaignRequest
* A {@link Consumer} that will call methods on {@link UpdateCampaignRequest.Builder} to create a request.
* @return Result of the UpdateCampaign 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateCampaign
* @see AWS API
* Documentation
*/
default UpdateCampaignResponse updateCampaign(Consumer updateCampaignRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateCampaign(UpdateCampaignRequest.builder().applyMutation(updateCampaignRequest).build());
}
/**
*
* Enables the email channel for an application or updates the status and settings of the email channel for an
* application.
*
*
* @param updateEmailChannelRequest
* @return Result of the UpdateEmailChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateEmailChannel
* @see AWS
* API Documentation
*/
default UpdateEmailChannelResponse updateEmailChannel(UpdateEmailChannelRequest updateEmailChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Enables the email channel for an application or updates the status and settings of the email channel for an
* application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateEmailChannelRequest.Builder} avoiding the
* need to create one manually via {@link UpdateEmailChannelRequest#builder()}
*
*
* @param updateEmailChannelRequest
* A {@link Consumer} that will call methods on {@link UpdateEmailChannelRequest.Builder} to create a
* request.
* @return Result of the UpdateEmailChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateEmailChannel
* @see AWS
* API Documentation
*/
default UpdateEmailChannelResponse updateEmailChannel(Consumer updateEmailChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateEmailChannel(UpdateEmailChannelRequest.builder().applyMutation(updateEmailChannelRequest).build());
}
/**
*
* Updates an existing message template for messages that are sent through the email channel.
*
*
* @param updateEmailTemplateRequest
* @return Result of the UpdateEmailTemplate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateEmailTemplate
* @see AWS
* API Documentation
*/
default UpdateEmailTemplateResponse updateEmailTemplate(UpdateEmailTemplateRequest updateEmailTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing message template for messages that are sent through the email channel.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateEmailTemplateRequest.Builder} avoiding the
* need to create one manually via {@link UpdateEmailTemplateRequest#builder()}
*
*
* @param updateEmailTemplateRequest
* A {@link Consumer} that will call methods on {@link UpdateEmailTemplateRequest.Builder} to create a
* request.
* @return Result of the UpdateEmailTemplate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateEmailTemplate
* @see AWS
* API Documentation
*/
default UpdateEmailTemplateResponse updateEmailTemplate(
Consumer updateEmailTemplateRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return updateEmailTemplate(UpdateEmailTemplateRequest.builder().applyMutation(updateEmailTemplateRequest).build());
}
/**
*
* Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an
* application. You can also use this operation to define custom attributes for an endpoint. If an update includes
* one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new
* values.
*
*
* @param updateEndpointRequest
* @return Result of the UpdateEndpoint 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateEndpoint
* @see AWS API
* Documentation
*/
default UpdateEndpointResponse updateEndpoint(UpdateEndpointRequest updateEndpointRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an
* application. You can also use this operation to define custom attributes for an endpoint. If an update includes
* one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new
* values.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateEndpointRequest.Builder} avoiding the need to
* create one manually via {@link UpdateEndpointRequest#builder()}
*
*
* @param updateEndpointRequest
* A {@link Consumer} that will call methods on {@link UpdateEndpointRequest.Builder} to create a request.
* @return Result of the UpdateEndpoint 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateEndpoint
* @see AWS API
* Documentation
*/
default UpdateEndpointResponse updateEndpoint(Consumer updateEndpointRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateEndpoint(UpdateEndpointRequest.builder().applyMutation(updateEndpointRequest).build());
}
/**
*
* Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing
* endpoints for an application. You can also use this operation to define custom attributes for a batch of
* endpoints. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites)
* any existing values with the new values.
*
*
* @param updateEndpointsBatchRequest
* @return Result of the UpdateEndpointsBatch 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateEndpointsBatch
* @see AWS
* API Documentation
*/
default UpdateEndpointsBatchResponse updateEndpointsBatch(UpdateEndpointsBatchRequest updateEndpointsBatchRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing
* endpoints for an application. You can also use this operation to define custom attributes for a batch of
* endpoints. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites)
* any existing values with the new values.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateEndpointsBatchRequest.Builder} avoiding the
* need to create one manually via {@link UpdateEndpointsBatchRequest#builder()}
*
*
* @param updateEndpointsBatchRequest
* A {@link Consumer} that will call methods on {@link UpdateEndpointsBatchRequest.Builder} to create a
* request.
* @return Result of the UpdateEndpointsBatch 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateEndpointsBatch
* @see AWS
* API Documentation
*/
default UpdateEndpointsBatchResponse updateEndpointsBatch(
Consumer updateEndpointsBatchRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return updateEndpointsBatch(UpdateEndpointsBatchRequest.builder().applyMutation(updateEndpointsBatchRequest).build());
}
/**
*
* Enables the GCM channel for an application or updates the status and settings of the GCM channel for an
* application.
*
*
* @param updateGcmChannelRequest
* @return Result of the UpdateGcmChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateGcmChannel
* @see AWS API
* Documentation
*/
default UpdateGcmChannelResponse updateGcmChannel(UpdateGcmChannelRequest updateGcmChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Enables the GCM channel for an application or updates the status and settings of the GCM channel for an
* application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateGcmChannelRequest.Builder} avoiding the need
* to create one manually via {@link UpdateGcmChannelRequest#builder()}
*
*
* @param updateGcmChannelRequest
* A {@link Consumer} that will call methods on {@link UpdateGcmChannelRequest.Builder} to create a request.
* @return Result of the UpdateGcmChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateGcmChannel
* @see AWS API
* Documentation
*/
default UpdateGcmChannelResponse updateGcmChannel(Consumer updateGcmChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateGcmChannel(UpdateGcmChannelRequest.builder().applyMutation(updateGcmChannelRequest).build());
}
/**
*
* Updates an existing message template for messages sent through the in-app message channel.
*
*
* @param updateInAppTemplateRequest
* @return Result of the UpdateInAppTemplate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateInAppTemplate
* @see AWS
* API Documentation
*/
default UpdateInAppTemplateResponse updateInAppTemplate(UpdateInAppTemplateRequest updateInAppTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing message template for messages sent through the in-app message channel.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateInAppTemplateRequest.Builder} avoiding the
* need to create one manually via {@link UpdateInAppTemplateRequest#builder()}
*
*
* @param updateInAppTemplateRequest
* A {@link Consumer} that will call methods on {@link UpdateInAppTemplateRequest.Builder} to create a
* request.
* @return Result of the UpdateInAppTemplate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateInAppTemplate
* @see AWS
* API Documentation
*/
default UpdateInAppTemplateResponse updateInAppTemplate(
Consumer updateInAppTemplateRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return updateInAppTemplate(UpdateInAppTemplateRequest.builder().applyMutation(updateInAppTemplateRequest).build());
}
/**
*
* Updates the configuration and other settings for a journey.
*
*
* @param updateJourneyRequest
* @return Result of the UpdateJourney 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).
* @throws ConflictException
* The request failed due to a conflict with the current state of the specified resource
* (ConflictException).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateJourney
* @see AWS API
* Documentation
*/
default UpdateJourneyResponse updateJourney(UpdateJourneyRequest updateJourneyRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, ConflictException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Updates the configuration and other settings for a journey.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateJourneyRequest.Builder} avoiding the need to
* create one manually via {@link UpdateJourneyRequest#builder()}
*
*
* @param updateJourneyRequest
* A {@link Consumer} that will call methods on {@link UpdateJourneyRequest.Builder} to create a request.
* @return Result of the UpdateJourney 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).
* @throws ConflictException
* The request failed due to a conflict with the current state of the specified resource
* (ConflictException).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateJourney
* @see AWS API
* Documentation
*/
default UpdateJourneyResponse updateJourney(Consumer updateJourneyRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, ConflictException, AwsServiceException,
SdkClientException, PinpointException {
return updateJourney(UpdateJourneyRequest.builder().applyMutation(updateJourneyRequest).build());
}
/**
*
* Cancels (stops) an active journey.
*
*
* @param updateJourneyStateRequest
* @return Result of the UpdateJourneyState 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateJourneyState
* @see AWS
* API Documentation
*/
default UpdateJourneyStateResponse updateJourneyState(UpdateJourneyStateRequest updateJourneyStateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Cancels (stops) an active journey.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateJourneyStateRequest.Builder} avoiding the
* need to create one manually via {@link UpdateJourneyStateRequest#builder()}
*
*
* @param updateJourneyStateRequest
* A {@link Consumer} that will call methods on {@link UpdateJourneyStateRequest.Builder} to create a
* request.
* @return Result of the UpdateJourneyState 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateJourneyState
* @see AWS
* API Documentation
*/
default UpdateJourneyStateResponse updateJourneyState(Consumer updateJourneyStateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateJourneyState(UpdateJourneyStateRequest.builder().applyMutation(updateJourneyStateRequest).build());
}
/**
*
* Updates an existing message template for messages that are sent through a push notification channel.
*
*
* @param updatePushTemplateRequest
* @return Result of the UpdatePushTemplate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdatePushTemplate
* @see AWS
* API Documentation
*/
default UpdatePushTemplateResponse updatePushTemplate(UpdatePushTemplateRequest updatePushTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing message template for messages that are sent through a push notification channel.
*
*
*
* This is a convenience which creates an instance of the {@link UpdatePushTemplateRequest.Builder} avoiding the
* need to create one manually via {@link UpdatePushTemplateRequest#builder()}
*
*
* @param updatePushTemplateRequest
* A {@link Consumer} that will call methods on {@link UpdatePushTemplateRequest.Builder} to create a
* request.
* @return Result of the UpdatePushTemplate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdatePushTemplate
* @see AWS
* API Documentation
*/
default UpdatePushTemplateResponse updatePushTemplate(Consumer updatePushTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updatePushTemplate(UpdatePushTemplateRequest.builder().applyMutation(updatePushTemplateRequest).build());
}
/**
*
* Updates an Amazon Pinpoint configuration for a recommender model.
*
*
* @param updateRecommenderConfigurationRequest
* @return Result of the UpdateRecommenderConfiguration 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateRecommenderConfiguration
* @see AWS API Documentation
*/
default UpdateRecommenderConfigurationResponse updateRecommenderConfiguration(
UpdateRecommenderConfigurationRequest updateRecommenderConfigurationRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an Amazon Pinpoint configuration for a recommender model.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateRecommenderConfigurationRequest.Builder}
* avoiding the need to create one manually via {@link UpdateRecommenderConfigurationRequest#builder()}
*
*
* @param updateRecommenderConfigurationRequest
* A {@link Consumer} that will call methods on {@link UpdateRecommenderConfigurationRequest.Builder} to
* create a request.
* @return Result of the UpdateRecommenderConfiguration 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateRecommenderConfiguration
* @see AWS API Documentation
*/
default UpdateRecommenderConfigurationResponse updateRecommenderConfiguration(
Consumer updateRecommenderConfigurationRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateRecommenderConfiguration(UpdateRecommenderConfigurationRequest.builder()
.applyMutation(updateRecommenderConfigurationRequest).build());
}
/**
*
* 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 updateSegmentRequest
* @return Result of the UpdateSegment 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateSegment
* @see AWS API
* Documentation
*/
default UpdateSegmentResponse updateSegment(UpdateSegmentRequest updateSegmentRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateSegmentRequest.Builder} avoiding the need to
* create one manually via {@link UpdateSegmentRequest#builder()}
*
*
* @param updateSegmentRequest
* A {@link Consumer} that will call methods on {@link UpdateSegmentRequest.Builder} to create a request.
* @return Result of the UpdateSegment 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateSegment
* @see AWS API
* Documentation
*/
default UpdateSegmentResponse updateSegment(Consumer updateSegmentRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateSegment(UpdateSegmentRequest.builder().applyMutation(updateSegmentRequest).build());
}
/**
*
* Enables the SMS channel for an application or updates the status and settings of the SMS channel for an
* application.
*
*
* @param updateSmsChannelRequest
* @return Result of the UpdateSmsChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateSmsChannel
* @see AWS API
* Documentation
*/
default UpdateSmsChannelResponse updateSmsChannel(UpdateSmsChannelRequest updateSmsChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Enables the SMS channel for an application or updates the status and settings of the SMS channel for an
* application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateSmsChannelRequest.Builder} avoiding the need
* to create one manually via {@link UpdateSmsChannelRequest#builder()}
*
*
* @param updateSmsChannelRequest
* A {@link Consumer} that will call methods on {@link UpdateSmsChannelRequest.Builder} to create a request.
* @return Result of the UpdateSmsChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateSmsChannel
* @see AWS API
* Documentation
*/
default UpdateSmsChannelResponse updateSmsChannel(Consumer updateSmsChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateSmsChannel(UpdateSmsChannelRequest.builder().applyMutation(updateSmsChannelRequest).build());
}
/**
*
* Updates an existing message template for messages that are sent through the SMS channel.
*
*
* @param updateSmsTemplateRequest
* @return Result of the UpdateSmsTemplate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateSmsTemplate
* @see AWS
* API Documentation
*/
default UpdateSmsTemplateResponse updateSmsTemplate(UpdateSmsTemplateRequest updateSmsTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing message template for messages that are sent through the SMS channel.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateSmsTemplateRequest.Builder} avoiding the need
* to create one manually via {@link UpdateSmsTemplateRequest#builder()}
*
*
* @param updateSmsTemplateRequest
* A {@link Consumer} that will call methods on {@link UpdateSmsTemplateRequest.Builder} to create a request.
* @return Result of the UpdateSmsTemplate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateSmsTemplate
* @see AWS
* API Documentation
*/
default UpdateSmsTemplateResponse updateSmsTemplate(Consumer updateSmsTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateSmsTemplate(UpdateSmsTemplateRequest.builder().applyMutation(updateSmsTemplateRequest).build());
}
/**
*
* Changes the status of a specific version of a message template to active.
*
*
* @param updateTemplateActiveVersionRequest
* @return Result of the UpdateTemplateActiveVersion 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateTemplateActiveVersion
* @see AWS API Documentation
*/
default UpdateTemplateActiveVersionResponse updateTemplateActiveVersion(
UpdateTemplateActiveVersionRequest updateTemplateActiveVersionRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Changes the status of a specific version of a message template to active.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateTemplateActiveVersionRequest.Builder}
* avoiding the need to create one manually via {@link UpdateTemplateActiveVersionRequest#builder()}
*
*
* @param updateTemplateActiveVersionRequest
* A {@link Consumer} that will call methods on {@link UpdateTemplateActiveVersionRequest.Builder} to create
* a request.
* @return Result of the UpdateTemplateActiveVersion 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateTemplateActiveVersion
* @see AWS API Documentation
*/
default UpdateTemplateActiveVersionResponse updateTemplateActiveVersion(
Consumer updateTemplateActiveVersionRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return updateTemplateActiveVersion(UpdateTemplateActiveVersionRequest.builder()
.applyMutation(updateTemplateActiveVersionRequest).build());
}
/**
*
* Enables the voice channel for an application or updates the status and settings of the voice channel for an
* application.
*
*
* @param updateVoiceChannelRequest
* @return Result of the UpdateVoiceChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateVoiceChannel
* @see AWS
* API Documentation
*/
default UpdateVoiceChannelResponse updateVoiceChannel(UpdateVoiceChannelRequest updateVoiceChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Enables the voice channel for an application or updates the status and settings of the voice channel for an
* application.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateVoiceChannelRequest.Builder} avoiding the
* need to create one manually via {@link UpdateVoiceChannelRequest#builder()}
*
*
* @param updateVoiceChannelRequest
* A {@link Consumer} that will call methods on {@link UpdateVoiceChannelRequest.Builder} to create a
* request.
* @return Result of the UpdateVoiceChannel 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateVoiceChannel
* @see AWS
* API Documentation
*/
default UpdateVoiceChannelResponse updateVoiceChannel(Consumer updateVoiceChannelRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
return updateVoiceChannel(UpdateVoiceChannelRequest.builder().applyMutation(updateVoiceChannelRequest).build());
}
/**
*
* Updates an existing message template for messages that are sent through the voice channel.
*
*
* @param updateVoiceTemplateRequest
* @return Result of the UpdateVoiceTemplate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateVoiceTemplate
* @see AWS
* API Documentation
*/
default UpdateVoiceTemplateResponse updateVoiceTemplate(UpdateVoiceTemplateRequest updateVoiceTemplateRequest)
throws BadRequestException, InternalServerErrorException, PayloadTooLargeException, ForbiddenException,
NotFoundException, MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException,
PinpointException {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing message template for messages that are sent through the voice channel.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateVoiceTemplateRequest.Builder} avoiding the
* need to create one manually via {@link UpdateVoiceTemplateRequest#builder()}
*
*
* @param updateVoiceTemplateRequest
* A {@link Consumer} that will call methods on {@link UpdateVoiceTemplateRequest.Builder} to create a
* request.
* @return Result of the UpdateVoiceTemplate 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).
* @throws SdkException
* Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
* catch all scenarios.
* @throws SdkClientException
* If any client side error occurs such as an IO related failure, failure to get credentials, etc.
* @throws PinpointException
* Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
* @sample PinpointClient.UpdateVoiceTemplate
* @see AWS
* API Documentation
*/
default UpdateVoiceTemplateResponse updateVoiceTemplate(
Consumer updateVoiceTemplateRequest) throws BadRequestException,
InternalServerErrorException, PayloadTooLargeException, ForbiddenException, NotFoundException,
MethodNotAllowedException, TooManyRequestsException, AwsServiceException, SdkClientException, PinpointException {
return updateVoiceTemplate(UpdateVoiceTemplateRequest.builder().applyMutation(updateVoiceTemplateRequest).build());
}
static ServiceMetadata serviceMetadata() {
return ServiceMetadata.of(SERVICE_METADATA_ID);
}
}