@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonPinpointClient extends AmazonWebServiceClient implements AmazonPinpoint
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Constructor and Description |
|---|
AmazonPinpointClient()
Deprecated.
|
AmazonPinpointClient(AWSCredentials awsCredentials)
Deprecated.
use
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AmazonPinpointClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build(); |
AmazonPinpointClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
|
AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider)
Deprecated.
|
AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
|
AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
|
AmazonPinpointClient(ClientConfiguration clientConfiguration)
Deprecated.
|
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetEndpoint, setRegion, shutdownprotected static final ClientConfigurationFactory configFactory
@Deprecated public AmazonPinpointClient()
AmazonPinpointClientBuilder.defaultClient()All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain@Deprecated public AmazonPinpointClient(ClientConfiguration clientConfiguration)
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this client connects to Amazon Pinpoint (ex: proxy
settings, retry counts, etc.).DefaultAWSCredentialsProviderChain@Deprecated public AmazonPinpointClient(AWSCredentials awsCredentials)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) for example:
AmazonPinpointClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(awsCredentials)).build();All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.@Deprecated public AmazonPinpointClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon Pinpoint (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider)
AwsClientBuilder.withCredentials(AWSCredentialsProvider)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.@Deprecated public AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon Pinpoint (ex: proxy
settings, retry counts, etc.).@Deprecated public AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
AwsClientBuilder.withCredentials(AWSCredentialsProvider) and
AwsClientBuilder.withClientConfiguration(ClientConfiguration) and
AwsClientBuilder.withMetricsCollector(RequestMetricCollector)All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration - The client configuration options controlling how this client connects to Amazon Pinpoint (ex: proxy
settings, retry counts, etc.).requestMetricCollector - optional request metric collectorpublic static AmazonPinpointClientBuilder builder()
public CreateCampaignResult createCampaign(CreateCampaignRequest request)
createCampaign in interface AmazonPinpointcreateCampaignRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public CreateImportJobResult createImportJob(CreateImportJobRequest request)
createImportJob in interface AmazonPinpointcreateImportJobRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public CreateSegmentResult createSegment(CreateSegmentRequest request)
createSegment in interface AmazonPinpointcreateSegmentRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public DeleteApnsChannelResult deleteApnsChannel(DeleteApnsChannelRequest request)
deleteApnsChannel in interface AmazonPinpointdeleteApnsChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public DeleteApnsSandboxChannelResult deleteApnsSandboxChannel(DeleteApnsSandboxChannelRequest request)
deleteApnsSandboxChannel in interface AmazonPinpointdeleteApnsSandboxChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public DeleteCampaignResult deleteCampaign(DeleteCampaignRequest request)
deleteCampaign in interface AmazonPinpointdeleteCampaignRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public DeleteEmailChannelResult deleteEmailChannel(DeleteEmailChannelRequest request)
deleteEmailChannel in interface AmazonPinpointdeleteEmailChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public DeleteEventStreamResult deleteEventStream(DeleteEventStreamRequest request)
deleteEventStream in interface AmazonPinpointdeleteEventStreamRequest - DeleteEventStream RequestBadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public DeleteGcmChannelResult deleteGcmChannel(DeleteGcmChannelRequest request)
deleteGcmChannel in interface AmazonPinpointdeleteGcmChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public DeleteSegmentResult deleteSegment(DeleteSegmentRequest request)
deleteSegment in interface AmazonPinpointdeleteSegmentRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public DeleteSmsChannelResult deleteSmsChannel(DeleteSmsChannelRequest request)
deleteSmsChannel in interface AmazonPinpointdeleteSmsChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetApnsChannelResult getApnsChannel(GetApnsChannelRequest request)
getApnsChannel in interface AmazonPinpointgetApnsChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetApnsSandboxChannelResult getApnsSandboxChannel(GetApnsSandboxChannelRequest request)
getApnsSandboxChannel in interface AmazonPinpointgetApnsSandboxChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetApplicationSettingsResult getApplicationSettings(GetApplicationSettingsRequest request)
getApplicationSettings in interface AmazonPinpointgetApplicationSettingsRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetCampaignResult getCampaign(GetCampaignRequest request)
getCampaign in interface AmazonPinpointgetCampaignRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetCampaignActivitiesResult getCampaignActivities(GetCampaignActivitiesRequest request)
getCampaignActivities in interface AmazonPinpointgetCampaignActivitiesRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetCampaignVersionResult getCampaignVersion(GetCampaignVersionRequest request)
getCampaignVersion in interface AmazonPinpointgetCampaignVersionRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetCampaignVersionsResult getCampaignVersions(GetCampaignVersionsRequest request)
getCampaignVersions in interface AmazonPinpointgetCampaignVersionsRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetCampaignsResult getCampaigns(GetCampaignsRequest request)
getCampaigns in interface AmazonPinpointgetCampaignsRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetEmailChannelResult getEmailChannel(GetEmailChannelRequest request)
getEmailChannel in interface AmazonPinpointgetEmailChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetEndpointResult getEndpoint(GetEndpointRequest request)
getEndpoint in interface AmazonPinpointgetEndpointRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetEventStreamResult getEventStream(GetEventStreamRequest request)
getEventStream in interface AmazonPinpointgetEventStreamRequest - GetEventStream RequestBadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetGcmChannelResult getGcmChannel(GetGcmChannelRequest request)
getGcmChannel in interface AmazonPinpointgetGcmChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetImportJobResult getImportJob(GetImportJobRequest request)
getImportJob in interface AmazonPinpointgetImportJobRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetImportJobsResult getImportJobs(GetImportJobsRequest request)
getImportJobs in interface AmazonPinpointgetImportJobsRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetSegmentResult getSegment(GetSegmentRequest request)
getSegment in interface AmazonPinpointgetSegmentRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetSegmentImportJobsResult getSegmentImportJobs(GetSegmentImportJobsRequest request)
getSegmentImportJobs in interface AmazonPinpointgetSegmentImportJobsRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetSegmentVersionResult getSegmentVersion(GetSegmentVersionRequest request)
getSegmentVersion in interface AmazonPinpointgetSegmentVersionRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetSegmentVersionsResult getSegmentVersions(GetSegmentVersionsRequest request)
getSegmentVersions in interface AmazonPinpointgetSegmentVersionsRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetSegmentsResult getSegments(GetSegmentsRequest request)
getSegments in interface AmazonPinpointgetSegmentsRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public GetSmsChannelResult getSmsChannel(GetSmsChannelRequest request)
getSmsChannel in interface AmazonPinpointgetSmsChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public PutEventStreamResult putEventStream(PutEventStreamRequest request)
putEventStream in interface AmazonPinpointputEventStreamRequest - PutEventStream RequestBadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public SendMessagesResult sendMessages(SendMessagesRequest request)
sendMessages in interface AmazonPinpointsendMessagesRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public UpdateApnsChannelResult updateApnsChannel(UpdateApnsChannelRequest request)
updateApnsChannel in interface AmazonPinpointupdateApnsChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public UpdateApnsSandboxChannelResult updateApnsSandboxChannel(UpdateApnsSandboxChannelRequest request)
updateApnsSandboxChannel in interface AmazonPinpointupdateApnsSandboxChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public UpdateApplicationSettingsResult updateApplicationSettings(UpdateApplicationSettingsRequest request)
updateApplicationSettings in interface AmazonPinpointupdateApplicationSettingsRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public UpdateCampaignResult updateCampaign(UpdateCampaignRequest request)
updateCampaign in interface AmazonPinpointupdateCampaignRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public UpdateEmailChannelResult updateEmailChannel(UpdateEmailChannelRequest request)
updateEmailChannel in interface AmazonPinpointupdateEmailChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public UpdateEndpointResult updateEndpoint(UpdateEndpointRequest request)
updateEndpoint in interface AmazonPinpointupdateEndpointRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public UpdateEndpointsBatchResult updateEndpointsBatch(UpdateEndpointsBatchRequest request)
updateEndpointsBatch in interface AmazonPinpointupdateEndpointsBatchRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public UpdateGcmChannelResult updateGcmChannel(UpdateGcmChannelRequest request)
updateGcmChannel in interface AmazonPinpointupdateGcmChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public UpdateSegmentResult updateSegment(UpdateSegmentRequest request)
updateSegment in interface AmazonPinpointupdateSegmentRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public UpdateSmsChannelResult updateSmsChannel(UpdateSmsChannelRequest request)
updateSmsChannel in interface AmazonPinpointupdateSmsChannelRequest - BadRequestException - Simple message object.InternalServerErrorException - Simple message object.ForbiddenException - Simple message object.NotFoundException - Simple message object.MethodNotAllowedException - Simple message object.TooManyRequestsException - Simple message object.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AmazonPinpointrequest - The originally executed requestCopyright © 2017. All rights reserved.