Interface SsmContactsAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
SdkAsyncHttpClient
Systems Manager Incident Manager is an incident management console designed to help users mitigate and recover from incidents affecting their Amazon Web Services-hosted applications. An incident is any unplanned interruption or reduction in quality of services.
Incident Manager increases incident resolution by notifying responders of impact, highlighting relevant troubleshooting data, and providing collaboration tools to get services back up and running. To achieve the primary goal of reducing the time-to-resolution of critical incidents, Incident Manager automates response plans and enables responder team escalation.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompletableFuture
<AcceptPageResponse> acceptPage
(Consumer<AcceptPageRequest.Builder> acceptPageRequest) Used to acknowledge an engagement to a contact channel during an incident.default CompletableFuture
<AcceptPageResponse> acceptPage
(AcceptPageRequest acceptPageRequest) Used to acknowledge an engagement to a contact channel during an incident.activateContactChannel
(Consumer<ActivateContactChannelRequest.Builder> activateContactChannelRequest) Activates a contact's contact channel.activateContactChannel
(ActivateContactChannelRequest activateContactChannelRequest) Activates a contact's contact channel.builder()
Create a builder that can be used to configure and create aSsmContactsAsyncClient
.static SsmContactsAsyncClient
create()
Create aSsmContactsAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateContactResponse> createContact
(Consumer<CreateContactRequest.Builder> createContactRequest) Contacts are either the contacts that Incident Manager engages during an incident or the escalation plans that Incident Manager uses to engage contacts in phases during an incident.default CompletableFuture
<CreateContactResponse> createContact
(CreateContactRequest createContactRequest) Contacts are either the contacts that Incident Manager engages during an incident or the escalation plans that Incident Manager uses to engage contacts in phases during an incident.createContactChannel
(Consumer<CreateContactChannelRequest.Builder> createContactChannelRequest) A contact channel is the method that Incident Manager uses to engage your contact.createContactChannel
(CreateContactChannelRequest createContactChannelRequest) A contact channel is the method that Incident Manager uses to engage your contact.default CompletableFuture
<CreateRotationResponse> createRotation
(Consumer<CreateRotationRequest.Builder> createRotationRequest) Creates a rotation in an on-call schedule.default CompletableFuture
<CreateRotationResponse> createRotation
(CreateRotationRequest createRotationRequest) Creates a rotation in an on-call schedule.createRotationOverride
(Consumer<CreateRotationOverrideRequest.Builder> createRotationOverrideRequest) Creates an override for a rotation in an on-call schedule.createRotationOverride
(CreateRotationOverrideRequest createRotationOverrideRequest) Creates an override for a rotation in an on-call schedule.deactivateContactChannel
(Consumer<DeactivateContactChannelRequest.Builder> deactivateContactChannelRequest) To no longer receive Incident Manager engagements to a contact channel, you can deactivate the channel.deactivateContactChannel
(DeactivateContactChannelRequest deactivateContactChannelRequest) To no longer receive Incident Manager engagements to a contact channel, you can deactivate the channel.default CompletableFuture
<DeleteContactResponse> deleteContact
(Consumer<DeleteContactRequest.Builder> deleteContactRequest) To remove a contact from Incident Manager, you can delete the contact.default CompletableFuture
<DeleteContactResponse> deleteContact
(DeleteContactRequest deleteContactRequest) To remove a contact from Incident Manager, you can delete the contact.deleteContactChannel
(Consumer<DeleteContactChannelRequest.Builder> deleteContactChannelRequest) To no longer receive engagements on a contact channel, you can delete the channel from a contact.deleteContactChannel
(DeleteContactChannelRequest deleteContactChannelRequest) To no longer receive engagements on a contact channel, you can delete the channel from a contact.default CompletableFuture
<DeleteRotationResponse> deleteRotation
(Consumer<DeleteRotationRequest.Builder> deleteRotationRequest) Deletes a rotation from the system.default CompletableFuture
<DeleteRotationResponse> deleteRotation
(DeleteRotationRequest deleteRotationRequest) Deletes a rotation from the system.deleteRotationOverride
(Consumer<DeleteRotationOverrideRequest.Builder> deleteRotationOverrideRequest) Deletes an existing override for an on-call rotation.deleteRotationOverride
(DeleteRotationOverrideRequest deleteRotationOverrideRequest) Deletes an existing override for an on-call rotation.describeEngagement
(Consumer<DescribeEngagementRequest.Builder> describeEngagementRequest) Incident Manager uses engagements to engage contacts and escalation plans during an incident.describeEngagement
(DescribeEngagementRequest describeEngagementRequest) Incident Manager uses engagements to engage contacts and escalation plans during an incident.default CompletableFuture
<DescribePageResponse> describePage
(Consumer<DescribePageRequest.Builder> describePageRequest) Lists details of the engagement to a contact channel.default CompletableFuture
<DescribePageResponse> describePage
(DescribePageRequest describePageRequest) Lists details of the engagement to a contact channel.default CompletableFuture
<GetContactResponse> getContact
(Consumer<GetContactRequest.Builder> getContactRequest) Retrieves information about the specified contact or escalation plan.default CompletableFuture
<GetContactResponse> getContact
(GetContactRequest getContactRequest) Retrieves information about the specified contact or escalation plan.getContactChannel
(Consumer<GetContactChannelRequest.Builder> getContactChannelRequest) List details about a specific contact channel.getContactChannel
(GetContactChannelRequest getContactChannelRequest) List details about a specific contact channel.getContactPolicy
(Consumer<GetContactPolicyRequest.Builder> getContactPolicyRequest) Retrieves the resource policies attached to the specified contact or escalation plan.getContactPolicy
(GetContactPolicyRequest getContactPolicyRequest) Retrieves the resource policies attached to the specified contact or escalation plan.default CompletableFuture
<GetRotationResponse> getRotation
(Consumer<GetRotationRequest.Builder> getRotationRequest) Retrieves information about an on-call rotation.default CompletableFuture
<GetRotationResponse> getRotation
(GetRotationRequest getRotationRequest) Retrieves information about an on-call rotation.getRotationOverride
(Consumer<GetRotationOverrideRequest.Builder> getRotationOverrideRequest) Retrieves information about an override to an on-call rotation.getRotationOverride
(GetRotationOverrideRequest getRotationOverrideRequest) Retrieves information about an override to an on-call rotation.listContactChannels
(Consumer<ListContactChannelsRequest.Builder> listContactChannelsRequest) Lists all contact channels for the specified contact.listContactChannels
(ListContactChannelsRequest listContactChannelsRequest) Lists all contact channels for the specified contact.default ListContactChannelsPublisher
listContactChannelsPaginator
(Consumer<ListContactChannelsRequest.Builder> listContactChannelsRequest) This is a variant oflistContactChannels(software.amazon.awssdk.services.ssmcontacts.model.ListContactChannelsRequest)
operation.default ListContactChannelsPublisher
listContactChannelsPaginator
(ListContactChannelsRequest listContactChannelsRequest) This is a variant oflistContactChannels(software.amazon.awssdk.services.ssmcontacts.model.ListContactChannelsRequest)
operation.default CompletableFuture
<ListContactsResponse> listContacts
(Consumer<ListContactsRequest.Builder> listContactsRequest) Lists all contacts and escalation plans in Incident Manager.default CompletableFuture
<ListContactsResponse> listContacts
(ListContactsRequest listContactsRequest) Lists all contacts and escalation plans in Incident Manager.default ListContactsPublisher
listContactsPaginator
(Consumer<ListContactsRequest.Builder> listContactsRequest) This is a variant oflistContacts(software.amazon.awssdk.services.ssmcontacts.model.ListContactsRequest)
operation.default ListContactsPublisher
listContactsPaginator
(ListContactsRequest listContactsRequest) This is a variant oflistContacts(software.amazon.awssdk.services.ssmcontacts.model.ListContactsRequest)
operation.default CompletableFuture
<ListEngagementsResponse> listEngagements
(Consumer<ListEngagementsRequest.Builder> listEngagementsRequest) Lists all engagements that have happened in an incident.default CompletableFuture
<ListEngagementsResponse> listEngagements
(ListEngagementsRequest listEngagementsRequest) Lists all engagements that have happened in an incident.default ListEngagementsPublisher
listEngagementsPaginator
(Consumer<ListEngagementsRequest.Builder> listEngagementsRequest) This is a variant oflistEngagements(software.amazon.awssdk.services.ssmcontacts.model.ListEngagementsRequest)
operation.default ListEngagementsPublisher
listEngagementsPaginator
(ListEngagementsRequest listEngagementsRequest) This is a variant oflistEngagements(software.amazon.awssdk.services.ssmcontacts.model.ListEngagementsRequest)
operation.listPageReceipts
(Consumer<ListPageReceiptsRequest.Builder> listPageReceiptsRequest) Lists all of the engagements to contact channels that have been acknowledged.listPageReceipts
(ListPageReceiptsRequest listPageReceiptsRequest) Lists all of the engagements to contact channels that have been acknowledged.default ListPageReceiptsPublisher
listPageReceiptsPaginator
(Consumer<ListPageReceiptsRequest.Builder> listPageReceiptsRequest) This is a variant oflistPageReceipts(software.amazon.awssdk.services.ssmcontacts.model.ListPageReceiptsRequest)
operation.default ListPageReceiptsPublisher
listPageReceiptsPaginator
(ListPageReceiptsRequest listPageReceiptsRequest) This is a variant oflistPageReceipts(software.amazon.awssdk.services.ssmcontacts.model.ListPageReceiptsRequest)
operation.listPageResolutions
(Consumer<ListPageResolutionsRequest.Builder> listPageResolutionsRequest) Returns the resolution path of an engagement.listPageResolutions
(ListPageResolutionsRequest listPageResolutionsRequest) Returns the resolution path of an engagement.default ListPageResolutionsPublisher
listPageResolutionsPaginator
(Consumer<ListPageResolutionsRequest.Builder> listPageResolutionsRequest) This is a variant oflistPageResolutions(software.amazon.awssdk.services.ssmcontacts.model.ListPageResolutionsRequest)
operation.default ListPageResolutionsPublisher
listPageResolutionsPaginator
(ListPageResolutionsRequest listPageResolutionsRequest) This is a variant oflistPageResolutions(software.amazon.awssdk.services.ssmcontacts.model.ListPageResolutionsRequest)
operation.listPagesByContact
(Consumer<ListPagesByContactRequest.Builder> listPagesByContactRequest) Lists the engagements to a contact's contact channels.listPagesByContact
(ListPagesByContactRequest listPagesByContactRequest) Lists the engagements to a contact's contact channels.default ListPagesByContactPublisher
listPagesByContactPaginator
(Consumer<ListPagesByContactRequest.Builder> listPagesByContactRequest) This is a variant oflistPagesByContact(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByContactRequest)
operation.default ListPagesByContactPublisher
listPagesByContactPaginator
(ListPagesByContactRequest listPagesByContactRequest) This is a variant oflistPagesByContact(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByContactRequest)
operation.listPagesByEngagement
(Consumer<ListPagesByEngagementRequest.Builder> listPagesByEngagementRequest) Lists the engagements to contact channels that occurred by engaging a contact.listPagesByEngagement
(ListPagesByEngagementRequest listPagesByEngagementRequest) Lists the engagements to contact channels that occurred by engaging a contact.default ListPagesByEngagementPublisher
listPagesByEngagementPaginator
(Consumer<ListPagesByEngagementRequest.Builder> listPagesByEngagementRequest) This is a variant oflistPagesByEngagement(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByEngagementRequest)
operation.default ListPagesByEngagementPublisher
listPagesByEngagementPaginator
(ListPagesByEngagementRequest listPagesByEngagementRequest) This is a variant oflistPagesByEngagement(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByEngagementRequest)
operation.listPreviewRotationShifts
(Consumer<ListPreviewRotationShiftsRequest.Builder> listPreviewRotationShiftsRequest) Returns a list of shifts based on rotation configuration parameters.listPreviewRotationShifts
(ListPreviewRotationShiftsRequest listPreviewRotationShiftsRequest) Returns a list of shifts based on rotation configuration parameters.listPreviewRotationShiftsPaginator
(Consumer<ListPreviewRotationShiftsRequest.Builder> listPreviewRotationShiftsRequest) This is a variant oflistPreviewRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListPreviewRotationShiftsRequest)
operation.listPreviewRotationShiftsPaginator
(ListPreviewRotationShiftsRequest listPreviewRotationShiftsRequest) This is a variant oflistPreviewRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListPreviewRotationShiftsRequest)
operation.listRotationOverrides
(Consumer<ListRotationOverridesRequest.Builder> listRotationOverridesRequest) Retrieves a list of overrides currently specified for an on-call rotation.listRotationOverrides
(ListRotationOverridesRequest listRotationOverridesRequest) Retrieves a list of overrides currently specified for an on-call rotation.default ListRotationOverridesPublisher
listRotationOverridesPaginator
(Consumer<ListRotationOverridesRequest.Builder> listRotationOverridesRequest) This is a variant oflistRotationOverrides(software.amazon.awssdk.services.ssmcontacts.model.ListRotationOverridesRequest)
operation.default ListRotationOverridesPublisher
listRotationOverridesPaginator
(ListRotationOverridesRequest listRotationOverridesRequest) This is a variant oflistRotationOverrides(software.amazon.awssdk.services.ssmcontacts.model.ListRotationOverridesRequest)
operation.default CompletableFuture
<ListRotationsResponse> listRotations
(Consumer<ListRotationsRequest.Builder> listRotationsRequest) Retrieves a list of on-call rotations.default CompletableFuture
<ListRotationsResponse> listRotations
(ListRotationsRequest listRotationsRequest) Retrieves a list of on-call rotations.listRotationShifts
(Consumer<ListRotationShiftsRequest.Builder> listRotationShiftsRequest) Returns a list of shifts generated by an existing rotation in the system.listRotationShifts
(ListRotationShiftsRequest listRotationShiftsRequest) Returns a list of shifts generated by an existing rotation in the system.default ListRotationShiftsPublisher
listRotationShiftsPaginator
(Consumer<ListRotationShiftsRequest.Builder> listRotationShiftsRequest) This is a variant oflistRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListRotationShiftsRequest)
operation.default ListRotationShiftsPublisher
listRotationShiftsPaginator
(ListRotationShiftsRequest listRotationShiftsRequest) This is a variant oflistRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListRotationShiftsRequest)
operation.default ListRotationsPublisher
listRotationsPaginator
(Consumer<ListRotationsRequest.Builder> listRotationsRequest) This is a variant oflistRotations(software.amazon.awssdk.services.ssmcontacts.model.ListRotationsRequest)
operation.default ListRotationsPublisher
listRotationsPaginator
(ListRotationsRequest listRotationsRequest) This is a variant oflistRotations(software.amazon.awssdk.services.ssmcontacts.model.ListRotationsRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags of an escalation plan or contact.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags of an escalation plan or contact.putContactPolicy
(Consumer<PutContactPolicyRequest.Builder> putContactPolicyRequest) Adds a resource policy to the specified contact or escalation plan.putContactPolicy
(PutContactPolicyRequest putContactPolicyRequest) Adds a resource policy to the specified contact or escalation plan.sendActivationCode
(Consumer<SendActivationCodeRequest.Builder> sendActivationCodeRequest) Sends an activation code to a contact channel.sendActivationCode
(SendActivationCodeRequest sendActivationCodeRequest) Sends an activation code to a contact channel.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<StartEngagementResponse> startEngagement
(Consumer<StartEngagementRequest.Builder> startEngagementRequest) Starts an engagement to a contact or escalation plan.default CompletableFuture
<StartEngagementResponse> startEngagement
(StartEngagementRequest startEngagementRequest) Starts an engagement to a contact or escalation plan.default CompletableFuture
<StopEngagementResponse> stopEngagement
(Consumer<StopEngagementRequest.Builder> stopEngagementRequest) Stops an engagement before it finishes the final stage of the escalation plan or engagement plan.default CompletableFuture
<StopEngagementResponse> stopEngagement
(StopEngagementRequest stopEngagementRequest) Stops an engagement before it finishes the final stage of the escalation plan or engagement plan.default CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tags a contact or escalation plan.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Tags a contact or escalation plan.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from the specified resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from the specified resource.default CompletableFuture
<UpdateContactResponse> updateContact
(Consumer<UpdateContactRequest.Builder> updateContactRequest) Updates the contact or escalation plan specified.default CompletableFuture
<UpdateContactResponse> updateContact
(UpdateContactRequest updateContactRequest) Updates the contact or escalation plan specified.updateContactChannel
(Consumer<UpdateContactChannelRequest.Builder> updateContactChannelRequest) Updates a contact's contact channel.updateContactChannel
(UpdateContactChannelRequest updateContactChannelRequest) Updates a contact's contact channel.default CompletableFuture
<UpdateRotationResponse> updateRotation
(Consumer<UpdateRotationRequest.Builder> updateRotationRequest) Updates the information specified for an on-call rotation.default CompletableFuture
<UpdateRotationResponse> updateRotation
(UpdateRotationRequest updateRotationRequest) Updates the information specified for an on-call rotation.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
acceptPage
Used to acknowledge an engagement to a contact channel during an incident.
- Parameters:
acceptPageRequest
-- Returns:
- A Java Future containing the result of the AcceptPage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
acceptPage
default CompletableFuture<AcceptPageResponse> acceptPage(Consumer<AcceptPageRequest.Builder> acceptPageRequest) Used to acknowledge an engagement to a contact channel during an incident.
This is a convenience which creates an instance of the
AcceptPageRequest.Builder
avoiding the need to create one manually viaAcceptPageRequest.builder()
- Parameters:
acceptPageRequest
- AConsumer
that will call methods onAcceptPageRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AcceptPage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
activateContactChannel
default CompletableFuture<ActivateContactChannelResponse> activateContactChannel(ActivateContactChannelRequest activateContactChannelRequest) Activates a contact's contact channel. Incident Manager can't engage a contact until the contact channel has been activated.
- Parameters:
activateContactChannelRequest
-- Returns:
- A Java Future containing the result of the ActivateContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
activateContactChannel
default CompletableFuture<ActivateContactChannelResponse> activateContactChannel(Consumer<ActivateContactChannelRequest.Builder> activateContactChannelRequest) Activates a contact's contact channel. Incident Manager can't engage a contact until the contact channel has been activated.
This is a convenience which creates an instance of the
ActivateContactChannelRequest.Builder
avoiding the need to create one manually viaActivateContactChannelRequest.builder()
- Parameters:
activateContactChannelRequest
- AConsumer
that will call methods onActivateContactChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ActivateContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createContact
default CompletableFuture<CreateContactResponse> createContact(CreateContactRequest createContactRequest) Contacts are either the contacts that Incident Manager engages during an incident or the escalation plans that Incident Manager uses to engage contacts in phases during an incident.
- Parameters:
createContactRequest
-- Returns:
- A Java Future containing the result of the CreateContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- InternalServerException Unexpected error occurred while processing the request.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- DataEncryptionException The operation failed to due an encryption key error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createContact
default CompletableFuture<CreateContactResponse> createContact(Consumer<CreateContactRequest.Builder> createContactRequest) Contacts are either the contacts that Incident Manager engages during an incident or the escalation plans that Incident Manager uses to engage contacts in phases during an incident.
This is a convenience which creates an instance of the
CreateContactRequest.Builder
avoiding the need to create one manually viaCreateContactRequest.builder()
- Parameters:
createContactRequest
- AConsumer
that will call methods onCreateContactRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- InternalServerException Unexpected error occurred while processing the request.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- DataEncryptionException The operation failed to due an encryption key error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createContactChannel
default CompletableFuture<CreateContactChannelResponse> createContactChannel(CreateContactChannelRequest createContactChannelRequest) A contact channel is the method that Incident Manager uses to engage your contact.
- Parameters:
createContactChannelRequest
-- Returns:
- A Java Future containing the result of the CreateContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createContactChannel
default CompletableFuture<CreateContactChannelResponse> createContactChannel(Consumer<CreateContactChannelRequest.Builder> createContactChannelRequest) A contact channel is the method that Incident Manager uses to engage your contact.
This is a convenience which creates an instance of the
CreateContactChannelRequest.Builder
avoiding the need to create one manually viaCreateContactChannelRequest.builder()
- Parameters:
createContactChannelRequest
- AConsumer
that will call methods onCreateContactChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRotation
default CompletableFuture<CreateRotationResponse> createRotation(CreateRotationRequest createRotationRequest) Creates a rotation in an on-call schedule.
- Parameters:
createRotationRequest
-- Returns:
- A Java Future containing the result of the CreateRotation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRotation
default CompletableFuture<CreateRotationResponse> createRotation(Consumer<CreateRotationRequest.Builder> createRotationRequest) Creates a rotation in an on-call schedule.
This is a convenience which creates an instance of the
CreateRotationRequest.Builder
avoiding the need to create one manually viaCreateRotationRequest.builder()
- Parameters:
createRotationRequest
- AConsumer
that will call methods onCreateRotationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateRotation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRotationOverride
default CompletableFuture<CreateRotationOverrideResponse> createRotationOverride(CreateRotationOverrideRequest createRotationOverrideRequest) Creates an override for a rotation in an on-call schedule.
- Parameters:
createRotationOverrideRequest
-- Returns:
- A Java Future containing the result of the CreateRotationOverride operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRotationOverride
default CompletableFuture<CreateRotationOverrideResponse> createRotationOverride(Consumer<CreateRotationOverrideRequest.Builder> createRotationOverrideRequest) Creates an override for a rotation in an on-call schedule.
This is a convenience which creates an instance of the
CreateRotationOverrideRequest.Builder
avoiding the need to create one manually viaCreateRotationOverrideRequest.builder()
- Parameters:
createRotationOverrideRequest
- AConsumer
that will call methods onCreateRotationOverrideRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateRotationOverride operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deactivateContactChannel
default CompletableFuture<DeactivateContactChannelResponse> deactivateContactChannel(DeactivateContactChannelRequest deactivateContactChannelRequest) To no longer receive Incident Manager engagements to a contact channel, you can deactivate the channel.
- Parameters:
deactivateContactChannelRequest
-- Returns:
- A Java Future containing the result of the DeactivateContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deactivateContactChannel
default CompletableFuture<DeactivateContactChannelResponse> deactivateContactChannel(Consumer<DeactivateContactChannelRequest.Builder> deactivateContactChannelRequest) To no longer receive Incident Manager engagements to a contact channel, you can deactivate the channel.
This is a convenience which creates an instance of the
DeactivateContactChannelRequest.Builder
avoiding the need to create one manually viaDeactivateContactChannelRequest.builder()
- Parameters:
deactivateContactChannelRequest
- AConsumer
that will call methods onDeactivateContactChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeactivateContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContact
default CompletableFuture<DeleteContactResponse> deleteContact(DeleteContactRequest deleteContactRequest) To remove a contact from Incident Manager, you can delete the contact. Deleting a contact removes them from all escalation plans and related response plans. Deleting an escalation plan removes it from all related response plans. You will have to recreate the contact and its contact channels before you can use it again.
- Parameters:
deleteContactRequest
-- Returns:
- A Java Future containing the result of the DeleteContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContact
default CompletableFuture<DeleteContactResponse> deleteContact(Consumer<DeleteContactRequest.Builder> deleteContactRequest) To remove a contact from Incident Manager, you can delete the contact. Deleting a contact removes them from all escalation plans and related response plans. Deleting an escalation plan removes it from all related response plans. You will have to recreate the contact and its contact channels before you can use it again.
This is a convenience which creates an instance of the
DeleteContactRequest.Builder
avoiding the need to create one manually viaDeleteContactRequest.builder()
- Parameters:
deleteContactRequest
- AConsumer
that will call methods onDeleteContactRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContactChannel
default CompletableFuture<DeleteContactChannelResponse> deleteContactChannel(DeleteContactChannelRequest deleteContactChannelRequest) To no longer receive engagements on a contact channel, you can delete the channel from a contact. Deleting the contact channel removes it from the contact's engagement plan. If you delete the only contact channel for a contact, you won't be able to engage that contact during an incident.
- Parameters:
deleteContactChannelRequest
-- Returns:
- A Java Future containing the result of the DeleteContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteContactChannel
default CompletableFuture<DeleteContactChannelResponse> deleteContactChannel(Consumer<DeleteContactChannelRequest.Builder> deleteContactChannelRequest) To no longer receive engagements on a contact channel, you can delete the channel from a contact. Deleting the contact channel removes it from the contact's engagement plan. If you delete the only contact channel for a contact, you won't be able to engage that contact during an incident.
This is a convenience which creates an instance of the
DeleteContactChannelRequest.Builder
avoiding the need to create one manually viaDeleteContactChannelRequest.builder()
- Parameters:
deleteContactChannelRequest
- AConsumer
that will call methods onDeleteContactChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRotation
default CompletableFuture<DeleteRotationResponse> deleteRotation(DeleteRotationRequest deleteRotationRequest) Deletes a rotation from the system. If a rotation belongs to more than one on-call schedule, this operation deletes it from all of them.
- Parameters:
deleteRotationRequest
-- Returns:
- A Java Future containing the result of the DeleteRotation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRotation
default CompletableFuture<DeleteRotationResponse> deleteRotation(Consumer<DeleteRotationRequest.Builder> deleteRotationRequest) Deletes a rotation from the system. If a rotation belongs to more than one on-call schedule, this operation deletes it from all of them.
This is a convenience which creates an instance of the
DeleteRotationRequest.Builder
avoiding the need to create one manually viaDeleteRotationRequest.builder()
- Parameters:
deleteRotationRequest
- AConsumer
that will call methods onDeleteRotationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteRotation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRotationOverride
default CompletableFuture<DeleteRotationOverrideResponse> deleteRotationOverride(DeleteRotationOverrideRequest deleteRotationOverrideRequest) Deletes an existing override for an on-call rotation.
- Parameters:
deleteRotationOverrideRequest
-- Returns:
- A Java Future containing the result of the DeleteRotationOverride operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRotationOverride
default CompletableFuture<DeleteRotationOverrideResponse> deleteRotationOverride(Consumer<DeleteRotationOverrideRequest.Builder> deleteRotationOverrideRequest) Deletes an existing override for an on-call rotation.
This is a convenience which creates an instance of the
DeleteRotationOverrideRequest.Builder
avoiding the need to create one manually viaDeleteRotationOverrideRequest.builder()
- Parameters:
deleteRotationOverrideRequest
- AConsumer
that will call methods onDeleteRotationOverrideRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteRotationOverride operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEngagement
default CompletableFuture<DescribeEngagementResponse> describeEngagement(DescribeEngagementRequest describeEngagementRequest) Incident Manager uses engagements to engage contacts and escalation plans during an incident. Use this command to describe the engagement that occurred during an incident.
- Parameters:
describeEngagementRequest
-- Returns:
- A Java Future containing the result of the DescribeEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeEngagement
default CompletableFuture<DescribeEngagementResponse> describeEngagement(Consumer<DescribeEngagementRequest.Builder> describeEngagementRequest) Incident Manager uses engagements to engage contacts and escalation plans during an incident. Use this command to describe the engagement that occurred during an incident.
This is a convenience which creates an instance of the
DescribeEngagementRequest.Builder
avoiding the need to create one manually viaDescribeEngagementRequest.builder()
- Parameters:
describeEngagementRequest
- AConsumer
that will call methods onDescribeEngagementRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePage
default CompletableFuture<DescribePageResponse> describePage(DescribePageRequest describePageRequest) Lists details of the engagement to a contact channel.
- Parameters:
describePageRequest
-- Returns:
- A Java Future containing the result of the DescribePage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePage
default CompletableFuture<DescribePageResponse> describePage(Consumer<DescribePageRequest.Builder> describePageRequest) Lists details of the engagement to a contact channel.
This is a convenience which creates an instance of the
DescribePageRequest.Builder
avoiding the need to create one manually viaDescribePageRequest.builder()
- Parameters:
describePageRequest
- AConsumer
that will call methods onDescribePageRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribePage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContact
Retrieves information about the specified contact or escalation plan.
- Parameters:
getContactRequest
-- Returns:
- A Java Future containing the result of the GetContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- DataEncryptionException The operation failed to due an encryption key error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContact
default CompletableFuture<GetContactResponse> getContact(Consumer<GetContactRequest.Builder> getContactRequest) Retrieves information about the specified contact or escalation plan.
This is a convenience which creates an instance of the
GetContactRequest.Builder
avoiding the need to create one manually viaGetContactRequest.builder()
- Parameters:
getContactRequest
- AConsumer
that will call methods onGetContactRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- DataEncryptionException The operation failed to due an encryption key error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContactChannel
default CompletableFuture<GetContactChannelResponse> getContactChannel(GetContactChannelRequest getContactChannelRequest) List details about a specific contact channel.
- Parameters:
getContactChannelRequest
-- Returns:
- A Java Future containing the result of the GetContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContactChannel
default CompletableFuture<GetContactChannelResponse> getContactChannel(Consumer<GetContactChannelRequest.Builder> getContactChannelRequest) List details about a specific contact channel.
This is a convenience which creates an instance of the
GetContactChannelRequest.Builder
avoiding the need to create one manually viaGetContactChannelRequest.builder()
- Parameters:
getContactChannelRequest
- AConsumer
that will call methods onGetContactChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContactPolicy
default CompletableFuture<GetContactPolicyResponse> getContactPolicy(GetContactPolicyRequest getContactPolicyRequest) Retrieves the resource policies attached to the specified contact or escalation plan.
- Parameters:
getContactPolicyRequest
-- Returns:
- A Java Future containing the result of the GetContactPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getContactPolicy
default CompletableFuture<GetContactPolicyResponse> getContactPolicy(Consumer<GetContactPolicyRequest.Builder> getContactPolicyRequest) Retrieves the resource policies attached to the specified contact or escalation plan.
This is a convenience which creates an instance of the
GetContactPolicyRequest.Builder
avoiding the need to create one manually viaGetContactPolicyRequest.builder()
- Parameters:
getContactPolicyRequest
- AConsumer
that will call methods onGetContactPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetContactPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRotation
Retrieves information about an on-call rotation.
- Parameters:
getRotationRequest
-- Returns:
- A Java Future containing the result of the GetRotation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRotation
default CompletableFuture<GetRotationResponse> getRotation(Consumer<GetRotationRequest.Builder> getRotationRequest) Retrieves information about an on-call rotation.
This is a convenience which creates an instance of the
GetRotationRequest.Builder
avoiding the need to create one manually viaGetRotationRequest.builder()
- Parameters:
getRotationRequest
- AConsumer
that will call methods onGetRotationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRotation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRotationOverride
default CompletableFuture<GetRotationOverrideResponse> getRotationOverride(GetRotationOverrideRequest getRotationOverrideRequest) Retrieves information about an override to an on-call rotation.
- Parameters:
getRotationOverrideRequest
-- Returns:
- A Java Future containing the result of the GetRotationOverride operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRotationOverride
default CompletableFuture<GetRotationOverrideResponse> getRotationOverride(Consumer<GetRotationOverrideRequest.Builder> getRotationOverrideRequest) Retrieves information about an override to an on-call rotation.
This is a convenience which creates an instance of the
GetRotationOverrideRequest.Builder
avoiding the need to create one manually viaGetRotationOverrideRequest.builder()
- Parameters:
getRotationOverrideRequest
- AConsumer
that will call methods onGetRotationOverrideRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRotationOverride operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactChannels
default CompletableFuture<ListContactChannelsResponse> listContactChannels(ListContactChannelsRequest listContactChannelsRequest) Lists all contact channels for the specified contact.
- Parameters:
listContactChannelsRequest
-- Returns:
- A Java Future containing the result of the ListContactChannels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactChannels
default CompletableFuture<ListContactChannelsResponse> listContactChannels(Consumer<ListContactChannelsRequest.Builder> listContactChannelsRequest) Lists all contact channels for the specified contact.
This is a convenience which creates an instance of the
ListContactChannelsRequest.Builder
avoiding the need to create one manually viaListContactChannelsRequest.builder()
- Parameters:
listContactChannelsRequest
- AConsumer
that will call methods onListContactChannelsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListContactChannels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactChannelsPaginator
default ListContactChannelsPublisher listContactChannelsPaginator(ListContactChannelsRequest listContactChannelsRequest) This is a variant of
listContactChannels(software.amazon.awssdk.services.ssmcontacts.model.ListContactChannelsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListContactChannelsPublisher publisher = client.listContactChannelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListContactChannelsPublisher publisher = client.listContactChannelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListContactChannelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListContactChannelsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listContactChannels(software.amazon.awssdk.services.ssmcontacts.model.ListContactChannelsRequest)
operation.- Parameters:
listContactChannelsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactChannelsPaginator
default ListContactChannelsPublisher listContactChannelsPaginator(Consumer<ListContactChannelsRequest.Builder> listContactChannelsRequest) This is a variant of
listContactChannels(software.amazon.awssdk.services.ssmcontacts.model.ListContactChannelsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListContactChannelsPublisher publisher = client.listContactChannelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListContactChannelsPublisher publisher = client.listContactChannelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListContactChannelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListContactChannelsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listContactChannels(software.amazon.awssdk.services.ssmcontacts.model.ListContactChannelsRequest)
operation.
This is a convenience which creates an instance of the
ListContactChannelsRequest.Builder
avoiding the need to create one manually viaListContactChannelsRequest.builder()
- Parameters:
listContactChannelsRequest
- AConsumer
that will call methods onListContactChannelsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContacts
default CompletableFuture<ListContactsResponse> listContacts(ListContactsRequest listContactsRequest) Lists all contacts and escalation plans in Incident Manager.
- Parameters:
listContactsRequest
-- Returns:
- A Java Future containing the result of the ListContacts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContacts
default CompletableFuture<ListContactsResponse> listContacts(Consumer<ListContactsRequest.Builder> listContactsRequest) Lists all contacts and escalation plans in Incident Manager.
This is a convenience which creates an instance of the
ListContactsRequest.Builder
avoiding the need to create one manually viaListContactsRequest.builder()
- Parameters:
listContactsRequest
- AConsumer
that will call methods onListContactsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListContacts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactsPaginator
This is a variant of
listContacts(software.amazon.awssdk.services.ssmcontacts.model.ListContactsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListContactsPublisher publisher = client.listContactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListContactsPublisher publisher = client.listContactsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListContactsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListContactsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listContacts(software.amazon.awssdk.services.ssmcontacts.model.ListContactsRequest)
operation.- Parameters:
listContactsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listContactsPaginator
default ListContactsPublisher listContactsPaginator(Consumer<ListContactsRequest.Builder> listContactsRequest) This is a variant of
listContacts(software.amazon.awssdk.services.ssmcontacts.model.ListContactsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListContactsPublisher publisher = client.listContactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListContactsPublisher publisher = client.listContactsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListContactsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListContactsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listContacts(software.amazon.awssdk.services.ssmcontacts.model.ListContactsRequest)
operation.
This is a convenience which creates an instance of the
ListContactsRequest.Builder
avoiding the need to create one manually viaListContactsRequest.builder()
- Parameters:
listContactsRequest
- AConsumer
that will call methods onListContactsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEngagements
default CompletableFuture<ListEngagementsResponse> listEngagements(ListEngagementsRequest listEngagementsRequest) Lists all engagements that have happened in an incident.
- Parameters:
listEngagementsRequest
-- Returns:
- A Java Future containing the result of the ListEngagements operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEngagements
default CompletableFuture<ListEngagementsResponse> listEngagements(Consumer<ListEngagementsRequest.Builder> listEngagementsRequest) Lists all engagements that have happened in an incident.
This is a convenience which creates an instance of the
ListEngagementsRequest.Builder
avoiding the need to create one manually viaListEngagementsRequest.builder()
- Parameters:
listEngagementsRequest
- AConsumer
that will call methods onListEngagementsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListEngagements operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEngagementsPaginator
default ListEngagementsPublisher listEngagementsPaginator(ListEngagementsRequest listEngagementsRequest) This is a variant of
listEngagements(software.amazon.awssdk.services.ssmcontacts.model.ListEngagementsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListEngagementsPublisher publisher = client.listEngagementsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListEngagementsPublisher publisher = client.listEngagementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListEngagementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListEngagementsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEngagements(software.amazon.awssdk.services.ssmcontacts.model.ListEngagementsRequest)
operation.- Parameters:
listEngagementsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEngagementsPaginator
default ListEngagementsPublisher listEngagementsPaginator(Consumer<ListEngagementsRequest.Builder> listEngagementsRequest) This is a variant of
listEngagements(software.amazon.awssdk.services.ssmcontacts.model.ListEngagementsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListEngagementsPublisher publisher = client.listEngagementsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListEngagementsPublisher publisher = client.listEngagementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListEngagementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListEngagementsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEngagements(software.amazon.awssdk.services.ssmcontacts.model.ListEngagementsRequest)
operation.
This is a convenience which creates an instance of the
ListEngagementsRequest.Builder
avoiding the need to create one manually viaListEngagementsRequest.builder()
- Parameters:
listEngagementsRequest
- AConsumer
that will call methods onListEngagementsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPageReceipts
default CompletableFuture<ListPageReceiptsResponse> listPageReceipts(ListPageReceiptsRequest listPageReceiptsRequest) Lists all of the engagements to contact channels that have been acknowledged.
- Parameters:
listPageReceiptsRequest
-- Returns:
- A Java Future containing the result of the ListPageReceipts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPageReceipts
default CompletableFuture<ListPageReceiptsResponse> listPageReceipts(Consumer<ListPageReceiptsRequest.Builder> listPageReceiptsRequest) Lists all of the engagements to contact channels that have been acknowledged.
This is a convenience which creates an instance of the
ListPageReceiptsRequest.Builder
avoiding the need to create one manually viaListPageReceiptsRequest.builder()
- Parameters:
listPageReceiptsRequest
- AConsumer
that will call methods onListPageReceiptsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPageReceipts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPageReceiptsPaginator
default ListPageReceiptsPublisher listPageReceiptsPaginator(ListPageReceiptsRequest listPageReceiptsRequest) This is a variant of
listPageReceipts(software.amazon.awssdk.services.ssmcontacts.model.ListPageReceiptsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListPageReceiptsPublisher publisher = client.listPageReceiptsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListPageReceiptsPublisher publisher = client.listPageReceiptsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListPageReceiptsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListPageReceiptsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPageReceipts(software.amazon.awssdk.services.ssmcontacts.model.ListPageReceiptsRequest)
operation.- Parameters:
listPageReceiptsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPageReceiptsPaginator
default ListPageReceiptsPublisher listPageReceiptsPaginator(Consumer<ListPageReceiptsRequest.Builder> listPageReceiptsRequest) This is a variant of
listPageReceipts(software.amazon.awssdk.services.ssmcontacts.model.ListPageReceiptsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListPageReceiptsPublisher publisher = client.listPageReceiptsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListPageReceiptsPublisher publisher = client.listPageReceiptsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListPageReceiptsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListPageReceiptsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPageReceipts(software.amazon.awssdk.services.ssmcontacts.model.ListPageReceiptsRequest)
operation.
This is a convenience which creates an instance of the
ListPageReceiptsRequest.Builder
avoiding the need to create one manually viaListPageReceiptsRequest.builder()
- Parameters:
listPageReceiptsRequest
- AConsumer
that will call methods onListPageReceiptsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPageResolutions
default CompletableFuture<ListPageResolutionsResponse> listPageResolutions(ListPageResolutionsRequest listPageResolutionsRequest) Returns the resolution path of an engagement. For example, the escalation plan engaged in an incident might target an on-call schedule that includes several contacts in a rotation, but just one contact on-call when the incident starts. The resolution path indicates the hierarchy of escalation plan > on-call schedule > contact.
- Parameters:
listPageResolutionsRequest
-- Returns:
- A Java Future containing the result of the ListPageResolutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPageResolutions
default CompletableFuture<ListPageResolutionsResponse> listPageResolutions(Consumer<ListPageResolutionsRequest.Builder> listPageResolutionsRequest) Returns the resolution path of an engagement. For example, the escalation plan engaged in an incident might target an on-call schedule that includes several contacts in a rotation, but just one contact on-call when the incident starts. The resolution path indicates the hierarchy of escalation plan > on-call schedule > contact.
This is a convenience which creates an instance of the
ListPageResolutionsRequest.Builder
avoiding the need to create one manually viaListPageResolutionsRequest.builder()
- Parameters:
listPageResolutionsRequest
- AConsumer
that will call methods onListPageResolutionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPageResolutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPageResolutionsPaginator
default ListPageResolutionsPublisher listPageResolutionsPaginator(ListPageResolutionsRequest listPageResolutionsRequest) This is a variant of
listPageResolutions(software.amazon.awssdk.services.ssmcontacts.model.ListPageResolutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListPageResolutionsPublisher publisher = client.listPageResolutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListPageResolutionsPublisher publisher = client.listPageResolutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListPageResolutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListPageResolutionsResponse response) { //... }; });
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPageResolutions(software.amazon.awssdk.services.ssmcontacts.model.ListPageResolutionsRequest)
operation.- Parameters:
listPageResolutionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPageResolutionsPaginator
default ListPageResolutionsPublisher listPageResolutionsPaginator(Consumer<ListPageResolutionsRequest.Builder> listPageResolutionsRequest) This is a variant of
listPageResolutions(software.amazon.awssdk.services.ssmcontacts.model.ListPageResolutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListPageResolutionsPublisher publisher = client.listPageResolutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListPageResolutionsPublisher publisher = client.listPageResolutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListPageResolutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListPageResolutionsResponse response) { //... }; });
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPageResolutions(software.amazon.awssdk.services.ssmcontacts.model.ListPageResolutionsRequest)
operation.
This is a convenience which creates an instance of the
ListPageResolutionsRequest.Builder
avoiding the need to create one manually viaListPageResolutionsRequest.builder()
- Parameters:
listPageResolutionsRequest
- AConsumer
that will call methods onListPageResolutionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPagesByContact
default CompletableFuture<ListPagesByContactResponse> listPagesByContact(ListPagesByContactRequest listPagesByContactRequest) Lists the engagements to a contact's contact channels.
- Parameters:
listPagesByContactRequest
-- Returns:
- A Java Future containing the result of the ListPagesByContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPagesByContact
default CompletableFuture<ListPagesByContactResponse> listPagesByContact(Consumer<ListPagesByContactRequest.Builder> listPagesByContactRequest) Lists the engagements to a contact's contact channels.
This is a convenience which creates an instance of the
ListPagesByContactRequest.Builder
avoiding the need to create one manually viaListPagesByContactRequest.builder()
- Parameters:
listPagesByContactRequest
- AConsumer
that will call methods onListPagesByContactRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPagesByContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPagesByContactPaginator
default ListPagesByContactPublisher listPagesByContactPaginator(ListPagesByContactRequest listPagesByContactRequest) This is a variant of
listPagesByContact(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByContactRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListPagesByContactPublisher publisher = client.listPagesByContactPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListPagesByContactPublisher publisher = client.listPagesByContactPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListPagesByContactResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByContactResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPagesByContact(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByContactRequest)
operation.- Parameters:
listPagesByContactRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPagesByContactPaginator
default ListPagesByContactPublisher listPagesByContactPaginator(Consumer<ListPagesByContactRequest.Builder> listPagesByContactRequest) This is a variant of
listPagesByContact(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByContactRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListPagesByContactPublisher publisher = client.listPagesByContactPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListPagesByContactPublisher publisher = client.listPagesByContactPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListPagesByContactResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByContactResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPagesByContact(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByContactRequest)
operation.
This is a convenience which creates an instance of the
ListPagesByContactRequest.Builder
avoiding the need to create one manually viaListPagesByContactRequest.builder()
- Parameters:
listPagesByContactRequest
- AConsumer
that will call methods onListPagesByContactRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPagesByEngagement
default CompletableFuture<ListPagesByEngagementResponse> listPagesByEngagement(ListPagesByEngagementRequest listPagesByEngagementRequest) Lists the engagements to contact channels that occurred by engaging a contact.
- Parameters:
listPagesByEngagementRequest
-- Returns:
- A Java Future containing the result of the ListPagesByEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPagesByEngagement
default CompletableFuture<ListPagesByEngagementResponse> listPagesByEngagement(Consumer<ListPagesByEngagementRequest.Builder> listPagesByEngagementRequest) Lists the engagements to contact channels that occurred by engaging a contact.
This is a convenience which creates an instance of the
ListPagesByEngagementRequest.Builder
avoiding the need to create one manually viaListPagesByEngagementRequest.builder()
- Parameters:
listPagesByEngagementRequest
- AConsumer
that will call methods onListPagesByEngagementRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPagesByEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPagesByEngagementPaginator
default ListPagesByEngagementPublisher listPagesByEngagementPaginator(ListPagesByEngagementRequest listPagesByEngagementRequest) This is a variant of
listPagesByEngagement(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByEngagementRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListPagesByEngagementPublisher publisher = client.listPagesByEngagementPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListPagesByEngagementPublisher publisher = client.listPagesByEngagementPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListPagesByEngagementResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByEngagementResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPagesByEngagement(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByEngagementRequest)
operation.- Parameters:
listPagesByEngagementRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPagesByEngagementPaginator
default ListPagesByEngagementPublisher listPagesByEngagementPaginator(Consumer<ListPagesByEngagementRequest.Builder> listPagesByEngagementRequest) This is a variant of
listPagesByEngagement(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByEngagementRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListPagesByEngagementPublisher publisher = client.listPagesByEngagementPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListPagesByEngagementPublisher publisher = client.listPagesByEngagementPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListPagesByEngagementResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByEngagementResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPagesByEngagement(software.amazon.awssdk.services.ssmcontacts.model.ListPagesByEngagementRequest)
operation.
This is a convenience which creates an instance of the
ListPagesByEngagementRequest.Builder
avoiding the need to create one manually viaListPagesByEngagementRequest.builder()
- Parameters:
listPagesByEngagementRequest
- AConsumer
that will call methods onListPagesByEngagementRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPreviewRotationShifts
default CompletableFuture<ListPreviewRotationShiftsResponse> listPreviewRotationShifts(ListPreviewRotationShiftsRequest listPreviewRotationShiftsRequest) Returns a list of shifts based on rotation configuration parameters.
The Incident Manager primarily uses this operation to populate the Preview calendar. It is not typically run by end users.
- Parameters:
listPreviewRotationShiftsRequest
-- Returns:
- A Java Future containing the result of the ListPreviewRotationShifts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPreviewRotationShifts
default CompletableFuture<ListPreviewRotationShiftsResponse> listPreviewRotationShifts(Consumer<ListPreviewRotationShiftsRequest.Builder> listPreviewRotationShiftsRequest) Returns a list of shifts based on rotation configuration parameters.
The Incident Manager primarily uses this operation to populate the Preview calendar. It is not typically run by end users.
This is a convenience which creates an instance of the
ListPreviewRotationShiftsRequest.Builder
avoiding the need to create one manually viaListPreviewRotationShiftsRequest.builder()
- Parameters:
listPreviewRotationShiftsRequest
- AConsumer
that will call methods onListPreviewRotationShiftsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListPreviewRotationShifts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPreviewRotationShiftsPaginator
default ListPreviewRotationShiftsPublisher listPreviewRotationShiftsPaginator(ListPreviewRotationShiftsRequest listPreviewRotationShiftsRequest) This is a variant of
listPreviewRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListPreviewRotationShiftsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListPreviewRotationShiftsPublisher publisher = client.listPreviewRotationShiftsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListPreviewRotationShiftsPublisher publisher = client.listPreviewRotationShiftsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListPreviewRotationShiftsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListPreviewRotationShiftsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPreviewRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListPreviewRotationShiftsRequest)
operation.- Parameters:
listPreviewRotationShiftsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPreviewRotationShiftsPaginator
default ListPreviewRotationShiftsPublisher listPreviewRotationShiftsPaginator(Consumer<ListPreviewRotationShiftsRequest.Builder> listPreviewRotationShiftsRequest) This is a variant of
listPreviewRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListPreviewRotationShiftsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListPreviewRotationShiftsPublisher publisher = client.listPreviewRotationShiftsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListPreviewRotationShiftsPublisher publisher = client.listPreviewRotationShiftsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListPreviewRotationShiftsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListPreviewRotationShiftsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPreviewRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListPreviewRotationShiftsRequest)
operation.
This is a convenience which creates an instance of the
ListPreviewRotationShiftsRequest.Builder
avoiding the need to create one manually viaListPreviewRotationShiftsRequest.builder()
- Parameters:
listPreviewRotationShiftsRequest
- AConsumer
that will call methods onListPreviewRotationShiftsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotationOverrides
default CompletableFuture<ListRotationOverridesResponse> listRotationOverrides(ListRotationOverridesRequest listRotationOverridesRequest) Retrieves a list of overrides currently specified for an on-call rotation.
- Parameters:
listRotationOverridesRequest
-- Returns:
- A Java Future containing the result of the ListRotationOverrides operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotationOverrides
default CompletableFuture<ListRotationOverridesResponse> listRotationOverrides(Consumer<ListRotationOverridesRequest.Builder> listRotationOverridesRequest) Retrieves a list of overrides currently specified for an on-call rotation.
This is a convenience which creates an instance of the
ListRotationOverridesRequest.Builder
avoiding the need to create one manually viaListRotationOverridesRequest.builder()
- Parameters:
listRotationOverridesRequest
- AConsumer
that will call methods onListRotationOverridesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRotationOverrides operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotationOverridesPaginator
default ListRotationOverridesPublisher listRotationOverridesPaginator(ListRotationOverridesRequest listRotationOverridesRequest) This is a variant of
listRotationOverrides(software.amazon.awssdk.services.ssmcontacts.model.ListRotationOverridesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListRotationOverridesPublisher publisher = client.listRotationOverridesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListRotationOverridesPublisher publisher = client.listRotationOverridesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListRotationOverridesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListRotationOverridesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRotationOverrides(software.amazon.awssdk.services.ssmcontacts.model.ListRotationOverridesRequest)
operation.- Parameters:
listRotationOverridesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotationOverridesPaginator
default ListRotationOverridesPublisher listRotationOverridesPaginator(Consumer<ListRotationOverridesRequest.Builder> listRotationOverridesRequest) This is a variant of
listRotationOverrides(software.amazon.awssdk.services.ssmcontacts.model.ListRotationOverridesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListRotationOverridesPublisher publisher = client.listRotationOverridesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListRotationOverridesPublisher publisher = client.listRotationOverridesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListRotationOverridesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListRotationOverridesResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRotationOverrides(software.amazon.awssdk.services.ssmcontacts.model.ListRotationOverridesRequest)
operation.
This is a convenience which creates an instance of the
ListRotationOverridesRequest.Builder
avoiding the need to create one manually viaListRotationOverridesRequest.builder()
- Parameters:
listRotationOverridesRequest
- AConsumer
that will call methods onListRotationOverridesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotationShifts
default CompletableFuture<ListRotationShiftsResponse> listRotationShifts(ListRotationShiftsRequest listRotationShiftsRequest) Returns a list of shifts generated by an existing rotation in the system.
- Parameters:
listRotationShiftsRequest
-- Returns:
- A Java Future containing the result of the ListRotationShifts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotationShifts
default CompletableFuture<ListRotationShiftsResponse> listRotationShifts(Consumer<ListRotationShiftsRequest.Builder> listRotationShiftsRequest) Returns a list of shifts generated by an existing rotation in the system.
This is a convenience which creates an instance of the
ListRotationShiftsRequest.Builder
avoiding the need to create one manually viaListRotationShiftsRequest.builder()
- Parameters:
listRotationShiftsRequest
- AConsumer
that will call methods onListRotationShiftsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRotationShifts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotationShiftsPaginator
default ListRotationShiftsPublisher listRotationShiftsPaginator(ListRotationShiftsRequest listRotationShiftsRequest) This is a variant of
listRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListRotationShiftsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListRotationShiftsPublisher publisher = client.listRotationShiftsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListRotationShiftsPublisher publisher = client.listRotationShiftsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListRotationShiftsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListRotationShiftsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListRotationShiftsRequest)
operation.- Parameters:
listRotationShiftsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotationShiftsPaginator
default ListRotationShiftsPublisher listRotationShiftsPaginator(Consumer<ListRotationShiftsRequest.Builder> listRotationShiftsRequest) This is a variant of
listRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListRotationShiftsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListRotationShiftsPublisher publisher = client.listRotationShiftsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListRotationShiftsPublisher publisher = client.listRotationShiftsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListRotationShiftsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListRotationShiftsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRotationShifts(software.amazon.awssdk.services.ssmcontacts.model.ListRotationShiftsRequest)
operation.
This is a convenience which creates an instance of the
ListRotationShiftsRequest.Builder
avoiding the need to create one manually viaListRotationShiftsRequest.builder()
- Parameters:
listRotationShiftsRequest
- AConsumer
that will call methods onListRotationShiftsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotations
default CompletableFuture<ListRotationsResponse> listRotations(ListRotationsRequest listRotationsRequest) Retrieves a list of on-call rotations.
- Parameters:
listRotationsRequest
-- Returns:
- A Java Future containing the result of the ListRotations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotations
default CompletableFuture<ListRotationsResponse> listRotations(Consumer<ListRotationsRequest.Builder> listRotationsRequest) Retrieves a list of on-call rotations.
This is a convenience which creates an instance of the
ListRotationsRequest.Builder
avoiding the need to create one manually viaListRotationsRequest.builder()
- Parameters:
listRotationsRequest
- AConsumer
that will call methods onListRotationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListRotations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotationsPaginator
This is a variant of
listRotations(software.amazon.awssdk.services.ssmcontacts.model.ListRotationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListRotationsPublisher publisher = client.listRotationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListRotationsPublisher publisher = client.listRotationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListRotationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListRotationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRotations(software.amazon.awssdk.services.ssmcontacts.model.ListRotationsRequest)
operation.- Parameters:
listRotationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRotationsPaginator
default ListRotationsPublisher listRotationsPaginator(Consumer<ListRotationsRequest.Builder> listRotationsRequest) This is a variant of
listRotations(software.amazon.awssdk.services.ssmcontacts.model.ListRotationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.ssmcontacts.paginators.ListRotationsPublisher publisher = client.listRotationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.ssmcontacts.paginators.ListRotationsPublisher publisher = client.listRotationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.ssmcontacts.model.ListRotationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.ssmcontacts.model.ListRotationsResponse response) { //... }; });
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRotations(software.amazon.awssdk.services.ssmcontacts.model.ListRotationsRequest)
operation.
This is a convenience which creates an instance of the
ListRotationsRequest.Builder
avoiding the need to create one manually viaListRotationsRequest.builder()
- Parameters:
listRotationsRequest
- AConsumer
that will call methods onListRotationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException 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) Lists the tags of an escalation plan or contact.
- 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.- AccessDeniedException You don't have sufficient access to perform this operation.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- InternalServerException Unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException 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) Lists the tags of an escalation plan or contact.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- InternalServerException Unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putContactPolicy
default CompletableFuture<PutContactPolicyResponse> putContactPolicy(PutContactPolicyRequest putContactPolicyRequest) Adds a resource policy to the specified contact or escalation plan. The resource policy is used to share the contact or escalation plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Setting up cross-account functionality.
- Parameters:
putContactPolicyRequest
-- Returns:
- A Java Future containing the result of the PutContactPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException Unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putContactPolicy
default CompletableFuture<PutContactPolicyResponse> putContactPolicy(Consumer<PutContactPolicyRequest.Builder> putContactPolicyRequest) Adds a resource policy to the specified contact or escalation plan. The resource policy is used to share the contact or escalation plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Setting up cross-account functionality.
This is a convenience which creates an instance of the
PutContactPolicyRequest.Builder
avoiding the need to create one manually viaPutContactPolicyRequest.builder()
- Parameters:
putContactPolicyRequest
- AConsumer
that will call methods onPutContactPolicyRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutContactPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException Unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendActivationCode
default CompletableFuture<SendActivationCodeResponse> sendActivationCode(SendActivationCodeRequest sendActivationCodeRequest) Sends an activation code to a contact channel. The contact can use this code to activate the contact channel in the console or with the
ActivateChannel
operation. Incident Manager can't engage a contact channel until it has been activated.- Parameters:
sendActivationCodeRequest
-- Returns:
- A Java Future containing the result of the SendActivationCode operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendActivationCode
default CompletableFuture<SendActivationCodeResponse> sendActivationCode(Consumer<SendActivationCodeRequest.Builder> sendActivationCodeRequest) Sends an activation code to a contact channel. The contact can use this code to activate the contact channel in the console or with the
ActivateChannel
operation. Incident Manager can't engage a contact channel until it has been activated.
This is a convenience which creates an instance of the
SendActivationCodeRequest.Builder
avoiding the need to create one manually viaSendActivationCodeRequest.builder()
- Parameters:
sendActivationCodeRequest
- AConsumer
that will call methods onSendActivationCodeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SendActivationCode operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startEngagement
default CompletableFuture<StartEngagementResponse> startEngagement(StartEngagementRequest startEngagementRequest) Starts an engagement to a contact or escalation plan. The engagement engages each contact specified in the incident.
- Parameters:
startEngagementRequest
-- Returns:
- A Java Future containing the result of the StartEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startEngagement
default CompletableFuture<StartEngagementResponse> startEngagement(Consumer<StartEngagementRequest.Builder> startEngagementRequest) Starts an engagement to a contact or escalation plan. The engagement engages each contact specified in the incident.
This is a convenience which creates an instance of the
StartEngagementRequest.Builder
avoiding the need to create one manually viaStartEngagementRequest.builder()
- Parameters:
startEngagementRequest
- AConsumer
that will call methods onStartEngagementRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StartEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopEngagement
default CompletableFuture<StopEngagementResponse> stopEngagement(StopEngagementRequest stopEngagementRequest) Stops an engagement before it finishes the final stage of the escalation plan or engagement plan. Further contacts aren't engaged.
- Parameters:
stopEngagementRequest
-- Returns:
- A Java Future containing the result of the StopEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException Unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopEngagement
default CompletableFuture<StopEngagementResponse> stopEngagement(Consumer<StopEngagementRequest.Builder> stopEngagementRequest) Stops an engagement before it finishes the final stage of the escalation plan or engagement plan. Further contacts aren't engaged.
This is a convenience which creates an instance of the
StopEngagementRequest.Builder
avoiding the need to create one manually viaStopEngagementRequest.builder()
- Parameters:
stopEngagementRequest
- AConsumer
that will call methods onStopEngagementRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the StopEngagement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException Unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Tags a contact or escalation plan. You can tag only contacts and escalation plans in the first region of your replication set.
- 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.- AccessDeniedException You don't have sufficient access to perform this operation.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException Request references a resource that doesn't exist.
- InternalServerException Unexpected error occurred while processing the request.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException 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) Tags a contact or escalation plan. You can tag only contacts and escalation plans in the first region of your replication set.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException Request references a resource that doesn't exist.
- InternalServerException Unexpected error occurred while processing the request.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException 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 tags from the specified resource.
- 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.- AccessDeniedException You don't have sufficient access to perform this operation.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- InternalServerException Unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException 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 tags from the specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- InternalServerException Unexpected error occurred while processing the request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContact
default CompletableFuture<UpdateContactResponse> updateContact(UpdateContactRequest updateContactRequest) Updates the contact or escalation plan specified.
- Parameters:
updateContactRequest
-- Returns:
- A Java Future containing the result of the UpdateContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- DataEncryptionException The operation failed to due an encryption key error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContact
default CompletableFuture<UpdateContactResponse> updateContact(Consumer<UpdateContactRequest.Builder> updateContactRequest) Updates the contact or escalation plan specified.
This is a convenience which creates an instance of the
UpdateContactRequest.Builder
avoiding the need to create one manually viaUpdateContactRequest.builder()
- Parameters:
updateContactRequest
- AConsumer
that will call methods onUpdateContactRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- DataEncryptionException The operation failed to due an encryption key error.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactChannel
default CompletableFuture<UpdateContactChannelResponse> updateContactChannel(UpdateContactChannelRequest updateContactChannelRequest) Updates a contact's contact channel.
- Parameters:
updateContactChannelRequest
-- Returns:
- A Java Future containing the result of the UpdateContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateContactChannel
default CompletableFuture<UpdateContactChannelResponse> updateContactChannel(Consumer<UpdateContactChannelRequest.Builder> updateContactChannelRequest) Updates a contact's contact channel.
This is a convenience which creates an instance of the
UpdateContactChannelRequest.Builder
avoiding the need to create one manually viaUpdateContactChannelRequest.builder()
- Parameters:
updateContactChannelRequest
- AConsumer
that will call methods onUpdateContactChannelRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateContactChannel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- DataEncryptionException The operation failed to due an encryption key error.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRotation
default CompletableFuture<UpdateRotationResponse> updateRotation(UpdateRotationRequest updateRotationRequest) Updates the information specified for an on-call rotation.
- Parameters:
updateRotationRequest
-- Returns:
- A Java Future containing the result of the UpdateRotation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRotation
default CompletableFuture<UpdateRotationResponse> updateRotation(Consumer<UpdateRotationRequest.Builder> updateRotationRequest) Updates the information specified for an on-call rotation.
This is a convenience which creates an instance of the
UpdateRotationRequest.Builder
avoiding the need to create one manually viaUpdateRotationRequest.builder()
- Parameters:
updateRotationRequest
- AConsumer
that will call methods onUpdateRotationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateRotation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- AccessDeniedException You don't have sufficient access to perform this operation.
- ConflictException Updating or deleting a resource causes an inconsistent state.
- InternalServerException Unexpected error occurred while processing the request.
- ResourceNotFoundException Request references a resource that doesn't exist.
- ThrottlingException The request was denied due to request throttling.
- ValidationException The input fails to satisfy the constraints specified by an Amazon Web Services service.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SsmContactsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aSsmContactsAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aSsmContactsAsyncClient
.
-