@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface SsmIncidentsClient extends AwsClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static SsmIncidentsClientBuilder |
builder()
Create a builder that can be used to configure and create a
SsmIncidentsClient. |
static SsmIncidentsClient |
create()
Create a
SsmIncidentsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateReplicationSetResponse |
createReplicationSet(Consumer<CreateReplicationSetRequest.Builder> createReplicationSetRequest)
A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.
|
default CreateReplicationSetResponse |
createReplicationSet(CreateReplicationSetRequest createReplicationSetRequest)
A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.
|
default CreateResponsePlanResponse |
createResponsePlan(Consumer<CreateResponsePlanRequest.Builder> createResponsePlanRequest)
Creates a response plan that automates the initial response to incidents.
|
default CreateResponsePlanResponse |
createResponsePlan(CreateResponsePlanRequest createResponsePlanRequest)
Creates a response plan that automates the initial response to incidents.
|
default CreateTimelineEventResponse |
createTimelineEvent(Consumer<CreateTimelineEventRequest.Builder> createTimelineEventRequest)
Creates a custom timeline event on the incident details page of an incident record.
|
default CreateTimelineEventResponse |
createTimelineEvent(CreateTimelineEventRequest createTimelineEventRequest)
Creates a custom timeline event on the incident details page of an incident record.
|
default DeleteIncidentRecordResponse |
deleteIncidentRecord(Consumer<DeleteIncidentRecordRequest.Builder> deleteIncidentRecordRequest)
Delete an incident record from Incident Manager.
|
default DeleteIncidentRecordResponse |
deleteIncidentRecord(DeleteIncidentRecordRequest deleteIncidentRecordRequest)
Delete an incident record from Incident Manager.
|
default DeleteReplicationSetResponse |
deleteReplicationSet(Consumer<DeleteReplicationSetRequest.Builder> deleteReplicationSetRequest)
Deletes all Regions in your replication set.
|
default DeleteReplicationSetResponse |
deleteReplicationSet(DeleteReplicationSetRequest deleteReplicationSetRequest)
Deletes all Regions in your replication set.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest)
Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.
|
default DeleteResourcePolicyResponse |
deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest)
Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.
|
default DeleteResponsePlanResponse |
deleteResponsePlan(Consumer<DeleteResponsePlanRequest.Builder> deleteResponsePlanRequest)
Deletes the specified response plan.
|
default DeleteResponsePlanResponse |
deleteResponsePlan(DeleteResponsePlanRequest deleteResponsePlanRequest)
Deletes the specified response plan.
|
default DeleteTimelineEventResponse |
deleteTimelineEvent(Consumer<DeleteTimelineEventRequest.Builder> deleteTimelineEventRequest)
Deletes a timeline event from an incident.
|
default DeleteTimelineEventResponse |
deleteTimelineEvent(DeleteTimelineEventRequest deleteTimelineEventRequest)
Deletes a timeline event from an incident.
|
default GetIncidentRecordResponse |
getIncidentRecord(Consumer<GetIncidentRecordRequest.Builder> getIncidentRecordRequest)
Returns the details for the specified incident record.
|
default GetIncidentRecordResponse |
getIncidentRecord(GetIncidentRecordRequest getIncidentRecordRequest)
Returns the details for the specified incident record.
|
default GetReplicationSetResponse |
getReplicationSet(Consumer<GetReplicationSetRequest.Builder> getReplicationSetRequest)
Retrieve your Incident Manager replication set.
|
default GetReplicationSetResponse |
getReplicationSet(GetReplicationSetRequest getReplicationSetRequest)
Retrieve your Incident Manager replication set.
|
default GetResourcePoliciesResponse |
getResourcePolicies(Consumer<GetResourcePoliciesRequest.Builder> getResourcePoliciesRequest)
Retrieves the resource policies attached to the specified response plan.
|
default GetResourcePoliciesResponse |
getResourcePolicies(GetResourcePoliciesRequest getResourcePoliciesRequest)
Retrieves the resource policies attached to the specified response plan.
|
default GetResourcePoliciesIterable |
getResourcePoliciesPaginator(Consumer<GetResourcePoliciesRequest.Builder> getResourcePoliciesRequest)
Retrieves the resource policies attached to the specified response plan.
|
default GetResourcePoliciesIterable |
getResourcePoliciesPaginator(GetResourcePoliciesRequest getResourcePoliciesRequest)
Retrieves the resource policies attached to the specified response plan.
|
default GetResponsePlanResponse |
getResponsePlan(Consumer<GetResponsePlanRequest.Builder> getResponsePlanRequest)
Retrieves the details of the specified response plan.
|
default GetResponsePlanResponse |
getResponsePlan(GetResponsePlanRequest getResponsePlanRequest)
Retrieves the details of the specified response plan.
|
default GetTimelineEventResponse |
getTimelineEvent(Consumer<GetTimelineEventRequest.Builder> getTimelineEventRequest)
Retrieves a timeline event based on its ID and incident record.
|
default GetTimelineEventResponse |
getTimelineEvent(GetTimelineEventRequest getTimelineEventRequest)
Retrieves a timeline event based on its ID and incident record.
|
default ListIncidentRecordsResponse |
listIncidentRecords(Consumer<ListIncidentRecordsRequest.Builder> listIncidentRecordsRequest)
Lists all incident records in your account.
|
default ListIncidentRecordsResponse |
listIncidentRecords(ListIncidentRecordsRequest listIncidentRecordsRequest)
Lists all incident records in your account.
|
default ListIncidentRecordsIterable |
listIncidentRecordsPaginator(Consumer<ListIncidentRecordsRequest.Builder> listIncidentRecordsRequest)
Lists all incident records in your account.
|
default ListIncidentRecordsIterable |
listIncidentRecordsPaginator(ListIncidentRecordsRequest listIncidentRecordsRequest)
Lists all incident records in your account.
|
default ListRelatedItemsResponse |
listRelatedItems(Consumer<ListRelatedItemsRequest.Builder> listRelatedItemsRequest)
List all related items for an incident record.
|
default ListRelatedItemsResponse |
listRelatedItems(ListRelatedItemsRequest listRelatedItemsRequest)
List all related items for an incident record.
|
default ListRelatedItemsIterable |
listRelatedItemsPaginator(Consumer<ListRelatedItemsRequest.Builder> listRelatedItemsRequest)
List all related items for an incident record.
|
default ListRelatedItemsIterable |
listRelatedItemsPaginator(ListRelatedItemsRequest listRelatedItemsRequest)
List all related items for an incident record.
|
default ListReplicationSetsResponse |
listReplicationSets(Consumer<ListReplicationSetsRequest.Builder> listReplicationSetsRequest)
Lists details about the replication set configured in your account.
|
default ListReplicationSetsResponse |
listReplicationSets(ListReplicationSetsRequest listReplicationSetsRequest)
Lists details about the replication set configured in your account.
|
default ListReplicationSetsIterable |
listReplicationSetsPaginator(Consumer<ListReplicationSetsRequest.Builder> listReplicationSetsRequest)
Lists details about the replication set configured in your account.
|
default ListReplicationSetsIterable |
listReplicationSetsPaginator(ListReplicationSetsRequest listReplicationSetsRequest)
Lists details about the replication set configured in your account.
|
default ListResponsePlansResponse |
listResponsePlans(Consumer<ListResponsePlansRequest.Builder> listResponsePlansRequest)
Lists all response plans in your account.
|
default ListResponsePlansResponse |
listResponsePlans(ListResponsePlansRequest listResponsePlansRequest)
Lists all response plans in your account.
|
default ListResponsePlansIterable |
listResponsePlansPaginator(Consumer<ListResponsePlansRequest.Builder> listResponsePlansRequest)
Lists all response plans in your account.
|
default ListResponsePlansIterable |
listResponsePlansPaginator(ListResponsePlansRequest listResponsePlansRequest)
Lists all response plans in your account.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags that are attached to the specified response plan.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags that are attached to the specified response plan.
|
default ListTimelineEventsResponse |
listTimelineEvents(Consumer<ListTimelineEventsRequest.Builder> listTimelineEventsRequest)
Lists timeline events for the specified incident record.
|
default ListTimelineEventsResponse |
listTimelineEvents(ListTimelineEventsRequest listTimelineEventsRequest)
Lists timeline events for the specified incident record.
|
default ListTimelineEventsIterable |
listTimelineEventsPaginator(Consumer<ListTimelineEventsRequest.Builder> listTimelineEventsRequest)
Lists timeline events for the specified incident record.
|
default ListTimelineEventsIterable |
listTimelineEventsPaginator(ListTimelineEventsRequest listTimelineEventsRequest)
Lists timeline events for the specified incident record.
|
default PutResourcePolicyResponse |
putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest)
Adds a resource policy to the specified response plan.
|
default PutResourcePolicyResponse |
putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest)
Adds a resource policy to the specified response plan.
|
default SsmIncidentsServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default StartIncidentResponse |
startIncident(Consumer<StartIncidentRequest.Builder> startIncidentRequest)
Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
|
default StartIncidentResponse |
startIncident(StartIncidentRequest startIncidentRequest)
Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
|
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds a tag to a response plan.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds a tag to a response plan.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes a tag from a resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes a tag from a resource.
|
default UpdateDeletionProtectionResponse |
updateDeletionProtection(Consumer<UpdateDeletionProtectionRequest.Builder> updateDeletionProtectionRequest)
Update deletion protection to either allow or deny deletion of the final Region in a replication set.
|
default UpdateDeletionProtectionResponse |
updateDeletionProtection(UpdateDeletionProtectionRequest updateDeletionProtectionRequest)
Update deletion protection to either allow or deny deletion of the final Region in a replication set.
|
default UpdateIncidentRecordResponse |
updateIncidentRecord(Consumer<UpdateIncidentRecordRequest.Builder> updateIncidentRecordRequest)
Update the details of an incident record.
|
default UpdateIncidentRecordResponse |
updateIncidentRecord(UpdateIncidentRecordRequest updateIncidentRecordRequest)
Update the details of an incident record.
|
default UpdateRelatedItemsResponse |
updateRelatedItems(Consumer<UpdateRelatedItemsRequest.Builder> updateRelatedItemsRequest)
Add or remove related items from the related items tab of an incident record.
|
default UpdateRelatedItemsResponse |
updateRelatedItems(UpdateRelatedItemsRequest updateRelatedItemsRequest)
Add or remove related items from the related items tab of an incident record.
|
default UpdateReplicationSetResponse |
updateReplicationSet(Consumer<UpdateReplicationSetRequest.Builder> updateReplicationSetRequest)
Add or delete Regions from your replication set.
|
default UpdateReplicationSetResponse |
updateReplicationSet(UpdateReplicationSetRequest updateReplicationSetRequest)
Add or delete Regions from your replication set.
|
default UpdateResponsePlanResponse |
updateResponsePlan(Consumer<UpdateResponsePlanRequest.Builder> updateResponsePlanRequest)
Updates the specified response plan.
|
default UpdateResponsePlanResponse |
updateResponsePlan(UpdateResponsePlanRequest updateResponsePlanRequest)
Updates the specified response plan.
|
default UpdateTimelineEventResponse |
updateTimelineEvent(Consumer<UpdateTimelineEventRequest.Builder> updateTimelineEventRequest)
Updates a timeline event.
|
default UpdateTimelineEventResponse |
updateTimelineEvent(UpdateTimelineEventRequest updateTimelineEventRequest)
Updates a timeline event.
|
default SsmIncidentsWaiter |
waiter()
Create an instance of
SsmIncidentsWaiter using this client. |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CreateReplicationSetResponse createReplicationSet(CreateReplicationSetRequest createReplicationSetRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.
createReplicationSetRequest - ServiceQuotaExceededException - Request would cause a service quota to be exceeded.ThrottlingException - The request was denied due to request throttling.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateReplicationSetResponse createReplicationSet(Consumer<CreateReplicationSetRequest.Builder> createReplicationSetRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.
This is a convenience which creates an instance of the CreateReplicationSetRequest.Builder avoiding the
need to create one manually via CreateReplicationSetRequest.builder()
createReplicationSetRequest - A Consumer that will call methods on
CreateReplicationSetRequest.Builder to create a
request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.ThrottlingException - The request was denied due to request throttling.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResponsePlanResponse createResponsePlan(CreateResponsePlanRequest createResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Creates a response plan that automates the initial response to incidents. A response plan engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning of an incident.
createResponsePlanRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateResponsePlanResponse createResponsePlan(Consumer<CreateResponsePlanRequest.Builder> createResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Creates a response plan that automates the initial response to incidents. A response plan engages contacts, starts chat channel collaboration, and initiates runbooks at the beginning of an incident.
This is a convenience which creates an instance of the CreateResponsePlanRequest.Builder avoiding the
need to create one manually via CreateResponsePlanRequest.builder()
createResponsePlanRequest - A Consumer that will call methods on
CreateResponsePlanRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTimelineEventResponse createTimelineEvent(CreateTimelineEventRequest createTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Creates a custom timeline event on the incident details page of an incident record. Incident Manager automatically creates timeline events that mark key moments during an incident. You can create custom timeline events to mark important events that Incident Manager can detect automatically.
createTimelineEventRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateTimelineEventResponse createTimelineEvent(Consumer<CreateTimelineEventRequest.Builder> createTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Creates a custom timeline event on the incident details page of an incident record. Incident Manager automatically creates timeline events that mark key moments during an incident. You can create custom timeline events to mark important events that Incident Manager can detect automatically.
This is a convenience which creates an instance of the CreateTimelineEventRequest.Builder avoiding the
need to create one manually via CreateTimelineEventRequest.builder()
createTimelineEventRequest - A Consumer that will call methods on
CreateTimelineEventRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteIncidentRecordResponse deleteIncidentRecord(DeleteIncidentRecordRequest deleteIncidentRecordRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Delete an incident record from Incident Manager.
deleteIncidentRecordRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteIncidentRecordResponse deleteIncidentRecord(Consumer<DeleteIncidentRecordRequest.Builder> deleteIncidentRecordRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Delete an incident record from Incident Manager.
This is a convenience which creates an instance of the DeleteIncidentRecordRequest.Builder avoiding the
need to create one manually via DeleteIncidentRecordRequest.builder()
deleteIncidentRecordRequest - A Consumer that will call methods on
DeleteIncidentRecordRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteReplicationSetResponse deleteReplicationSet(DeleteReplicationSetRequest deleteReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Deletes all Regions in your replication set. Deleting the replication set deletes all Incident Manager data.
deleteReplicationSetRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteReplicationSetResponse deleteReplicationSet(Consumer<DeleteReplicationSetRequest.Builder> deleteReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Deletes all Regions in your replication set. Deleting the replication set deletes all Incident Manager data.
This is a convenience which creates an instance of the DeleteReplicationSetRequest.Builder avoiding the
need to create one manually via DeleteReplicationSetRequest.builder()
deleteReplicationSetRequest - A Consumer that will call methods on
DeleteReplicationSetRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.
deleteResourcePolicyRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.
This is a convenience which creates an instance of the DeleteResourcePolicyRequest.Builder avoiding the
need to create one manually via DeleteResourcePolicyRequest.builder()
deleteResourcePolicyRequest - A Consumer that will call methods on
DeleteResourcePolicyRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResponsePlanResponse deleteResponsePlan(DeleteResponsePlanRequest deleteResponsePlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this response plan.
deleteResponsePlanRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteResponsePlanResponse deleteResponsePlan(Consumer<DeleteResponsePlanRequest.Builder> deleteResponsePlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this response plan.
This is a convenience which creates an instance of the DeleteResponsePlanRequest.Builder avoiding the
need to create one manually via DeleteResponsePlanRequest.builder()
deleteResponsePlanRequest - A Consumer that will call methods on
DeleteResponsePlanRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTimelineEventResponse deleteTimelineEvent(DeleteTimelineEventRequest deleteTimelineEventRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Deletes a timeline event from an incident.
deleteTimelineEventRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteTimelineEventResponse deleteTimelineEvent(Consumer<DeleteTimelineEventRequest.Builder> deleteTimelineEventRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Deletes a timeline event from an incident.
This is a convenience which creates an instance of the DeleteTimelineEventRequest.Builder avoiding the
need to create one manually via DeleteTimelineEventRequest.builder()
deleteTimelineEventRequest - A Consumer that will call methods on
DeleteTimelineEventRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetIncidentRecordResponse getIncidentRecord(GetIncidentRecordRequest getIncidentRecordRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Returns the details for the specified incident record.
getIncidentRecordRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetIncidentRecordResponse getIncidentRecord(Consumer<GetIncidentRecordRequest.Builder> getIncidentRecordRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Returns the details for the specified incident record.
This is a convenience which creates an instance of the GetIncidentRecordRequest.Builder avoiding the need
to create one manually via GetIncidentRecordRequest.builder()
getIncidentRecordRequest - A Consumer that will call methods on
GetIncidentRecordRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetReplicationSetResponse getReplicationSet(GetReplicationSetRequest getReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Retrieve your Incident Manager replication set.
getReplicationSetRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetReplicationSetResponse getReplicationSet(Consumer<GetReplicationSetRequest.Builder> getReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Retrieve your Incident Manager replication set.
This is a convenience which creates an instance of the GetReplicationSetRequest.Builder avoiding the need
to create one manually via GetReplicationSetRequest.builder()
getReplicationSetRequest - A Consumer that will call methods on
GetReplicationSetRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourcePoliciesResponse getResourcePolicies(GetResourcePoliciesRequest getResourcePoliciesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Retrieves the resource policies attached to the specified response plan.
getResourcePoliciesRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourcePoliciesResponse getResourcePolicies(Consumer<GetResourcePoliciesRequest.Builder> getResourcePoliciesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Retrieves the resource policies attached to the specified response plan.
This is a convenience which creates an instance of the GetResourcePoliciesRequest.Builder avoiding the
need to create one manually via GetResourcePoliciesRequest.builder()
getResourcePoliciesRequest - A Consumer that will call methods on
GetResourcePoliciesRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourcePoliciesIterable getResourcePoliciesPaginator(GetResourcePoliciesRequest getResourcePoliciesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Retrieves the resource policies attached to the specified response plan.
This is a variant of
getResourcePolicies(software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client.getResourcePoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client
.getResourcePoliciesPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client.getResourcePoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
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
getResourcePolicies(software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesRequest)
operation.
getResourcePoliciesRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourcePoliciesIterable getResourcePoliciesPaginator(Consumer<GetResourcePoliciesRequest.Builder> getResourcePoliciesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Retrieves the resource policies attached to the specified response plan.
This is a variant of
getResourcePolicies(software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client.getResourcePoliciesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client
.getResourcePoliciesPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client.getResourcePoliciesPaginator(request);
responses.iterator().forEachRemaining(....);
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
getResourcePolicies(software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesRequest)
operation.
This is a convenience which creates an instance of the GetResourcePoliciesRequest.Builder avoiding the
need to create one manually via GetResourcePoliciesRequest.builder()
getResourcePoliciesRequest - A Consumer that will call methods on
GetResourcePoliciesRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResponsePlanResponse getResponsePlan(GetResponsePlanRequest getResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Retrieves the details of the specified response plan.
getResponsePlanRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResponsePlanResponse getResponsePlan(Consumer<GetResponsePlanRequest.Builder> getResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Retrieves the details of the specified response plan.
This is a convenience which creates an instance of the GetResponsePlanRequest.Builder avoiding the need
to create one manually via GetResponsePlanRequest.builder()
getResponsePlanRequest - A Consumer that will call methods on
GetResponsePlanRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTimelineEventResponse getTimelineEvent(GetTimelineEventRequest getTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Retrieves a timeline event based on its ID and incident record.
getTimelineEventRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetTimelineEventResponse getTimelineEvent(Consumer<GetTimelineEventRequest.Builder> getTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Retrieves a timeline event based on its ID and incident record.
This is a convenience which creates an instance of the GetTimelineEventRequest.Builder avoiding the need
to create one manually via GetTimelineEventRequest.builder()
getTimelineEventRequest - A Consumer that will call methods on
GetTimelineEventRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListIncidentRecordsResponse listIncidentRecords(ListIncidentRecordsRequest listIncidentRecordsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists all incident records in your account. Use this command to retrieve the Amazon Resource Name (ARN) of the incident record you want to update.
listIncidentRecordsRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListIncidentRecordsResponse listIncidentRecords(Consumer<ListIncidentRecordsRequest.Builder> listIncidentRecordsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists all incident records in your account. Use this command to retrieve the Amazon Resource Name (ARN) of the incident record you want to update.
This is a convenience which creates an instance of the ListIncidentRecordsRequest.Builder avoiding the
need to create one manually via ListIncidentRecordsRequest.builder()
listIncidentRecordsRequest - A Consumer that will call methods on
ListIncidentRecordsRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListIncidentRecordsIterable listIncidentRecordsPaginator(ListIncidentRecordsRequest listIncidentRecordsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists all incident records in your account. Use this command to retrieve the Amazon Resource Name (ARN) of the incident record you want to update.
This is a variant of
listIncidentRecords(software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client.listIncidentRecordsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client
.listIncidentRecordsPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client.listIncidentRecordsPaginator(request);
responses.iterator().forEachRemaining(....);
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
listIncidentRecords(software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsRequest)
operation.
listIncidentRecordsRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListIncidentRecordsIterable listIncidentRecordsPaginator(Consumer<ListIncidentRecordsRequest.Builder> listIncidentRecordsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists all incident records in your account. Use this command to retrieve the Amazon Resource Name (ARN) of the incident record you want to update.
This is a variant of
listIncidentRecords(software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client.listIncidentRecordsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client
.listIncidentRecordsPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client.listIncidentRecordsPaginator(request);
responses.iterator().forEachRemaining(....);
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
listIncidentRecords(software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsRequest)
operation.
This is a convenience which creates an instance of the ListIncidentRecordsRequest.Builder avoiding the
need to create one manually via ListIncidentRecordsRequest.builder()
listIncidentRecordsRequest - A Consumer that will call methods on
ListIncidentRecordsRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRelatedItemsResponse listRelatedItems(ListRelatedItemsRequest listRelatedItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
List all related items for an incident record.
listRelatedItemsRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRelatedItemsResponse listRelatedItems(Consumer<ListRelatedItemsRequest.Builder> listRelatedItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
List all related items for an incident record.
This is a convenience which creates an instance of the ListRelatedItemsRequest.Builder avoiding the need
to create one manually via ListRelatedItemsRequest.builder()
listRelatedItemsRequest - A Consumer that will call methods on
ListRelatedItemsRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRelatedItemsIterable listRelatedItemsPaginator(ListRelatedItemsRequest listRelatedItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
List all related items for an incident record.
This is a variant of
listRelatedItems(software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client.listRelatedItemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client
.listRelatedItemsPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client.listRelatedItemsPaginator(request);
responses.iterator().forEachRemaining(....);
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
listRelatedItems(software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsRequest)
operation.
listRelatedItemsRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListRelatedItemsIterable listRelatedItemsPaginator(Consumer<ListRelatedItemsRequest.Builder> listRelatedItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
List all related items for an incident record.
This is a variant of
listRelatedItems(software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client.listRelatedItemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client
.listRelatedItemsPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client.listRelatedItemsPaginator(request);
responses.iterator().forEachRemaining(....);
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
listRelatedItems(software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsRequest)
operation.
This is a convenience which creates an instance of the ListRelatedItemsRequest.Builder avoiding the need
to create one manually via ListRelatedItemsRequest.builder()
listRelatedItemsRequest - A Consumer that will call methods on
ListRelatedItemsRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListReplicationSetsResponse listReplicationSets(ListReplicationSetsRequest listReplicationSetsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists details about the replication set configured in your account.
listReplicationSetsRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListReplicationSetsResponse listReplicationSets(Consumer<ListReplicationSetsRequest.Builder> listReplicationSetsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists details about the replication set configured in your account.
This is a convenience which creates an instance of the ListReplicationSetsRequest.Builder avoiding the
need to create one manually via ListReplicationSetsRequest.builder()
listReplicationSetsRequest - A Consumer that will call methods on
ListReplicationSetsRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListReplicationSetsIterable listReplicationSetsPaginator(ListReplicationSetsRequest listReplicationSetsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists details about the replication set configured in your account.
This is a variant of
listReplicationSets(software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client.listReplicationSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client
.listReplicationSetsPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client.listReplicationSetsPaginator(request);
responses.iterator().forEachRemaining(....);
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
listReplicationSets(software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsRequest)
operation.
listReplicationSetsRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListReplicationSetsIterable listReplicationSetsPaginator(Consumer<ListReplicationSetsRequest.Builder> listReplicationSetsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists details about the replication set configured in your account.
This is a variant of
listReplicationSets(software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client.listReplicationSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client
.listReplicationSetsPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client.listReplicationSetsPaginator(request);
responses.iterator().forEachRemaining(....);
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
listReplicationSets(software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsRequest)
operation.
This is a convenience which creates an instance of the ListReplicationSetsRequest.Builder avoiding the
need to create one manually via ListReplicationSetsRequest.builder()
listReplicationSetsRequest - A Consumer that will call methods on
ListReplicationSetsRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResponsePlansResponse listResponsePlans(ListResponsePlansRequest listResponsePlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists all response plans in your account.
listResponsePlansRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResponsePlansResponse listResponsePlans(Consumer<ListResponsePlansRequest.Builder> listResponsePlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists all response plans in your account.
This is a convenience which creates an instance of the ListResponsePlansRequest.Builder avoiding the need
to create one manually via ListResponsePlansRequest.builder()
listResponsePlansRequest - A Consumer that will call methods on
ListResponsePlansRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResponsePlansIterable listResponsePlansPaginator(ListResponsePlansRequest listResponsePlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists all response plans in your account.
This is a variant of
listResponsePlans(software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client.listResponsePlansPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client
.listResponsePlansPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client.listResponsePlansPaginator(request);
responses.iterator().forEachRemaining(....);
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
listResponsePlans(software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansRequest)
operation.
listResponsePlansRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResponsePlansIterable listResponsePlansPaginator(Consumer<ListResponsePlansRequest.Builder> listResponsePlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists all response plans in your account.
This is a variant of
listResponsePlans(software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client.listResponsePlansPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client
.listResponsePlansPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client.listResponsePlansPaginator(request);
responses.iterator().forEachRemaining(....);
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
listResponsePlans(software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansRequest)
operation.
This is a convenience which creates an instance of the ListResponsePlansRequest.Builder avoiding the need
to create one manually via ListResponsePlansRequest.builder()
listResponsePlansRequest - A Consumer that will call methods on
ListResponsePlansRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists the tags that are attached to the specified response plan.
listTagsForResourceRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists the tags that are attached to the specified response plan.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on
ListTagsForResourceRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTimelineEventsResponse listTimelineEvents(ListTimelineEventsRequest listTimelineEventsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists timeline events for the specified incident record.
listTimelineEventsRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTimelineEventsResponse listTimelineEvents(Consumer<ListTimelineEventsRequest.Builder> listTimelineEventsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists timeline events for the specified incident record.
This is a convenience which creates an instance of the ListTimelineEventsRequest.Builder avoiding the
need to create one manually via ListTimelineEventsRequest.builder()
listTimelineEventsRequest - A Consumer that will call methods on
ListTimelineEventsRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTimelineEventsIterable listTimelineEventsPaginator(ListTimelineEventsRequest listTimelineEventsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists timeline events for the specified incident record.
This is a variant of
listTimelineEvents(software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client.listTimelineEventsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client
.listTimelineEventsPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client.listTimelineEventsPaginator(request);
responses.iterator().forEachRemaining(....);
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
listTimelineEvents(software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsRequest)
operation.
listTimelineEventsRequest - ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTimelineEventsIterable listTimelineEventsPaginator(Consumer<ListTimelineEventsRequest.Builder> listTimelineEventsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Lists timeline events for the specified incident record.
This is a variant of
listTimelineEvents(software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client.listTimelineEventsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client
.listTimelineEventsPaginator(request);
for (software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client.listTimelineEventsPaginator(request);
responses.iterator().forEachRemaining(....);
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
listTimelineEvents(software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsRequest)
operation.
This is a convenience which creates an instance of the ListTimelineEventsRequest.Builder avoiding the
need to create one manually via ListTimelineEventsRequest.builder()
listTimelineEventsRequest - A Consumer that will call methods on
ListTimelineEventsRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Adds a resource policy to the specified response plan. The resource policy is used to share the response plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Cross-Region and cross-account incident management.
putResourcePolicyRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Adds a resource policy to the specified response plan. The resource policy is used to share the response plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Cross-Region and cross-account incident management.
This is a convenience which creates an instance of the PutResourcePolicyRequest.Builder avoiding the need
to create one manually via PutResourcePolicyRequest.builder()
putResourcePolicyRequest - A Consumer that will call methods on
PutResourcePolicyRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartIncidentResponse startIncident(StartIncidentRequest startIncidentRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
startIncidentRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault StartIncidentResponse startIncident(Consumer<StartIncidentRequest.Builder> startIncidentRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
This is a convenience which creates an instance of the StartIncidentRequest.Builder avoiding the need to
create one manually via StartIncidentRequest.builder()
startIncidentRequest - A Consumer that will call methods on
StartIncidentRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Adds a tag to a response plan.
tagResourceRequest - ServiceQuotaExceededException - Request would cause a service quota to be exceeded.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Adds a tag to a response plan.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on
TagResourceRequest.Builder to create a request.ServiceQuotaExceededException - Request would cause a service quota to be exceeded.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Removes a tag from a resource.
untagResourceRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Removes a tag from a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on
UntagResourceRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDeletionProtectionResponse updateDeletionProtection(UpdateDeletionProtectionRequest updateDeletionProtectionRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Update deletion protection to either allow or deny deletion of the final Region in a replication set.
updateDeletionProtectionRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDeletionProtectionResponse updateDeletionProtection(Consumer<UpdateDeletionProtectionRequest.Builder> updateDeletionProtectionRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Update deletion protection to either allow or deny deletion of the final Region in a replication set.
This is a convenience which creates an instance of the UpdateDeletionProtectionRequest.Builder avoiding
the need to create one manually via UpdateDeletionProtectionRequest.builder()
updateDeletionProtectionRequest - A Consumer that will call methods on
UpdateDeletionProtectionRequest.Builder to
create a request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateIncidentRecordResponse updateIncidentRecord(UpdateIncidentRecordRequest updateIncidentRecordRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Update the details of an incident record. You can use this operation to update an incident record from the defined chat channel. For more information about using actions in chat channels, see Interacting through chat.
updateIncidentRecordRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateIncidentRecordResponse updateIncidentRecord(Consumer<UpdateIncidentRecordRequest.Builder> updateIncidentRecordRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Update the details of an incident record. You can use this operation to update an incident record from the defined chat channel. For more information about using actions in chat channels, see Interacting through chat.
This is a convenience which creates an instance of the UpdateIncidentRecordRequest.Builder avoiding the
need to create one manually via UpdateIncidentRecordRequest.builder()
updateIncidentRecordRequest - A Consumer that will call methods on
UpdateIncidentRecordRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateRelatedItemsResponse updateRelatedItems(UpdateRelatedItemsRequest updateRelatedItemsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Add or remove related items from the related items tab of an incident record.
updateRelatedItemsRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateRelatedItemsResponse updateRelatedItems(Consumer<UpdateRelatedItemsRequest.Builder> updateRelatedItemsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Add or remove related items from the related items tab of an incident record.
This is a convenience which creates an instance of the UpdateRelatedItemsRequest.Builder avoiding the
need to create one manually via UpdateRelatedItemsRequest.builder()
updateRelatedItemsRequest - A Consumer that will call methods on
UpdateRelatedItemsRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateReplicationSetResponse updateReplicationSet(UpdateReplicationSetRequest updateReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Add or delete Regions from your replication set.
updateReplicationSetRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateReplicationSetResponse updateReplicationSet(Consumer<UpdateReplicationSetRequest.Builder> updateReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Add or delete Regions from your replication set.
This is a convenience which creates an instance of the UpdateReplicationSetRequest.Builder avoiding the
need to create one manually via UpdateReplicationSetRequest.builder()
updateReplicationSetRequest - A Consumer that will call methods on
UpdateReplicationSetRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResponsePlanResponse updateResponsePlan(UpdateResponsePlanRequest updateResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Updates the specified response plan.
updateResponsePlanRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResponsePlanResponse updateResponsePlan(Consumer<UpdateResponsePlanRequest.Builder> updateResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Updates the specified response plan.
This is a convenience which creates an instance of the UpdateResponsePlanRequest.Builder avoiding the
need to create one manually via UpdateResponsePlanRequest.builder()
updateResponsePlanRequest - A Consumer that will call methods on
UpdateResponsePlanRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTimelineEventResponse updateTimelineEvent(UpdateTimelineEventRequest updateTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Updates a timeline event. You can update events of type Custom Event.
updateTimelineEventRequest - ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateTimelineEventResponse updateTimelineEvent(Consumer<UpdateTimelineEventRequest.Builder> updateTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException
Updates a timeline event. You can update events of type Custom Event.
This is a convenience which creates an instance of the UpdateTimelineEventRequest.Builder avoiding the
need to create one manually via UpdateTimelineEventRequest.builder()
updateTimelineEventRequest - A Consumer that will call methods on
UpdateTimelineEventRequest.Builder to create a
request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - Request references a resource which doesn't exist.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.ConflictException - Updating or deleting a resource causes an inconsistent state.InternalServerException - The request processing has failed because of an unknown error, exception or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.SsmIncidentsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SsmIncidentsWaiter waiter()
SsmIncidentsWaiter using this client.
Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
SsmIncidentsWaiterstatic SsmIncidentsClient create()
SsmIncidentsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static SsmIncidentsClientBuilder builder()
SsmIncidentsClient.static ServiceMetadata serviceMetadata()
default SsmIncidentsServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.