Interface SsmIncidentsClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault BatchGetIncidentFindingsResponsebatchGetIncidentFindings(Consumer<BatchGetIncidentFindingsRequest.Builder> batchGetIncidentFindingsRequest) Retrieves details about all specified findings for an incident, including descriptive details about each finding.default BatchGetIncidentFindingsResponsebatchGetIncidentFindings(BatchGetIncidentFindingsRequest batchGetIncidentFindingsRequest) Retrieves details about all specified findings for an incident, including descriptive details about each finding.static SsmIncidentsClientBuilderbuilder()Create a builder that can be used to configure and create aSsmIncidentsClient.static SsmIncidentsClientcreate()Create aSsmIncidentsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateReplicationSetResponsecreateReplicationSet(Consumer<CreateReplicationSetRequest.Builder> createReplicationSetRequest) A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.default CreateReplicationSetResponsecreateReplicationSet(CreateReplicationSetRequest createReplicationSetRequest) A replication set replicates and encrypts your data to the provided Regions with the provided KMS key.default CreateResponsePlanResponsecreateResponsePlan(Consumer<CreateResponsePlanRequest.Builder> createResponsePlanRequest) Creates a response plan that automates the initial response to incidents.default CreateResponsePlanResponsecreateResponsePlan(CreateResponsePlanRequest createResponsePlanRequest) Creates a response plan that automates the initial response to incidents.default CreateTimelineEventResponsecreateTimelineEvent(Consumer<CreateTimelineEventRequest.Builder> createTimelineEventRequest) Creates a custom timeline event on the incident details page of an incident record.default CreateTimelineEventResponsecreateTimelineEvent(CreateTimelineEventRequest createTimelineEventRequest) Creates a custom timeline event on the incident details page of an incident record.default DeleteIncidentRecordResponsedeleteIncidentRecord(Consumer<DeleteIncidentRecordRequest.Builder> deleteIncidentRecordRequest) Delete an incident record from Incident Manager.default DeleteIncidentRecordResponsedeleteIncidentRecord(DeleteIncidentRecordRequest deleteIncidentRecordRequest) Delete an incident record from Incident Manager.default DeleteReplicationSetResponsedeleteReplicationSet(Consumer<DeleteReplicationSetRequest.Builder> deleteReplicationSetRequest) Deletes all Regions in your replication set.default DeleteReplicationSetResponsedeleteReplicationSet(DeleteReplicationSetRequest deleteReplicationSetRequest) Deletes all Regions in your replication set.default DeleteResourcePolicyResponsedeleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.default DeleteResourcePolicyResponsedeleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource.default DeleteResponsePlanResponsedeleteResponsePlan(Consumer<DeleteResponsePlanRequest.Builder> deleteResponsePlanRequest) Deletes the specified response plan.default DeleteResponsePlanResponsedeleteResponsePlan(DeleteResponsePlanRequest deleteResponsePlanRequest) Deletes the specified response plan.default DeleteTimelineEventResponsedeleteTimelineEvent(Consumer<DeleteTimelineEventRequest.Builder> deleteTimelineEventRequest) Deletes a timeline event from an incident.default DeleteTimelineEventResponsedeleteTimelineEvent(DeleteTimelineEventRequest deleteTimelineEventRequest) Deletes a timeline event from an incident.default GetIncidentRecordResponsegetIncidentRecord(Consumer<GetIncidentRecordRequest.Builder> getIncidentRecordRequest) Returns the details for the specified incident record.default GetIncidentRecordResponsegetIncidentRecord(GetIncidentRecordRequest getIncidentRecordRequest) Returns the details for the specified incident record.default GetReplicationSetResponsegetReplicationSet(Consumer<GetReplicationSetRequest.Builder> getReplicationSetRequest) Retrieve your Incident Manager replication set.default GetReplicationSetResponsegetReplicationSet(GetReplicationSetRequest getReplicationSetRequest) Retrieve your Incident Manager replication set.default GetResourcePoliciesResponsegetResourcePolicies(Consumer<GetResourcePoliciesRequest.Builder> getResourcePoliciesRequest) Retrieves the resource policies attached to the specified response plan.default GetResourcePoliciesResponsegetResourcePolicies(GetResourcePoliciesRequest getResourcePoliciesRequest) Retrieves the resource policies attached to the specified response plan.default GetResourcePoliciesIterablegetResourcePoliciesPaginator(Consumer<GetResourcePoliciesRequest.Builder> getResourcePoliciesRequest) This is a variant ofgetResourcePolicies(software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesRequest)operation.default GetResourcePoliciesIterablegetResourcePoliciesPaginator(GetResourcePoliciesRequest getResourcePoliciesRequest) This is a variant ofgetResourcePolicies(software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesRequest)operation.default GetResponsePlanResponsegetResponsePlan(Consumer<GetResponsePlanRequest.Builder> getResponsePlanRequest) Retrieves the details of the specified response plan.default GetResponsePlanResponsegetResponsePlan(GetResponsePlanRequest getResponsePlanRequest) Retrieves the details of the specified response plan.default GetTimelineEventResponsegetTimelineEvent(Consumer<GetTimelineEventRequest.Builder> getTimelineEventRequest) Retrieves a timeline event based on its ID and incident record.default GetTimelineEventResponsegetTimelineEvent(GetTimelineEventRequest getTimelineEventRequest) Retrieves a timeline event based on its ID and incident record.default ListIncidentFindingsResponselistIncidentFindings(Consumer<ListIncidentFindingsRequest.Builder> listIncidentFindingsRequest) Retrieves a list of the IDs of findings, plus their last modified times, that have been identified for a specified incident.default ListIncidentFindingsResponselistIncidentFindings(ListIncidentFindingsRequest listIncidentFindingsRequest) Retrieves a list of the IDs of findings, plus their last modified times, that have been identified for a specified incident.default ListIncidentFindingsIterablelistIncidentFindingsPaginator(Consumer<ListIncidentFindingsRequest.Builder> listIncidentFindingsRequest) This is a variant oflistIncidentFindings(software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsRequest)operation.default ListIncidentFindingsIterablelistIncidentFindingsPaginator(ListIncidentFindingsRequest listIncidentFindingsRequest) This is a variant oflistIncidentFindings(software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsRequest)operation.default ListIncidentRecordsResponselistIncidentRecords(Consumer<ListIncidentRecordsRequest.Builder> listIncidentRecordsRequest) Lists all incident records in your account.default ListIncidentRecordsResponselistIncidentRecords(ListIncidentRecordsRequest listIncidentRecordsRequest) Lists all incident records in your account.default ListIncidentRecordsIterablelistIncidentRecordsPaginator(Consumer<ListIncidentRecordsRequest.Builder> listIncidentRecordsRequest) This is a variant oflistIncidentRecords(software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsRequest)operation.default ListIncidentRecordsIterablelistIncidentRecordsPaginator(ListIncidentRecordsRequest listIncidentRecordsRequest) This is a variant oflistIncidentRecords(software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsRequest)operation.default ListRelatedItemsResponselistRelatedItems(Consumer<ListRelatedItemsRequest.Builder> listRelatedItemsRequest) List all related items for an incident record.default ListRelatedItemsResponselistRelatedItems(ListRelatedItemsRequest listRelatedItemsRequest) List all related items for an incident record.default ListRelatedItemsIterablelistRelatedItemsPaginator(Consumer<ListRelatedItemsRequest.Builder> listRelatedItemsRequest) This is a variant oflistRelatedItems(software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsRequest)operation.default ListRelatedItemsIterablelistRelatedItemsPaginator(ListRelatedItemsRequest listRelatedItemsRequest) This is a variant oflistRelatedItems(software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsRequest)operation.default ListReplicationSetsResponselistReplicationSets(Consumer<ListReplicationSetsRequest.Builder> listReplicationSetsRequest) Lists details about the replication set configured in your account.default ListReplicationSetsResponselistReplicationSets(ListReplicationSetsRequest listReplicationSetsRequest) Lists details about the replication set configured in your account.default ListReplicationSetsIterablelistReplicationSetsPaginator(Consumer<ListReplicationSetsRequest.Builder> listReplicationSetsRequest) This is a variant oflistReplicationSets(software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsRequest)operation.default ListReplicationSetsIterablelistReplicationSetsPaginator(ListReplicationSetsRequest listReplicationSetsRequest) This is a variant oflistReplicationSets(software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsRequest)operation.default ListResponsePlansResponselistResponsePlans(Consumer<ListResponsePlansRequest.Builder> listResponsePlansRequest) Lists all response plans in your account.default ListResponsePlansResponselistResponsePlans(ListResponsePlansRequest listResponsePlansRequest) Lists all response plans in your account.default ListResponsePlansIterablelistResponsePlansPaginator(Consumer<ListResponsePlansRequest.Builder> listResponsePlansRequest) This is a variant oflistResponsePlans(software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansRequest)operation.default ListResponsePlansIterablelistResponsePlansPaginator(ListResponsePlansRequest listResponsePlansRequest) This is a variant oflistResponsePlans(software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags that are attached to the specified response plan or incident.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags that are attached to the specified response plan or incident.default ListTimelineEventsResponselistTimelineEvents(Consumer<ListTimelineEventsRequest.Builder> listTimelineEventsRequest) Lists timeline events for the specified incident record.default ListTimelineEventsResponselistTimelineEvents(ListTimelineEventsRequest listTimelineEventsRequest) Lists timeline events for the specified incident record.default ListTimelineEventsIterablelistTimelineEventsPaginator(Consumer<ListTimelineEventsRequest.Builder> listTimelineEventsRequest) This is a variant oflistTimelineEvents(software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsRequest)operation.default ListTimelineEventsIterablelistTimelineEventsPaginator(ListTimelineEventsRequest listTimelineEventsRequest) This is a variant oflistTimelineEvents(software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsRequest)operation.default PutResourcePolicyResponseputResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Adds a resource policy to the specified response plan.default PutResourcePolicyResponseputResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) Adds a resource policy to the specified response plan.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartIncidentResponsestartIncident(Consumer<StartIncidentRequest.Builder> startIncidentRequest) Used to start an incident from CloudWatch alarms, EventBridge events, or manually.default StartIncidentResponsestartIncident(StartIncidentRequest startIncidentRequest) Used to start an incident from CloudWatch alarms, EventBridge events, or manually.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds a tag to a response plan.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds a tag to a response plan.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes a tag from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes a tag from a resource.default UpdateDeletionProtectionResponseupdateDeletionProtection(Consumer<UpdateDeletionProtectionRequest.Builder> updateDeletionProtectionRequest) Update deletion protection to either allow or deny deletion of the final Region in a replication set.default UpdateDeletionProtectionResponseupdateDeletionProtection(UpdateDeletionProtectionRequest updateDeletionProtectionRequest) Update deletion protection to either allow or deny deletion of the final Region in a replication set.default UpdateIncidentRecordResponseupdateIncidentRecord(Consumer<UpdateIncidentRecordRequest.Builder> updateIncidentRecordRequest) Update the details of an incident record.default UpdateIncidentRecordResponseupdateIncidentRecord(UpdateIncidentRecordRequest updateIncidentRecordRequest) Update the details of an incident record.default UpdateRelatedItemsResponseupdateRelatedItems(Consumer<UpdateRelatedItemsRequest.Builder> updateRelatedItemsRequest) Add or remove related items from the related items tab of an incident record.default UpdateRelatedItemsResponseupdateRelatedItems(UpdateRelatedItemsRequest updateRelatedItemsRequest) Add or remove related items from the related items tab of an incident record.default UpdateReplicationSetResponseupdateReplicationSet(Consumer<UpdateReplicationSetRequest.Builder> updateReplicationSetRequest) Add or delete Regions from your replication set.default UpdateReplicationSetResponseupdateReplicationSet(UpdateReplicationSetRequest updateReplicationSetRequest) Add or delete Regions from your replication set.default UpdateResponsePlanResponseupdateResponsePlan(Consumer<UpdateResponsePlanRequest.Builder> updateResponsePlanRequest) Updates the specified response plan.default UpdateResponsePlanResponseupdateResponsePlan(UpdateResponsePlanRequest updateResponsePlanRequest) Updates the specified response plan.default UpdateTimelineEventResponseupdateTimelineEvent(Consumer<UpdateTimelineEventRequest.Builder> updateTimelineEventRequest) Updates a timeline event.default UpdateTimelineEventResponseupdateTimelineEvent(UpdateTimelineEventRequest updateTimelineEventRequest) Updates a timeline event.default SsmIncidentsWaiterwaiter()Create an instance ofSsmIncidentsWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
batchGetIncidentFindings
default BatchGetIncidentFindingsResponse batchGetIncidentFindings(BatchGetIncidentFindingsRequest batchGetIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Retrieves details about all specified findings for an incident, including descriptive details about each finding. A finding represents a recent application environment change made by an CodeDeploy deployment or an CloudFormation stack creation or update that can be investigated as a potential cause of the incident.
- Parameters:
batchGetIncidentFindingsRequest-- Returns:
- Result of the BatchGetIncidentFindings operation returned by the service.
- See Also:
-
batchGetIncidentFindings
default BatchGetIncidentFindingsResponse batchGetIncidentFindings(Consumer<BatchGetIncidentFindingsRequest.Builder> batchGetIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Retrieves details about all specified findings for an incident, including descriptive details about each finding. A finding represents a recent application environment change made by an CodeDeploy deployment or an CloudFormation stack creation or update that can be investigated as a potential cause of the incident.
This is a convenience which creates an instance of the
BatchGetIncidentFindingsRequest.Builderavoiding the need to create one manually viaBatchGetIncidentFindingsRequest.builder()- Parameters:
batchGetIncidentFindingsRequest- AConsumerthat will call methods onBatchGetIncidentFindingsRequest.Builderto create a request.- Returns:
- Result of the BatchGetIncidentFindings operation returned by the service.
- See Also:
-
createReplicationSet
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.
- Parameters:
createReplicationSetRequest-- Returns:
- Result of the CreateReplicationSet operation returned by the service.
- See Also:
-
createReplicationSet
default 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.Builderavoiding the need to create one manually viaCreateReplicationSetRequest.builder()- Parameters:
createReplicationSetRequest- AConsumerthat will call methods onCreateReplicationSetRequest.Builderto create a request.- Returns:
- Result of the CreateReplicationSet operation returned by the service.
- See Also:
-
createResponsePlan
default 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.
- Parameters:
createResponsePlanRequest-- Returns:
- Result of the CreateResponsePlan operation returned by the service.
- See Also:
-
createResponsePlan
default 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.Builderavoiding the need to create one manually viaCreateResponsePlanRequest.builder()- Parameters:
createResponsePlanRequest- AConsumerthat will call methods onCreateResponsePlanRequest.Builderto create a request.- Returns:
- Result of the CreateResponsePlan operation returned by the service.
- See Also:
-
createTimelineEvent
default 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.
- Parameters:
createTimelineEventRequest-- Returns:
- Result of the CreateTimelineEvent operation returned by the service.
- See Also:
-
createTimelineEvent
default 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.Builderavoiding the need to create one manually viaCreateTimelineEventRequest.builder()- Parameters:
createTimelineEventRequest- AConsumerthat will call methods onCreateTimelineEventRequest.Builderto create a request.- Returns:
- Result of the CreateTimelineEvent operation returned by the service.
- See Also:
-
deleteIncidentRecord
default DeleteIncidentRecordResponse deleteIncidentRecord(DeleteIncidentRecordRequest deleteIncidentRecordRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Delete an incident record from Incident Manager.
- Parameters:
deleteIncidentRecordRequest-- Returns:
- Result of the DeleteIncidentRecord operation returned by the service.
- See Also:
-
deleteIncidentRecord
default 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.Builderavoiding the need to create one manually viaDeleteIncidentRecordRequest.builder()- Parameters:
deleteIncidentRecordRequest- AConsumerthat will call methods onDeleteIncidentRecordRequest.Builderto create a request.- Returns:
- Result of the DeleteIncidentRecord operation returned by the service.
- See Also:
-
deleteReplicationSet
default 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.
- Parameters:
deleteReplicationSetRequest-- Returns:
- Result of the DeleteReplicationSet operation returned by the service.
- See Also:
-
deleteReplicationSet
default 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.Builderavoiding the need to create one manually viaDeleteReplicationSetRequest.builder()- Parameters:
deleteReplicationSetRequest- AConsumerthat will call methods onDeleteReplicationSetRequest.Builderto create a request.- Returns:
- Result of the DeleteReplicationSet operation returned by the service.
- See Also:
-
deleteResourcePolicy
default 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.
- Parameters:
deleteResourcePolicyRequest-- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteResourcePolicy
default 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.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteResponsePlan
default 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.
- Parameters:
deleteResponsePlanRequest-- Returns:
- Result of the DeleteResponsePlan operation returned by the service.
- See Also:
-
deleteResponsePlan
default 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.Builderavoiding the need to create one manually viaDeleteResponsePlanRequest.builder()- Parameters:
deleteResponsePlanRequest- AConsumerthat will call methods onDeleteResponsePlanRequest.Builderto create a request.- Returns:
- Result of the DeleteResponsePlan operation returned by the service.
- See Also:
-
deleteTimelineEvent
default DeleteTimelineEventResponse deleteTimelineEvent(DeleteTimelineEventRequest deleteTimelineEventRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Deletes a timeline event from an incident.
- Parameters:
deleteTimelineEventRequest-- Returns:
- Result of the DeleteTimelineEvent operation returned by the service.
- See Also:
-
deleteTimelineEvent
default 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.Builderavoiding the need to create one manually viaDeleteTimelineEventRequest.builder()- Parameters:
deleteTimelineEventRequest- AConsumerthat will call methods onDeleteTimelineEventRequest.Builderto create a request.- Returns:
- Result of the DeleteTimelineEvent operation returned by the service.
- See Also:
-
getIncidentRecord
default GetIncidentRecordResponse getIncidentRecord(GetIncidentRecordRequest getIncidentRecordRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Returns the details for the specified incident record.
- Parameters:
getIncidentRecordRequest-- Returns:
- Result of the GetIncidentRecord operation returned by the service.
- See Also:
-
getIncidentRecord
default 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.Builderavoiding the need to create one manually viaGetIncidentRecordRequest.builder()- Parameters:
getIncidentRecordRequest- AConsumerthat will call methods onGetIncidentRecordRequest.Builderto create a request.- Returns:
- Result of the GetIncidentRecord operation returned by the service.
- See Also:
-
getReplicationSet
default GetReplicationSetResponse getReplicationSet(GetReplicationSetRequest getReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Retrieve your Incident Manager replication set.
- Parameters:
getReplicationSetRequest-- Returns:
- Result of the GetReplicationSet operation returned by the service.
- See Also:
-
getReplicationSet
default 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.Builderavoiding the need to create one manually viaGetReplicationSetRequest.builder()- Parameters:
getReplicationSetRequest- AConsumerthat will call methods onGetReplicationSetRequest.Builderto create a request.- Returns:
- Result of the GetReplicationSet operation returned by the service.
- See Also:
-
getResourcePolicies
default GetResourcePoliciesResponse getResourcePolicies(GetResourcePoliciesRequest getResourcePoliciesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Retrieves the resource policies attached to the specified response plan.
- Parameters:
getResourcePoliciesRequest-- Returns:
- Result of the GetResourcePolicies operation returned by the service.
- See Also:
-
getResourcePolicies
default 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.Builderavoiding the need to create one manually viaGetResourcePoliciesRequest.builder()- Parameters:
getResourcePoliciesRequest- AConsumerthat will call methods onGetResourcePoliciesRequest.Builderto create a request.- Returns:
- Result of the GetResourcePolicies operation returned by the service.
- See Also:
-
getResourcePoliciesPaginator
default GetResourcePoliciesIterable getResourcePoliciesPaginator(GetResourcePoliciesRequest getResourcePoliciesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client.getResourcePoliciesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
getResourcePoliciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getResourcePoliciesPaginator
default GetResourcePoliciesIterable getResourcePoliciesPaginator(Consumer<GetResourcePoliciesRequest.Builder> getResourcePoliciesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client.getResourcePoliciesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaGetResourcePoliciesRequest.builder()- Parameters:
getResourcePoliciesRequest- AConsumerthat will call methods onGetResourcePoliciesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getResponsePlan
default GetResponsePlanResponse getResponsePlan(GetResponsePlanRequest getResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Retrieves the details of the specified response plan.
- Parameters:
getResponsePlanRequest-- Returns:
- Result of the GetResponsePlan operation returned by the service.
- See Also:
-
getResponsePlan
default 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.Builderavoiding the need to create one manually viaGetResponsePlanRequest.builder()- Parameters:
getResponsePlanRequest- AConsumerthat will call methods onGetResponsePlanRequest.Builderto create a request.- Returns:
- Result of the GetResponsePlan operation returned by the service.
- See Also:
-
getTimelineEvent
default GetTimelineEventResponse getTimelineEvent(GetTimelineEventRequest getTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Retrieves a timeline event based on its ID and incident record.
- Parameters:
getTimelineEventRequest-- Returns:
- Result of the GetTimelineEvent operation returned by the service.
- See Also:
-
getTimelineEvent
default 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.Builderavoiding the need to create one manually viaGetTimelineEventRequest.builder()- Parameters:
getTimelineEventRequest- AConsumerthat will call methods onGetTimelineEventRequest.Builderto create a request.- Returns:
- Result of the GetTimelineEvent operation returned by the service.
- See Also:
-
listIncidentFindings
default ListIncidentFindingsResponse listIncidentFindings(ListIncidentFindingsRequest listIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Retrieves a list of the IDs of findings, plus their last modified times, that have been identified for a specified incident. A finding represents a recent application environment change made by an CloudFormation stack creation or update or an CodeDeploy deployment that can be investigated as a potential cause of the incident.
- Parameters:
listIncidentFindingsRequest-- Returns:
- Result of the ListIncidentFindings operation returned by the service.
- See Also:
-
listIncidentFindings
default ListIncidentFindingsResponse listIncidentFindings(Consumer<ListIncidentFindingsRequest.Builder> listIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Retrieves a list of the IDs of findings, plus their last modified times, that have been identified for a specified incident. A finding represents a recent application environment change made by an CloudFormation stack creation or update or an CodeDeploy deployment that can be investigated as a potential cause of the incident.
This is a convenience which creates an instance of the
ListIncidentFindingsRequest.Builderavoiding the need to create one manually viaListIncidentFindingsRequest.builder()- Parameters:
listIncidentFindingsRequest- AConsumerthat will call methods onListIncidentFindingsRequest.Builderto create a request.- Returns:
- Result of the ListIncidentFindings operation returned by the service.
- See Also:
-
listIncidentFindingsPaginator
default ListIncidentFindingsIterable listIncidentFindingsPaginator(ListIncidentFindingsRequest listIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException This is a variant of
listIncidentFindings(software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListIncidentFindingsIterable responses = client.listIncidentFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentFindingsIterable responses = client .listIncidentFindingsPaginator(request); for (software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.ssmincidents.paginators.ListIncidentFindingsIterable responses = client.listIncidentFindingsPaginator(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
listIncidentFindings(software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsRequest)operation.- Parameters:
listIncidentFindingsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIncidentFindingsPaginator
default ListIncidentFindingsIterable listIncidentFindingsPaginator(Consumer<ListIncidentFindingsRequest.Builder> listIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException This is a variant of
listIncidentFindings(software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsRequest)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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListIncidentFindingsIterable responses = client.listIncidentFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentFindingsIterable responses = client .listIncidentFindingsPaginator(request); for (software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.ssmincidents.paginators.ListIncidentFindingsIterable responses = client.listIncidentFindingsPaginator(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
listIncidentFindings(software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsRequest)operation.
This is a convenience which creates an instance of the
ListIncidentFindingsRequest.Builderavoiding the need to create one manually viaListIncidentFindingsRequest.builder()- Parameters:
listIncidentFindingsRequest- AConsumerthat will call methods onListIncidentFindingsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIncidentRecords
default 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.
- Parameters:
listIncidentRecordsRequest-- Returns:
- Result of the ListIncidentRecords operation returned by the service.
- See Also:
-
listIncidentRecords
default 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.Builderavoiding the need to create one manually viaListIncidentRecordsRequest.builder()- Parameters:
listIncidentRecordsRequest- AConsumerthat will call methods onListIncidentRecordsRequest.Builderto create a request.- Returns:
- Result of the ListIncidentRecords operation returned by the service.
- See Also:
-
listIncidentRecordsPaginator
default ListIncidentRecordsIterable listIncidentRecordsPaginator(ListIncidentRecordsRequest listIncidentRecordsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client.listIncidentRecordsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listIncidentRecordsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIncidentRecordsPaginator
default ListIncidentRecordsIterable listIncidentRecordsPaginator(Consumer<ListIncidentRecordsRequest.Builder> listIncidentRecordsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client.listIncidentRecordsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListIncidentRecordsRequest.builder()- Parameters:
listIncidentRecordsRequest- AConsumerthat will call methods onListIncidentRecordsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRelatedItems
default ListRelatedItemsResponse listRelatedItems(ListRelatedItemsRequest listRelatedItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException List all related items for an incident record.
- Parameters:
listRelatedItemsRequest-- Returns:
- Result of the ListRelatedItems operation returned by the service.
- See Also:
-
listRelatedItems
default 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.Builderavoiding the need to create one manually viaListRelatedItemsRequest.builder()- Parameters:
listRelatedItemsRequest- AConsumerthat will call methods onListRelatedItemsRequest.Builderto create a request.- Returns:
- Result of the ListRelatedItems operation returned by the service.
- See Also:
-
listRelatedItemsPaginator
default ListRelatedItemsIterable listRelatedItemsPaginator(ListRelatedItemsRequest listRelatedItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client.listRelatedItemsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listRelatedItemsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRelatedItemsPaginator
default ListRelatedItemsIterable listRelatedItemsPaginator(Consumer<ListRelatedItemsRequest.Builder> listRelatedItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client.listRelatedItemsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListRelatedItemsRequest.builder()- Parameters:
listRelatedItemsRequest- AConsumerthat will call methods onListRelatedItemsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReplicationSets
default ListReplicationSetsResponse listReplicationSets(ListReplicationSetsRequest listReplicationSetsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Lists details about the replication set configured in your account.
- Parameters:
listReplicationSetsRequest-- Returns:
- Result of the ListReplicationSets operation returned by the service.
- See Also:
-
listReplicationSets
default 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.Builderavoiding the need to create one manually viaListReplicationSetsRequest.builder()- Parameters:
listReplicationSetsRequest- AConsumerthat will call methods onListReplicationSetsRequest.Builderto create a request.- Returns:
- Result of the ListReplicationSets operation returned by the service.
- See Also:
-
listReplicationSetsPaginator
default ListReplicationSetsIterable listReplicationSetsPaginator(ListReplicationSetsRequest listReplicationSetsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client.listReplicationSetsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listReplicationSetsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listReplicationSetsPaginator
default ListReplicationSetsIterable listReplicationSetsPaginator(Consumer<ListReplicationSetsRequest.Builder> listReplicationSetsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client.listReplicationSetsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListReplicationSetsRequest.builder()- Parameters:
listReplicationSetsRequest- AConsumerthat will call methods onListReplicationSetsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResponsePlans
default ListResponsePlansResponse listResponsePlans(ListResponsePlansRequest listResponsePlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Lists all response plans in your account.
- Parameters:
listResponsePlansRequest-- Returns:
- Result of the ListResponsePlans operation returned by the service.
- See Also:
-
listResponsePlans
default 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.Builderavoiding the need to create one manually viaListResponsePlansRequest.builder()- Parameters:
listResponsePlansRequest- AConsumerthat will call methods onListResponsePlansRequest.Builderto create a request.- Returns:
- Result of the ListResponsePlans operation returned by the service.
- See Also:
-
listResponsePlansPaginator
default ListResponsePlansIterable listResponsePlansPaginator(ListResponsePlansRequest listResponsePlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client.listResponsePlansPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listResponsePlansRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResponsePlansPaginator
default ListResponsePlansIterable listResponsePlansPaginator(Consumer<ListResponsePlansRequest.Builder> listResponsePlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client.listResponsePlansPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListResponsePlansRequest.builder()- Parameters:
listResponsePlansRequest- AConsumerthat will call methods onListResponsePlansRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Lists the tags that are attached to the specified response plan or incident.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default 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 or incident.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTimelineEvents
default ListTimelineEventsResponse listTimelineEvents(ListTimelineEventsRequest listTimelineEventsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Lists timeline events for the specified incident record.
- Parameters:
listTimelineEventsRequest-- Returns:
- Result of the ListTimelineEvents operation returned by the service.
- See Also:
-
listTimelineEvents
default 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.Builderavoiding the need to create one manually viaListTimelineEventsRequest.builder()- Parameters:
listTimelineEventsRequest- AConsumerthat will call methods onListTimelineEventsRequest.Builderto create a request.- Returns:
- Result of the ListTimelineEvents operation returned by the service.
- See Also:
-
listTimelineEventsPaginator
default ListTimelineEventsIterable listTimelineEventsPaginator(ListTimelineEventsRequest listTimelineEventsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client.listTimelineEventsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listTimelineEventsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTimelineEventsPaginator
default ListTimelineEventsIterable listTimelineEventsPaginator(Consumer<ListTimelineEventsRequest.Builder> listTimelineEventsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException 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
2) Using For loopsoftware.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client.listTimelineEventsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListTimelineEventsRequest.builder()- Parameters:
listTimelineEventsRequest- AConsumerthat will call methods onListTimelineEventsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
putResourcePolicy
default 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.
- Parameters:
putResourcePolicyRequest-- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
putResourcePolicy
default 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.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto create a request.- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
startIncident
default 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.
- Parameters:
startIncidentRequest-- Returns:
- Result of the StartIncident operation returned by the service.
- See Also:
-
startIncident
default 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.Builderavoiding the need to create one manually viaStartIncidentRequest.builder()- Parameters:
startIncidentRequest- AConsumerthat will call methods onStartIncidentRequest.Builderto create a request.- Returns:
- Result of the StartIncident operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Adds a tag to a response plan.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Removes a tag from a resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateDeletionProtection
default 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.
- Parameters:
updateDeletionProtectionRequest-- Returns:
- Result of the UpdateDeletionProtection operation returned by the service.
- See Also:
-
updateDeletionProtection
default 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.Builderavoiding the need to create one manually viaUpdateDeletionProtectionRequest.builder()- Parameters:
updateDeletionProtectionRequest- AConsumerthat will call methods onUpdateDeletionProtectionRequest.Builderto create a request.- Returns:
- Result of the UpdateDeletionProtection operation returned by the service.
- See Also:
-
updateIncidentRecord
default 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.
- Parameters:
updateIncidentRecordRequest-- Returns:
- Result of the UpdateIncidentRecord operation returned by the service.
- See Also:
-
updateIncidentRecord
default 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.Builderavoiding the need to create one manually viaUpdateIncidentRecordRequest.builder()- Parameters:
updateIncidentRecordRequest- AConsumerthat will call methods onUpdateIncidentRecordRequest.Builderto create a request.- Returns:
- Result of the UpdateIncidentRecord operation returned by the service.
- See Also:
-
updateRelatedItems
default 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.
- Parameters:
updateRelatedItemsRequest-- Returns:
- Result of the UpdateRelatedItems operation returned by the service.
- See Also:
-
updateRelatedItems
default 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.Builderavoiding the need to create one manually viaUpdateRelatedItemsRequest.builder()- Parameters:
updateRelatedItemsRequest- AConsumerthat will call methods onUpdateRelatedItemsRequest.Builderto create a request.- Returns:
- Result of the UpdateRelatedItems operation returned by the service.
- See Also:
-
updateReplicationSet
default UpdateReplicationSetResponse updateReplicationSet(UpdateReplicationSetRequest updateReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Add or delete Regions from your replication set.
- Parameters:
updateReplicationSetRequest-- Returns:
- Result of the UpdateReplicationSet operation returned by the service.
- See Also:
-
updateReplicationSet
default 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.Builderavoiding the need to create one manually viaUpdateReplicationSetRequest.builder()- Parameters:
updateReplicationSetRequest- AConsumerthat will call methods onUpdateReplicationSetRequest.Builderto create a request.- Returns:
- Result of the UpdateReplicationSet operation returned by the service.
- See Also:
-
updateResponsePlan
default UpdateResponsePlanResponse updateResponsePlan(UpdateResponsePlanRequest updateResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException Updates the specified response plan.
- Parameters:
updateResponsePlanRequest-- Returns:
- Result of the UpdateResponsePlan operation returned by the service.
- See Also:
-
updateResponsePlan
default 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.Builderavoiding the need to create one manually viaUpdateResponsePlanRequest.builder()- Parameters:
updateResponsePlanRequest- AConsumerthat will call methods onUpdateResponsePlanRequest.Builderto create a request.- Returns:
- Result of the UpdateResponsePlan operation returned by the service.
- See Also:
-
updateTimelineEvent
default 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.- Parameters:
updateTimelineEventRequest-- Returns:
- Result of the UpdateTimelineEvent operation returned by the service.
- See Also:
-
updateTimelineEvent
default 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.Builderavoiding the need to create one manually viaUpdateTimelineEventRequest.builder()- Parameters:
updateTimelineEventRequest- AConsumerthat will call methods onUpdateTimelineEventRequest.Builderto create a request.- Returns:
- Result of the UpdateTimelineEvent operation returned by the service.
- See Also:
-
waiter
Create an instance ofSsmIncidentsWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
SsmIncidentsWaiter
-
create
Create aSsmIncidentsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSsmIncidentsClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-