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
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic PinpointAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aPinpointAsyncClient.static PinpointAsyncClientcreate()Create aPinpointAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand 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
closeMethods 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.Builderavoiding the need to create one manually viaCreateAppRequest.builder()- Parameters:
createAppRequest- AConsumerthat will call methods onCreateAppRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateCampaignRequest.builder()- Parameters:
createCampaignRequest- AConsumerthat will call methods onCreateCampaignRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateEmailTemplateRequest.builder()- Parameters:
createEmailTemplateRequest- AConsumerthat will call methods onCreateEmailTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateExportJobRequest.builder()- Parameters:
createExportJobRequest- AConsumerthat will call methods onCreateExportJobRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateImportJobRequest.builder()- Parameters:
createImportJobRequest- AConsumerthat will call methods onCreateImportJobRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateInAppTemplateRequest.builder()- Parameters:
createInAppTemplateRequest- AConsumerthat will call methods onCreateInAppTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateJourneyRequest.builder()- Parameters:
createJourneyRequest- AConsumerthat will call methods onCreateJourneyRequest.Builderto 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.Builderavoiding the need to create one manually viaCreatePushTemplateRequest.builder()- Parameters:
createPushTemplateRequest- AConsumerthat will call methods onCreatePushTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateRecommenderConfigurationRequest.builder()- Parameters:
createRecommenderConfigurationRequest- AConsumerthat will call methods onCreateRecommenderConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateSegmentRequest.builder()- Parameters:
createSegmentRequest- AConsumerthat will call methods onCreateSegmentRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateSmsTemplateRequest.builder()- Parameters:
createSmsTemplateRequest- AConsumerthat will call methods onCreateSmsTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateVoiceTemplateRequest.builder()- Parameters:
createVoiceTemplateRequest- AConsumerthat will call methods onCreateVoiceTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteAdmChannelRequest.builder()- Parameters:
deleteAdmChannelRequest- AConsumerthat will call methods onDeleteAdmChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteApnsChannelRequest.builder()- Parameters:
deleteApnsChannelRequest- AConsumerthat will call methods onDeleteApnsChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteApnsSandboxChannelRequest.builder()- Parameters:
deleteApnsSandboxChannelRequest- AConsumerthat will call methods onDeleteApnsSandboxChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteApnsVoipChannelRequest.builder()- Parameters:
deleteApnsVoipChannelRequest- AConsumerthat will call methods onDeleteApnsVoipChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteApnsVoipSandboxChannelRequest.builder()- Parameters:
deleteApnsVoipSandboxChannelRequest- AConsumerthat will call methods onDeleteApnsVoipSandboxChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteAppRequest.builder()- Parameters:
deleteAppRequest- AConsumerthat will call methods onDeleteAppRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteBaiduChannelRequest.builder()- Parameters:
deleteBaiduChannelRequest- AConsumerthat will call methods onDeleteBaiduChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteCampaignRequest.builder()- Parameters:
deleteCampaignRequest- AConsumerthat will call methods onDeleteCampaignRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteEmailChannelRequest.builder()- Parameters:
deleteEmailChannelRequest- AConsumerthat will call methods onDeleteEmailChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteEmailTemplateRequest.builder()- Parameters:
deleteEmailTemplateRequest- AConsumerthat will call methods onDeleteEmailTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteEndpointRequest.builder()- Parameters:
deleteEndpointRequest- AConsumerthat will call methods onDeleteEndpointRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteEventStreamRequest.builder()- Parameters:
deleteEventStreamRequest- AConsumerthat will call methods onDeleteEventStreamRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteGcmChannelRequest.builder()- Parameters:
deleteGcmChannelRequest- AConsumerthat will call methods onDeleteGcmChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteInAppTemplateRequest.builder()- Parameters:
deleteInAppTemplateRequest- AConsumerthat will call methods onDeleteInAppTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteJourneyRequest.builder()- Parameters:
deleteJourneyRequest- AConsumerthat will call methods onDeleteJourneyRequest.Builderto 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.Builderavoiding the need to create one manually viaDeletePushTemplateRequest.builder()- Parameters:
deletePushTemplateRequest- AConsumerthat will call methods onDeletePushTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteRecommenderConfigurationRequest.builder()- Parameters:
deleteRecommenderConfigurationRequest- AConsumerthat will call methods onDeleteRecommenderConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteSegmentRequest.builder()- Parameters:
deleteSegmentRequest- AConsumerthat will call methods onDeleteSegmentRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteSmsChannelRequest.builder()- Parameters:
deleteSmsChannelRequest- AConsumerthat will call methods onDeleteSmsChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteSmsTemplateRequest.builder()- Parameters:
deleteSmsTemplateRequest- AConsumerthat will call methods onDeleteSmsTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteUserEndpointsRequest.builder()- Parameters:
deleteUserEndpointsRequest- AConsumerthat will call methods onDeleteUserEndpointsRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteVoiceChannelRequest.builder()- Parameters:
deleteVoiceChannelRequest- AConsumerthat will call methods onDeleteVoiceChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteVoiceTemplateRequest.builder()- Parameters:
deleteVoiceTemplateRequest- AConsumerthat will call methods onDeleteVoiceTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaGetAdmChannelRequest.builder()- Parameters:
getAdmChannelRequest- AConsumerthat will call methods onGetAdmChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaGetApnsChannelRequest.builder()- Parameters:
getApnsChannelRequest- AConsumerthat will call methods onGetApnsChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaGetApnsSandboxChannelRequest.builder()- Parameters:
getApnsSandboxChannelRequest- AConsumerthat will call methods onGetApnsSandboxChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaGetApnsVoipChannelRequest.builder()- Parameters:
getApnsVoipChannelRequest- AConsumerthat will call methods onGetApnsVoipChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaGetApnsVoipSandboxChannelRequest.builder()- Parameters:
getApnsVoipSandboxChannelRequest- AConsumerthat will call methods onGetApnsVoipSandboxChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaGetAppRequest.builder()- Parameters:
getAppRequest- AConsumerthat will call methods onGetAppRequest.Builderto 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.Builderavoiding the need to create one manually viaGetApplicationDateRangeKpiRequest.builder()- Parameters:
getApplicationDateRangeKpiRequest- AConsumerthat will call methods onGetApplicationDateRangeKpiRequest.Builderto 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.Builderavoiding the need to create one manually viaGetApplicationSettingsRequest.builder()- Parameters:
getApplicationSettingsRequest- AConsumerthat will call methods onGetApplicationSettingsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetAppsRequest.builder()- Parameters:
getAppsRequest- AConsumerthat will call methods onGetAppsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetBaiduChannelRequest.builder()- Parameters:
getBaiduChannelRequest- AConsumerthat will call methods onGetBaiduChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCampaignRequest.builder()- Parameters:
getCampaignRequest- AConsumerthat will call methods onGetCampaignRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCampaignActivitiesRequest.builder()- Parameters:
getCampaignActivitiesRequest- AConsumerthat will call methods onGetCampaignActivitiesRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCampaignDateRangeKpiRequest.builder()- Parameters:
getCampaignDateRangeKpiRequest- AConsumerthat will call methods onGetCampaignDateRangeKpiRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCampaignVersionRequest.builder()- Parameters:
getCampaignVersionRequest- AConsumerthat will call methods onGetCampaignVersionRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCampaignVersionsRequest.builder()- Parameters:
getCampaignVersionsRequest- AConsumerthat will call methods onGetCampaignVersionsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCampaignsRequest.builder()- Parameters:
getCampaignsRequest- AConsumerthat will call methods onGetCampaignsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetChannelsRequest.builder()- Parameters:
getChannelsRequest- AConsumerthat will call methods onGetChannelsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetEmailChannelRequest.builder()- Parameters:
getEmailChannelRequest- AConsumerthat will call methods onGetEmailChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaGetEmailTemplateRequest.builder()- Parameters:
getEmailTemplateRequest- AConsumerthat will call methods onGetEmailTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaGetEndpointRequest.builder()- Parameters:
getEndpointRequest- AConsumerthat will call methods onGetEndpointRequest.Builderto 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.Builderavoiding the need to create one manually viaGetEventStreamRequest.builder()- Parameters:
getEventStreamRequest- AConsumerthat will call methods onGetEventStreamRequest.Builderto 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.Builderavoiding the need to create one manually viaGetExportJobRequest.builder()- Parameters:
getExportJobRequest- AConsumerthat will call methods onGetExportJobRequest.Builderto 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.Builderavoiding the need to create one manually viaGetExportJobsRequest.builder()- Parameters:
getExportJobsRequest- AConsumerthat will call methods onGetExportJobsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetGcmChannelRequest.builder()- Parameters:
getGcmChannelRequest- AConsumerthat will call methods onGetGcmChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaGetImportJobRequest.builder()- Parameters:
getImportJobRequest- AConsumerthat will call methods onGetImportJobRequest.Builderto 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.Builderavoiding the need to create one manually viaGetImportJobsRequest.builder()- Parameters:
getImportJobsRequest- AConsumerthat will call methods onGetImportJobsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetInAppMessagesRequest.builder()- Parameters:
getInAppMessagesRequest- AConsumerthat will call methods onGetInAppMessagesRequest.Builderto 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.Builderavoiding the need to create one manually viaGetInAppTemplateRequest.builder()- Parameters:
getInAppTemplateRequest- AConsumerthat will call methods onGetInAppTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaGetJourneyRequest.builder()- Parameters:
getJourneyRequest- AConsumerthat will call methods onGetJourneyRequest.Builderto 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.Builderavoiding the need to create one manually viaGetJourneyDateRangeKpiRequest.builder()- Parameters:
getJourneyDateRangeKpiRequest- AConsumerthat will call methods onGetJourneyDateRangeKpiRequest.Builderto 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.Builderavoiding the need to create one manually viaGetJourneyExecutionActivityMetricsRequest.builder()- Parameters:
getJourneyExecutionActivityMetricsRequest- AConsumerthat will call methods onGetJourneyExecutionActivityMetricsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetJourneyExecutionMetricsRequest.builder()- Parameters:
getJourneyExecutionMetricsRequest- AConsumerthat will call methods onGetJourneyExecutionMetricsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetJourneyRunExecutionActivityMetricsRequest.builder()- Parameters:
getJourneyRunExecutionActivityMetricsRequest- AConsumerthat will call methods onGetJourneyRunExecutionActivityMetricsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetJourneyRunExecutionMetricsRequest.builder()- Parameters:
getJourneyRunExecutionMetricsRequest- AConsumerthat will call methods onGetJourneyRunExecutionMetricsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetJourneyRunsRequest.builder()- Parameters:
getJourneyRunsRequest- AConsumerthat will call methods onGetJourneyRunsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetPushTemplateRequest.builder()- Parameters:
getPushTemplateRequest- AConsumerthat will call methods onGetPushTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaGetRecommenderConfigurationRequest.builder()- Parameters:
getRecommenderConfigurationRequest- AConsumerthat will call methods onGetRecommenderConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaGetRecommenderConfigurationsRequest.builder()- Parameters:
getRecommenderConfigurationsRequest- AConsumerthat will call methods onGetRecommenderConfigurationsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSegmentRequest.builder()- Parameters:
getSegmentRequest- AConsumerthat will call methods onGetSegmentRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSegmentExportJobsRequest.builder()- Parameters:
getSegmentExportJobsRequest- AConsumerthat will call methods onGetSegmentExportJobsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSegmentImportJobsRequest.builder()- Parameters:
getSegmentImportJobsRequest- AConsumerthat will call methods onGetSegmentImportJobsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSegmentVersionRequest.builder()- Parameters:
getSegmentVersionRequest- AConsumerthat will call methods onGetSegmentVersionRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSegmentVersionsRequest.builder()- Parameters:
getSegmentVersionsRequest- AConsumerthat will call methods onGetSegmentVersionsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSegmentsRequest.builder()- Parameters:
getSegmentsRequest- AConsumerthat will call methods onGetSegmentsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSmsChannelRequest.builder()- Parameters:
getSmsChannelRequest- AConsumerthat will call methods onGetSmsChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSmsTemplateRequest.builder()- Parameters:
getSmsTemplateRequest- AConsumerthat will call methods onGetSmsTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaGetUserEndpointsRequest.builder()- Parameters:
getUserEndpointsRequest- AConsumerthat will call methods onGetUserEndpointsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetVoiceChannelRequest.builder()- Parameters:
getVoiceChannelRequest- AConsumerthat will call methods onGetVoiceChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaGetVoiceTemplateRequest.builder()- Parameters:
getVoiceTemplateRequest- AConsumerthat will call methods onGetVoiceTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaListJourneysRequest.builder()- Parameters:
listJourneysRequest- AConsumerthat will call methods onListJourneysRequest.Builderto 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaListTemplateVersionsRequest.builder()- Parameters:
listTemplateVersionsRequest- AConsumerthat will call methods onListTemplateVersionsRequest.Builderto 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.Builderavoiding the need to create one manually viaListTemplatesRequest.builder()- Parameters:
listTemplatesRequest- AConsumerthat will call methods onListTemplatesRequest.Builderto 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.Builderavoiding the need to create one manually viaPhoneNumberValidateRequest.builder()- Parameters:
phoneNumberValidateRequest- AConsumerthat will call methods onPhoneNumberValidateRequest.Builderto 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.Builderavoiding the need to create one manually viaPutEventStreamRequest.builder()- Parameters:
putEventStreamRequest- AConsumerthat will call methods onPutEventStreamRequest.Builderto 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.Builderavoiding the need to create one manually viaPutEventsRequest.builder()- Parameters:
putEventsRequest- AConsumerthat will call methods onPutEventsRequest.Builderto 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.Builderavoiding the need to create one manually viaRemoveAttributesRequest.builder()- Parameters:
removeAttributesRequest- AConsumerthat will call methods onRemoveAttributesRequest.Builderto 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.Builderavoiding the need to create one manually viaSendMessagesRequest.builder()- Parameters:
sendMessagesRequest- AConsumerthat will call methods onSendMessagesRequest.Builderto 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.Builderavoiding the need to create one manually viaSendOtpMessageRequest.builder()- Parameters:
sendOtpMessageRequest- AConsumerthat will call methods onSendOtpMessageRequest.Builderto 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.Builderavoiding the need to create one manually viaSendUsersMessagesRequest.builder()- Parameters:
sendUsersMessagesRequest- AConsumerthat will call methods onSendUsersMessagesRequest.Builderto 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateAdmChannelRequest.builder()- Parameters:
updateAdmChannelRequest- AConsumerthat will call methods onUpdateAdmChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateApnsChannelRequest.builder()- Parameters:
updateApnsChannelRequest- AConsumerthat will call methods onUpdateApnsChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateApnsSandboxChannelRequest.builder()- Parameters:
updateApnsSandboxChannelRequest- AConsumerthat will call methods onUpdateApnsSandboxChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateApnsVoipChannelRequest.builder()- Parameters:
updateApnsVoipChannelRequest- AConsumerthat will call methods onUpdateApnsVoipChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateApnsVoipSandboxChannelRequest.builder()- Parameters:
updateApnsVoipSandboxChannelRequest- AConsumerthat will call methods onUpdateApnsVoipSandboxChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateApplicationSettingsRequest.builder()- Parameters:
updateApplicationSettingsRequest- AConsumerthat will call methods onUpdateApplicationSettingsRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateBaiduChannelRequest.builder()- Parameters:
updateBaiduChannelRequest- AConsumerthat will call methods onUpdateBaiduChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateCampaignRequest.builder()- Parameters:
updateCampaignRequest- AConsumerthat will call methods onUpdateCampaignRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateEmailChannelRequest.builder()- Parameters:
updateEmailChannelRequest- AConsumerthat will call methods onUpdateEmailChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateEmailTemplateRequest.builder()- Parameters:
updateEmailTemplateRequest- AConsumerthat will call methods onUpdateEmailTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateEndpointRequest.builder()- Parameters:
updateEndpointRequest- AConsumerthat will call methods onUpdateEndpointRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateEndpointsBatchRequest.builder()- Parameters:
updateEndpointsBatchRequest- AConsumerthat will call methods onUpdateEndpointsBatchRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateGcmChannelRequest.builder()- Parameters:
updateGcmChannelRequest- AConsumerthat will call methods onUpdateGcmChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateInAppTemplateRequest.builder()- Parameters:
updateInAppTemplateRequest- AConsumerthat will call methods onUpdateInAppTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateJourneyRequest.builder()- Parameters:
updateJourneyRequest- AConsumerthat will call methods onUpdateJourneyRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateJourneyStateRequest.builder()- Parameters:
updateJourneyStateRequest- AConsumerthat will call methods onUpdateJourneyStateRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdatePushTemplateRequest.builder()- Parameters:
updatePushTemplateRequest- AConsumerthat will call methods onUpdatePushTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateRecommenderConfigurationRequest.builder()- Parameters:
updateRecommenderConfigurationRequest- AConsumerthat will call methods onUpdateRecommenderConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateSegmentRequest.builder()- Parameters:
updateSegmentRequest- AConsumerthat will call methods onUpdateSegmentRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateSmsChannelRequest.builder()- Parameters:
updateSmsChannelRequest- AConsumerthat will call methods onUpdateSmsChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateSmsTemplateRequest.builder()- Parameters:
updateSmsTemplateRequest- AConsumerthat will call methods onUpdateSmsTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateTemplateActiveVersionRequest.builder()- Parameters:
updateTemplateActiveVersionRequest- AConsumerthat will call methods onUpdateTemplateActiveVersionRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateVoiceChannelRequest.builder()- Parameters:
updateVoiceChannelRequest- AConsumerthat will call methods onUpdateVoiceChannelRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateVoiceTemplateRequest.builder()- Parameters:
updateVoiceTemplateRequest- AConsumerthat will call methods onUpdateVoiceTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaVerifyOtpMessageRequest.builder()- Parameters:
verifyOtpMessageRequest- AConsumerthat will call methods onVerifyOtpMessageRequest.Builderto 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:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aPinpointAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aPinpointAsyncClient.
-