Interface PinpointAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
Doc Engage API - Amazon Pinpoint API
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic PinpointAsyncClientBuilder
builder()
Create a builder that can be used to configure and create aPinpointAsyncClient
.static PinpointAsyncClient
create()
Create aPinpointAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateAppResponse> createApp
(Consumer<CreateAppRequest.Builder> createAppRequest) Creates an application.default CompletableFuture
<CreateAppResponse> createApp
(CreateAppRequest createAppRequest) Creates an application.default CompletableFuture
<CreateCampaignResponse> createCampaign
(Consumer<CreateCampaignRequest.Builder> createCampaignRequest) Creates a new campaign for an application or updates the settings of an existing campaign for an application.default CompletableFuture
<CreateCampaignResponse> createCampaign
(CreateCampaignRequest createCampaignRequest) Creates a new campaign for an application or updates the settings of an existing campaign for an application.createEmailTemplate
(Consumer<CreateEmailTemplateRequest.Builder> createEmailTemplateRequest) Creates a message template for messages that are sent through the email channel.createEmailTemplate
(CreateEmailTemplateRequest createEmailTemplateRequest) Creates a message template for messages that are sent through the email channel.default CompletableFuture
<CreateExportJobResponse> createExportJob
(Consumer<CreateExportJobRequest.Builder> createExportJobRequest) Creates an export job for an application.default CompletableFuture
<CreateExportJobResponse> createExportJob
(CreateExportJobRequest createExportJobRequest) Creates an export job for an application.default CompletableFuture
<CreateImportJobResponse> createImportJob
(Consumer<CreateImportJobRequest.Builder> createImportJobRequest) Creates an import job for an application.default CompletableFuture
<CreateImportJobResponse> createImportJob
(CreateImportJobRequest createImportJobRequest) Creates an import job for an application.createInAppTemplate
(Consumer<CreateInAppTemplateRequest.Builder> createInAppTemplateRequest) Creates a new message template for messages using the in-app message channel.createInAppTemplate
(CreateInAppTemplateRequest createInAppTemplateRequest) Creates a new message template for messages using the in-app message channel.default CompletableFuture
<CreateJourneyResponse> createJourney
(Consumer<CreateJourneyRequest.Builder> createJourneyRequest) Creates a journey for an application.default CompletableFuture
<CreateJourneyResponse> createJourney
(CreateJourneyRequest createJourneyRequest) Creates a journey for an application.createPushTemplate
(Consumer<CreatePushTemplateRequest.Builder> createPushTemplateRequest) Creates a message template for messages that are sent through a push notification channel.createPushTemplate
(CreatePushTemplateRequest createPushTemplateRequest) Creates a message template for messages that are sent through a push notification channel.createRecommenderConfiguration
(Consumer<CreateRecommenderConfigurationRequest.Builder> createRecommenderConfigurationRequest) Creates an Amazon Pinpoint configuration for a recommender model.createRecommenderConfiguration
(CreateRecommenderConfigurationRequest createRecommenderConfigurationRequest) Creates an Amazon Pinpoint configuration for a recommender model.default CompletableFuture
<CreateSegmentResponse> createSegment
(Consumer<CreateSegmentRequest.Builder> createSegmentRequest) 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.default CompletableFuture
<CreateSegmentResponse> createSegment
(CreateSegmentRequest createSegmentRequest) 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.createSmsTemplate
(Consumer<CreateSmsTemplateRequest.Builder> createSmsTemplateRequest) Creates a message template for messages that are sent through the SMS channel.createSmsTemplate
(CreateSmsTemplateRequest createSmsTemplateRequest) Creates a message template for messages that are sent through the SMS channel.createVoiceTemplate
(Consumer<CreateVoiceTemplateRequest.Builder> createVoiceTemplateRequest) Creates a message template for messages that are sent through the voice channel.createVoiceTemplate
(CreateVoiceTemplateRequest createVoiceTemplateRequest) Creates a message template for messages that are sent through the voice channel.deleteAdmChannel
(Consumer<DeleteAdmChannelRequest.Builder> deleteAdmChannelRequest) Disables the ADM channel for an application and deletes any existing settings for the channel.deleteAdmChannel
(DeleteAdmChannelRequest deleteAdmChannelRequest) Disables the ADM channel for an application and deletes any existing settings for the channel.deleteApnsChannel
(Consumer<DeleteApnsChannelRequest.Builder> deleteApnsChannelRequest) Disables the APNs channel for an application and deletes any existing settings for the channel.deleteApnsChannel
(DeleteApnsChannelRequest deleteApnsChannelRequest) Disables the APNs channel for an application and deletes any existing settings for the channel.deleteApnsSandboxChannel
(Consumer<DeleteApnsSandboxChannelRequest.Builder> deleteApnsSandboxChannelRequest) Disables the APNs sandbox channel for an application and deletes any existing settings for the channel.deleteApnsSandboxChannel
(DeleteApnsSandboxChannelRequest deleteApnsSandboxChannelRequest) Disables the APNs sandbox channel for an application and deletes any existing settings for the channel.deleteApnsVoipChannel
(Consumer<DeleteApnsVoipChannelRequest.Builder> deleteApnsVoipChannelRequest) Disables the APNs VoIP channel for an application and deletes any existing settings for the channel.deleteApnsVoipChannel
(DeleteApnsVoipChannelRequest deleteApnsVoipChannelRequest) Disables the APNs VoIP channel for an application and deletes any existing settings for the channel.deleteApnsVoipSandboxChannel
(Consumer<DeleteApnsVoipSandboxChannelRequest.Builder> deleteApnsVoipSandboxChannelRequest) Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel.deleteApnsVoipSandboxChannel
(DeleteApnsVoipSandboxChannelRequest deleteApnsVoipSandboxChannelRequest) Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel.default CompletableFuture
<DeleteAppResponse> deleteApp
(Consumer<DeleteAppRequest.Builder> deleteAppRequest) Deletes an application.default CompletableFuture
<DeleteAppResponse> deleteApp
(DeleteAppRequest deleteAppRequest) Deletes an application.deleteBaiduChannel
(Consumer<DeleteBaiduChannelRequest.Builder> deleteBaiduChannelRequest) Disables the Baidu channel for an application and deletes any existing settings for the channel.deleteBaiduChannel
(DeleteBaiduChannelRequest deleteBaiduChannelRequest) Disables the Baidu channel for an application and deletes any existing settings for the channel.default CompletableFuture
<DeleteCampaignResponse> deleteCampaign
(Consumer<DeleteCampaignRequest.Builder> deleteCampaignRequest) Deletes a campaign from an application.default CompletableFuture
<DeleteCampaignResponse> deleteCampaign
(DeleteCampaignRequest deleteCampaignRequest) Deletes a campaign from an application.deleteEmailChannel
(Consumer<DeleteEmailChannelRequest.Builder> deleteEmailChannelRequest) Disables the email channel for an application and deletes any existing settings for the channel.deleteEmailChannel
(DeleteEmailChannelRequest deleteEmailChannelRequest) Disables the email channel for an application and deletes any existing settings for the channel.deleteEmailTemplate
(Consumer<DeleteEmailTemplateRequest.Builder> deleteEmailTemplateRequest) Deletes a message template for messages that were sent through the email channel.deleteEmailTemplate
(DeleteEmailTemplateRequest deleteEmailTemplateRequest) Deletes a message template for messages that were sent through the email channel.default CompletableFuture
<DeleteEndpointResponse> deleteEndpoint
(Consumer<DeleteEndpointRequest.Builder> deleteEndpointRequest) Deletes an endpoint from an application.default CompletableFuture
<DeleteEndpointResponse> deleteEndpoint
(DeleteEndpointRequest deleteEndpointRequest) Deletes an endpoint from an application.deleteEventStream
(Consumer<DeleteEventStreamRequest.Builder> deleteEventStreamRequest) Deletes the event stream for an application.deleteEventStream
(DeleteEventStreamRequest deleteEventStreamRequest) Deletes the event stream for an application.deleteGcmChannel
(Consumer<DeleteGcmChannelRequest.Builder> deleteGcmChannelRequest) Disables the GCM channel for an application and deletes any existing settings for the channel.deleteGcmChannel
(DeleteGcmChannelRequest deleteGcmChannelRequest) Disables the GCM channel for an application and deletes any existing settings for the channel.deleteInAppTemplate
(Consumer<DeleteInAppTemplateRequest.Builder> deleteInAppTemplateRequest) Deletes a message template for messages sent using the in-app message channel.deleteInAppTemplate
(DeleteInAppTemplateRequest deleteInAppTemplateRequest) Deletes a message template for messages sent using the in-app message channel.default CompletableFuture
<DeleteJourneyResponse> deleteJourney
(Consumer<DeleteJourneyRequest.Builder> deleteJourneyRequest) Deletes a journey from an application.default CompletableFuture
<DeleteJourneyResponse> deleteJourney
(DeleteJourneyRequest deleteJourneyRequest) Deletes a journey from an application.deletePushTemplate
(Consumer<DeletePushTemplateRequest.Builder> deletePushTemplateRequest) Deletes a message template for messages that were sent through a push notification channel.deletePushTemplate
(DeletePushTemplateRequest deletePushTemplateRequest) Deletes a message template for messages that were sent through a push notification channel.deleteRecommenderConfiguration
(Consumer<DeleteRecommenderConfigurationRequest.Builder> deleteRecommenderConfigurationRequest) Deletes an Amazon Pinpoint configuration for a recommender model.deleteRecommenderConfiguration
(DeleteRecommenderConfigurationRequest deleteRecommenderConfigurationRequest) Deletes an Amazon Pinpoint configuration for a recommender model.default CompletableFuture
<DeleteSegmentResponse> deleteSegment
(Consumer<DeleteSegmentRequest.Builder> deleteSegmentRequest) Deletes a segment from an application.default CompletableFuture
<DeleteSegmentResponse> deleteSegment
(DeleteSegmentRequest deleteSegmentRequest) Deletes a segment from an application.deleteSmsChannel
(Consumer<DeleteSmsChannelRequest.Builder> deleteSmsChannelRequest) Disables the SMS channel for an application and deletes any existing settings for the channel.deleteSmsChannel
(DeleteSmsChannelRequest deleteSmsChannelRequest) Disables the SMS channel for an application and deletes any existing settings for the channel.deleteSmsTemplate
(Consumer<DeleteSmsTemplateRequest.Builder> deleteSmsTemplateRequest) Deletes a message template for messages that were sent through the SMS channel.deleteSmsTemplate
(DeleteSmsTemplateRequest deleteSmsTemplateRequest) Deletes a message template for messages that were sent through the SMS channel.deleteUserEndpoints
(Consumer<DeleteUserEndpointsRequest.Builder> deleteUserEndpointsRequest) Deletes all the endpoints that are associated with a specific user ID.deleteUserEndpoints
(DeleteUserEndpointsRequest deleteUserEndpointsRequest) Deletes all the endpoints that are associated with a specific user ID.deleteVoiceChannel
(Consumer<DeleteVoiceChannelRequest.Builder> deleteVoiceChannelRequest) Disables the voice channel for an application and deletes any existing settings for the channel.deleteVoiceChannel
(DeleteVoiceChannelRequest deleteVoiceChannelRequest) Disables the voice channel for an application and deletes any existing settings for the channel.deleteVoiceTemplate
(Consumer<DeleteVoiceTemplateRequest.Builder> deleteVoiceTemplateRequest) Deletes a message template for messages that were sent through the voice channel.deleteVoiceTemplate
(DeleteVoiceTemplateRequest deleteVoiceTemplateRequest) Deletes a message template for messages that were sent through the voice channel.default CompletableFuture
<GetAdmChannelResponse> getAdmChannel
(Consumer<GetAdmChannelRequest.Builder> getAdmChannelRequest) Retrieves information about the status and settings of the ADM channel for an application.default CompletableFuture
<GetAdmChannelResponse> getAdmChannel
(GetAdmChannelRequest getAdmChannelRequest) Retrieves information about the status and settings of the ADM channel for an application.default CompletableFuture
<GetApnsChannelResponse> getApnsChannel
(Consumer<GetApnsChannelRequest.Builder> getApnsChannelRequest) Retrieves information about the status and settings of the APNs channel for an application.default CompletableFuture
<GetApnsChannelResponse> getApnsChannel
(GetApnsChannelRequest getApnsChannelRequest) Retrieves information about the status and settings of the APNs channel for an application.getApnsSandboxChannel
(Consumer<GetApnsSandboxChannelRequest.Builder> getApnsSandboxChannelRequest) Retrieves information about the status and settings of the APNs sandbox channel for an application.getApnsSandboxChannel
(GetApnsSandboxChannelRequest getApnsSandboxChannelRequest) Retrieves information about the status and settings of the APNs sandbox channel for an application.getApnsVoipChannel
(Consumer<GetApnsVoipChannelRequest.Builder> getApnsVoipChannelRequest) Retrieves information about the status and settings of the APNs VoIP channel for an application.getApnsVoipChannel
(GetApnsVoipChannelRequest getApnsVoipChannelRequest) Retrieves information about the status and settings of the APNs VoIP channel for an application.getApnsVoipSandboxChannel
(Consumer<GetApnsVoipSandboxChannelRequest.Builder> getApnsVoipSandboxChannelRequest) Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.getApnsVoipSandboxChannel
(GetApnsVoipSandboxChannelRequest getApnsVoipSandboxChannelRequest) Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.default CompletableFuture
<GetAppResponse> getApp
(Consumer<GetAppRequest.Builder> getAppRequest) Retrieves information about an application.default CompletableFuture
<GetAppResponse> getApp
(GetAppRequest getAppRequest) Retrieves information about an application.getApplicationDateRangeKpi
(Consumer<GetApplicationDateRangeKpiRequest.Builder> getApplicationDateRangeKpiRequest) Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.getApplicationDateRangeKpi
(GetApplicationDateRangeKpiRequest getApplicationDateRangeKpiRequest) Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.getApplicationSettings
(Consumer<GetApplicationSettingsRequest.Builder> getApplicationSettingsRequest) Retrieves information about the settings for an application.getApplicationSettings
(GetApplicationSettingsRequest getApplicationSettingsRequest) Retrieves information about the settings for an application.default CompletableFuture
<GetAppsResponse> getApps
(Consumer<GetAppsRequest.Builder> getAppsRequest) Retrieves information about all the applications that are associated with your Amazon Pinpoint account.default CompletableFuture
<GetAppsResponse> getApps
(GetAppsRequest getAppsRequest) Retrieves information about all the applications that are associated with your Amazon Pinpoint account.default CompletableFuture
<GetBaiduChannelResponse> getBaiduChannel
(Consumer<GetBaiduChannelRequest.Builder> getBaiduChannelRequest) Retrieves information about the status and settings of the Baidu channel for an application.default CompletableFuture
<GetBaiduChannelResponse> getBaiduChannel
(GetBaiduChannelRequest getBaiduChannelRequest) Retrieves information about the status and settings of the Baidu channel for an application.default CompletableFuture
<GetCampaignResponse> getCampaign
(Consumer<GetCampaignRequest.Builder> getCampaignRequest) Retrieves information about the status, configuration, and other settings for a campaign.default CompletableFuture
<GetCampaignResponse> getCampaign
(GetCampaignRequest getCampaignRequest) Retrieves information about the status, configuration, and other settings for a campaign.getCampaignActivities
(Consumer<GetCampaignActivitiesRequest.Builder> getCampaignActivitiesRequest) Retrieves information about all the activities for a campaign.getCampaignActivities
(GetCampaignActivitiesRequest getCampaignActivitiesRequest) Retrieves information about all the activities for a campaign.getCampaignDateRangeKpi
(Consumer<GetCampaignDateRangeKpiRequest.Builder> getCampaignDateRangeKpiRequest) Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.getCampaignDateRangeKpi
(GetCampaignDateRangeKpiRequest getCampaignDateRangeKpiRequest) Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.default CompletableFuture
<GetCampaignsResponse> getCampaigns
(Consumer<GetCampaignsRequest.Builder> getCampaignsRequest) Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application.default CompletableFuture
<GetCampaignsResponse> getCampaigns
(GetCampaignsRequest getCampaignsRequest) Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application.getCampaignVersion
(Consumer<GetCampaignVersionRequest.Builder> getCampaignVersionRequest) Retrieves information about the status, configuration, and other settings for a specific version of a campaign.getCampaignVersion
(GetCampaignVersionRequest getCampaignVersionRequest) Retrieves information about the status, configuration, and other settings for a specific version of a campaign.getCampaignVersions
(Consumer<GetCampaignVersionsRequest.Builder> getCampaignVersionsRequest) Retrieves information about the status, configuration, and other settings for all versions of a campaign.getCampaignVersions
(GetCampaignVersionsRequest getCampaignVersionsRequest) Retrieves information about the status, configuration, and other settings for all versions of a campaign.default CompletableFuture
<GetChannelsResponse> getChannels
(Consumer<GetChannelsRequest.Builder> getChannelsRequest) Retrieves information about the history and status of each channel for an application.default CompletableFuture
<GetChannelsResponse> getChannels
(GetChannelsRequest getChannelsRequest) Retrieves information about the history and status of each channel for an application.default CompletableFuture
<GetEmailChannelResponse> getEmailChannel
(Consumer<GetEmailChannelRequest.Builder> getEmailChannelRequest) Retrieves information about the status and settings of the email channel for an application.default CompletableFuture
<GetEmailChannelResponse> getEmailChannel
(GetEmailChannelRequest getEmailChannelRequest) Retrieves information about the status and settings of the email channel for an application.getEmailTemplate
(Consumer<GetEmailTemplateRequest.Builder> getEmailTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through the email channel.getEmailTemplate
(GetEmailTemplateRequest getEmailTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through the email channel.default CompletableFuture
<GetEndpointResponse> getEndpoint
(Consumer<GetEndpointRequest.Builder> getEndpointRequest) Retrieves information about the settings and attributes of a specific endpoint for an application.default CompletableFuture
<GetEndpointResponse> getEndpoint
(GetEndpointRequest getEndpointRequest) Retrieves information about the settings and attributes of a specific endpoint for an application.default CompletableFuture
<GetEventStreamResponse> getEventStream
(Consumer<GetEventStreamRequest.Builder> getEventStreamRequest) Retrieves information about the event stream settings for an application.default CompletableFuture
<GetEventStreamResponse> getEventStream
(GetEventStreamRequest getEventStreamRequest) Retrieves information about the event stream settings for an application.default CompletableFuture
<GetExportJobResponse> getExportJob
(Consumer<GetExportJobRequest.Builder> getExportJobRequest) Retrieves information about the status and settings of a specific export job for an application.default CompletableFuture
<GetExportJobResponse> getExportJob
(GetExportJobRequest getExportJobRequest) Retrieves information about the status and settings of a specific export job for an application.default CompletableFuture
<GetExportJobsResponse> getExportJobs
(Consumer<GetExportJobsRequest.Builder> getExportJobsRequest) Retrieves information about the status and settings of all the export jobs for an application.default CompletableFuture
<GetExportJobsResponse> getExportJobs
(GetExportJobsRequest getExportJobsRequest) Retrieves information about the status and settings of all the export jobs for an application.default CompletableFuture
<GetGcmChannelResponse> getGcmChannel
(Consumer<GetGcmChannelRequest.Builder> getGcmChannelRequest) Retrieves information about the status and settings of the GCM channel for an application.default CompletableFuture
<GetGcmChannelResponse> getGcmChannel
(GetGcmChannelRequest getGcmChannelRequest) Retrieves information about the status and settings of the GCM channel for an application.default CompletableFuture
<GetImportJobResponse> getImportJob
(Consumer<GetImportJobRequest.Builder> getImportJobRequest) Retrieves information about the status and settings of a specific import job for an application.default CompletableFuture
<GetImportJobResponse> getImportJob
(GetImportJobRequest getImportJobRequest) Retrieves information about the status and settings of a specific import job for an application.default CompletableFuture
<GetImportJobsResponse> getImportJobs
(Consumer<GetImportJobsRequest.Builder> getImportJobsRequest) Retrieves information about the status and settings of all the import jobs for an application.default CompletableFuture
<GetImportJobsResponse> getImportJobs
(GetImportJobsRequest getImportJobsRequest) Retrieves information about the status and settings of all the import jobs for an application.getInAppMessages
(Consumer<GetInAppMessagesRequest.Builder> getInAppMessagesRequest) Retrieves the in-app messages targeted for the provided endpoint ID.getInAppMessages
(GetInAppMessagesRequest getInAppMessagesRequest) Retrieves the in-app messages targeted for the provided endpoint ID.getInAppTemplate
(Consumer<GetInAppTemplateRequest.Builder> getInAppTemplateRequest) Retrieves the content and settings of a message template for messages sent through the in-app channel.getInAppTemplate
(GetInAppTemplateRequest getInAppTemplateRequest) Retrieves the content and settings of a message template for messages sent through the in-app channel.default CompletableFuture
<GetJourneyResponse> getJourney
(Consumer<GetJourneyRequest.Builder> getJourneyRequest) Retrieves information about the status, configuration, and other settings for a journey.default CompletableFuture
<GetJourneyResponse> getJourney
(GetJourneyRequest getJourneyRequest) Retrieves information about the status, configuration, and other settings for a journey.getJourneyDateRangeKpi
(Consumer<GetJourneyDateRangeKpiRequest.Builder> getJourneyDateRangeKpiRequest) Retrieves (queries) pre-aggregated data for a standard engagement metric that applies to a journey.getJourneyDateRangeKpi
(GetJourneyDateRangeKpiRequest getJourneyDateRangeKpiRequest) Retrieves (queries) pre-aggregated data for a standard engagement metric that applies to a journey.getJourneyExecutionActivityMetrics
(Consumer<GetJourneyExecutionActivityMetricsRequest.Builder> getJourneyExecutionActivityMetricsRequest) Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey activity.getJourneyExecutionActivityMetrics
(GetJourneyExecutionActivityMetricsRequest getJourneyExecutionActivityMetricsRequest) Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey activity.getJourneyExecutionMetrics
(Consumer<GetJourneyExecutionMetricsRequest.Builder> getJourneyExecutionMetricsRequest) Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey.getJourneyExecutionMetrics
(GetJourneyExecutionMetricsRequest getJourneyExecutionMetricsRequest) Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey.getJourneyRunExecutionActivityMetrics
(Consumer<GetJourneyRunExecutionActivityMetricsRequest.Builder> getJourneyRunExecutionActivityMetricsRequest) Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey activity.getJourneyRunExecutionActivityMetrics
(GetJourneyRunExecutionActivityMetricsRequest getJourneyRunExecutionActivityMetricsRequest) Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey activity.getJourneyRunExecutionMetrics
(Consumer<GetJourneyRunExecutionMetricsRequest.Builder> getJourneyRunExecutionMetricsRequest) Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey.getJourneyRunExecutionMetrics
(GetJourneyRunExecutionMetricsRequest getJourneyRunExecutionMetricsRequest) Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey.default CompletableFuture
<GetJourneyRunsResponse> getJourneyRuns
(Consumer<GetJourneyRunsRequest.Builder> getJourneyRunsRequest) Provides information about the runs of a journey.default CompletableFuture
<GetJourneyRunsResponse> getJourneyRuns
(GetJourneyRunsRequest getJourneyRunsRequest) Provides information about the runs of a journey.default CompletableFuture
<GetPushTemplateResponse> getPushTemplate
(Consumer<GetPushTemplateRequest.Builder> getPushTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through a push notification channel.default CompletableFuture
<GetPushTemplateResponse> getPushTemplate
(GetPushTemplateRequest getPushTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through a push notification channel.getRecommenderConfiguration
(Consumer<GetRecommenderConfigurationRequest.Builder> getRecommenderConfigurationRequest) Retrieves information about an Amazon Pinpoint configuration for a recommender model.getRecommenderConfiguration
(GetRecommenderConfigurationRequest getRecommenderConfigurationRequest) Retrieves information about an Amazon Pinpoint configuration for a recommender model.getRecommenderConfigurations
(Consumer<GetRecommenderConfigurationsRequest.Builder> getRecommenderConfigurationsRequest) Retrieves information about all the recommender model configurations that are associated with your Amazon Pinpoint account.getRecommenderConfigurations
(GetRecommenderConfigurationsRequest getRecommenderConfigurationsRequest) Retrieves information about all the recommender model configurations that are associated with your Amazon Pinpoint account.default CompletableFuture
<GetSegmentResponse> getSegment
(Consumer<GetSegmentRequest.Builder> getSegmentRequest) Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application.default CompletableFuture
<GetSegmentResponse> getSegment
(GetSegmentRequest getSegmentRequest) Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application.getSegmentExportJobs
(Consumer<GetSegmentExportJobsRequest.Builder> getSegmentExportJobsRequest) Retrieves information about the status and settings of the export jobs for a segment.getSegmentExportJobs
(GetSegmentExportJobsRequest getSegmentExportJobsRequest) Retrieves information about the status and settings of the export jobs for a segment.getSegmentImportJobs
(Consumer<GetSegmentImportJobsRequest.Builder> getSegmentImportJobsRequest) Retrieves information about the status and settings of the import jobs for a segment.getSegmentImportJobs
(GetSegmentImportJobsRequest getSegmentImportJobsRequest) Retrieves information about the status and settings of the import jobs for a segment.default CompletableFuture
<GetSegmentsResponse> getSegments
(Consumer<GetSegmentsRequest.Builder> getSegmentsRequest) Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with an application.default CompletableFuture
<GetSegmentsResponse> getSegments
(GetSegmentsRequest getSegmentsRequest) Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with an application.getSegmentVersion
(Consumer<GetSegmentVersionRequest.Builder> getSegmentVersionRequest) Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's associated with an application.getSegmentVersion
(GetSegmentVersionRequest getSegmentVersionRequest) Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's associated with an application.getSegmentVersions
(Consumer<GetSegmentVersionsRequest.Builder> getSegmentVersionsRequest) Retrieves information about the configuration, dimension, and other settings for all the versions of a specific segment that's associated with an application.getSegmentVersions
(GetSegmentVersionsRequest getSegmentVersionsRequest) Retrieves information about the configuration, dimension, and other settings for all the versions of a specific segment that's associated with an application.default CompletableFuture
<GetSmsChannelResponse> getSmsChannel
(Consumer<GetSmsChannelRequest.Builder> getSmsChannelRequest) Retrieves information about the status and settings of the SMS channel for an application.default CompletableFuture
<GetSmsChannelResponse> getSmsChannel
(GetSmsChannelRequest getSmsChannelRequest) Retrieves information about the status and settings of the SMS channel for an application.default CompletableFuture
<GetSmsTemplateResponse> getSmsTemplate
(Consumer<GetSmsTemplateRequest.Builder> getSmsTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through the SMS channel.default CompletableFuture
<GetSmsTemplateResponse> getSmsTemplate
(GetSmsTemplateRequest getSmsTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through the SMS channel.getUserEndpoints
(Consumer<GetUserEndpointsRequest.Builder> getUserEndpointsRequest) Retrieves information about all the endpoints that are associated with a specific user ID.getUserEndpoints
(GetUserEndpointsRequest getUserEndpointsRequest) Retrieves information about all the endpoints that are associated with a specific user ID.default CompletableFuture
<GetVoiceChannelResponse> getVoiceChannel
(Consumer<GetVoiceChannelRequest.Builder> getVoiceChannelRequest) Retrieves information about the status and settings of the voice channel for an application.default CompletableFuture
<GetVoiceChannelResponse> getVoiceChannel
(GetVoiceChannelRequest getVoiceChannelRequest) Retrieves information about the status and settings of the voice channel for an application.getVoiceTemplate
(Consumer<GetVoiceTemplateRequest.Builder> getVoiceTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through the voice channel.getVoiceTemplate
(GetVoiceTemplateRequest getVoiceTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through the voice channel.default CompletableFuture
<ListJourneysResponse> listJourneys
(Consumer<ListJourneysRequest.Builder> listJourneysRequest) Retrieves information about the status, configuration, and other settings for all the journeys that are associated with an application.default CompletableFuture
<ListJourneysResponse> listJourneys
(ListJourneysRequest listJourneysRequest) Retrieves information about the status, configuration, and other settings for all the journeys that are associated with an application.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment.default CompletableFuture
<ListTemplatesResponse> listTemplates
(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest) Retrieves information about all the message templates that are associated with your Amazon Pinpoint account.default CompletableFuture
<ListTemplatesResponse> listTemplates
(ListTemplatesRequest listTemplatesRequest) Retrieves information about all the message templates that are associated with your Amazon Pinpoint account.listTemplateVersions
(Consumer<ListTemplateVersionsRequest.Builder> listTemplateVersionsRequest) Retrieves information about all the versions of a specific message template.listTemplateVersions
(ListTemplateVersionsRequest listTemplateVersionsRequest) Retrieves information about all the versions of a specific message template.phoneNumberValidate
(Consumer<PhoneNumberValidateRequest.Builder> phoneNumberValidateRequest) Retrieves information about a phone number.phoneNumberValidate
(PhoneNumberValidateRequest phoneNumberValidateRequest) Retrieves information about a phone number.default CompletableFuture
<PutEventsResponse> putEvents
(Consumer<PutEventsRequest.Builder> putEventsRequest) Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with.default CompletableFuture
<PutEventsResponse> putEvents
(PutEventsRequest putEventsRequest) Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with.default CompletableFuture
<PutEventStreamResponse> putEventStream
(Consumer<PutEventStreamRequest.Builder> putEventStreamRequest) Creates a new event stream for an application or updates the settings of an existing event stream for an application.default CompletableFuture
<PutEventStreamResponse> putEventStream
(PutEventStreamRequest putEventStreamRequest) Creates a new event stream for an application or updates the settings of an existing event stream for an application.removeAttributes
(Consumer<RemoveAttributesRequest.Builder> removeAttributesRequest) Removes one or more custom attributes, of the same attribute type, from the application.removeAttributes
(RemoveAttributesRequest removeAttributesRequest) Removes one or more custom attributes, of the same attribute type, from the application.default CompletableFuture
<SendMessagesResponse> sendMessages
(Consumer<SendMessagesRequest.Builder> sendMessagesRequest) Creates and sends a direct message.default CompletableFuture
<SendMessagesResponse> sendMessages
(SendMessagesRequest sendMessagesRequest) Creates and sends a direct message.default CompletableFuture
<SendOtpMessageResponse> sendOTPMessage
(Consumer<SendOtpMessageRequest.Builder> sendOtpMessageRequest) Send an OTP messagedefault CompletableFuture
<SendOtpMessageResponse> sendOTPMessage
(SendOtpMessageRequest sendOtpMessageRequest) Send an OTP messagesendUsersMessages
(Consumer<SendUsersMessagesRequest.Builder> sendUsersMessagesRequest) Creates and sends a message to a list of users.sendUsersMessages
(SendUsersMessagesRequest sendUsersMessagesRequest) Creates and sends a message to a list of users.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more tags (keys and values) to an application, campaign, message template, or segment.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds one or more tags (keys and values) to an application, campaign, message template, or segment.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags (keys and values) from an application, campaign, message template, or segment.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags (keys and values) from an application, campaign, message template, or segment.updateAdmChannel
(Consumer<UpdateAdmChannelRequest.Builder> updateAdmChannelRequest) Enables the ADM channel for an application or updates the status and settings of the ADM channel for an application.updateAdmChannel
(UpdateAdmChannelRequest updateAdmChannelRequest) Enables the ADM channel for an application or updates the status and settings of the ADM channel for an application.updateApnsChannel
(Consumer<UpdateApnsChannelRequest.Builder> updateApnsChannelRequest) Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application.updateApnsChannel
(UpdateApnsChannelRequest updateApnsChannelRequest) Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application.updateApnsSandboxChannel
(Consumer<UpdateApnsSandboxChannelRequest.Builder> updateApnsSandboxChannelRequest) Enables the APNs sandbox channel for an application or updates the status and settings of the APNs sandbox channel for an application.updateApnsSandboxChannel
(UpdateApnsSandboxChannelRequest updateApnsSandboxChannelRequest) Enables the APNs sandbox channel for an application or updates the status and settings of the APNs sandbox channel for an application.updateApnsVoipChannel
(Consumer<UpdateApnsVoipChannelRequest.Builder> updateApnsVoipChannelRequest) Enables the APNs VoIP channel for an application or updates the status and settings of the APNs VoIP channel for an application.updateApnsVoipChannel
(UpdateApnsVoipChannelRequest updateApnsVoipChannelRequest) Enables the APNs VoIP channel for an application or updates the status and settings of the APNs VoIP channel for an application.updateApnsVoipSandboxChannel
(Consumer<UpdateApnsVoipSandboxChannelRequest.Builder> updateApnsVoipSandboxChannelRequest) Enables the APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP sandbox channel for an application.updateApnsVoipSandboxChannel
(UpdateApnsVoipSandboxChannelRequest updateApnsVoipSandboxChannelRequest) Enables the APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP sandbox channel for an application.updateApplicationSettings
(Consumer<UpdateApplicationSettingsRequest.Builder> updateApplicationSettingsRequest) Updates the settings for an application.updateApplicationSettings
(UpdateApplicationSettingsRequest updateApplicationSettingsRequest) Updates the settings for an application.updateBaiduChannel
(Consumer<UpdateBaiduChannelRequest.Builder> updateBaiduChannelRequest) Enables the Baidu channel for an application or updates the status and settings of the Baidu channel for an application.updateBaiduChannel
(UpdateBaiduChannelRequest updateBaiduChannelRequest) Enables the Baidu channel for an application or updates the status and settings of the Baidu channel for an application.default CompletableFuture
<UpdateCampaignResponse> updateCampaign
(Consumer<UpdateCampaignRequest.Builder> updateCampaignRequest) Updates the configuration and other settings for a campaign.default CompletableFuture
<UpdateCampaignResponse> updateCampaign
(UpdateCampaignRequest updateCampaignRequest) Updates the configuration and other settings for a campaign.updateEmailChannel
(Consumer<UpdateEmailChannelRequest.Builder> updateEmailChannelRequest) Enables the email channel for an application or updates the status and settings of the email channel for an application.updateEmailChannel
(UpdateEmailChannelRequest updateEmailChannelRequest) Enables the email channel for an application or updates the status and settings of the email channel for an application.updateEmailTemplate
(Consumer<UpdateEmailTemplateRequest.Builder> updateEmailTemplateRequest) Updates an existing message template for messages that are sent through the email channel.updateEmailTemplate
(UpdateEmailTemplateRequest updateEmailTemplateRequest) Updates an existing message template for messages that are sent through the email channel.default CompletableFuture
<UpdateEndpointResponse> updateEndpoint
(Consumer<UpdateEndpointRequest.Builder> updateEndpointRequest) Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application.default CompletableFuture
<UpdateEndpointResponse> updateEndpoint
(UpdateEndpointRequest updateEndpointRequest) Creates a new endpoint for an application or updates the settings and attributes of an existing endpoint for an application.updateEndpointsBatch
(Consumer<UpdateEndpointsBatchRequest.Builder> updateEndpointsBatchRequest) Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing endpoints for an application.updateEndpointsBatch
(UpdateEndpointsBatchRequest updateEndpointsBatchRequest) Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing endpoints for an application.updateGcmChannel
(Consumer<UpdateGcmChannelRequest.Builder> updateGcmChannelRequest) Enables the GCM channel for an application or updates the status and settings of the GCM channel for an application.updateGcmChannel
(UpdateGcmChannelRequest updateGcmChannelRequest) Enables the GCM channel for an application or updates the status and settings of the GCM channel for an application.updateInAppTemplate
(Consumer<UpdateInAppTemplateRequest.Builder> updateInAppTemplateRequest) Updates an existing message template for messages sent through the in-app message channel.updateInAppTemplate
(UpdateInAppTemplateRequest updateInAppTemplateRequest) Updates an existing message template for messages sent through the in-app message channel.default CompletableFuture
<UpdateJourneyResponse> updateJourney
(Consumer<UpdateJourneyRequest.Builder> updateJourneyRequest) Updates the configuration and other settings for a journey.default CompletableFuture
<UpdateJourneyResponse> updateJourney
(UpdateJourneyRequest updateJourneyRequest) Updates the configuration and other settings for a journey.updateJourneyState
(Consumer<UpdateJourneyStateRequest.Builder> updateJourneyStateRequest) Cancels (stops) an active journey.updateJourneyState
(UpdateJourneyStateRequest updateJourneyStateRequest) Cancels (stops) an active journey.updatePushTemplate
(Consumer<UpdatePushTemplateRequest.Builder> updatePushTemplateRequest) Updates an existing message template for messages that are sent through a push notification channel.updatePushTemplate
(UpdatePushTemplateRequest updatePushTemplateRequest) Updates an existing message template for messages that are sent through a push notification channel.updateRecommenderConfiguration
(Consumer<UpdateRecommenderConfigurationRequest.Builder> updateRecommenderConfigurationRequest) Updates an Amazon Pinpoint configuration for a recommender model.updateRecommenderConfiguration
(UpdateRecommenderConfigurationRequest updateRecommenderConfigurationRequest) Updates an Amazon Pinpoint configuration for a recommender model.default CompletableFuture
<UpdateSegmentResponse> updateSegment
(Consumer<UpdateSegmentRequest.Builder> updateSegmentRequest) 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.default CompletableFuture
<UpdateSegmentResponse> updateSegment
(UpdateSegmentRequest updateSegmentRequest) 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.updateSmsChannel
(Consumer<UpdateSmsChannelRequest.Builder> updateSmsChannelRequest) Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application.updateSmsChannel
(UpdateSmsChannelRequest updateSmsChannelRequest) Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application.updateSmsTemplate
(Consumer<UpdateSmsTemplateRequest.Builder> updateSmsTemplateRequest) Updates an existing message template for messages that are sent through the SMS channel.updateSmsTemplate
(UpdateSmsTemplateRequest updateSmsTemplateRequest) Updates an existing message template for messages that are sent through the SMS channel.updateTemplateActiveVersion
(Consumer<UpdateTemplateActiveVersionRequest.Builder> updateTemplateActiveVersionRequest) Changes the status of a specific version of a message template to active.updateTemplateActiveVersion
(UpdateTemplateActiveVersionRequest updateTemplateActiveVersionRequest) Changes the status of a specific version of a message template to active.updateVoiceChannel
(Consumer<UpdateVoiceChannelRequest.Builder> updateVoiceChannelRequest) Enables the voice channel for an application or updates the status and settings of the voice channel for an application.updateVoiceChannel
(UpdateVoiceChannelRequest updateVoiceChannelRequest) Enables the voice channel for an application or updates the status and settings of the voice channel for an application.updateVoiceTemplate
(Consumer<UpdateVoiceTemplateRequest.Builder> updateVoiceTemplateRequest) Updates an existing message template for messages that are sent through the voice channel.updateVoiceTemplate
(UpdateVoiceTemplateRequest updateVoiceTemplateRequest) Updates an existing message template for messages that are sent through the voice channel.verifyOTPMessage
(Consumer<VerifyOtpMessageRequest.Builder> verifyOtpMessageRequest) Verify an OTPverifyOTPMessage
(VerifyOtpMessageRequest verifyOtpMessageRequest) Verify an OTPMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
createApp
Creates an application.
- Parameters:
createAppRequest
-- Returns:
- A Java Future containing the result of the CreateApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createApp
default CompletableFuture<CreateAppResponse> createApp(Consumer<CreateAppRequest.Builder> createAppRequest) Creates an application.
This is a convenience which creates an instance of the
CreateAppRequest.Builder
avoiding the need to create one manually viaCreateAppRequest.builder()
- Parameters:
createAppRequest
- AConsumer
that will call methods onCreateAppRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCampaign
default CompletableFuture<CreateCampaignResponse> createCampaign(CreateCampaignRequest createCampaignRequest) Creates a new campaign for an application or updates the settings of an existing campaign for an application.
- Parameters:
createCampaignRequest
-- Returns:
- A Java Future containing the result of the CreateCampaign operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCampaign
default CompletableFuture<CreateCampaignResponse> createCampaign(Consumer<CreateCampaignRequest.Builder> createCampaignRequest) 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
CreateCampaignRequest.Builder
avoiding the need to create one manually viaCreateCampaignRequest.builder()
- Parameters:
createCampaignRequest
- AConsumer
that will call methods onCreateCampaignRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateCampaign operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEmailTemplate
default CompletableFuture<CreateEmailTemplateResponse> createEmailTemplate(CreateEmailTemplateRequest createEmailTemplateRequest) Creates a message template for messages that are sent through the email channel.
- Parameters:
createEmailTemplateRequest
-- Returns:
- A Java Future containing the result of the CreateEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEmailTemplate
default CompletableFuture<CreateEmailTemplateResponse> createEmailTemplate(Consumer<CreateEmailTemplateRequest.Builder> createEmailTemplateRequest) Creates a message template for messages that are sent through the email channel.
This is a convenience which creates an instance of the
CreateEmailTemplateRequest.Builder
avoiding the need to create one manually viaCreateEmailTemplateRequest.builder()
- Parameters:
createEmailTemplateRequest
- AConsumer
that will call methods onCreateEmailTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createExportJob
default CompletableFuture<CreateExportJobResponse> createExportJob(CreateExportJobRequest createExportJobRequest) Creates an export job for an application.
- Parameters:
createExportJobRequest
-- Returns:
- A Java Future containing the result of the CreateExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createExportJob
default CompletableFuture<CreateExportJobResponse> createExportJob(Consumer<CreateExportJobRequest.Builder> createExportJobRequest) Creates an export job for an application.
This is a convenience which creates an instance of the
CreateExportJobRequest.Builder
avoiding the need to create one manually viaCreateExportJobRequest.builder()
- Parameters:
createExportJobRequest
- AConsumer
that will call methods onCreateExportJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createImportJob
default CompletableFuture<CreateImportJobResponse> createImportJob(CreateImportJobRequest createImportJobRequest) Creates an import job for an application.
- Parameters:
createImportJobRequest
-- Returns:
- A Java Future containing the result of the CreateImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createImportJob
default CompletableFuture<CreateImportJobResponse> createImportJob(Consumer<CreateImportJobRequest.Builder> createImportJobRequest) Creates an import job for an application.
This is a convenience which creates an instance of the
CreateImportJobRequest.Builder
avoiding the need to create one manually viaCreateImportJobRequest.builder()
- Parameters:
createImportJobRequest
- AConsumer
that will call methods onCreateImportJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInAppTemplate
default CompletableFuture<CreateInAppTemplateResponse> createInAppTemplate(CreateInAppTemplateRequest createInAppTemplateRequest) Creates a new message template for messages using the in-app message channel.
- Parameters:
createInAppTemplateRequest
-- Returns:
- A Java Future containing the result of the CreateInAppTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInAppTemplate
default CompletableFuture<CreateInAppTemplateResponse> createInAppTemplate(Consumer<CreateInAppTemplateRequest.Builder> createInAppTemplateRequest) Creates a new message template for messages using the in-app message channel.
This is a convenience which creates an instance of the
CreateInAppTemplateRequest.Builder
avoiding the need to create one manually viaCreateInAppTemplateRequest.builder()
- Parameters:
createInAppTemplateRequest
- AConsumer
that will call methods onCreateInAppTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateInAppTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createJourney
default CompletableFuture<CreateJourneyResponse> createJourney(CreateJourneyRequest createJourneyRequest) Creates a journey for an application.
- Parameters:
createJourneyRequest
-- Returns:
- A Java Future containing the result of the CreateJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createJourney
default CompletableFuture<CreateJourneyResponse> createJourney(Consumer<CreateJourneyRequest.Builder> createJourneyRequest) Creates a journey for an application.
This is a convenience which creates an instance of the
CreateJourneyRequest.Builder
avoiding the need to create one manually viaCreateJourneyRequest.builder()
- Parameters:
createJourneyRequest
- AConsumer
that will call methods onCreateJourneyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPushTemplate
default CompletableFuture<CreatePushTemplateResponse> createPushTemplate(CreatePushTemplateRequest createPushTemplateRequest) Creates a message template for messages that are sent through a push notification channel.
- Parameters:
createPushTemplateRequest
-- Returns:
- A Java Future containing the result of the CreatePushTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPushTemplate
default CompletableFuture<CreatePushTemplateResponse> createPushTemplate(Consumer<CreatePushTemplateRequest.Builder> createPushTemplateRequest) Creates a message template for messages that are sent through a push notification channel.
This is a convenience which creates an instance of the
CreatePushTemplateRequest.Builder
avoiding the need to create one manually viaCreatePushTemplateRequest.builder()
- Parameters:
createPushTemplateRequest
- AConsumer
that will call methods onCreatePushTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreatePushTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRecommenderConfiguration
default CompletableFuture<CreateRecommenderConfigurationResponse> createRecommenderConfiguration(CreateRecommenderConfigurationRequest createRecommenderConfigurationRequest) Creates an Amazon Pinpoint configuration for a recommender model.
- Parameters:
createRecommenderConfigurationRequest
-- Returns:
- A Java Future containing the result of the CreateRecommenderConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRecommenderConfiguration
default CompletableFuture<CreateRecommenderConfigurationResponse> createRecommenderConfiguration(Consumer<CreateRecommenderConfigurationRequest.Builder> createRecommenderConfigurationRequest) Creates an Amazon Pinpoint configuration for a recommender model.
This is a convenience which creates an instance of the
CreateRecommenderConfigurationRequest.Builder
avoiding the need to create one manually viaCreateRecommenderConfigurationRequest.builder()
- Parameters:
createRecommenderConfigurationRequest
- AConsumer
that will call methods onCreateRecommenderConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateRecommenderConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSegment
default CompletableFuture<CreateSegmentResponse> createSegment(CreateSegmentRequest createSegmentRequest) 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.
- Parameters:
createSegmentRequest
-- Returns:
- A Java Future containing the result of the CreateSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSegment
default CompletableFuture<CreateSegmentResponse> createSegment(Consumer<CreateSegmentRequest.Builder> createSegmentRequest) 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
CreateSegmentRequest.Builder
avoiding the need to create one manually viaCreateSegmentRequest.builder()
- Parameters:
createSegmentRequest
- AConsumer
that will call methods onCreateSegmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSmsTemplate
default CompletableFuture<CreateSmsTemplateResponse> createSmsTemplate(CreateSmsTemplateRequest createSmsTemplateRequest) Creates a message template for messages that are sent through the SMS channel.
- Parameters:
createSmsTemplateRequest
-- Returns:
- A Java Future containing the result of the CreateSmsTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSmsTemplate
default CompletableFuture<CreateSmsTemplateResponse> createSmsTemplate(Consumer<CreateSmsTemplateRequest.Builder> createSmsTemplateRequest) Creates a message template for messages that are sent through the SMS channel.
This is a convenience which creates an instance of the
CreateSmsTemplateRequest.Builder
avoiding the need to create one manually viaCreateSmsTemplateRequest.builder()
- Parameters:
createSmsTemplateRequest
- AConsumer
that will call methods onCreateSmsTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSmsTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createVoiceTemplate
default CompletableFuture<CreateVoiceTemplateResponse> createVoiceTemplate(CreateVoiceTemplateRequest createVoiceTemplateRequest) Creates a message template for messages that are sent through the voice channel.
- Parameters:
createVoiceTemplateRequest
-- Returns:
- A Java Future containing the result of the CreateVoiceTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createVoiceTemplate
default CompletableFuture<CreateVoiceTemplateResponse> createVoiceTemplate(Consumer<CreateVoiceTemplateRequest.Builder> createVoiceTemplateRequest) Creates a message template for messages that are sent through the voice channel.
This is a convenience which creates an instance of the
CreateVoiceTemplateRequest.Builder
avoiding the need to create one manually viaCreateVoiceTemplateRequest.builder()
- Parameters:
createVoiceTemplateRequest
- AConsumer
that will call methods onCreateVoiceTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateVoiceTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAdmChannel
default CompletableFuture<DeleteAdmChannelResponse> deleteAdmChannel(DeleteAdmChannelRequest deleteAdmChannelRequest) Disables the ADM channel for an application and deletes any existing settings for the channel.
- Parameters:
deleteAdmChannelRequest
-- Returns:
- A Java Future containing the result of the DeleteAdmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAdmChannel
default CompletableFuture<DeleteAdmChannelResponse> deleteAdmChannel(Consumer<DeleteAdmChannelRequest.Builder> deleteAdmChannelRequest) 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
DeleteAdmChannelRequest.Builder
avoiding the need to create one manually viaDeleteAdmChannelRequest.builder()
- Parameters:
deleteAdmChannelRequest
- AConsumer
that will call methods onDeleteAdmChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAdmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApnsChannel
default CompletableFuture<DeleteApnsChannelResponse> deleteApnsChannel(DeleteApnsChannelRequest deleteApnsChannelRequest) Disables the APNs channel for an application and deletes any existing settings for the channel.
- Parameters:
deleteApnsChannelRequest
-- Returns:
- A Java Future containing the result of the DeleteApnsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApnsChannel
default CompletableFuture<DeleteApnsChannelResponse> deleteApnsChannel(Consumer<DeleteApnsChannelRequest.Builder> deleteApnsChannelRequest) 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
DeleteApnsChannelRequest.Builder
avoiding the need to create one manually viaDeleteApnsChannelRequest.builder()
- Parameters:
deleteApnsChannelRequest
- AConsumer
that will call methods onDeleteApnsChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApnsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApnsSandboxChannel
default CompletableFuture<DeleteApnsSandboxChannelResponse> deleteApnsSandboxChannel(DeleteApnsSandboxChannelRequest deleteApnsSandboxChannelRequest) Disables the APNs sandbox channel for an application and deletes any existing settings for the channel.
- Parameters:
deleteApnsSandboxChannelRequest
-- Returns:
- A Java Future containing the result of the DeleteApnsSandboxChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApnsSandboxChannel
default CompletableFuture<DeleteApnsSandboxChannelResponse> deleteApnsSandboxChannel(Consumer<DeleteApnsSandboxChannelRequest.Builder> deleteApnsSandboxChannelRequest) 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
DeleteApnsSandboxChannelRequest.Builder
avoiding the need to create one manually viaDeleteApnsSandboxChannelRequest.builder()
- Parameters:
deleteApnsSandboxChannelRequest
- AConsumer
that will call methods onDeleteApnsSandboxChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApnsSandboxChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApnsVoipChannel
default CompletableFuture<DeleteApnsVoipChannelResponse> deleteApnsVoipChannel(DeleteApnsVoipChannelRequest deleteApnsVoipChannelRequest) Disables the APNs VoIP channel for an application and deletes any existing settings for the channel.
- Parameters:
deleteApnsVoipChannelRequest
-- Returns:
- A Java Future containing the result of the DeleteApnsVoipChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApnsVoipChannel
default CompletableFuture<DeleteApnsVoipChannelResponse> deleteApnsVoipChannel(Consumer<DeleteApnsVoipChannelRequest.Builder> deleteApnsVoipChannelRequest) 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
DeleteApnsVoipChannelRequest.Builder
avoiding the need to create one manually viaDeleteApnsVoipChannelRequest.builder()
- Parameters:
deleteApnsVoipChannelRequest
- AConsumer
that will call methods onDeleteApnsVoipChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApnsVoipChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApnsVoipSandboxChannel
default CompletableFuture<DeleteApnsVoipSandboxChannelResponse> deleteApnsVoipSandboxChannel(DeleteApnsVoipSandboxChannelRequest deleteApnsVoipSandboxChannelRequest) Disables the APNs VoIP sandbox channel for an application and deletes any existing settings for the channel.
- Parameters:
deleteApnsVoipSandboxChannelRequest
-- Returns:
- A Java Future containing the result of the DeleteApnsVoipSandboxChannel operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApnsVoipSandboxChannel
default CompletableFuture<DeleteApnsVoipSandboxChannelResponse> deleteApnsVoipSandboxChannel(Consumer<DeleteApnsVoipSandboxChannelRequest.Builder> deleteApnsVoipSandboxChannelRequest) 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
DeleteApnsVoipSandboxChannelRequest.Builder
avoiding the need to create one manually viaDeleteApnsVoipSandboxChannelRequest.builder()
- Parameters:
deleteApnsVoipSandboxChannelRequest
- AConsumer
that will call methods onDeleteApnsVoipSandboxChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApnsVoipSandboxChannel operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApp
Deletes an application.
- Parameters:
deleteAppRequest
-- Returns:
- A Java Future containing the result of the DeleteApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteApp
default CompletableFuture<DeleteAppResponse> deleteApp(Consumer<DeleteAppRequest.Builder> deleteAppRequest) Deletes an application.
This is a convenience which creates an instance of the
DeleteAppRequest.Builder
avoiding the need to create one manually viaDeleteAppRequest.builder()
- Parameters:
deleteAppRequest
- AConsumer
that will call methods onDeleteAppRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBaiduChannel
default CompletableFuture<DeleteBaiduChannelResponse> deleteBaiduChannel(DeleteBaiduChannelRequest deleteBaiduChannelRequest) Disables the Baidu channel for an application and deletes any existing settings for the channel.
- Parameters:
deleteBaiduChannelRequest
-- Returns:
- A Java Future containing the result of the DeleteBaiduChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBaiduChannel
default CompletableFuture<DeleteBaiduChannelResponse> deleteBaiduChannel(Consumer<DeleteBaiduChannelRequest.Builder> deleteBaiduChannelRequest) 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
DeleteBaiduChannelRequest.Builder
avoiding the need to create one manually viaDeleteBaiduChannelRequest.builder()
- Parameters:
deleteBaiduChannelRequest
- AConsumer
that will call methods onDeleteBaiduChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteBaiduChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCampaign
default CompletableFuture<DeleteCampaignResponse> deleteCampaign(DeleteCampaignRequest deleteCampaignRequest) Deletes a campaign from an application.
- Parameters:
deleteCampaignRequest
-- Returns:
- A Java Future containing the result of the DeleteCampaign operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCampaign
default CompletableFuture<DeleteCampaignResponse> deleteCampaign(Consumer<DeleteCampaignRequest.Builder> deleteCampaignRequest) Deletes a campaign from an application.
This is a convenience which creates an instance of the
DeleteCampaignRequest.Builder
avoiding the need to create one manually viaDeleteCampaignRequest.builder()
- Parameters:
deleteCampaignRequest
- AConsumer
that will call methods onDeleteCampaignRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCampaign operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEmailChannel
default CompletableFuture<DeleteEmailChannelResponse> deleteEmailChannel(DeleteEmailChannelRequest deleteEmailChannelRequest) Disables the email channel for an application and deletes any existing settings for the channel.
- Parameters:
deleteEmailChannelRequest
-- Returns:
- A Java Future containing the result of the DeleteEmailChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEmailChannel
default CompletableFuture<DeleteEmailChannelResponse> deleteEmailChannel(Consumer<DeleteEmailChannelRequest.Builder> deleteEmailChannelRequest) 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
DeleteEmailChannelRequest.Builder
avoiding the need to create one manually viaDeleteEmailChannelRequest.builder()
- Parameters:
deleteEmailChannelRequest
- AConsumer
that will call methods onDeleteEmailChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEmailChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEmailTemplate
default CompletableFuture<DeleteEmailTemplateResponse> deleteEmailTemplate(DeleteEmailTemplateRequest deleteEmailTemplateRequest) Deletes a message template for messages that were sent through the email channel.
- Parameters:
deleteEmailTemplateRequest
-- Returns:
- A Java Future containing the result of the DeleteEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEmailTemplate
default CompletableFuture<DeleteEmailTemplateResponse> deleteEmailTemplate(Consumer<DeleteEmailTemplateRequest.Builder> deleteEmailTemplateRequest) Deletes a message template for messages that were sent through the email channel.
This is a convenience which creates an instance of the
DeleteEmailTemplateRequest.Builder
avoiding the need to create one manually viaDeleteEmailTemplateRequest.builder()
- Parameters:
deleteEmailTemplateRequest
- AConsumer
that will call methods onDeleteEmailTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEndpoint
default CompletableFuture<DeleteEndpointResponse> deleteEndpoint(DeleteEndpointRequest deleteEndpointRequest) Deletes an endpoint from an application.
- Parameters:
deleteEndpointRequest
-- Returns:
- A Java Future containing the result of the DeleteEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEndpoint
default CompletableFuture<DeleteEndpointResponse> deleteEndpoint(Consumer<DeleteEndpointRequest.Builder> deleteEndpointRequest) Deletes an endpoint from an application.
This is a convenience which creates an instance of the
DeleteEndpointRequest.Builder
avoiding the need to create one manually viaDeleteEndpointRequest.builder()
- Parameters:
deleteEndpointRequest
- AConsumer
that will call methods onDeleteEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEventStream
default CompletableFuture<DeleteEventStreamResponse> deleteEventStream(DeleteEventStreamRequest deleteEventStreamRequest) Deletes the event stream for an application.
- Parameters:
deleteEventStreamRequest
-- Returns:
- A Java Future containing the result of the DeleteEventStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEventStream
default CompletableFuture<DeleteEventStreamResponse> deleteEventStream(Consumer<DeleteEventStreamRequest.Builder> deleteEventStreamRequest) Deletes the event stream for an application.
This is a convenience which creates an instance of the
DeleteEventStreamRequest.Builder
avoiding the need to create one manually viaDeleteEventStreamRequest.builder()
- Parameters:
deleteEventStreamRequest
- AConsumer
that will call methods onDeleteEventStreamRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEventStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGcmChannel
default CompletableFuture<DeleteGcmChannelResponse> deleteGcmChannel(DeleteGcmChannelRequest deleteGcmChannelRequest) Disables the GCM channel for an application and deletes any existing settings for the channel.
- Parameters:
deleteGcmChannelRequest
-- Returns:
- A Java Future containing the result of the DeleteGcmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGcmChannel
default CompletableFuture<DeleteGcmChannelResponse> deleteGcmChannel(Consumer<DeleteGcmChannelRequest.Builder> deleteGcmChannelRequest) 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
DeleteGcmChannelRequest.Builder
avoiding the need to create one manually viaDeleteGcmChannelRequest.builder()
- Parameters:
deleteGcmChannelRequest
- AConsumer
that will call methods onDeleteGcmChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteGcmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInAppTemplate
default CompletableFuture<DeleteInAppTemplateResponse> deleteInAppTemplate(DeleteInAppTemplateRequest deleteInAppTemplateRequest) Deletes a message template for messages sent using the in-app message channel.
- Parameters:
deleteInAppTemplateRequest
-- Returns:
- A Java Future containing the result of the DeleteInAppTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInAppTemplate
default CompletableFuture<DeleteInAppTemplateResponse> deleteInAppTemplate(Consumer<DeleteInAppTemplateRequest.Builder> deleteInAppTemplateRequest) Deletes a message template for messages sent using the in-app message channel.
This is a convenience which creates an instance of the
DeleteInAppTemplateRequest.Builder
avoiding the need to create one manually viaDeleteInAppTemplateRequest.builder()
- Parameters:
deleteInAppTemplateRequest
- AConsumer
that will call methods onDeleteInAppTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteInAppTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteJourney
default CompletableFuture<DeleteJourneyResponse> deleteJourney(DeleteJourneyRequest deleteJourneyRequest) Deletes a journey from an application.
- Parameters:
deleteJourneyRequest
-- Returns:
- A Java Future containing the result of the DeleteJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteJourney
default CompletableFuture<DeleteJourneyResponse> deleteJourney(Consumer<DeleteJourneyRequest.Builder> deleteJourneyRequest) Deletes a journey from an application.
This is a convenience which creates an instance of the
DeleteJourneyRequest.Builder
avoiding the need to create one manually viaDeleteJourneyRequest.builder()
- Parameters:
deleteJourneyRequest
- AConsumer
that will call methods onDeleteJourneyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePushTemplate
default CompletableFuture<DeletePushTemplateResponse> deletePushTemplate(DeletePushTemplateRequest deletePushTemplateRequest) Deletes a message template for messages that were sent through a push notification channel.
- Parameters:
deletePushTemplateRequest
-- Returns:
- A Java Future containing the result of the DeletePushTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePushTemplate
default CompletableFuture<DeletePushTemplateResponse> deletePushTemplate(Consumer<DeletePushTemplateRequest.Builder> deletePushTemplateRequest) Deletes a message template for messages that were sent through a push notification channel.
This is a convenience which creates an instance of the
DeletePushTemplateRequest.Builder
avoiding the need to create one manually viaDeletePushTemplateRequest.builder()
- Parameters:
deletePushTemplateRequest
- AConsumer
that will call methods onDeletePushTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeletePushTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRecommenderConfiguration
default CompletableFuture<DeleteRecommenderConfigurationResponse> deleteRecommenderConfiguration(DeleteRecommenderConfigurationRequest deleteRecommenderConfigurationRequest) Deletes an Amazon Pinpoint configuration for a recommender model.
- Parameters:
deleteRecommenderConfigurationRequest
-- Returns:
- A Java Future containing the result of the DeleteRecommenderConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRecommenderConfiguration
default CompletableFuture<DeleteRecommenderConfigurationResponse> deleteRecommenderConfiguration(Consumer<DeleteRecommenderConfigurationRequest.Builder> deleteRecommenderConfigurationRequest) Deletes an Amazon Pinpoint configuration for a recommender model.
This is a convenience which creates an instance of the
DeleteRecommenderConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteRecommenderConfigurationRequest.builder()
- Parameters:
deleteRecommenderConfigurationRequest
- AConsumer
that will call methods onDeleteRecommenderConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteRecommenderConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSegment
default CompletableFuture<DeleteSegmentResponse> deleteSegment(DeleteSegmentRequest deleteSegmentRequest) Deletes a segment from an application.
- Parameters:
deleteSegmentRequest
-- Returns:
- A Java Future containing the result of the DeleteSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSegment
default CompletableFuture<DeleteSegmentResponse> deleteSegment(Consumer<DeleteSegmentRequest.Builder> deleteSegmentRequest) Deletes a segment from an application.
This is a convenience which creates an instance of the
DeleteSegmentRequest.Builder
avoiding the need to create one manually viaDeleteSegmentRequest.builder()
- Parameters:
deleteSegmentRequest
- AConsumer
that will call methods onDeleteSegmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSmsChannel
default CompletableFuture<DeleteSmsChannelResponse> deleteSmsChannel(DeleteSmsChannelRequest deleteSmsChannelRequest) Disables the SMS channel for an application and deletes any existing settings for the channel.
- Parameters:
deleteSmsChannelRequest
-- Returns:
- A Java Future containing the result of the DeleteSmsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSmsChannel
default CompletableFuture<DeleteSmsChannelResponse> deleteSmsChannel(Consumer<DeleteSmsChannelRequest.Builder> deleteSmsChannelRequest) 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
DeleteSmsChannelRequest.Builder
avoiding the need to create one manually viaDeleteSmsChannelRequest.builder()
- Parameters:
deleteSmsChannelRequest
- AConsumer
that will call methods onDeleteSmsChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSmsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSmsTemplate
default CompletableFuture<DeleteSmsTemplateResponse> deleteSmsTemplate(DeleteSmsTemplateRequest deleteSmsTemplateRequest) Deletes a message template for messages that were sent through the SMS channel.
- Parameters:
deleteSmsTemplateRequest
-- Returns:
- A Java Future containing the result of the DeleteSmsTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSmsTemplate
default CompletableFuture<DeleteSmsTemplateResponse> deleteSmsTemplate(Consumer<DeleteSmsTemplateRequest.Builder> deleteSmsTemplateRequest) Deletes a message template for messages that were sent through the SMS channel.
This is a convenience which creates an instance of the
DeleteSmsTemplateRequest.Builder
avoiding the need to create one manually viaDeleteSmsTemplateRequest.builder()
- Parameters:
deleteSmsTemplateRequest
- AConsumer
that will call methods onDeleteSmsTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSmsTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteUserEndpoints
default CompletableFuture<DeleteUserEndpointsResponse> deleteUserEndpoints(DeleteUserEndpointsRequest deleteUserEndpointsRequest) Deletes all the endpoints that are associated with a specific user ID.
- Parameters:
deleteUserEndpointsRequest
-- Returns:
- A Java Future containing the result of the DeleteUserEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteUserEndpoints
default CompletableFuture<DeleteUserEndpointsResponse> deleteUserEndpoints(Consumer<DeleteUserEndpointsRequest.Builder> deleteUserEndpointsRequest) Deletes all the endpoints that are associated with a specific user ID.
This is a convenience which creates an instance of the
DeleteUserEndpointsRequest.Builder
avoiding the need to create one manually viaDeleteUserEndpointsRequest.builder()
- Parameters:
deleteUserEndpointsRequest
- AConsumer
that will call methods onDeleteUserEndpointsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteUserEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteVoiceChannel
default CompletableFuture<DeleteVoiceChannelResponse> deleteVoiceChannel(DeleteVoiceChannelRequest deleteVoiceChannelRequest) Disables the voice channel for an application and deletes any existing settings for the channel.
- Parameters:
deleteVoiceChannelRequest
-- Returns:
- A Java Future containing the result of the DeleteVoiceChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteVoiceChannel
default CompletableFuture<DeleteVoiceChannelResponse> deleteVoiceChannel(Consumer<DeleteVoiceChannelRequest.Builder> deleteVoiceChannelRequest) 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
DeleteVoiceChannelRequest.Builder
avoiding the need to create one manually viaDeleteVoiceChannelRequest.builder()
- Parameters:
deleteVoiceChannelRequest
- AConsumer
that will call methods onDeleteVoiceChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteVoiceChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteVoiceTemplate
default CompletableFuture<DeleteVoiceTemplateResponse> deleteVoiceTemplate(DeleteVoiceTemplateRequest deleteVoiceTemplateRequest) Deletes a message template for messages that were sent through the voice channel.
- Parameters:
deleteVoiceTemplateRequest
-- Returns:
- A Java Future containing the result of the DeleteVoiceTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteVoiceTemplate
default CompletableFuture<DeleteVoiceTemplateResponse> deleteVoiceTemplate(Consumer<DeleteVoiceTemplateRequest.Builder> deleteVoiceTemplateRequest) Deletes a message template for messages that were sent through the voice channel.
This is a convenience which creates an instance of the
DeleteVoiceTemplateRequest.Builder
avoiding the need to create one manually viaDeleteVoiceTemplateRequest.builder()
- Parameters:
deleteVoiceTemplateRequest
- AConsumer
that will call methods onDeleteVoiceTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteVoiceTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAdmChannel
default CompletableFuture<GetAdmChannelResponse> getAdmChannel(GetAdmChannelRequest getAdmChannelRequest) Retrieves information about the status and settings of the ADM channel for an application.
- Parameters:
getAdmChannelRequest
-- Returns:
- A Java Future containing the result of the GetAdmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAdmChannel
default CompletableFuture<GetAdmChannelResponse> getAdmChannel(Consumer<GetAdmChannelRequest.Builder> getAdmChannelRequest) Retrieves information about the status and settings of the ADM channel for an application.
This is a convenience which creates an instance of the
GetAdmChannelRequest.Builder
avoiding the need to create one manually viaGetAdmChannelRequest.builder()
- Parameters:
getAdmChannelRequest
- AConsumer
that will call methods onGetAdmChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAdmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApnsChannel
default CompletableFuture<GetApnsChannelResponse> getApnsChannel(GetApnsChannelRequest getApnsChannelRequest) Retrieves information about the status and settings of the APNs channel for an application.
- Parameters:
getApnsChannelRequest
-- Returns:
- A Java Future containing the result of the GetApnsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApnsChannel
default CompletableFuture<GetApnsChannelResponse> getApnsChannel(Consumer<GetApnsChannelRequest.Builder> getApnsChannelRequest) Retrieves information about the status and settings of the APNs channel for an application.
This is a convenience which creates an instance of the
GetApnsChannelRequest.Builder
avoiding the need to create one manually viaGetApnsChannelRequest.builder()
- Parameters:
getApnsChannelRequest
- AConsumer
that will call methods onGetApnsChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetApnsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApnsSandboxChannel
default CompletableFuture<GetApnsSandboxChannelResponse> getApnsSandboxChannel(GetApnsSandboxChannelRequest getApnsSandboxChannelRequest) Retrieves information about the status and settings of the APNs sandbox channel for an application.
- Parameters:
getApnsSandboxChannelRequest
-- Returns:
- A Java Future containing the result of the GetApnsSandboxChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApnsSandboxChannel
default CompletableFuture<GetApnsSandboxChannelResponse> getApnsSandboxChannel(Consumer<GetApnsSandboxChannelRequest.Builder> getApnsSandboxChannelRequest) 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
GetApnsSandboxChannelRequest.Builder
avoiding the need to create one manually viaGetApnsSandboxChannelRequest.builder()
- Parameters:
getApnsSandboxChannelRequest
- AConsumer
that will call methods onGetApnsSandboxChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetApnsSandboxChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApnsVoipChannel
default CompletableFuture<GetApnsVoipChannelResponse> getApnsVoipChannel(GetApnsVoipChannelRequest getApnsVoipChannelRequest) Retrieves information about the status and settings of the APNs VoIP channel for an application.
- Parameters:
getApnsVoipChannelRequest
-- Returns:
- A Java Future containing the result of the GetApnsVoipChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApnsVoipChannel
default CompletableFuture<GetApnsVoipChannelResponse> getApnsVoipChannel(Consumer<GetApnsVoipChannelRequest.Builder> getApnsVoipChannelRequest) 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
GetApnsVoipChannelRequest.Builder
avoiding the need to create one manually viaGetApnsVoipChannelRequest.builder()
- Parameters:
getApnsVoipChannelRequest
- AConsumer
that will call methods onGetApnsVoipChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetApnsVoipChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApnsVoipSandboxChannel
default CompletableFuture<GetApnsVoipSandboxChannelResponse> getApnsVoipSandboxChannel(GetApnsVoipSandboxChannelRequest getApnsVoipSandboxChannelRequest) Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.
- Parameters:
getApnsVoipSandboxChannelRequest
-- Returns:
- A Java Future containing the result of the GetApnsVoipSandboxChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApnsVoipSandboxChannel
default CompletableFuture<GetApnsVoipSandboxChannelResponse> getApnsVoipSandboxChannel(Consumer<GetApnsVoipSandboxChannelRequest.Builder> getApnsVoipSandboxChannelRequest) 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
GetApnsVoipSandboxChannelRequest.Builder
avoiding the need to create one manually viaGetApnsVoipSandboxChannelRequest.builder()
- Parameters:
getApnsVoipSandboxChannelRequest
- AConsumer
that will call methods onGetApnsVoipSandboxChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetApnsVoipSandboxChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApp
Retrieves information about an application.
- Parameters:
getAppRequest
-- Returns:
- A Java Future containing the result of the GetApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApp
Retrieves information about an application.
This is a convenience which creates an instance of the
GetAppRequest.Builder
avoiding the need to create one manually viaGetAppRequest.builder()
- Parameters:
getAppRequest
- AConsumer
that will call methods onGetAppRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApplicationDateRangeKpi
default CompletableFuture<GetApplicationDateRangeKpiResponse> getApplicationDateRangeKpi(GetApplicationDateRangeKpiRequest getApplicationDateRangeKpiRequest) Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.
- Parameters:
getApplicationDateRangeKpiRequest
-- Returns:
- A Java Future containing the result of the GetApplicationDateRangeKpi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApplicationDateRangeKpi
default CompletableFuture<GetApplicationDateRangeKpiResponse> getApplicationDateRangeKpi(Consumer<GetApplicationDateRangeKpiRequest.Builder> getApplicationDateRangeKpiRequest) Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.
This is a convenience which creates an instance of the
GetApplicationDateRangeKpiRequest.Builder
avoiding the need to create one manually viaGetApplicationDateRangeKpiRequest.builder()
- Parameters:
getApplicationDateRangeKpiRequest
- AConsumer
that will call methods onGetApplicationDateRangeKpiRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetApplicationDateRangeKpi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApplicationSettings
default CompletableFuture<GetApplicationSettingsResponse> getApplicationSettings(GetApplicationSettingsRequest getApplicationSettingsRequest) Retrieves information about the settings for an application.
- Parameters:
getApplicationSettingsRequest
-- Returns:
- A Java Future containing the result of the GetApplicationSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApplicationSettings
default CompletableFuture<GetApplicationSettingsResponse> getApplicationSettings(Consumer<GetApplicationSettingsRequest.Builder> getApplicationSettingsRequest) Retrieves information about the settings for an application.
This is a convenience which creates an instance of the
GetApplicationSettingsRequest.Builder
avoiding the need to create one manually viaGetApplicationSettingsRequest.builder()
- Parameters:
getApplicationSettingsRequest
- AConsumer
that will call methods onGetApplicationSettingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetApplicationSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApps
Retrieves information about all the applications that are associated with your Amazon Pinpoint account.
- Parameters:
getAppsRequest
-- Returns:
- A Java Future containing the result of the GetApps operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getApps
Retrieves information about all the applications that are associated with your Amazon Pinpoint account.
This is a convenience which creates an instance of the
GetAppsRequest.Builder
avoiding the need to create one manually viaGetAppsRequest.builder()
- Parameters:
getAppsRequest
- AConsumer
that will call methods onGetAppsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetApps operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBaiduChannel
default CompletableFuture<GetBaiduChannelResponse> getBaiduChannel(GetBaiduChannelRequest getBaiduChannelRequest) Retrieves information about the status and settings of the Baidu channel for an application.
- Parameters:
getBaiduChannelRequest
-- Returns:
- A Java Future containing the result of the GetBaiduChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBaiduChannel
default CompletableFuture<GetBaiduChannelResponse> getBaiduChannel(Consumer<GetBaiduChannelRequest.Builder> getBaiduChannelRequest) Retrieves information about the status and settings of the Baidu channel for an application.
This is a convenience which creates an instance of the
GetBaiduChannelRequest.Builder
avoiding the need to create one manually viaGetBaiduChannelRequest.builder()
- Parameters:
getBaiduChannelRequest
- AConsumer
that will call methods onGetBaiduChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetBaiduChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaign
Retrieves information about the status, configuration, and other settings for a campaign.
- Parameters:
getCampaignRequest
-- Returns:
- A Java Future containing the result of the GetCampaign operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaign
default CompletableFuture<GetCampaignResponse> getCampaign(Consumer<GetCampaignRequest.Builder> getCampaignRequest) Retrieves information about the status, configuration, and other settings for a campaign.
This is a convenience which creates an instance of the
GetCampaignRequest.Builder
avoiding the need to create one manually viaGetCampaignRequest.builder()
- Parameters:
getCampaignRequest
- AConsumer
that will call methods onGetCampaignRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCampaign operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaignActivities
default CompletableFuture<GetCampaignActivitiesResponse> getCampaignActivities(GetCampaignActivitiesRequest getCampaignActivitiesRequest) Retrieves information about all the activities for a campaign.
- Parameters:
getCampaignActivitiesRequest
-- Returns:
- A Java Future containing the result of the GetCampaignActivities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaignActivities
default CompletableFuture<GetCampaignActivitiesResponse> getCampaignActivities(Consumer<GetCampaignActivitiesRequest.Builder> getCampaignActivitiesRequest) Retrieves information about all the activities for a campaign.
This is a convenience which creates an instance of the
GetCampaignActivitiesRequest.Builder
avoiding the need to create one manually viaGetCampaignActivitiesRequest.builder()
- Parameters:
getCampaignActivitiesRequest
- AConsumer
that will call methods onGetCampaignActivitiesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCampaignActivities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaignDateRangeKpi
default CompletableFuture<GetCampaignDateRangeKpiResponse> getCampaignDateRangeKpi(GetCampaignDateRangeKpiRequest getCampaignDateRangeKpiRequest) Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.
- Parameters:
getCampaignDateRangeKpiRequest
-- Returns:
- A Java Future containing the result of the GetCampaignDateRangeKpi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaignDateRangeKpi
default CompletableFuture<GetCampaignDateRangeKpiResponse> getCampaignDateRangeKpi(Consumer<GetCampaignDateRangeKpiRequest.Builder> getCampaignDateRangeKpiRequest) Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.
This is a convenience which creates an instance of the
GetCampaignDateRangeKpiRequest.Builder
avoiding the need to create one manually viaGetCampaignDateRangeKpiRequest.builder()
- Parameters:
getCampaignDateRangeKpiRequest
- AConsumer
that will call methods onGetCampaignDateRangeKpiRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCampaignDateRangeKpi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaignVersion
default CompletableFuture<GetCampaignVersionResponse> getCampaignVersion(GetCampaignVersionRequest getCampaignVersionRequest) Retrieves information about the status, configuration, and other settings for a specific version of a campaign.
- Parameters:
getCampaignVersionRequest
-- Returns:
- A Java Future containing the result of the GetCampaignVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaignVersion
default CompletableFuture<GetCampaignVersionResponse> getCampaignVersion(Consumer<GetCampaignVersionRequest.Builder> getCampaignVersionRequest) 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
GetCampaignVersionRequest.Builder
avoiding the need to create one manually viaGetCampaignVersionRequest.builder()
- Parameters:
getCampaignVersionRequest
- AConsumer
that will call methods onGetCampaignVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCampaignVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaignVersions
default CompletableFuture<GetCampaignVersionsResponse> getCampaignVersions(GetCampaignVersionsRequest getCampaignVersionsRequest) Retrieves information about the status, configuration, and other settings for all versions of a campaign.
- Parameters:
getCampaignVersionsRequest
-- Returns:
- A Java Future containing the result of the GetCampaignVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaignVersions
default CompletableFuture<GetCampaignVersionsResponse> getCampaignVersions(Consumer<GetCampaignVersionsRequest.Builder> getCampaignVersionsRequest) 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
GetCampaignVersionsRequest.Builder
avoiding the need to create one manually viaGetCampaignVersionsRequest.builder()
- Parameters:
getCampaignVersionsRequest
- AConsumer
that will call methods onGetCampaignVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCampaignVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaigns
default CompletableFuture<GetCampaignsResponse> getCampaigns(GetCampaignsRequest getCampaignsRequest) Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application.
- Parameters:
getCampaignsRequest
-- Returns:
- A Java Future containing the result of the GetCampaigns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCampaigns
default CompletableFuture<GetCampaignsResponse> getCampaigns(Consumer<GetCampaignsRequest.Builder> getCampaignsRequest) 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
GetCampaignsRequest.Builder
avoiding the need to create one manually viaGetCampaignsRequest.builder()
- Parameters:
getCampaignsRequest
- AConsumer
that will call methods onGetCampaignsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCampaigns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChannels
Retrieves information about the history and status of each channel for an application.
- Parameters:
getChannelsRequest
-- Returns:
- A Java Future containing the result of the GetChannels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getChannels
default CompletableFuture<GetChannelsResponse> getChannels(Consumer<GetChannelsRequest.Builder> getChannelsRequest) Retrieves information about the history and status of each channel for an application.
This is a convenience which creates an instance of the
GetChannelsRequest.Builder
avoiding the need to create one manually viaGetChannelsRequest.builder()
- Parameters:
getChannelsRequest
- AConsumer
that will call methods onGetChannelsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetChannels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEmailChannel
default CompletableFuture<GetEmailChannelResponse> getEmailChannel(GetEmailChannelRequest getEmailChannelRequest) Retrieves information about the status and settings of the email channel for an application.
- Parameters:
getEmailChannelRequest
-- Returns:
- A Java Future containing the result of the GetEmailChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEmailChannel
default CompletableFuture<GetEmailChannelResponse> getEmailChannel(Consumer<GetEmailChannelRequest.Builder> getEmailChannelRequest) Retrieves information about the status and settings of the email channel for an application.
This is a convenience which creates an instance of the
GetEmailChannelRequest.Builder
avoiding the need to create one manually viaGetEmailChannelRequest.builder()
- Parameters:
getEmailChannelRequest
- AConsumer
that will call methods onGetEmailChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetEmailChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEmailTemplate
default CompletableFuture<GetEmailTemplateResponse> getEmailTemplate(GetEmailTemplateRequest getEmailTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through the email channel.
- Parameters:
getEmailTemplateRequest
-- Returns:
- A Java Future containing the result of the GetEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEmailTemplate
default CompletableFuture<GetEmailTemplateResponse> getEmailTemplate(Consumer<GetEmailTemplateRequest.Builder> getEmailTemplateRequest) 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
GetEmailTemplateRequest.Builder
avoiding the need to create one manually viaGetEmailTemplateRequest.builder()
- Parameters:
getEmailTemplateRequest
- AConsumer
that will call methods onGetEmailTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEndpoint
Retrieves information about the settings and attributes of a specific endpoint for an application.
- Parameters:
getEndpointRequest
-- Returns:
- A Java Future containing the result of the GetEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEndpoint
default CompletableFuture<GetEndpointResponse> getEndpoint(Consumer<GetEndpointRequest.Builder> getEndpointRequest) Retrieves information about the settings and attributes of a specific endpoint for an application.
This is a convenience which creates an instance of the
GetEndpointRequest.Builder
avoiding the need to create one manually viaGetEndpointRequest.builder()
- Parameters:
getEndpointRequest
- AConsumer
that will call methods onGetEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEventStream
default CompletableFuture<GetEventStreamResponse> getEventStream(GetEventStreamRequest getEventStreamRequest) Retrieves information about the event stream settings for an application.
- Parameters:
getEventStreamRequest
-- Returns:
- A Java Future containing the result of the GetEventStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEventStream
default CompletableFuture<GetEventStreamResponse> getEventStream(Consumer<GetEventStreamRequest.Builder> getEventStreamRequest) Retrieves information about the event stream settings for an application.
This is a convenience which creates an instance of the
GetEventStreamRequest.Builder
avoiding the need to create one manually viaGetEventStreamRequest.builder()
- Parameters:
getEventStreamRequest
- AConsumer
that will call methods onGetEventStreamRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetEventStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getExportJob
default CompletableFuture<GetExportJobResponse> getExportJob(GetExportJobRequest getExportJobRequest) Retrieves information about the status and settings of a specific export job for an application.
- Parameters:
getExportJobRequest
-- Returns:
- A Java Future containing the result of the GetExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getExportJob
default CompletableFuture<GetExportJobResponse> getExportJob(Consumer<GetExportJobRequest.Builder> getExportJobRequest) 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
GetExportJobRequest.Builder
avoiding the need to create one manually viaGetExportJobRequest.builder()
- Parameters:
getExportJobRequest
- AConsumer
that will call methods onGetExportJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getExportJobs
default CompletableFuture<GetExportJobsResponse> getExportJobs(GetExportJobsRequest getExportJobsRequest) Retrieves information about the status and settings of all the export jobs for an application.
- Parameters:
getExportJobsRequest
-- Returns:
- A Java Future containing the result of the GetExportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getExportJobs
default CompletableFuture<GetExportJobsResponse> getExportJobs(Consumer<GetExportJobsRequest.Builder> getExportJobsRequest) 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
GetExportJobsRequest.Builder
avoiding the need to create one manually viaGetExportJobsRequest.builder()
- Parameters:
getExportJobsRequest
- AConsumer
that will call methods onGetExportJobsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetExportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGcmChannel
default CompletableFuture<GetGcmChannelResponse> getGcmChannel(GetGcmChannelRequest getGcmChannelRequest) Retrieves information about the status and settings of the GCM channel for an application.
- Parameters:
getGcmChannelRequest
-- Returns:
- A Java Future containing the result of the GetGcmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getGcmChannel
default CompletableFuture<GetGcmChannelResponse> getGcmChannel(Consumer<GetGcmChannelRequest.Builder> getGcmChannelRequest) Retrieves information about the status and settings of the GCM channel for an application.
This is a convenience which creates an instance of the
GetGcmChannelRequest.Builder
avoiding the need to create one manually viaGetGcmChannelRequest.builder()
- Parameters:
getGcmChannelRequest
- AConsumer
that will call methods onGetGcmChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetGcmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImportJob
default CompletableFuture<GetImportJobResponse> getImportJob(GetImportJobRequest getImportJobRequest) Retrieves information about the status and settings of a specific import job for an application.
- Parameters:
getImportJobRequest
-- Returns:
- A Java Future containing the result of the GetImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImportJob
default CompletableFuture<GetImportJobResponse> getImportJob(Consumer<GetImportJobRequest.Builder> getImportJobRequest) 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
GetImportJobRequest.Builder
avoiding the need to create one manually viaGetImportJobRequest.builder()
- Parameters:
getImportJobRequest
- AConsumer
that will call methods onGetImportJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImportJobs
default CompletableFuture<GetImportJobsResponse> getImportJobs(GetImportJobsRequest getImportJobsRequest) Retrieves information about the status and settings of all the import jobs for an application.
- Parameters:
getImportJobsRequest
-- Returns:
- A Java Future containing the result of the GetImportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getImportJobs
default CompletableFuture<GetImportJobsResponse> getImportJobs(Consumer<GetImportJobsRequest.Builder> getImportJobsRequest) 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
GetImportJobsRequest.Builder
avoiding the need to create one manually viaGetImportJobsRequest.builder()
- Parameters:
getImportJobsRequest
- AConsumer
that will call methods onGetImportJobsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetImportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInAppMessages
default CompletableFuture<GetInAppMessagesResponse> getInAppMessages(GetInAppMessagesRequest getInAppMessagesRequest) Retrieves the in-app messages targeted for the provided endpoint ID.
- Parameters:
getInAppMessagesRequest
-- Returns:
- A Java Future containing the result of the GetInAppMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInAppMessages
default CompletableFuture<GetInAppMessagesResponse> getInAppMessages(Consumer<GetInAppMessagesRequest.Builder> getInAppMessagesRequest) Retrieves the in-app messages targeted for the provided endpoint ID.
This is a convenience which creates an instance of the
GetInAppMessagesRequest.Builder
avoiding the need to create one manually viaGetInAppMessagesRequest.builder()
- Parameters:
getInAppMessagesRequest
- AConsumer
that will call methods onGetInAppMessagesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetInAppMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInAppTemplate
default CompletableFuture<GetInAppTemplateResponse> getInAppTemplate(GetInAppTemplateRequest getInAppTemplateRequest) Retrieves the content and settings of a message template for messages sent through the in-app channel.
- Parameters:
getInAppTemplateRequest
-- Returns:
- A Java Future containing the result of the GetInAppTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInAppTemplate
default CompletableFuture<GetInAppTemplateResponse> getInAppTemplate(Consumer<GetInAppTemplateRequest.Builder> getInAppTemplateRequest) 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
GetInAppTemplateRequest.Builder
avoiding the need to create one manually viaGetInAppTemplateRequest.builder()
- Parameters:
getInAppTemplateRequest
- AConsumer
that will call methods onGetInAppTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetInAppTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourney
Retrieves information about the status, configuration, and other settings for a journey.
- Parameters:
getJourneyRequest
-- Returns:
- A Java Future containing the result of the GetJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourney
default CompletableFuture<GetJourneyResponse> getJourney(Consumer<GetJourneyRequest.Builder> getJourneyRequest) Retrieves information about the status, configuration, and other settings for a journey.
This is a convenience which creates an instance of the
GetJourneyRequest.Builder
avoiding the need to create one manually viaGetJourneyRequest.builder()
- Parameters:
getJourneyRequest
- AConsumer
that will call methods onGetJourneyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyDateRangeKpi
default CompletableFuture<GetJourneyDateRangeKpiResponse> getJourneyDateRangeKpi(GetJourneyDateRangeKpiRequest getJourneyDateRangeKpiRequest) Retrieves (queries) pre-aggregated data for a standard engagement metric that applies to a journey.
- Parameters:
getJourneyDateRangeKpiRequest
-- Returns:
- A Java Future containing the result of the GetJourneyDateRangeKpi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyDateRangeKpi
default CompletableFuture<GetJourneyDateRangeKpiResponse> getJourneyDateRangeKpi(Consumer<GetJourneyDateRangeKpiRequest.Builder> getJourneyDateRangeKpiRequest) 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
GetJourneyDateRangeKpiRequest.Builder
avoiding the need to create one manually viaGetJourneyDateRangeKpiRequest.builder()
- Parameters:
getJourneyDateRangeKpiRequest
- AConsumer
that will call methods onGetJourneyDateRangeKpiRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetJourneyDateRangeKpi operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyExecutionActivityMetrics
default CompletableFuture<GetJourneyExecutionActivityMetricsResponse> getJourneyExecutionActivityMetrics(GetJourneyExecutionActivityMetricsRequest getJourneyExecutionActivityMetricsRequest) Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey activity.
- Parameters:
getJourneyExecutionActivityMetricsRequest
-- Returns:
- A Java Future containing the result of the GetJourneyExecutionActivityMetrics operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyExecutionActivityMetrics
default CompletableFuture<GetJourneyExecutionActivityMetricsResponse> getJourneyExecutionActivityMetrics(Consumer<GetJourneyExecutionActivityMetricsRequest.Builder> getJourneyExecutionActivityMetricsRequest) 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
GetJourneyExecutionActivityMetricsRequest.Builder
avoiding the need to create one manually viaGetJourneyExecutionActivityMetricsRequest.builder()
- Parameters:
getJourneyExecutionActivityMetricsRequest
- AConsumer
that will call methods onGetJourneyExecutionActivityMetricsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetJourneyExecutionActivityMetrics operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyExecutionMetrics
default CompletableFuture<GetJourneyExecutionMetricsResponse> getJourneyExecutionMetrics(GetJourneyExecutionMetricsRequest getJourneyExecutionMetricsRequest) Retrieves (queries) pre-aggregated data for a standard execution metric that applies to a journey.
- Parameters:
getJourneyExecutionMetricsRequest
-- Returns:
- A Java Future containing the result of the GetJourneyExecutionMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyExecutionMetrics
default CompletableFuture<GetJourneyExecutionMetricsResponse> getJourneyExecutionMetrics(Consumer<GetJourneyExecutionMetricsRequest.Builder> getJourneyExecutionMetricsRequest) 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
GetJourneyExecutionMetricsRequest.Builder
avoiding the need to create one manually viaGetJourneyExecutionMetricsRequest.builder()
- Parameters:
getJourneyExecutionMetricsRequest
- AConsumer
that will call methods onGetJourneyExecutionMetricsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetJourneyExecutionMetrics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyRunExecutionActivityMetrics
default CompletableFuture<GetJourneyRunExecutionActivityMetricsResponse> getJourneyRunExecutionActivityMetrics(GetJourneyRunExecutionActivityMetricsRequest getJourneyRunExecutionActivityMetricsRequest) Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey activity.
- Parameters:
getJourneyRunExecutionActivityMetricsRequest
-- Returns:
- A Java Future containing the result of the GetJourneyRunExecutionActivityMetrics operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyRunExecutionActivityMetrics
default CompletableFuture<GetJourneyRunExecutionActivityMetricsResponse> getJourneyRunExecutionActivityMetrics(Consumer<GetJourneyRunExecutionActivityMetricsRequest.Builder> getJourneyRunExecutionActivityMetricsRequest) Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey activity.
This is a convenience which creates an instance of the
GetJourneyRunExecutionActivityMetricsRequest.Builder
avoiding the need to create one manually viaGetJourneyRunExecutionActivityMetricsRequest.builder()
- Parameters:
getJourneyRunExecutionActivityMetricsRequest
- AConsumer
that will call methods onGetJourneyRunExecutionActivityMetricsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetJourneyRunExecutionActivityMetrics operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyRunExecutionMetrics
default CompletableFuture<GetJourneyRunExecutionMetricsResponse> getJourneyRunExecutionMetrics(GetJourneyRunExecutionMetricsRequest getJourneyRunExecutionMetricsRequest) Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey.
- Parameters:
getJourneyRunExecutionMetricsRequest
-- Returns:
- A Java Future containing the result of the GetJourneyRunExecutionMetrics operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyRunExecutionMetrics
default CompletableFuture<GetJourneyRunExecutionMetricsResponse> getJourneyRunExecutionMetrics(Consumer<GetJourneyRunExecutionMetricsRequest.Builder> getJourneyRunExecutionMetricsRequest) Retrieves (queries) pre-aggregated data for a standard run execution metric that applies to a journey.
This is a convenience which creates an instance of the
GetJourneyRunExecutionMetricsRequest.Builder
avoiding the need to create one manually viaGetJourneyRunExecutionMetricsRequest.builder()
- Parameters:
getJourneyRunExecutionMetricsRequest
- AConsumer
that will call methods onGetJourneyRunExecutionMetricsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetJourneyRunExecutionMetrics operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyRuns
default CompletableFuture<GetJourneyRunsResponse> getJourneyRuns(GetJourneyRunsRequest getJourneyRunsRequest) Provides information about the runs of a journey.
- Parameters:
getJourneyRunsRequest
-- Returns:
- A Java Future containing the result of the GetJourneyRuns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getJourneyRuns
default CompletableFuture<GetJourneyRunsResponse> getJourneyRuns(Consumer<GetJourneyRunsRequest.Builder> getJourneyRunsRequest) Provides information about the runs of a journey.
This is a convenience which creates an instance of the
GetJourneyRunsRequest.Builder
avoiding the need to create one manually viaGetJourneyRunsRequest.builder()
- Parameters:
getJourneyRunsRequest
- AConsumer
that will call methods onGetJourneyRunsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetJourneyRuns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPushTemplate
default CompletableFuture<GetPushTemplateResponse> getPushTemplate(GetPushTemplateRequest getPushTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through a push notification channel.
- Parameters:
getPushTemplateRequest
-- Returns:
- A Java Future containing the result of the GetPushTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getPushTemplate
default CompletableFuture<GetPushTemplateResponse> getPushTemplate(Consumer<GetPushTemplateRequest.Builder> getPushTemplateRequest) 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
GetPushTemplateRequest.Builder
avoiding the need to create one manually viaGetPushTemplateRequest.builder()
- Parameters:
getPushTemplateRequest
- AConsumer
that will call methods onGetPushTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetPushTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecommenderConfiguration
default CompletableFuture<GetRecommenderConfigurationResponse> getRecommenderConfiguration(GetRecommenderConfigurationRequest getRecommenderConfigurationRequest) Retrieves information about an Amazon Pinpoint configuration for a recommender model.
- Parameters:
getRecommenderConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetRecommenderConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecommenderConfiguration
default CompletableFuture<GetRecommenderConfigurationResponse> getRecommenderConfiguration(Consumer<GetRecommenderConfigurationRequest.Builder> getRecommenderConfigurationRequest) Retrieves information about an Amazon Pinpoint configuration for a recommender model.
This is a convenience which creates an instance of the
GetRecommenderConfigurationRequest.Builder
avoiding the need to create one manually viaGetRecommenderConfigurationRequest.builder()
- Parameters:
getRecommenderConfigurationRequest
- AConsumer
that will call methods onGetRecommenderConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRecommenderConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecommenderConfigurations
default CompletableFuture<GetRecommenderConfigurationsResponse> getRecommenderConfigurations(GetRecommenderConfigurationsRequest getRecommenderConfigurationsRequest) Retrieves information about all the recommender model configurations that are associated with your Amazon Pinpoint account.
- Parameters:
getRecommenderConfigurationsRequest
-- Returns:
- A Java Future containing the result of the GetRecommenderConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecommenderConfigurations
default CompletableFuture<GetRecommenderConfigurationsResponse> getRecommenderConfigurations(Consumer<GetRecommenderConfigurationsRequest.Builder> getRecommenderConfigurationsRequest) 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
GetRecommenderConfigurationsRequest.Builder
avoiding the need to create one manually viaGetRecommenderConfigurationsRequest.builder()
- Parameters:
getRecommenderConfigurationsRequest
- AConsumer
that will call methods onGetRecommenderConfigurationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRecommenderConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegment
Retrieves information about the configuration, dimension, and other settings for a specific segment that's associated with an application.
- Parameters:
getSegmentRequest
-- Returns:
- A Java Future containing the result of the GetSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegment
default CompletableFuture<GetSegmentResponse> getSegment(Consumer<GetSegmentRequest.Builder> getSegmentRequest) 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
GetSegmentRequest.Builder
avoiding the need to create one manually viaGetSegmentRequest.builder()
- Parameters:
getSegmentRequest
- AConsumer
that will call methods onGetSegmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegmentExportJobs
default CompletableFuture<GetSegmentExportJobsResponse> getSegmentExportJobs(GetSegmentExportJobsRequest getSegmentExportJobsRequest) Retrieves information about the status and settings of the export jobs for a segment.
- Parameters:
getSegmentExportJobsRequest
-- Returns:
- A Java Future containing the result of the GetSegmentExportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegmentExportJobs
default CompletableFuture<GetSegmentExportJobsResponse> getSegmentExportJobs(Consumer<GetSegmentExportJobsRequest.Builder> getSegmentExportJobsRequest) Retrieves information about the status and settings of the export jobs for a segment.
This is a convenience which creates an instance of the
GetSegmentExportJobsRequest.Builder
avoiding the need to create one manually viaGetSegmentExportJobsRequest.builder()
- Parameters:
getSegmentExportJobsRequest
- AConsumer
that will call methods onGetSegmentExportJobsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSegmentExportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegmentImportJobs
default CompletableFuture<GetSegmentImportJobsResponse> getSegmentImportJobs(GetSegmentImportJobsRequest getSegmentImportJobsRequest) Retrieves information about the status and settings of the import jobs for a segment.
- Parameters:
getSegmentImportJobsRequest
-- Returns:
- A Java Future containing the result of the GetSegmentImportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegmentImportJobs
default CompletableFuture<GetSegmentImportJobsResponse> getSegmentImportJobs(Consumer<GetSegmentImportJobsRequest.Builder> getSegmentImportJobsRequest) Retrieves information about the status and settings of the import jobs for a segment.
This is a convenience which creates an instance of the
GetSegmentImportJobsRequest.Builder
avoiding the need to create one manually viaGetSegmentImportJobsRequest.builder()
- Parameters:
getSegmentImportJobsRequest
- AConsumer
that will call methods onGetSegmentImportJobsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSegmentImportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegmentVersion
default CompletableFuture<GetSegmentVersionResponse> getSegmentVersion(GetSegmentVersionRequest getSegmentVersionRequest) Retrieves information about the configuration, dimension, and other settings for a specific version of a segment that's associated with an application.
- Parameters:
getSegmentVersionRequest
-- Returns:
- A Java Future containing the result of the GetSegmentVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegmentVersion
default CompletableFuture<GetSegmentVersionResponse> getSegmentVersion(Consumer<GetSegmentVersionRequest.Builder> getSegmentVersionRequest) 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
GetSegmentVersionRequest.Builder
avoiding the need to create one manually viaGetSegmentVersionRequest.builder()
- Parameters:
getSegmentVersionRequest
- AConsumer
that will call methods onGetSegmentVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSegmentVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegmentVersions
default CompletableFuture<GetSegmentVersionsResponse> getSegmentVersions(GetSegmentVersionsRequest getSegmentVersionsRequest) Retrieves information about the configuration, dimension, and other settings for all the versions of a specific segment that's associated with an application.
- Parameters:
getSegmentVersionsRequest
-- Returns:
- A Java Future containing the result of the GetSegmentVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegmentVersions
default CompletableFuture<GetSegmentVersionsResponse> getSegmentVersions(Consumer<GetSegmentVersionsRequest.Builder> getSegmentVersionsRequest) 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
GetSegmentVersionsRequest.Builder
avoiding the need to create one manually viaGetSegmentVersionsRequest.builder()
- Parameters:
getSegmentVersionsRequest
- AConsumer
that will call methods onGetSegmentVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSegmentVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegments
Retrieves information about the configuration, dimension, and other settings for all the segments that are associated with an application.
- Parameters:
getSegmentsRequest
-- Returns:
- A Java Future containing the result of the GetSegments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegments
default CompletableFuture<GetSegmentsResponse> getSegments(Consumer<GetSegmentsRequest.Builder> getSegmentsRequest) 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
GetSegmentsRequest.Builder
avoiding the need to create one manually viaGetSegmentsRequest.builder()
- Parameters:
getSegmentsRequest
- AConsumer
that will call methods onGetSegmentsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSegments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSmsChannel
default CompletableFuture<GetSmsChannelResponse> getSmsChannel(GetSmsChannelRequest getSmsChannelRequest) Retrieves information about the status and settings of the SMS channel for an application.
- Parameters:
getSmsChannelRequest
-- Returns:
- A Java Future containing the result of the GetSmsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSmsChannel
default CompletableFuture<GetSmsChannelResponse> getSmsChannel(Consumer<GetSmsChannelRequest.Builder> getSmsChannelRequest) Retrieves information about the status and settings of the SMS channel for an application.
This is a convenience which creates an instance of the
GetSmsChannelRequest.Builder
avoiding the need to create one manually viaGetSmsChannelRequest.builder()
- Parameters:
getSmsChannelRequest
- AConsumer
that will call methods onGetSmsChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSmsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSmsTemplate
default CompletableFuture<GetSmsTemplateResponse> getSmsTemplate(GetSmsTemplateRequest getSmsTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through the SMS channel.
- Parameters:
getSmsTemplateRequest
-- Returns:
- A Java Future containing the result of the GetSmsTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSmsTemplate
default CompletableFuture<GetSmsTemplateResponse> getSmsTemplate(Consumer<GetSmsTemplateRequest.Builder> getSmsTemplateRequest) 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
GetSmsTemplateRequest.Builder
avoiding the need to create one manually viaGetSmsTemplateRequest.builder()
- Parameters:
getSmsTemplateRequest
- AConsumer
that will call methods onGetSmsTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSmsTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUserEndpoints
default CompletableFuture<GetUserEndpointsResponse> getUserEndpoints(GetUserEndpointsRequest getUserEndpointsRequest) Retrieves information about all the endpoints that are associated with a specific user ID.
- Parameters:
getUserEndpointsRequest
-- Returns:
- A Java Future containing the result of the GetUserEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUserEndpoints
default CompletableFuture<GetUserEndpointsResponse> getUserEndpoints(Consumer<GetUserEndpointsRequest.Builder> getUserEndpointsRequest) Retrieves information about all the endpoints that are associated with a specific user ID.
This is a convenience which creates an instance of the
GetUserEndpointsRequest.Builder
avoiding the need to create one manually viaGetUserEndpointsRequest.builder()
- Parameters:
getUserEndpointsRequest
- AConsumer
that will call methods onGetUserEndpointsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetUserEndpoints operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getVoiceChannel
default CompletableFuture<GetVoiceChannelResponse> getVoiceChannel(GetVoiceChannelRequest getVoiceChannelRequest) Retrieves information about the status and settings of the voice channel for an application.
- Parameters:
getVoiceChannelRequest
-- Returns:
- A Java Future containing the result of the GetVoiceChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getVoiceChannel
default CompletableFuture<GetVoiceChannelResponse> getVoiceChannel(Consumer<GetVoiceChannelRequest.Builder> getVoiceChannelRequest) Retrieves information about the status and settings of the voice channel for an application.
This is a convenience which creates an instance of the
GetVoiceChannelRequest.Builder
avoiding the need to create one manually viaGetVoiceChannelRequest.builder()
- Parameters:
getVoiceChannelRequest
- AConsumer
that will call methods onGetVoiceChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetVoiceChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getVoiceTemplate
default CompletableFuture<GetVoiceTemplateResponse> getVoiceTemplate(GetVoiceTemplateRequest getVoiceTemplateRequest) Retrieves the content and settings of a message template for messages that are sent through the voice channel.
- Parameters:
getVoiceTemplateRequest
-- Returns:
- A Java Future containing the result of the GetVoiceTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getVoiceTemplate
default CompletableFuture<GetVoiceTemplateResponse> getVoiceTemplate(Consumer<GetVoiceTemplateRequest.Builder> getVoiceTemplateRequest) 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
GetVoiceTemplateRequest.Builder
avoiding the need to create one manually viaGetVoiceTemplateRequest.builder()
- Parameters:
getVoiceTemplateRequest
- AConsumer
that will call methods onGetVoiceTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetVoiceTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listJourneys
default CompletableFuture<ListJourneysResponse> listJourneys(ListJourneysRequest listJourneysRequest) Retrieves information about the status, configuration, and other settings for all the journeys that are associated with an application.
- Parameters:
listJourneysRequest
-- Returns:
- A Java Future containing the result of the ListJourneys operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listJourneys
default CompletableFuture<ListJourneysResponse> listJourneys(Consumer<ListJourneysRequest.Builder> listJourneysRequest) 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
ListJourneysRequest.Builder
avoiding the need to create one manually viaListJourneysRequest.builder()
- Parameters:
listJourneysRequest
- AConsumer
that will call methods onListJourneysRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListJourneys operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) 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
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTemplateVersions
default CompletableFuture<ListTemplateVersionsResponse> listTemplateVersions(ListTemplateVersionsRequest listTemplateVersionsRequest) Retrieves information about all the versions of a specific message template.
- Parameters:
listTemplateVersionsRequest
-- Returns:
- A Java Future containing the result of the ListTemplateVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTemplateVersions
default CompletableFuture<ListTemplateVersionsResponse> listTemplateVersions(Consumer<ListTemplateVersionsRequest.Builder> listTemplateVersionsRequest) Retrieves information about all the versions of a specific message template.
This is a convenience which creates an instance of the
ListTemplateVersionsRequest.Builder
avoiding the need to create one manually viaListTemplateVersionsRequest.builder()
- Parameters:
listTemplateVersionsRequest
- AConsumer
that will call methods onListTemplateVersionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTemplateVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTemplates
default CompletableFuture<ListTemplatesResponse> listTemplates(ListTemplatesRequest listTemplatesRequest) Retrieves information about all the message templates that are associated with your Amazon Pinpoint account.
- Parameters:
listTemplatesRequest
-- Returns:
- A Java Future containing the result of the ListTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTemplates
default CompletableFuture<ListTemplatesResponse> listTemplates(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest) 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
ListTemplatesRequest.Builder
avoiding the need to create one manually viaListTemplatesRequest.builder()
- Parameters:
listTemplatesRequest
- AConsumer
that will call methods onListTemplatesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
phoneNumberValidate
default CompletableFuture<PhoneNumberValidateResponse> phoneNumberValidate(PhoneNumberValidateRequest phoneNumberValidateRequest) Retrieves information about a phone number.
- Parameters:
phoneNumberValidateRequest
-- Returns:
- A Java Future containing the result of the PhoneNumberValidate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
phoneNumberValidate
default CompletableFuture<PhoneNumberValidateResponse> phoneNumberValidate(Consumer<PhoneNumberValidateRequest.Builder> phoneNumberValidateRequest) Retrieves information about a phone number.
This is a convenience which creates an instance of the
PhoneNumberValidateRequest.Builder
avoiding the need to create one manually viaPhoneNumberValidateRequest.builder()
- Parameters:
phoneNumberValidateRequest
- AConsumer
that will call methods onPhoneNumberValidateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PhoneNumberValidate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putEventStream
default CompletableFuture<PutEventStreamResponse> putEventStream(PutEventStreamRequest putEventStreamRequest) Creates a new event stream for an application or updates the settings of an existing event stream for an application.
- Parameters:
putEventStreamRequest
-- Returns:
- A Java Future containing the result of the PutEventStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putEventStream
default CompletableFuture<PutEventStreamResponse> putEventStream(Consumer<PutEventStreamRequest.Builder> putEventStreamRequest) 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
PutEventStreamRequest.Builder
avoiding the need to create one manually viaPutEventStreamRequest.builder()
- Parameters:
putEventStreamRequest
- AConsumer
that will call methods onPutEventStreamRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutEventStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putEvents
Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with.
- Parameters:
putEventsRequest
-- Returns:
- A Java Future containing the result of the PutEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putEvents
default CompletableFuture<PutEventsResponse> putEvents(Consumer<PutEventsRequest.Builder> putEventsRequest) 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
PutEventsRequest.Builder
avoiding the need to create one manually viaPutEventsRequest.builder()
- Parameters:
putEventsRequest
- AConsumer
that will call methods onPutEventsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeAttributes
default CompletableFuture<RemoveAttributesResponse> removeAttributes(RemoveAttributesRequest removeAttributesRequest) Removes one or more custom attributes, of the same attribute type, from the application. Existing endpoints still have the attributes but Amazon Pinpoint will stop capturing new or changed values for these attributes.
- Parameters:
removeAttributesRequest
-- Returns:
- A Java Future containing the result of the RemoveAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeAttributes
default CompletableFuture<RemoveAttributesResponse> removeAttributes(Consumer<RemoveAttributesRequest.Builder> removeAttributesRequest) Removes one or more custom attributes, of the same attribute type, from the application. Existing endpoints still have the attributes but Amazon Pinpoint will stop capturing new or changed values for these attributes.
This is a convenience which creates an instance of the
RemoveAttributesRequest.Builder
avoiding the need to create one manually viaRemoveAttributesRequest.builder()
- Parameters:
removeAttributesRequest
- AConsumer
that will call methods onRemoveAttributesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the RemoveAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendMessages
default CompletableFuture<SendMessagesResponse> sendMessages(SendMessagesRequest sendMessagesRequest) Creates and sends a direct message.
- Parameters:
sendMessagesRequest
-- Returns:
- A Java Future containing the result of the SendMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendMessages
default CompletableFuture<SendMessagesResponse> sendMessages(Consumer<SendMessagesRequest.Builder> sendMessagesRequest) Creates and sends a direct message.
This is a convenience which creates an instance of the
SendMessagesRequest.Builder
avoiding the need to create one manually viaSendMessagesRequest.builder()
- Parameters:
sendMessagesRequest
- AConsumer
that will call methods onSendMessagesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SendMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendOTPMessage
default CompletableFuture<SendOtpMessageResponse> sendOTPMessage(SendOtpMessageRequest sendOtpMessageRequest) Send an OTP message
- Parameters:
sendOtpMessageRequest
-- Returns:
- A Java Future containing the result of the SendOTPMessage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- InternalServerErrorException 500 response
- PayloadTooLargeException 413 response
- ForbiddenException 403 response
- NotFoundException 404 response
- MethodNotAllowedException 405 response
- TooManyRequestsException 429 response
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendOTPMessage
default CompletableFuture<SendOtpMessageResponse> sendOTPMessage(Consumer<SendOtpMessageRequest.Builder> sendOtpMessageRequest) Send an OTP message
This is a convenience which creates an instance of the
SendOtpMessageRequest.Builder
avoiding the need to create one manually viaSendOtpMessageRequest.builder()
- Parameters:
sendOtpMessageRequest
- AConsumer
that will call methods onSendOtpMessageRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SendOTPMessage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- InternalServerErrorException 500 response
- PayloadTooLargeException 413 response
- ForbiddenException 403 response
- NotFoundException 404 response
- MethodNotAllowedException 405 response
- TooManyRequestsException 429 response
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendUsersMessages
default CompletableFuture<SendUsersMessagesResponse> sendUsersMessages(SendUsersMessagesRequest sendUsersMessagesRequest) Creates and sends a message to a list of users.
- Parameters:
sendUsersMessagesRequest
-- Returns:
- A Java Future containing the result of the SendUsersMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendUsersMessages
default CompletableFuture<SendUsersMessagesResponse> sendUsersMessages(Consumer<SendUsersMessagesRequest.Builder> sendUsersMessagesRequest) Creates and sends a message to a list of users.
This is a convenience which creates an instance of the
SendUsersMessagesRequest.Builder
avoiding the need to create one manually viaSendUsersMessagesRequest.builder()
- Parameters:
sendUsersMessagesRequest
- AConsumer
that will call methods onSendUsersMessagesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SendUsersMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds one or more tags (keys and values) to an application, campaign, message template, or segment.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) 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
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags (keys and values) from an application, campaign, message template, or segment.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) 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
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAdmChannel
default CompletableFuture<UpdateAdmChannelResponse> updateAdmChannel(UpdateAdmChannelRequest updateAdmChannelRequest) Enables the ADM channel for an application or updates the status and settings of the ADM channel for an application.
- Parameters:
updateAdmChannelRequest
-- Returns:
- A Java Future containing the result of the UpdateAdmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAdmChannel
default CompletableFuture<UpdateAdmChannelResponse> updateAdmChannel(Consumer<UpdateAdmChannelRequest.Builder> updateAdmChannelRequest) 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
UpdateAdmChannelRequest.Builder
avoiding the need to create one manually viaUpdateAdmChannelRequest.builder()
- Parameters:
updateAdmChannelRequest
- AConsumer
that will call methods onUpdateAdmChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAdmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApnsChannel
default CompletableFuture<UpdateApnsChannelResponse> updateApnsChannel(UpdateApnsChannelRequest updateApnsChannelRequest) Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application.
- Parameters:
updateApnsChannelRequest
-- Returns:
- A Java Future containing the result of the UpdateApnsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApnsChannel
default CompletableFuture<UpdateApnsChannelResponse> updateApnsChannel(Consumer<UpdateApnsChannelRequest.Builder> updateApnsChannelRequest) 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
UpdateApnsChannelRequest.Builder
avoiding the need to create one manually viaUpdateApnsChannelRequest.builder()
- Parameters:
updateApnsChannelRequest
- AConsumer
that will call methods onUpdateApnsChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateApnsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApnsSandboxChannel
default CompletableFuture<UpdateApnsSandboxChannelResponse> updateApnsSandboxChannel(UpdateApnsSandboxChannelRequest updateApnsSandboxChannelRequest) Enables the APNs sandbox channel for an application or updates the status and settings of the APNs sandbox channel for an application.
- Parameters:
updateApnsSandboxChannelRequest
-- Returns:
- A Java Future containing the result of the UpdateApnsSandboxChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApnsSandboxChannel
default CompletableFuture<UpdateApnsSandboxChannelResponse> updateApnsSandboxChannel(Consumer<UpdateApnsSandboxChannelRequest.Builder> updateApnsSandboxChannelRequest) 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
UpdateApnsSandboxChannelRequest.Builder
avoiding the need to create one manually viaUpdateApnsSandboxChannelRequest.builder()
- Parameters:
updateApnsSandboxChannelRequest
- AConsumer
that will call methods onUpdateApnsSandboxChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateApnsSandboxChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApnsVoipChannel
default CompletableFuture<UpdateApnsVoipChannelResponse> updateApnsVoipChannel(UpdateApnsVoipChannelRequest updateApnsVoipChannelRequest) Enables the APNs VoIP channel for an application or updates the status and settings of the APNs VoIP channel for an application.
- Parameters:
updateApnsVoipChannelRequest
-- Returns:
- A Java Future containing the result of the UpdateApnsVoipChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApnsVoipChannel
default CompletableFuture<UpdateApnsVoipChannelResponse> updateApnsVoipChannel(Consumer<UpdateApnsVoipChannelRequest.Builder> updateApnsVoipChannelRequest) 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
UpdateApnsVoipChannelRequest.Builder
avoiding the need to create one manually viaUpdateApnsVoipChannelRequest.builder()
- Parameters:
updateApnsVoipChannelRequest
- AConsumer
that will call methods onUpdateApnsVoipChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateApnsVoipChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApnsVoipSandboxChannel
default CompletableFuture<UpdateApnsVoipSandboxChannelResponse> updateApnsVoipSandboxChannel(UpdateApnsVoipSandboxChannelRequest updateApnsVoipSandboxChannelRequest) Enables the APNs VoIP sandbox channel for an application or updates the status and settings of the APNs VoIP sandbox channel for an application.
- Parameters:
updateApnsVoipSandboxChannelRequest
-- Returns:
- A Java Future containing the result of the UpdateApnsVoipSandboxChannel operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApnsVoipSandboxChannel
default CompletableFuture<UpdateApnsVoipSandboxChannelResponse> updateApnsVoipSandboxChannel(Consumer<UpdateApnsVoipSandboxChannelRequest.Builder> updateApnsVoipSandboxChannelRequest) 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
UpdateApnsVoipSandboxChannelRequest.Builder
avoiding the need to create one manually viaUpdateApnsVoipSandboxChannelRequest.builder()
- Parameters:
updateApnsVoipSandboxChannelRequest
- AConsumer
that will call methods onUpdateApnsVoipSandboxChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateApnsVoipSandboxChannel operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplicationSettings
default CompletableFuture<UpdateApplicationSettingsResponse> updateApplicationSettings(UpdateApplicationSettingsRequest updateApplicationSettingsRequest) Updates the settings for an application.
- Parameters:
updateApplicationSettingsRequest
-- Returns:
- A Java Future containing the result of the UpdateApplicationSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateApplicationSettings
default CompletableFuture<UpdateApplicationSettingsResponse> updateApplicationSettings(Consumer<UpdateApplicationSettingsRequest.Builder> updateApplicationSettingsRequest) Updates the settings for an application.
This is a convenience which creates an instance of the
UpdateApplicationSettingsRequest.Builder
avoiding the need to create one manually viaUpdateApplicationSettingsRequest.builder()
- Parameters:
updateApplicationSettingsRequest
- AConsumer
that will call methods onUpdateApplicationSettingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateApplicationSettings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBaiduChannel
default CompletableFuture<UpdateBaiduChannelResponse> updateBaiduChannel(UpdateBaiduChannelRequest updateBaiduChannelRequest) Enables the Baidu channel for an application or updates the status and settings of the Baidu channel for an application.
- Parameters:
updateBaiduChannelRequest
-- Returns:
- A Java Future containing the result of the UpdateBaiduChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBaiduChannel
default CompletableFuture<UpdateBaiduChannelResponse> updateBaiduChannel(Consumer<UpdateBaiduChannelRequest.Builder> updateBaiduChannelRequest) 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
UpdateBaiduChannelRequest.Builder
avoiding the need to create one manually viaUpdateBaiduChannelRequest.builder()
- Parameters:
updateBaiduChannelRequest
- AConsumer
that will call methods onUpdateBaiduChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateBaiduChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCampaign
default CompletableFuture<UpdateCampaignResponse> updateCampaign(UpdateCampaignRequest updateCampaignRequest) Updates the configuration and other settings for a campaign.
- Parameters:
updateCampaignRequest
-- Returns:
- A Java Future containing the result of the UpdateCampaign operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateCampaign
default CompletableFuture<UpdateCampaignResponse> updateCampaign(Consumer<UpdateCampaignRequest.Builder> updateCampaignRequest) Updates the configuration and other settings for a campaign.
This is a convenience which creates an instance of the
UpdateCampaignRequest.Builder
avoiding the need to create one manually viaUpdateCampaignRequest.builder()
- Parameters:
updateCampaignRequest
- AConsumer
that will call methods onUpdateCampaignRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateCampaign operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEmailChannel
default CompletableFuture<UpdateEmailChannelResponse> updateEmailChannel(UpdateEmailChannelRequest updateEmailChannelRequest) Enables the email channel for an application or updates the status and settings of the email channel for an application.
- Parameters:
updateEmailChannelRequest
-- Returns:
- A Java Future containing the result of the UpdateEmailChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEmailChannel
default CompletableFuture<UpdateEmailChannelResponse> updateEmailChannel(Consumer<UpdateEmailChannelRequest.Builder> updateEmailChannelRequest) 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
UpdateEmailChannelRequest.Builder
avoiding the need to create one manually viaUpdateEmailChannelRequest.builder()
- Parameters:
updateEmailChannelRequest
- AConsumer
that will call methods onUpdateEmailChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateEmailChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEmailTemplate
default CompletableFuture<UpdateEmailTemplateResponse> updateEmailTemplate(UpdateEmailTemplateRequest updateEmailTemplateRequest) Updates an existing message template for messages that are sent through the email channel.
- Parameters:
updateEmailTemplateRequest
-- Returns:
- A Java Future containing the result of the UpdateEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEmailTemplate
default CompletableFuture<UpdateEmailTemplateResponse> updateEmailTemplate(Consumer<UpdateEmailTemplateRequest.Builder> updateEmailTemplateRequest) Updates an existing message template for messages that are sent through the email channel.
This is a convenience which creates an instance of the
UpdateEmailTemplateRequest.Builder
avoiding the need to create one manually viaUpdateEmailTemplateRequest.builder()
- Parameters:
updateEmailTemplateRequest
- AConsumer
that will call methods onUpdateEmailTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEndpoint
default CompletableFuture<UpdateEndpointResponse> updateEndpoint(UpdateEndpointRequest updateEndpointRequest) 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.
- Parameters:
updateEndpointRequest
-- Returns:
- A Java Future containing the result of the UpdateEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEndpoint
default CompletableFuture<UpdateEndpointResponse> updateEndpoint(Consumer<UpdateEndpointRequest.Builder> updateEndpointRequest) 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
UpdateEndpointRequest.Builder
avoiding the need to create one manually viaUpdateEndpointRequest.builder()
- Parameters:
updateEndpointRequest
- AConsumer
that will call methods onUpdateEndpointRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateEndpoint operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEndpointsBatch
default CompletableFuture<UpdateEndpointsBatchResponse> updateEndpointsBatch(UpdateEndpointsBatchRequest updateEndpointsBatchRequest) 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.
- Parameters:
updateEndpointsBatchRequest
-- Returns:
- A Java Future containing the result of the UpdateEndpointsBatch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEndpointsBatch
default CompletableFuture<UpdateEndpointsBatchResponse> updateEndpointsBatch(Consumer<UpdateEndpointsBatchRequest.Builder> updateEndpointsBatchRequest) 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
UpdateEndpointsBatchRequest.Builder
avoiding the need to create one manually viaUpdateEndpointsBatchRequest.builder()
- Parameters:
updateEndpointsBatchRequest
- AConsumer
that will call methods onUpdateEndpointsBatchRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateEndpointsBatch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGcmChannel
default CompletableFuture<UpdateGcmChannelResponse> updateGcmChannel(UpdateGcmChannelRequest updateGcmChannelRequest) Enables the GCM channel for an application or updates the status and settings of the GCM channel for an application.
- Parameters:
updateGcmChannelRequest
-- Returns:
- A Java Future containing the result of the UpdateGcmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGcmChannel
default CompletableFuture<UpdateGcmChannelResponse> updateGcmChannel(Consumer<UpdateGcmChannelRequest.Builder> updateGcmChannelRequest) 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
UpdateGcmChannelRequest.Builder
avoiding the need to create one manually viaUpdateGcmChannelRequest.builder()
- Parameters:
updateGcmChannelRequest
- AConsumer
that will call methods onUpdateGcmChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateGcmChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateInAppTemplate
default CompletableFuture<UpdateInAppTemplateResponse> updateInAppTemplate(UpdateInAppTemplateRequest updateInAppTemplateRequest) Updates an existing message template for messages sent through the in-app message channel.
- Parameters:
updateInAppTemplateRequest
-- Returns:
- A Java Future containing the result of the UpdateInAppTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateInAppTemplate
default CompletableFuture<UpdateInAppTemplateResponse> updateInAppTemplate(Consumer<UpdateInAppTemplateRequest.Builder> updateInAppTemplateRequest) Updates an existing message template for messages sent through the in-app message channel.
This is a convenience which creates an instance of the
UpdateInAppTemplateRequest.Builder
avoiding the need to create one manually viaUpdateInAppTemplateRequest.builder()
- Parameters:
updateInAppTemplateRequest
- AConsumer
that will call methods onUpdateInAppTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateInAppTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateJourney
default CompletableFuture<UpdateJourneyResponse> updateJourney(UpdateJourneyRequest updateJourneyRequest) Updates the configuration and other settings for a journey.
- Parameters:
updateJourneyRequest
-- Returns:
- A Java Future containing the result of the UpdateJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- ConflictException The request failed due to a conflict with the current state of the specified resource (ConflictException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateJourney
default CompletableFuture<UpdateJourneyResponse> updateJourney(Consumer<UpdateJourneyRequest.Builder> updateJourneyRequest) Updates the configuration and other settings for a journey.
This is a convenience which creates an instance of the
UpdateJourneyRequest.Builder
avoiding the need to create one manually viaUpdateJourneyRequest.builder()
- Parameters:
updateJourneyRequest
- AConsumer
that will call methods onUpdateJourneyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateJourney operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- ConflictException The request failed due to a conflict with the current state of the specified resource (ConflictException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateJourneyState
default CompletableFuture<UpdateJourneyStateResponse> updateJourneyState(UpdateJourneyStateRequest updateJourneyStateRequest) Cancels (stops) an active journey.
- Parameters:
updateJourneyStateRequest
-- Returns:
- A Java Future containing the result of the UpdateJourneyState operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateJourneyState
default CompletableFuture<UpdateJourneyStateResponse> updateJourneyState(Consumer<UpdateJourneyStateRequest.Builder> updateJourneyStateRequest) Cancels (stops) an active journey.
This is a convenience which creates an instance of the
UpdateJourneyStateRequest.Builder
avoiding the need to create one manually viaUpdateJourneyStateRequest.builder()
- Parameters:
updateJourneyStateRequest
- AConsumer
that will call methods onUpdateJourneyStateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateJourneyState operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePushTemplate
default CompletableFuture<UpdatePushTemplateResponse> updatePushTemplate(UpdatePushTemplateRequest updatePushTemplateRequest) Updates an existing message template for messages that are sent through a push notification channel.
- Parameters:
updatePushTemplateRequest
-- Returns:
- A Java Future containing the result of the UpdatePushTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePushTemplate
default CompletableFuture<UpdatePushTemplateResponse> updatePushTemplate(Consumer<UpdatePushTemplateRequest.Builder> updatePushTemplateRequest) 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
UpdatePushTemplateRequest.Builder
avoiding the need to create one manually viaUpdatePushTemplateRequest.builder()
- Parameters:
updatePushTemplateRequest
- AConsumer
that will call methods onUpdatePushTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdatePushTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRecommenderConfiguration
default CompletableFuture<UpdateRecommenderConfigurationResponse> updateRecommenderConfiguration(UpdateRecommenderConfigurationRequest updateRecommenderConfigurationRequest) Updates an Amazon Pinpoint configuration for a recommender model.
- Parameters:
updateRecommenderConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateRecommenderConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRecommenderConfiguration
default CompletableFuture<UpdateRecommenderConfigurationResponse> updateRecommenderConfiguration(Consumer<UpdateRecommenderConfigurationRequest.Builder> updateRecommenderConfigurationRequest) Updates an Amazon Pinpoint configuration for a recommender model.
This is a convenience which creates an instance of the
UpdateRecommenderConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateRecommenderConfigurationRequest.builder()
- Parameters:
updateRecommenderConfigurationRequest
- AConsumer
that will call methods onUpdateRecommenderConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateRecommenderConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSegment
default CompletableFuture<UpdateSegmentResponse> updateSegment(UpdateSegmentRequest updateSegmentRequest) 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.
- Parameters:
updateSegmentRequest
-- Returns:
- A Java Future containing the result of the UpdateSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSegment
default CompletableFuture<UpdateSegmentResponse> updateSegment(Consumer<UpdateSegmentRequest.Builder> updateSegmentRequest) 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
UpdateSegmentRequest.Builder
avoiding the need to create one manually viaUpdateSegmentRequest.builder()
- Parameters:
updateSegmentRequest
- AConsumer
that will call methods onUpdateSegmentRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSmsChannel
default CompletableFuture<UpdateSmsChannelResponse> updateSmsChannel(UpdateSmsChannelRequest updateSmsChannelRequest) Enables the SMS channel for an application or updates the status and settings of the SMS channel for an application.
- Parameters:
updateSmsChannelRequest
-- Returns:
- A Java Future containing the result of the UpdateSmsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSmsChannel
default CompletableFuture<UpdateSmsChannelResponse> updateSmsChannel(Consumer<UpdateSmsChannelRequest.Builder> updateSmsChannelRequest) 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
UpdateSmsChannelRequest.Builder
avoiding the need to create one manually viaUpdateSmsChannelRequest.builder()
- Parameters:
updateSmsChannelRequest
- AConsumer
that will call methods onUpdateSmsChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSmsChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSmsTemplate
default CompletableFuture<UpdateSmsTemplateResponse> updateSmsTemplate(UpdateSmsTemplateRequest updateSmsTemplateRequest) Updates an existing message template for messages that are sent through the SMS channel.
- Parameters:
updateSmsTemplateRequest
-- Returns:
- A Java Future containing the result of the UpdateSmsTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateSmsTemplate
default CompletableFuture<UpdateSmsTemplateResponse> updateSmsTemplate(Consumer<UpdateSmsTemplateRequest.Builder> updateSmsTemplateRequest) Updates an existing message template for messages that are sent through the SMS channel.
This is a convenience which creates an instance of the
UpdateSmsTemplateRequest.Builder
avoiding the need to create one manually viaUpdateSmsTemplateRequest.builder()
- Parameters:
updateSmsTemplateRequest
- AConsumer
that will call methods onUpdateSmsTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSmsTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTemplateActiveVersion
default CompletableFuture<UpdateTemplateActiveVersionResponse> updateTemplateActiveVersion(UpdateTemplateActiveVersionRequest updateTemplateActiveVersionRequest) Changes the status of a specific version of a message template to active.
- Parameters:
updateTemplateActiveVersionRequest
-- Returns:
- A Java Future containing the result of the UpdateTemplateActiveVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTemplateActiveVersion
default CompletableFuture<UpdateTemplateActiveVersionResponse> updateTemplateActiveVersion(Consumer<UpdateTemplateActiveVersionRequest.Builder> updateTemplateActiveVersionRequest) Changes the status of a specific version of a message template to active.
This is a convenience which creates an instance of the
UpdateTemplateActiveVersionRequest.Builder
avoiding the need to create one manually viaUpdateTemplateActiveVersionRequest.builder()
- Parameters:
updateTemplateActiveVersionRequest
- AConsumer
that will call methods onUpdateTemplateActiveVersionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateTemplateActiveVersion operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateVoiceChannel
default CompletableFuture<UpdateVoiceChannelResponse> updateVoiceChannel(UpdateVoiceChannelRequest updateVoiceChannelRequest) Enables the voice channel for an application or updates the status and settings of the voice channel for an application.
- Parameters:
updateVoiceChannelRequest
-- Returns:
- A Java Future containing the result of the UpdateVoiceChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateVoiceChannel
default CompletableFuture<UpdateVoiceChannelResponse> updateVoiceChannel(Consumer<UpdateVoiceChannelRequest.Builder> updateVoiceChannelRequest) 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
UpdateVoiceChannelRequest.Builder
avoiding the need to create one manually viaUpdateVoiceChannelRequest.builder()
- Parameters:
updateVoiceChannelRequest
- AConsumer
that will call methods onUpdateVoiceChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateVoiceChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateVoiceTemplate
default CompletableFuture<UpdateVoiceTemplateResponse> updateVoiceTemplate(UpdateVoiceTemplateRequest updateVoiceTemplateRequest) Updates an existing message template for messages that are sent through the voice channel.
- Parameters:
updateVoiceTemplateRequest
-- Returns:
- A Java Future containing the result of the UpdateVoiceTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateVoiceTemplate
default CompletableFuture<UpdateVoiceTemplateResponse> updateVoiceTemplate(Consumer<UpdateVoiceTemplateRequest.Builder> updateVoiceTemplateRequest) Updates an existing message template for messages that are sent through the voice channel.
This is a convenience which creates an instance of the
UpdateVoiceTemplateRequest.Builder
avoiding the need to create one manually viaUpdateVoiceTemplateRequest.builder()
- Parameters:
updateVoiceTemplateRequest
- AConsumer
that will call methods onUpdateVoiceTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateVoiceTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException The request contains a syntax error (BadRequestException).
- InternalServerErrorException The request failed due to an unknown internal server error, exception, or failure (InternalServerErrorException).
- PayloadTooLargeException The request failed because the payload for the body of the request is too large (RequestEntityTooLargeException).
- ForbiddenException The request was denied because access to the specified resource is forbidden (ForbiddenException).
- NotFoundException The request failed because the specified resource was not found (NotFoundException).
- MethodNotAllowedException The request failed because the method is not allowed for the specified resource (MethodNotAllowedException).
- TooManyRequestsException The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
verifyOTPMessage
default CompletableFuture<VerifyOtpMessageResponse> verifyOTPMessage(VerifyOtpMessageRequest verifyOtpMessageRequest) Verify an OTP
- Parameters:
verifyOtpMessageRequest
-- Returns:
- A Java Future containing the result of the VerifyOTPMessage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- InternalServerErrorException 500 response
- PayloadTooLargeException 413 response
- ForbiddenException 403 response
- NotFoundException 404 response
- MethodNotAllowedException 405 response
- TooManyRequestsException 429 response
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
verifyOTPMessage
default CompletableFuture<VerifyOtpMessageResponse> verifyOTPMessage(Consumer<VerifyOtpMessageRequest.Builder> verifyOtpMessageRequest) Verify an OTP
This is a convenience which creates an instance of the
VerifyOtpMessageRequest.Builder
avoiding the need to create one manually viaVerifyOtpMessageRequest.builder()
- Parameters:
verifyOtpMessageRequest
- AConsumer
that will call methods onVerifyOtpMessageRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the VerifyOTPMessage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- BadRequestException 400 response
- InternalServerErrorException 500 response
- PayloadTooLargeException 413 response
- ForbiddenException 403 response
- NotFoundException 404 response
- MethodNotAllowedException 405 response
- TooManyRequestsException 429 response
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- PinpointException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aPinpointAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aPinpointAsyncClient
.
-