@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, timeOffset
ENDPOINT_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, getSignerProvider, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion, shutdown
protected 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 AmazonPinpoint
createCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic CreateImportJobResult createImportJob(CreateImportJobRequest request)
createImportJob
in interface AmazonPinpoint
createImportJobRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic CreateSegmentResult createSegment(CreateSegmentRequest request)
createSegment
in interface AmazonPinpoint
createSegmentRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic DeleteApnsChannelResult deleteApnsChannel(DeleteApnsChannelRequest request)
deleteApnsChannel
in interface AmazonPinpoint
deleteApnsChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic DeleteCampaignResult deleteCampaign(DeleteCampaignRequest request)
deleteCampaign
in interface AmazonPinpoint
deleteCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic DeleteEventStreamResult deleteEventStream(DeleteEventStreamRequest request)
deleteEventStream
in interface AmazonPinpoint
deleteEventStreamRequest
- 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 AmazonPinpoint
deleteGcmChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic DeleteSegmentResult deleteSegment(DeleteSegmentRequest request)
deleteSegment
in interface AmazonPinpoint
deleteSegmentRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetApnsChannelResult getApnsChannel(GetApnsChannelRequest request)
getApnsChannel
in interface AmazonPinpoint
getApnsChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetApplicationSettingsResult getApplicationSettings(GetApplicationSettingsRequest request)
getApplicationSettings
in interface AmazonPinpoint
getApplicationSettingsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetCampaignResult getCampaign(GetCampaignRequest request)
getCampaign
in interface AmazonPinpoint
getCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetCampaignActivitiesResult getCampaignActivities(GetCampaignActivitiesRequest request)
getCampaignActivities
in interface AmazonPinpoint
getCampaignActivitiesRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetCampaignVersionResult getCampaignVersion(GetCampaignVersionRequest request)
getCampaignVersion
in interface AmazonPinpoint
getCampaignVersionRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetCampaignVersionsResult getCampaignVersions(GetCampaignVersionsRequest request)
getCampaignVersions
in interface AmazonPinpoint
getCampaignVersionsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetCampaignsResult getCampaigns(GetCampaignsRequest request)
getCampaigns
in interface AmazonPinpoint
getCampaignsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetEndpointResult getEndpoint(GetEndpointRequest request)
getEndpoint
in interface AmazonPinpoint
getEndpointRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetEventStreamResult getEventStream(GetEventStreamRequest request)
getEventStream
in interface AmazonPinpoint
getEventStreamRequest
- 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 AmazonPinpoint
getGcmChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetImportJobResult getImportJob(GetImportJobRequest request)
getImportJob
in interface AmazonPinpoint
getImportJobRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetImportJobsResult getImportJobs(GetImportJobsRequest request)
getImportJobs
in interface AmazonPinpoint
getImportJobsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetSegmentResult getSegment(GetSegmentRequest request)
getSegment
in interface AmazonPinpoint
getSegmentRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetSegmentImportJobsResult getSegmentImportJobs(GetSegmentImportJobsRequest request)
getSegmentImportJobs
in interface AmazonPinpoint
getSegmentImportJobsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetSegmentVersionResult getSegmentVersion(GetSegmentVersionRequest request)
getSegmentVersion
in interface AmazonPinpoint
getSegmentVersionRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetSegmentVersionsResult getSegmentVersions(GetSegmentVersionsRequest request)
getSegmentVersions
in interface AmazonPinpoint
getSegmentVersionsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetSegmentsResult getSegments(GetSegmentsRequest request)
getSegments
in interface AmazonPinpoint
getSegmentsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic PutEventStreamResult putEventStream(PutEventStreamRequest request)
putEventStream
in interface AmazonPinpoint
putEventStreamRequest
- 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 UpdateApnsChannelResult updateApnsChannel(UpdateApnsChannelRequest request)
updateApnsChannel
in interface AmazonPinpoint
updateApnsChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateApplicationSettingsResult updateApplicationSettings(UpdateApplicationSettingsRequest request)
updateApplicationSettings
in interface AmazonPinpoint
updateApplicationSettingsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateCampaignResult updateCampaign(UpdateCampaignRequest request)
updateCampaign
in interface AmazonPinpoint
updateCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateEndpointResult updateEndpoint(UpdateEndpointRequest request)
updateEndpoint
in interface AmazonPinpoint
updateEndpointRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateEndpointsBatchResult updateEndpointsBatch(UpdateEndpointsBatchRequest request)
updateEndpointsBatch
in interface AmazonPinpoint
updateEndpointsBatchRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateGcmChannelResult updateGcmChannel(UpdateGcmChannelRequest request)
updateGcmChannel
in interface AmazonPinpoint
updateGcmChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateSegmentResult updateSegment(UpdateSegmentRequest request)
updateSegment
in interface AmazonPinpoint
updateSegmentRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic 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 AmazonPinpoint
request
- The originally executed requestCopyright © 2017. All rights reserved.