@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonPinpoint extends Object implements AmazonPinpoint
AmazonPinpoint
. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CreateCampaignResult |
createCampaign(CreateCampaignRequest request)
Creates or updates a campaign.
|
CreateImportJobResult |
createImportJob(CreateImportJobRequest request)
Creates or updates an import job.
|
CreateSegmentResult |
createSegment(CreateSegmentRequest request)
Used to create or update a segment.
|
DeleteApnsChannelResult |
deleteApnsChannel(DeleteApnsChannelRequest request)
Deletes the APNs channel for an app.
|
DeleteCampaignResult |
deleteCampaign(DeleteCampaignRequest request)
Deletes a campaign.
|
DeleteGcmChannelResult |
deleteGcmChannel(DeleteGcmChannelRequest request)
Deletes the GCM channel for an app.
|
DeleteSegmentResult |
deleteSegment(DeleteSegmentRequest request)
Deletes a segment.
|
GetApnsChannelResult |
getApnsChannel(GetApnsChannelRequest request)
Returns information about the APNs channel for an app.
|
GetApplicationSettingsResult |
getApplicationSettings(GetApplicationSettingsRequest request)
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 request)
Returns information about a campaign.
|
GetCampaignActivitiesResult |
getCampaignActivities(GetCampaignActivitiesRequest request)
Returns information about the activity performed by a campaign.
|
GetCampaignsResult |
getCampaigns(GetCampaignsRequest request)
Returns information about your campaigns.
|
GetCampaignVersionResult |
getCampaignVersion(GetCampaignVersionRequest request)
Returns information about your campaign versions.
|
GetCampaignVersionsResult |
getCampaignVersions(GetCampaignVersionsRequest request)
Returns information about your campaign versions.
|
GetEndpointResult |
getEndpoint(GetEndpointRequest request)
Returns information about an endpoint.
|
GetGcmChannelResult |
getGcmChannel(GetGcmChannelRequest request)
Returns information about the GCM channel for an app.
|
GetImportJobResult |
getImportJob(GetImportJobRequest request)
Returns information about an import job.
|
GetImportJobsResult |
getImportJobs(GetImportJobsRequest request)
Returns information about your import jobs.
|
GetSegmentResult |
getSegment(GetSegmentRequest request)
Returns information about a segment.
|
GetSegmentImportJobsResult |
getSegmentImportJobs(GetSegmentImportJobsRequest request)
Returns a list of import jobs for a specific segment.
|
GetSegmentsResult |
getSegments(GetSegmentsRequest request)
Used to get information about your segments.
|
GetSegmentVersionResult |
getSegmentVersion(GetSegmentVersionRequest request)
Returns information about a segment version.
|
GetSegmentVersionsResult |
getSegmentVersions(GetSegmentVersionsRequest request)
Returns information about your segment versions.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client ("https://pinpoint.us-east-1.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AmazonPinpoint.setEndpoint(String) , sets the regional endpoint for this client's
service calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateApnsChannelResult |
updateApnsChannel(UpdateApnsChannelRequest request)
Use to update the APNs channel for an app.
|
UpdateApplicationSettingsResult |
updateApplicationSettings(UpdateApplicationSettingsRequest request)
Used to update the settings for an app.
|
UpdateCampaignResult |
updateCampaign(UpdateCampaignRequest request)
Use to update a campaign.
|
UpdateEndpointResult |
updateEndpoint(UpdateEndpointRequest request)
Use to update an endpoint.
|
UpdateEndpointsBatchResult |
updateEndpointsBatch(UpdateEndpointsBatchRequest request)
Use to update your endpoints.
|
UpdateGcmChannelResult |
updateGcmChannel(UpdateGcmChannelRequest request)
Use to update the GCM channel for an app.
|
UpdateSegmentResult |
updateSegment(UpdateSegmentRequest request)
Use to update a segment.
|
public void setEndpoint(String endpoint)
AmazonPinpoint
Callers can pass in just the endpoint (ex: "pinpoint.us-east-1.amazonaws.com") or a full URL, including the
protocol (ex: "https://pinpoint.us-east-1.amazonaws.com"). If the protocol is not specified here, the default
protocol from this client's ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setEndpoint
in interface AmazonPinpoint
endpoint
- The endpoint (ex: "pinpoint.us-east-1.amazonaws.com") or a full URL, including the protocol (ex:
"https://pinpoint.us-east-1.amazonaws.com") of the region specific AWS endpoint this client will
communicate with.public void setRegion(Region region)
AmazonPinpoint
AmazonPinpoint.setEndpoint(String)
, sets the regional endpoint for this client's
service calls. Callers can use this method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setRegion
in interface AmazonPinpoint
region
- The region this client will communicate with. See Region.getRegion(com.amazonaws.regions.Regions)
for accessing a given region. Must not be null and must be a region where the service is available.Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
,
Region.isServiceSupported(String)
public CreateCampaignResult createCampaign(CreateCampaignRequest request)
AmazonPinpoint
createCampaign
in interface AmazonPinpoint
public CreateImportJobResult createImportJob(CreateImportJobRequest request)
AmazonPinpoint
createImportJob
in interface AmazonPinpoint
public CreateSegmentResult createSegment(CreateSegmentRequest request)
AmazonPinpoint
createSegment
in interface AmazonPinpoint
public DeleteApnsChannelResult deleteApnsChannel(DeleteApnsChannelRequest request)
AmazonPinpoint
deleteApnsChannel
in interface AmazonPinpoint
public DeleteCampaignResult deleteCampaign(DeleteCampaignRequest request)
AmazonPinpoint
deleteCampaign
in interface AmazonPinpoint
public DeleteGcmChannelResult deleteGcmChannel(DeleteGcmChannelRequest request)
AmazonPinpoint
deleteGcmChannel
in interface AmazonPinpoint
public DeleteSegmentResult deleteSegment(DeleteSegmentRequest request)
AmazonPinpoint
deleteSegment
in interface AmazonPinpoint
public GetApnsChannelResult getApnsChannel(GetApnsChannelRequest request)
AmazonPinpoint
getApnsChannel
in interface AmazonPinpoint
public GetApplicationSettingsResult getApplicationSettings(GetApplicationSettingsRequest request)
AmazonPinpoint
getApplicationSettings
in interface AmazonPinpoint
public GetCampaignResult getCampaign(GetCampaignRequest request)
AmazonPinpoint
getCampaign
in interface AmazonPinpoint
public GetCampaignActivitiesResult getCampaignActivities(GetCampaignActivitiesRequest request)
AmazonPinpoint
getCampaignActivities
in interface AmazonPinpoint
public GetCampaignVersionResult getCampaignVersion(GetCampaignVersionRequest request)
AmazonPinpoint
getCampaignVersion
in interface AmazonPinpoint
public GetCampaignVersionsResult getCampaignVersions(GetCampaignVersionsRequest request)
AmazonPinpoint
getCampaignVersions
in interface AmazonPinpoint
public GetCampaignsResult getCampaigns(GetCampaignsRequest request)
AmazonPinpoint
getCampaigns
in interface AmazonPinpoint
public GetEndpointResult getEndpoint(GetEndpointRequest request)
AmazonPinpoint
getEndpoint
in interface AmazonPinpoint
public GetGcmChannelResult getGcmChannel(GetGcmChannelRequest request)
AmazonPinpoint
getGcmChannel
in interface AmazonPinpoint
public GetImportJobResult getImportJob(GetImportJobRequest request)
AmazonPinpoint
getImportJob
in interface AmazonPinpoint
public GetImportJobsResult getImportJobs(GetImportJobsRequest request)
AmazonPinpoint
getImportJobs
in interface AmazonPinpoint
public GetSegmentResult getSegment(GetSegmentRequest request)
AmazonPinpoint
getSegment
in interface AmazonPinpoint
public GetSegmentImportJobsResult getSegmentImportJobs(GetSegmentImportJobsRequest request)
AmazonPinpoint
getSegmentImportJobs
in interface AmazonPinpoint
public GetSegmentVersionResult getSegmentVersion(GetSegmentVersionRequest request)
AmazonPinpoint
getSegmentVersion
in interface AmazonPinpoint
public GetSegmentVersionsResult getSegmentVersions(GetSegmentVersionsRequest request)
AmazonPinpoint
getSegmentVersions
in interface AmazonPinpoint
public GetSegmentsResult getSegments(GetSegmentsRequest request)
AmazonPinpoint
getSegments
in interface AmazonPinpoint
public UpdateApnsChannelResult updateApnsChannel(UpdateApnsChannelRequest request)
AmazonPinpoint
updateApnsChannel
in interface AmazonPinpoint
public UpdateApplicationSettingsResult updateApplicationSettings(UpdateApplicationSettingsRequest request)
AmazonPinpoint
updateApplicationSettings
in interface AmazonPinpoint
public UpdateCampaignResult updateCampaign(UpdateCampaignRequest request)
AmazonPinpoint
updateCampaign
in interface AmazonPinpoint
public UpdateEndpointResult updateEndpoint(UpdateEndpointRequest request)
AmazonPinpoint
updateEndpoint
in interface AmazonPinpoint
public UpdateEndpointsBatchResult updateEndpointsBatch(UpdateEndpointsBatchRequest request)
AmazonPinpoint
updateEndpointsBatch
in interface AmazonPinpoint
public UpdateGcmChannelResult updateGcmChannel(UpdateGcmChannelRequest request)
AmazonPinpoint
updateGcmChannel
in interface AmazonPinpoint
public UpdateSegmentResult updateSegment(UpdateSegmentRequest request)
AmazonPinpoint
updateSegment
in interface AmazonPinpoint
public void shutdown()
AmazonPinpoint
shutdown
in interface AmazonPinpoint
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonPinpoint
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 a request.
getCachedResponseMetadata
in interface AmazonPinpoint
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.