@ThreadSafe public class AmazonPinpointClient extends AmazonWebServiceClient implements AmazonPinpoint
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Constructor and Description |
---|
AmazonPinpointClient()
Constructs a new client to invoke service methods on Amazon Pinpoint.
|
AmazonPinpointClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on Amazon Pinpoint using the specified AWS account credentials.
|
AmazonPinpointClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon Pinpoint using the specified AWS account credentials
and client configuration options.
|
AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on Amazon Pinpoint using the specified AWS account credentials
provider.
|
AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon Pinpoint using the specified AWS account credentials
provider and client configuration options.
|
AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Constructs a new client to invoke service methods on Amazon Pinpoint using the specified AWS account credentials
provider, client configuration options, and request metric collector.
|
AmazonPinpointClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Amazon Pinpoint.
|
Modifier and Type | Method and Description |
---|---|
CreateCampaignResult |
createCampaign(CreateCampaignRequest createCampaignRequest)
Creates or updates a campaign.
|
CreateImportJobResult |
createImportJob(CreateImportJobRequest createImportJobRequest)
Creates or updates an import job.
|
CreateSegmentResult |
createSegment(CreateSegmentRequest createSegmentRequest)
Used to create or update a segment.
|
DeleteApnsChannelResult |
deleteApnsChannel(DeleteApnsChannelRequest deleteApnsChannelRequest)
Deletes the APNs channel for an app.
|
DeleteCampaignResult |
deleteCampaign(DeleteCampaignRequest deleteCampaignRequest)
Deletes a campaign.
|
DeleteGcmChannelResult |
deleteGcmChannel(DeleteGcmChannelRequest deleteGcmChannelRequest)
Deletes the GCM channel for an app.
|
DeleteSegmentResult |
deleteSegment(DeleteSegmentRequest deleteSegmentRequest)
Deletes a segment.
|
GetApnsChannelResult |
getApnsChannel(GetApnsChannelRequest getApnsChannelRequest)
Returns information about the APNs channel for an app.
|
GetApplicationSettingsResult |
getApplicationSettings(GetApplicationSettingsRequest getApplicationSettingsRequest)
Used to request the settings for an app.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetCampaignResult |
getCampaign(GetCampaignRequest getCampaignRequest)
Returns information about a campaign.
|
GetCampaignActivitiesResult |
getCampaignActivities(GetCampaignActivitiesRequest getCampaignActivitiesRequest)
Returns information about the activity performed by a campaign.
|
GetCampaignsResult |
getCampaigns(GetCampaignsRequest getCampaignsRequest)
Returns information about your campaigns.
|
GetCampaignVersionResult |
getCampaignVersion(GetCampaignVersionRequest getCampaignVersionRequest)
Returns information about your campaign versions.
|
GetCampaignVersionsResult |
getCampaignVersions(GetCampaignVersionsRequest getCampaignVersionsRequest)
Returns information about your campaign versions.
|
GetEndpointResult |
getEndpoint(GetEndpointRequest getEndpointRequest)
Returns information about an endpoint.
|
GetGcmChannelResult |
getGcmChannel(GetGcmChannelRequest getGcmChannelRequest)
Returns information about the GCM channel for an app.
|
GetImportJobResult |
getImportJob(GetImportJobRequest getImportJobRequest)
Returns information about an import job.
|
GetImportJobsResult |
getImportJobs(GetImportJobsRequest getImportJobsRequest)
Returns information about your import jobs.
|
GetSegmentResult |
getSegment(GetSegmentRequest getSegmentRequest)
Returns information about a segment.
|
GetSegmentImportJobsResult |
getSegmentImportJobs(GetSegmentImportJobsRequest getSegmentImportJobsRequest)
Returns a list of import jobs for a specific segment.
|
GetSegmentsResult |
getSegments(GetSegmentsRequest getSegmentsRequest)
Used to get information about your segments.
|
GetSegmentVersionResult |
getSegmentVersion(GetSegmentVersionRequest getSegmentVersionRequest)
Returns information about a segment version.
|
GetSegmentVersionsResult |
getSegmentVersions(GetSegmentVersionsRequest getSegmentVersionsRequest)
Returns information about your segment versions.
|
UpdateApnsChannelResult |
updateApnsChannel(UpdateApnsChannelRequest updateApnsChannelRequest)
Use to update the APNs channel for an app.
|
UpdateApplicationSettingsResult |
updateApplicationSettings(UpdateApplicationSettingsRequest updateApplicationSettingsRequest)
Used to update the settings for an app.
|
UpdateCampaignResult |
updateCampaign(UpdateCampaignRequest updateCampaignRequest)
Use to update a campaign.
|
UpdateEndpointResult |
updateEndpoint(UpdateEndpointRequest updateEndpointRequest)
Use to update an endpoint.
|
UpdateEndpointsBatchResult |
updateEndpointsBatch(UpdateEndpointsBatchRequest updateEndpointsBatchRequest)
Use to update your endpoints.
|
UpdateGcmChannelResult |
updateGcmChannel(UpdateGcmChannelRequest updateGcmChannelRequest)
Use to update the GCM channel for an app.
|
UpdateSegmentResult |
updateSegment(UpdateSegmentRequest updateSegmentRequest)
Use to update a segment.
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion, shutdown
public AmazonPinpointClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AmazonPinpointClient(ClientConfiguration 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
public AmazonPinpointClient(AWSCredentials awsCredentials)
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.public AmazonPinpointClient(AWSCredentials awsCredentials, ClientConfiguration 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.).public AmazonPinpointClient(AWSCredentialsProvider 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.public AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration 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.).public AmazonPinpointClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector 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 CreateCampaignResult createCampaign(CreateCampaignRequest createCampaignRequest)
createCampaign
in interface AmazonPinpoint
createCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic CreateImportJobResult createImportJob(CreateImportJobRequest createImportJobRequest)
createImportJob
in interface AmazonPinpoint
createImportJobRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic CreateSegmentResult createSegment(CreateSegmentRequest createSegmentRequest)
createSegment
in interface AmazonPinpoint
createSegmentRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic DeleteApnsChannelResult deleteApnsChannel(DeleteApnsChannelRequest deleteApnsChannelRequest)
deleteApnsChannel
in interface AmazonPinpoint
deleteApnsChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic DeleteCampaignResult deleteCampaign(DeleteCampaignRequest deleteCampaignRequest)
deleteCampaign
in interface AmazonPinpoint
deleteCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic DeleteGcmChannelResult deleteGcmChannel(DeleteGcmChannelRequest deleteGcmChannelRequest)
deleteGcmChannel
in interface AmazonPinpoint
deleteGcmChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic DeleteSegmentResult deleteSegment(DeleteSegmentRequest deleteSegmentRequest)
deleteSegment
in interface AmazonPinpoint
deleteSegmentRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetApnsChannelResult getApnsChannel(GetApnsChannelRequest getApnsChannelRequest)
getApnsChannel
in interface AmazonPinpoint
getApnsChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetApplicationSettingsResult getApplicationSettings(GetApplicationSettingsRequest getApplicationSettingsRequest)
getApplicationSettings
in interface AmazonPinpoint
getApplicationSettingsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetCampaignResult getCampaign(GetCampaignRequest getCampaignRequest)
getCampaign
in interface AmazonPinpoint
getCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetCampaignActivitiesResult getCampaignActivities(GetCampaignActivitiesRequest getCampaignActivitiesRequest)
getCampaignActivities
in interface AmazonPinpoint
getCampaignActivitiesRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetCampaignVersionResult getCampaignVersion(GetCampaignVersionRequest getCampaignVersionRequest)
getCampaignVersion
in interface AmazonPinpoint
getCampaignVersionRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetCampaignVersionsResult getCampaignVersions(GetCampaignVersionsRequest getCampaignVersionsRequest)
getCampaignVersions
in interface AmazonPinpoint
getCampaignVersionsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetCampaignsResult getCampaigns(GetCampaignsRequest getCampaignsRequest)
getCampaigns
in interface AmazonPinpoint
getCampaignsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetEndpointResult getEndpoint(GetEndpointRequest getEndpointRequest)
getEndpoint
in interface AmazonPinpoint
getEndpointRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetGcmChannelResult getGcmChannel(GetGcmChannelRequest getGcmChannelRequest)
getGcmChannel
in interface AmazonPinpoint
getGcmChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetImportJobResult getImportJob(GetImportJobRequest getImportJobRequest)
getImportJob
in interface AmazonPinpoint
getImportJobRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetImportJobsResult getImportJobs(GetImportJobsRequest getImportJobsRequest)
getImportJobs
in interface AmazonPinpoint
getImportJobsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetSegmentResult getSegment(GetSegmentRequest getSegmentRequest)
getSegment
in interface AmazonPinpoint
getSegmentRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetSegmentImportJobsResult getSegmentImportJobs(GetSegmentImportJobsRequest getSegmentImportJobsRequest)
getSegmentImportJobs
in interface AmazonPinpoint
getSegmentImportJobsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetSegmentVersionResult getSegmentVersion(GetSegmentVersionRequest getSegmentVersionRequest)
getSegmentVersion
in interface AmazonPinpoint
getSegmentVersionRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetSegmentVersionsResult getSegmentVersions(GetSegmentVersionsRequest getSegmentVersionsRequest)
getSegmentVersions
in interface AmazonPinpoint
getSegmentVersionsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic GetSegmentsResult getSegments(GetSegmentsRequest getSegmentsRequest)
getSegments
in interface AmazonPinpoint
getSegmentsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateApnsChannelResult updateApnsChannel(UpdateApnsChannelRequest updateApnsChannelRequest)
updateApnsChannel
in interface AmazonPinpoint
updateApnsChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateApplicationSettingsResult updateApplicationSettings(UpdateApplicationSettingsRequest updateApplicationSettingsRequest)
updateApplicationSettings
in interface AmazonPinpoint
updateApplicationSettingsRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateCampaignResult updateCampaign(UpdateCampaignRequest updateCampaignRequest)
updateCampaign
in interface AmazonPinpoint
updateCampaignRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateEndpointResult updateEndpoint(UpdateEndpointRequest updateEndpointRequest)
updateEndpoint
in interface AmazonPinpoint
updateEndpointRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateEndpointsBatchResult updateEndpointsBatch(UpdateEndpointsBatchRequest updateEndpointsBatchRequest)
updateEndpointsBatch
in interface AmazonPinpoint
updateEndpointsBatchRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateGcmChannelResult updateGcmChannel(UpdateGcmChannelRequest updateGcmChannelRequest)
updateGcmChannel
in interface AmazonPinpoint
updateGcmChannelRequest
- BadRequestException
- 400 responseInternalServerErrorException
- 500 responseForbiddenException
- 403 responseNotFoundException
- 404 responseMethodNotAllowedException
- 405 responseTooManyRequestsException
- 429 responsepublic UpdateSegmentResult updateSegment(UpdateSegmentRequest updateSegmentRequest)
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.