All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.ssmincidents.SsmIncidentsClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for SSM Incidents module holds the client classes that are used for communicating with SSM Incidents.

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.ssmincidents;

import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.ssmincidents.model.AccessDeniedException;
import software.amazon.awssdk.services.ssmincidents.model.BatchGetIncidentFindingsRequest;
import software.amazon.awssdk.services.ssmincidents.model.BatchGetIncidentFindingsResponse;
import software.amazon.awssdk.services.ssmincidents.model.ConflictException;
import software.amazon.awssdk.services.ssmincidents.model.CreateReplicationSetRequest;
import software.amazon.awssdk.services.ssmincidents.model.CreateReplicationSetResponse;
import software.amazon.awssdk.services.ssmincidents.model.CreateResponsePlanRequest;
import software.amazon.awssdk.services.ssmincidents.model.CreateResponsePlanResponse;
import software.amazon.awssdk.services.ssmincidents.model.CreateTimelineEventRequest;
import software.amazon.awssdk.services.ssmincidents.model.CreateTimelineEventResponse;
import software.amazon.awssdk.services.ssmincidents.model.DeleteIncidentRecordRequest;
import software.amazon.awssdk.services.ssmincidents.model.DeleteIncidentRecordResponse;
import software.amazon.awssdk.services.ssmincidents.model.DeleteReplicationSetRequest;
import software.amazon.awssdk.services.ssmincidents.model.DeleteReplicationSetResponse;
import software.amazon.awssdk.services.ssmincidents.model.DeleteResourcePolicyRequest;
import software.amazon.awssdk.services.ssmincidents.model.DeleteResourcePolicyResponse;
import software.amazon.awssdk.services.ssmincidents.model.DeleteResponsePlanRequest;
import software.amazon.awssdk.services.ssmincidents.model.DeleteResponsePlanResponse;
import software.amazon.awssdk.services.ssmincidents.model.DeleteTimelineEventRequest;
import software.amazon.awssdk.services.ssmincidents.model.DeleteTimelineEventResponse;
import software.amazon.awssdk.services.ssmincidents.model.GetIncidentRecordRequest;
import software.amazon.awssdk.services.ssmincidents.model.GetIncidentRecordResponse;
import software.amazon.awssdk.services.ssmincidents.model.GetReplicationSetRequest;
import software.amazon.awssdk.services.ssmincidents.model.GetReplicationSetResponse;
import software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesRequest;
import software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesResponse;
import software.amazon.awssdk.services.ssmincidents.model.GetResponsePlanRequest;
import software.amazon.awssdk.services.ssmincidents.model.GetResponsePlanResponse;
import software.amazon.awssdk.services.ssmincidents.model.GetTimelineEventRequest;
import software.amazon.awssdk.services.ssmincidents.model.GetTimelineEventResponse;
import software.amazon.awssdk.services.ssmincidents.model.InternalServerException;
import software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsRequest;
import software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsResponse;
import software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsRequest;
import software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsResponse;
import software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsRequest;
import software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsResponse;
import software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsRequest;
import software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsResponse;
import software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansRequest;
import software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansResponse;
import software.amazon.awssdk.services.ssmincidents.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.ssmincidents.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsRequest;
import software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsResponse;
import software.amazon.awssdk.services.ssmincidents.model.PutResourcePolicyRequest;
import software.amazon.awssdk.services.ssmincidents.model.PutResourcePolicyResponse;
import software.amazon.awssdk.services.ssmincidents.model.ResourceNotFoundException;
import software.amazon.awssdk.services.ssmincidents.model.ServiceQuotaExceededException;
import software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsException;
import software.amazon.awssdk.services.ssmincidents.model.StartIncidentRequest;
import software.amazon.awssdk.services.ssmincidents.model.StartIncidentResponse;
import software.amazon.awssdk.services.ssmincidents.model.TagResourceRequest;
import software.amazon.awssdk.services.ssmincidents.model.TagResourceResponse;
import software.amazon.awssdk.services.ssmincidents.model.ThrottlingException;
import software.amazon.awssdk.services.ssmincidents.model.UntagResourceRequest;
import software.amazon.awssdk.services.ssmincidents.model.UntagResourceResponse;
import software.amazon.awssdk.services.ssmincidents.model.UpdateDeletionProtectionRequest;
import software.amazon.awssdk.services.ssmincidents.model.UpdateDeletionProtectionResponse;
import software.amazon.awssdk.services.ssmincidents.model.UpdateIncidentRecordRequest;
import software.amazon.awssdk.services.ssmincidents.model.UpdateIncidentRecordResponse;
import software.amazon.awssdk.services.ssmincidents.model.UpdateRelatedItemsRequest;
import software.amazon.awssdk.services.ssmincidents.model.UpdateRelatedItemsResponse;
import software.amazon.awssdk.services.ssmincidents.model.UpdateReplicationSetRequest;
import software.amazon.awssdk.services.ssmincidents.model.UpdateReplicationSetResponse;
import software.amazon.awssdk.services.ssmincidents.model.UpdateResponsePlanRequest;
import software.amazon.awssdk.services.ssmincidents.model.UpdateResponsePlanResponse;
import software.amazon.awssdk.services.ssmincidents.model.UpdateTimelineEventRequest;
import software.amazon.awssdk.services.ssmincidents.model.UpdateTimelineEventResponse;
import software.amazon.awssdk.services.ssmincidents.model.ValidationException;
import software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable;
import software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentFindingsIterable;
import software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable;
import software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable;
import software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable;
import software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable;
import software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable;
import software.amazon.awssdk.services.ssmincidents.waiters.SsmIncidentsWaiter;

/**
 * Service client for accessing SSM Incidents. This can be created using the static {@link #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. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface SsmIncidentsClient extends AwsClient { String SERVICE_NAME = "ssm-incidents"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "ssm-incidents"; /** *

* 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. *

* * @param batchGetIncidentFindingsRequest * @return Result of the BatchGetIncidentFindings operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.BatchGetIncidentFindings * @see AWS API Documentation */ default BatchGetIncidentFindingsResponse batchGetIncidentFindings( BatchGetIncidentFindingsRequest batchGetIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link BatchGetIncidentFindingsRequest.Builder} avoiding * the need to create one manually via {@link BatchGetIncidentFindingsRequest#builder()} *

* * @param batchGetIncidentFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.BatchGetIncidentFindingsRequest.Builder} to * create a request. * @return Result of the BatchGetIncidentFindings operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.BatchGetIncidentFindings * @see AWS API Documentation */ default BatchGetIncidentFindingsResponse batchGetIncidentFindings( Consumer batchGetIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return batchGetIncidentFindings(BatchGetIncidentFindingsRequest.builder().applyMutation(batchGetIncidentFindingsRequest) .build()); } /** *

* A replication set replicates and encrypts your data to the provided Regions with the provided KMS key. *

* * @param createReplicationSetRequest * @return Result of the CreateReplicationSet operation returned by the service. * @throws ServiceQuotaExceededException * Request would cause a service quota to be exceeded. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.CreateReplicationSet * @see AWS API Documentation */ default CreateReplicationSetResponse createReplicationSet(CreateReplicationSetRequest createReplicationSetRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateReplicationSetRequest.Builder} avoiding the * need to create one manually via {@link CreateReplicationSetRequest#builder()} *

* * @param createReplicationSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.CreateReplicationSetRequest.Builder} to create a * request. * @return Result of the CreateReplicationSet operation returned by the service. * @throws ServiceQuotaExceededException * Request would cause a service quota to be exceeded. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.CreateReplicationSet * @see AWS API Documentation */ default CreateReplicationSetResponse createReplicationSet( Consumer createReplicationSetRequest) throws ServiceQuotaExceededException, ThrottlingException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return createReplicationSet(CreateReplicationSetRequest.builder().applyMutation(createReplicationSetRequest).build()); } /** *

* 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. *

* * @param createResponsePlanRequest * @return Result of the CreateResponsePlan operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.CreateResponsePlan * @see AWS API Documentation */ default CreateResponsePlanResponse createResponsePlan(CreateResponsePlanRequest createResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateResponsePlanRequest.Builder} avoiding the * need to create one manually via {@link CreateResponsePlanRequest#builder()} *

* * @param createResponsePlanRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.CreateResponsePlanRequest.Builder} to create a * request. * @return Result of the CreateResponsePlan operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.CreateResponsePlan * @see AWS API Documentation */ default CreateResponsePlanResponse createResponsePlan(Consumer createResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return createResponsePlan(CreateResponsePlanRequest.builder().applyMutation(createResponsePlanRequest).build()); } /** *

* 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. *

* * @param createTimelineEventRequest * @return Result of the CreateTimelineEvent operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.CreateTimelineEvent * @see AWS API Documentation */ default CreateTimelineEventResponse createTimelineEvent(CreateTimelineEventRequest createTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateTimelineEventRequest.Builder} avoiding the * need to create one manually via {@link CreateTimelineEventRequest#builder()} *

* * @param createTimelineEventRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.CreateTimelineEventRequest.Builder} to create a * request. * @return Result of the CreateTimelineEvent operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.CreateTimelineEvent * @see AWS API Documentation */ default CreateTimelineEventResponse createTimelineEvent( Consumer createTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return createTimelineEvent(CreateTimelineEventRequest.builder().applyMutation(createTimelineEventRequest).build()); } /** *

* Delete an incident record from Incident Manager. *

* * @param deleteIncidentRecordRequest * @return Result of the DeleteIncidentRecord operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.DeleteIncidentRecord * @see AWS API Documentation */ default DeleteIncidentRecordResponse deleteIncidentRecord(DeleteIncidentRecordRequest deleteIncidentRecordRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Delete an incident record from Incident Manager. *

*
*

* This is a convenience which creates an instance of the {@link DeleteIncidentRecordRequest.Builder} avoiding the * need to create one manually via {@link DeleteIncidentRecordRequest#builder()} *

* * @param deleteIncidentRecordRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.DeleteIncidentRecordRequest.Builder} to create a * request. * @return Result of the DeleteIncidentRecord operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.DeleteIncidentRecord * @see AWS API Documentation */ default DeleteIncidentRecordResponse deleteIncidentRecord( Consumer deleteIncidentRecordRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return deleteIncidentRecord(DeleteIncidentRecordRequest.builder().applyMutation(deleteIncidentRecordRequest).build()); } /** *

* Deletes all Regions in your replication set. Deleting the replication set deletes all Incident Manager data. *

* * @param deleteReplicationSetRequest * @return Result of the DeleteReplicationSet operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.DeleteReplicationSet * @see AWS API Documentation */ default DeleteReplicationSetResponse deleteReplicationSet(DeleteReplicationSetRequest deleteReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteReplicationSetRequest.Builder} avoiding the * need to create one manually via {@link DeleteReplicationSetRequest#builder()} *

* * @param deleteReplicationSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.DeleteReplicationSetRequest.Builder} to create a * request. * @return Result of the DeleteReplicationSet operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.DeleteReplicationSet * @see AWS API Documentation */ default DeleteReplicationSetResponse deleteReplicationSet( Consumer deleteReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return deleteReplicationSet(DeleteReplicationSetRequest.builder().applyMutation(deleteReplicationSetRequest).build()); } /** *

* Deletes the resource policy that Resource Access Manager uses to share your Incident Manager resource. *

* * @param deleteResourcePolicyRequest * @return Result of the DeleteResourcePolicy operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.DeleteResourcePolicy * @see AWS API Documentation */ default DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteResourcePolicyRequest.Builder} avoiding the * need to create one manually via {@link DeleteResourcePolicyRequest#builder()} *

* * @param deleteResourcePolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.DeleteResourcePolicyRequest.Builder} to create a * request. * @return Result of the DeleteResourcePolicy operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.DeleteResourcePolicy * @see AWS API Documentation */ default DeleteResourcePolicyResponse deleteResourcePolicy( Consumer deleteResourcePolicyRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return deleteResourcePolicy(DeleteResourcePolicyRequest.builder().applyMutation(deleteResourcePolicyRequest).build()); } /** *

* 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. *

* * @param deleteResponsePlanRequest * @return Result of the DeleteResponsePlan operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.DeleteResponsePlan * @see AWS API Documentation */ default DeleteResponsePlanResponse deleteResponsePlan(DeleteResponsePlanRequest deleteResponsePlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteResponsePlanRequest.Builder} avoiding the * need to create one manually via {@link DeleteResponsePlanRequest#builder()} *

* * @param deleteResponsePlanRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.DeleteResponsePlanRequest.Builder} to create a * request. * @return Result of the DeleteResponsePlan operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.DeleteResponsePlan * @see AWS API Documentation */ default DeleteResponsePlanResponse deleteResponsePlan(Consumer deleteResponsePlanRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return deleteResponsePlan(DeleteResponsePlanRequest.builder().applyMutation(deleteResponsePlanRequest).build()); } /** *

* Deletes a timeline event from an incident. *

* * @param deleteTimelineEventRequest * @return Result of the DeleteTimelineEvent operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.DeleteTimelineEvent * @see AWS API Documentation */ default DeleteTimelineEventResponse deleteTimelineEvent(DeleteTimelineEventRequest deleteTimelineEventRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Deletes a timeline event from an incident. *

*
*

* This is a convenience which creates an instance of the {@link DeleteTimelineEventRequest.Builder} avoiding the * need to create one manually via {@link DeleteTimelineEventRequest#builder()} *

* * @param deleteTimelineEventRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.DeleteTimelineEventRequest.Builder} to create a * request. * @return Result of the DeleteTimelineEvent operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.DeleteTimelineEvent * @see AWS API Documentation */ default DeleteTimelineEventResponse deleteTimelineEvent( Consumer deleteTimelineEventRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return deleteTimelineEvent(DeleteTimelineEventRequest.builder().applyMutation(deleteTimelineEventRequest).build()); } /** *

* Returns the details for the specified incident record. *

* * @param getIncidentRecordRequest * @return Result of the GetIncidentRecord operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetIncidentRecord * @see AWS API Documentation */ default GetIncidentRecordResponse getIncidentRecord(GetIncidentRecordRequest getIncidentRecordRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Returns the details for the specified incident record. *

*
*

* This is a convenience which creates an instance of the {@link GetIncidentRecordRequest.Builder} avoiding the need * to create one manually via {@link GetIncidentRecordRequest#builder()} *

* * @param getIncidentRecordRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.GetIncidentRecordRequest.Builder} to create a * request. * @return Result of the GetIncidentRecord operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetIncidentRecord * @see AWS API Documentation */ default GetIncidentRecordResponse getIncidentRecord(Consumer getIncidentRecordRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return getIncidentRecord(GetIncidentRecordRequest.builder().applyMutation(getIncidentRecordRequest).build()); } /** *

* Retrieve your Incident Manager replication set. *

* * @param getReplicationSetRequest * @return Result of the GetReplicationSet operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetReplicationSet * @see AWS API Documentation */ default GetReplicationSetResponse getReplicationSet(GetReplicationSetRequest getReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Retrieve your Incident Manager replication set. *

*
*

* This is a convenience which creates an instance of the {@link GetReplicationSetRequest.Builder} avoiding the need * to create one manually via {@link GetReplicationSetRequest#builder()} *

* * @param getReplicationSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.GetReplicationSetRequest.Builder} to create a * request. * @return Result of the GetReplicationSet operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetReplicationSet * @see AWS API Documentation */ default GetReplicationSetResponse getReplicationSet(Consumer getReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return getReplicationSet(GetReplicationSetRequest.builder().applyMutation(getReplicationSetRequest).build()); } /** *

* Retrieves the resource policies attached to the specified response plan. *

* * @param getResourcePoliciesRequest * @return Result of the GetResourcePolicies operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetResourcePolicies * @see AWS API Documentation */ default GetResourcePoliciesResponse getResourcePolicies(GetResourcePoliciesRequest getResourcePoliciesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Retrieves the resource policies attached to the specified response plan. *

*
*

* This is a convenience which creates an instance of the {@link GetResourcePoliciesRequest.Builder} avoiding the * need to create one manually via {@link GetResourcePoliciesRequest#builder()} *

* * @param getResourcePoliciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesRequest.Builder} to create a * request. * @return Result of the GetResourcePolicies operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetResourcePolicies * @see AWS API Documentation */ default GetResourcePoliciesResponse getResourcePolicies( Consumer getResourcePoliciesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return getResourcePolicies(GetResourcePoliciesRequest.builder().applyMutation(getResourcePoliciesRequest).build()); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client.getResourcePoliciesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client
     *             .getResourcePoliciesPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client.getResourcePoliciesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getResourcePolicies(software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesRequest)} * operation. *

* * @param getResourcePoliciesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetResourcePolicies * @see AWS API Documentation */ default GetResourcePoliciesIterable getResourcePoliciesPaginator(GetResourcePoliciesRequest getResourcePoliciesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return new GetResourcePoliciesIterable(this, getResourcePoliciesRequest); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client.getResourcePoliciesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client
     *             .getResourcePoliciesPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.GetResourcePoliciesIterable responses = client.getResourcePoliciesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getResourcePolicies(software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link GetResourcePoliciesRequest.Builder} avoiding the * need to create one manually via {@link GetResourcePoliciesRequest#builder()} *

* * @param getResourcePoliciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.GetResourcePoliciesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetResourcePolicies * @see AWS API Documentation */ default GetResourcePoliciesIterable getResourcePoliciesPaginator( Consumer getResourcePoliciesRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return getResourcePoliciesPaginator(GetResourcePoliciesRequest.builder().applyMutation(getResourcePoliciesRequest) .build()); } /** *

* Retrieves the details of the specified response plan. *

* * @param getResponsePlanRequest * @return Result of the GetResponsePlan operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetResponsePlan * @see AWS * API Documentation */ default GetResponsePlanResponse getResponsePlan(GetResponsePlanRequest getResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Retrieves the details of the specified response plan. *

*
*

* This is a convenience which creates an instance of the {@link GetResponsePlanRequest.Builder} avoiding the need * to create one manually via {@link GetResponsePlanRequest#builder()} *

* * @param getResponsePlanRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.GetResponsePlanRequest.Builder} to create a * request. * @return Result of the GetResponsePlan operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetResponsePlan * @see AWS * API Documentation */ default GetResponsePlanResponse getResponsePlan(Consumer getResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return getResponsePlan(GetResponsePlanRequest.builder().applyMutation(getResponsePlanRequest).build()); } /** *

* Retrieves a timeline event based on its ID and incident record. *

* * @param getTimelineEventRequest * @return Result of the GetTimelineEvent operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetTimelineEvent * @see AWS API Documentation */ default GetTimelineEventResponse getTimelineEvent(GetTimelineEventRequest getTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Retrieves a timeline event based on its ID and incident record. *

*
*

* This is a convenience which creates an instance of the {@link GetTimelineEventRequest.Builder} avoiding the need * to create one manually via {@link GetTimelineEventRequest#builder()} *

* * @param getTimelineEventRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.GetTimelineEventRequest.Builder} to create a * request. * @return Result of the GetTimelineEvent operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.GetTimelineEvent * @see AWS API Documentation */ default GetTimelineEventResponse getTimelineEvent(Consumer getTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return getTimelineEvent(GetTimelineEventRequest.builder().applyMutation(getTimelineEventRequest).build()); } /** *

* 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. *

* * @param listIncidentFindingsRequest * @return Result of the ListIncidentFindings operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListIncidentFindings * @see AWS API Documentation */ default ListIncidentFindingsResponse listIncidentFindings(ListIncidentFindingsRequest listIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListIncidentFindingsRequest.Builder} avoiding the * need to create one manually via {@link ListIncidentFindingsRequest#builder()} *

* * @param listIncidentFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsRequest.Builder} to create a * request. * @return Result of the ListIncidentFindings operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListIncidentFindings * @see AWS API Documentation */ default ListIncidentFindingsResponse listIncidentFindings( Consumer listIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listIncidentFindings(ListIncidentFindingsRequest.builder().applyMutation(listIncidentFindingsRequest).build()); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentFindingsIterable responses = client.listIncidentFindingsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @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 directly * *
     * {@code
     * software.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 * {@link #listIncidentFindings(software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsRequest)} * operation. *

* * @param listIncidentFindingsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListIncidentFindings * @see AWS API Documentation */ default ListIncidentFindingsIterable listIncidentFindingsPaginator(ListIncidentFindingsRequest listIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return new ListIncidentFindingsIterable(this, listIncidentFindingsRequest); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentFindingsIterable responses = client.listIncidentFindingsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @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 directly * *
     * {@code
     * software.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 * {@link #listIncidentFindings(software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListIncidentFindingsRequest.Builder} avoiding the * need to create one manually via {@link ListIncidentFindingsRequest#builder()} *

* * @param listIncidentFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListIncidentFindingsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListIncidentFindings * @see AWS API Documentation */ default ListIncidentFindingsIterable listIncidentFindingsPaginator( Consumer listIncidentFindingsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listIncidentFindingsPaginator(ListIncidentFindingsRequest.builder().applyMutation(listIncidentFindingsRequest) .build()); } /** *

* 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. *

* * @param listIncidentRecordsRequest * @return Result of the ListIncidentRecords operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListIncidentRecords * @see AWS API Documentation */ default ListIncidentRecordsResponse listIncidentRecords(ListIncidentRecordsRequest listIncidentRecordsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListIncidentRecordsRequest.Builder} avoiding the * need to create one manually via {@link ListIncidentRecordsRequest#builder()} *

* * @param listIncidentRecordsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsRequest.Builder} to create a * request. * @return Result of the ListIncidentRecords operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListIncidentRecords * @see AWS API Documentation */ default ListIncidentRecordsResponse listIncidentRecords( Consumer listIncidentRecordsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listIncidentRecords(ListIncidentRecordsRequest.builder().applyMutation(listIncidentRecordsRequest).build()); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client.listIncidentRecordsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client
     *             .listIncidentRecordsPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client.listIncidentRecordsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listIncidentRecords(software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsRequest)} * operation. *

* * @param listIncidentRecordsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListIncidentRecords * @see AWS API Documentation */ default ListIncidentRecordsIterable listIncidentRecordsPaginator(ListIncidentRecordsRequest listIncidentRecordsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return new ListIncidentRecordsIterable(this, listIncidentRecordsRequest); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client.listIncidentRecordsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client
     *             .listIncidentRecordsPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListIncidentRecordsIterable responses = client.listIncidentRecordsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listIncidentRecords(software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListIncidentRecordsRequest.Builder} avoiding the * need to create one manually via {@link ListIncidentRecordsRequest#builder()} *

* * @param listIncidentRecordsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListIncidentRecordsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListIncidentRecords * @see AWS API Documentation */ default ListIncidentRecordsIterable listIncidentRecordsPaginator( Consumer listIncidentRecordsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listIncidentRecordsPaginator(ListIncidentRecordsRequest.builder().applyMutation(listIncidentRecordsRequest) .build()); } /** *

* List all related items for an incident record. *

* * @param listRelatedItemsRequest * @return Result of the ListRelatedItems operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListRelatedItems * @see AWS API Documentation */ default ListRelatedItemsResponse listRelatedItems(ListRelatedItemsRequest listRelatedItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* List all related items for an incident record. *

*
*

* This is a convenience which creates an instance of the {@link ListRelatedItemsRequest.Builder} avoiding the need * to create one manually via {@link ListRelatedItemsRequest#builder()} *

* * @param listRelatedItemsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsRequest.Builder} to create a * request. * @return Result of the ListRelatedItems operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListRelatedItems * @see AWS API Documentation */ default ListRelatedItemsResponse listRelatedItems(Consumer listRelatedItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listRelatedItems(ListRelatedItemsRequest.builder().applyMutation(listRelatedItemsRequest).build()); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client.listRelatedItemsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client
     *             .listRelatedItemsPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client.listRelatedItemsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRelatedItems(software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsRequest)} * operation. *

* * @param listRelatedItemsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListRelatedItems * @see AWS API Documentation */ default ListRelatedItemsIterable listRelatedItemsPaginator(ListRelatedItemsRequest listRelatedItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return new ListRelatedItemsIterable(this, listRelatedItemsRequest); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client.listRelatedItemsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client
     *             .listRelatedItemsPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListRelatedItemsIterable responses = client.listRelatedItemsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRelatedItems(software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListRelatedItemsRequest.Builder} avoiding the need * to create one manually via {@link ListRelatedItemsRequest#builder()} *

* * @param listRelatedItemsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListRelatedItemsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListRelatedItems * @see AWS API Documentation */ default ListRelatedItemsIterable listRelatedItemsPaginator(Consumer listRelatedItemsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listRelatedItemsPaginator(ListRelatedItemsRequest.builder().applyMutation(listRelatedItemsRequest).build()); } /** *

* Lists details about the replication set configured in your account. *

* * @param listReplicationSetsRequest * @return Result of the ListReplicationSets operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListReplicationSets * @see AWS API Documentation */ default ListReplicationSetsResponse listReplicationSets(ListReplicationSetsRequest listReplicationSetsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Lists details about the replication set configured in your account. *

*
*

* This is a convenience which creates an instance of the {@link ListReplicationSetsRequest.Builder} avoiding the * need to create one manually via {@link ListReplicationSetsRequest#builder()} *

* * @param listReplicationSetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsRequest.Builder} to create a * request. * @return Result of the ListReplicationSets operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListReplicationSets * @see AWS API Documentation */ default ListReplicationSetsResponse listReplicationSets( Consumer listReplicationSetsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listReplicationSets(ListReplicationSetsRequest.builder().applyMutation(listReplicationSetsRequest).build()); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client.listReplicationSetsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client
     *             .listReplicationSetsPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client.listReplicationSetsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listReplicationSets(software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsRequest)} * operation. *

* * @param listReplicationSetsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListReplicationSets * @see AWS API Documentation */ default ListReplicationSetsIterable listReplicationSetsPaginator(ListReplicationSetsRequest listReplicationSetsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return new ListReplicationSetsIterable(this, listReplicationSetsRequest); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client.listReplicationSetsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client
     *             .listReplicationSetsPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListReplicationSetsIterable responses = client.listReplicationSetsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listReplicationSets(software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListReplicationSetsRequest.Builder} avoiding the * need to create one manually via {@link ListReplicationSetsRequest#builder()} *

* * @param listReplicationSetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListReplicationSetsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListReplicationSets * @see AWS API Documentation */ default ListReplicationSetsIterable listReplicationSetsPaginator( Consumer listReplicationSetsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listReplicationSetsPaginator(ListReplicationSetsRequest.builder().applyMutation(listReplicationSetsRequest) .build()); } /** *

* Lists all response plans in your account. *

* * @param listResponsePlansRequest * @return Result of the ListResponsePlans operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListResponsePlans * @see AWS API Documentation */ default ListResponsePlansResponse listResponsePlans(ListResponsePlansRequest listResponsePlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Lists all response plans in your account. *

*
*

* This is a convenience which creates an instance of the {@link ListResponsePlansRequest.Builder} avoiding the need * to create one manually via {@link ListResponsePlansRequest#builder()} *

* * @param listResponsePlansRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansRequest.Builder} to create a * request. * @return Result of the ListResponsePlans operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListResponsePlans * @see AWS API Documentation */ default ListResponsePlansResponse listResponsePlans(Consumer listResponsePlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listResponsePlans(ListResponsePlansRequest.builder().applyMutation(listResponsePlansRequest).build()); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client.listResponsePlansPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client
     *             .listResponsePlansPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client.listResponsePlansPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listResponsePlans(software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansRequest)} * operation. *

* * @param listResponsePlansRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListResponsePlans * @see AWS API Documentation */ default ListResponsePlansIterable listResponsePlansPaginator(ListResponsePlansRequest listResponsePlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return new ListResponsePlansIterable(this, listResponsePlansRequest); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client.listResponsePlansPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client
     *             .listResponsePlansPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListResponsePlansIterable responses = client.listResponsePlansPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listResponsePlans(software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListResponsePlansRequest.Builder} avoiding the need * to create one manually via {@link ListResponsePlansRequest#builder()} *

* * @param listResponsePlansRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListResponsePlansRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListResponsePlans * @see AWS API Documentation */ default ListResponsePlansIterable listResponsePlansPaginator( Consumer listResponsePlansRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listResponsePlansPaginator(ListResponsePlansRequest.builder().applyMutation(listResponsePlansRequest).build()); } /** *

* Lists the tags that are attached to the specified response plan or incident. *

* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Lists the tags that are attached to the specified response plan or incident. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListTagsForResourceRequest.Builder} to create a * request. * @return Result of the ListTagsForResource operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourceResponse listTagsForResource( Consumer listTagsForResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Lists timeline events for the specified incident record. *

* * @param listTimelineEventsRequest * @return Result of the ListTimelineEvents operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListTimelineEvents * @see AWS API Documentation */ default ListTimelineEventsResponse listTimelineEvents(ListTimelineEventsRequest listTimelineEventsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Lists timeline events for the specified incident record. *

*
*

* This is a convenience which creates an instance of the {@link ListTimelineEventsRequest.Builder} avoiding the * need to create one manually via {@link ListTimelineEventsRequest#builder()} *

* * @param listTimelineEventsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsRequest.Builder} to create a * request. * @return Result of the ListTimelineEvents operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListTimelineEvents * @see AWS API Documentation */ default ListTimelineEventsResponse listTimelineEvents(Consumer listTimelineEventsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listTimelineEvents(ListTimelineEventsRequest.builder().applyMutation(listTimelineEventsRequest).build()); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client.listTimelineEventsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client
     *             .listTimelineEventsPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client.listTimelineEventsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTimelineEvents(software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsRequest)} * operation. *

* * @param listTimelineEventsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListTimelineEvents * @see AWS API Documentation */ default ListTimelineEventsIterable listTimelineEventsPaginator(ListTimelineEventsRequest listTimelineEventsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return new ListTimelineEventsIterable(this, listTimelineEventsRequest); } /** *

* This is a variant of * {@link #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 * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client.listTimelineEventsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client
     *             .listTimelineEventsPaginator(request);
     *     for (software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.ssmincidents.paginators.ListTimelineEventsIterable responses = client.listTimelineEventsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTimelineEvents(software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListTimelineEventsRequest.Builder} avoiding the * need to create one manually via {@link ListTimelineEventsRequest#builder()} *

* * @param listTimelineEventsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.ListTimelineEventsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ThrottlingException * The request was denied due to request throttling. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.ListTimelineEvents * @see AWS API Documentation */ default ListTimelineEventsIterable listTimelineEventsPaginator( Consumer listTimelineEventsRequest) throws ThrottlingException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return listTimelineEventsPaginator(ListTimelineEventsRequest.builder().applyMutation(listTimelineEventsRequest).build()); } /** *

* 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. *

* * @param putResourcePolicyRequest * @return Result of the PutResourcePolicy operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.PutResourcePolicy * @see AWS API Documentation */ default PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link PutResourcePolicyRequest.Builder} avoiding the need * to create one manually via {@link PutResourcePolicyRequest#builder()} *

* * @param putResourcePolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.PutResourcePolicyRequest.Builder} to create a * request. * @return Result of the PutResourcePolicy operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.PutResourcePolicy * @see AWS API Documentation */ default PutResourcePolicyResponse putResourcePolicy(Consumer putResourcePolicyRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return putResourcePolicy(PutResourcePolicyRequest.builder().applyMutation(putResourcePolicyRequest).build()); } /** *

* Used to start an incident from CloudWatch alarms, EventBridge events, or manually. *

* * @param startIncidentRequest * @return Result of the StartIncident operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.StartIncident * @see AWS * API Documentation */ default StartIncidentResponse startIncident(StartIncidentRequest startIncidentRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Used to start an incident from CloudWatch alarms, EventBridge events, or manually. *

*
*

* This is a convenience which creates an instance of the {@link StartIncidentRequest.Builder} avoiding the need to * create one manually via {@link StartIncidentRequest#builder()} *

* * @param startIncidentRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.StartIncidentRequest.Builder} to create a * request. * @return Result of the StartIncident operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.StartIncident * @see AWS * API Documentation */ default StartIncidentResponse startIncident(Consumer startIncidentRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return startIncident(StartIncidentRequest.builder().applyMutation(startIncidentRequest).build()); } /** *

* Adds a tag to a response plan. *

* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws ServiceQuotaExceededException * Request would cause a service quota to be exceeded. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Adds a tag to a response plan. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.TagResourceRequest.Builder} to create a request. * @return Result of the TagResource operation returned by the service. * @throws ServiceQuotaExceededException * Request would cause a service quota to be exceeded. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(Consumer tagResourceRequest) throws ServiceQuotaExceededException, ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Removes a tag from a resource. *

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UntagResource * @see AWS * API Documentation */ default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Removes a tag from a resource. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.UntagResourceRequest.Builder} to create a * request. * @return Result of the UntagResource operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UntagResource * @see AWS * API Documentation */ default UntagResourceResponse untagResource(Consumer untagResourceRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Update deletion protection to either allow or deny deletion of the final Region in a replication set. *

* * @param updateDeletionProtectionRequest * @return Result of the UpdateDeletionProtection operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateDeletionProtection * @see AWS API Documentation */ default UpdateDeletionProtectionResponse updateDeletionProtection( UpdateDeletionProtectionRequest updateDeletionProtectionRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link UpdateDeletionProtectionRequest.Builder} avoiding * the need to create one manually via {@link UpdateDeletionProtectionRequest#builder()} *

* * @param updateDeletionProtectionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.UpdateDeletionProtectionRequest.Builder} to * create a request. * @return Result of the UpdateDeletionProtection operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateDeletionProtection * @see AWS API Documentation */ default UpdateDeletionProtectionResponse updateDeletionProtection( Consumer updateDeletionProtectionRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return updateDeletionProtection(UpdateDeletionProtectionRequest.builder().applyMutation(updateDeletionProtectionRequest) .build()); } /** *

* 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. *

* * @param updateIncidentRecordRequest * @return Result of the UpdateIncidentRecord operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateIncidentRecord * @see AWS API Documentation */ default UpdateIncidentRecordResponse updateIncidentRecord(UpdateIncidentRecordRequest updateIncidentRecordRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* 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 {@link UpdateIncidentRecordRequest.Builder} avoiding the * need to create one manually via {@link UpdateIncidentRecordRequest#builder()} *

* * @param updateIncidentRecordRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.UpdateIncidentRecordRequest.Builder} to create a * request. * @return Result of the UpdateIncidentRecord operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateIncidentRecord * @see AWS API Documentation */ default UpdateIncidentRecordResponse updateIncidentRecord( Consumer updateIncidentRecordRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return updateIncidentRecord(UpdateIncidentRecordRequest.builder().applyMutation(updateIncidentRecordRequest).build()); } /** *

* Add or remove related items from the related items tab of an incident record. *

* * @param updateRelatedItemsRequest * @return Result of the UpdateRelatedItems operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateRelatedItems * @see AWS API Documentation */ default UpdateRelatedItemsResponse updateRelatedItems(UpdateRelatedItemsRequest updateRelatedItemsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Add or remove related items from the related items tab of an incident record. *

*
*

* This is a convenience which creates an instance of the {@link UpdateRelatedItemsRequest.Builder} avoiding the * need to create one manually via {@link UpdateRelatedItemsRequest#builder()} *

* * @param updateRelatedItemsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.UpdateRelatedItemsRequest.Builder} to create a * request. * @return Result of the UpdateRelatedItems operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateRelatedItems * @see AWS API Documentation */ default UpdateRelatedItemsResponse updateRelatedItems(Consumer updateRelatedItemsRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return updateRelatedItems(UpdateRelatedItemsRequest.builder().applyMutation(updateRelatedItemsRequest).build()); } /** *

* Add or delete Regions from your replication set. *

* * @param updateReplicationSetRequest * @return Result of the UpdateReplicationSet operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateReplicationSet * @see AWS API Documentation */ default UpdateReplicationSetResponse updateReplicationSet(UpdateReplicationSetRequest updateReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Add or delete Regions from your replication set. *

*
*

* This is a convenience which creates an instance of the {@link UpdateReplicationSetRequest.Builder} avoiding the * need to create one manually via {@link UpdateReplicationSetRequest#builder()} *

* * @param updateReplicationSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.UpdateReplicationSetRequest.Builder} to create a * request. * @return Result of the UpdateReplicationSet operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateReplicationSet * @see AWS API Documentation */ default UpdateReplicationSetResponse updateReplicationSet( Consumer updateReplicationSetRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return updateReplicationSet(UpdateReplicationSetRequest.builder().applyMutation(updateReplicationSetRequest).build()); } /** *

* Updates the specified response plan. *

* * @param updateResponsePlanRequest * @return Result of the UpdateResponsePlan operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateResponsePlan * @see AWS API Documentation */ default UpdateResponsePlanResponse updateResponsePlan(UpdateResponsePlanRequest updateResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Updates the specified response plan. *

*
*

* This is a convenience which creates an instance of the {@link UpdateResponsePlanRequest.Builder} avoiding the * need to create one manually via {@link UpdateResponsePlanRequest#builder()} *

* * @param updateResponsePlanRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.UpdateResponsePlanRequest.Builder} to create a * request. * @return Result of the UpdateResponsePlan operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateResponsePlan * @see AWS API Documentation */ default UpdateResponsePlanResponse updateResponsePlan(Consumer updateResponsePlanRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return updateResponsePlan(UpdateResponsePlanRequest.builder().applyMutation(updateResponsePlanRequest).build()); } /** *

* Updates a timeline event. You can update events of type Custom Event. *

* * @param updateTimelineEventRequest * @return Result of the UpdateTimelineEvent operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateTimelineEvent * @see AWS API Documentation */ default UpdateTimelineEventResponse updateTimelineEvent(UpdateTimelineEventRequest updateTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { throw new UnsupportedOperationException(); } /** *

* Updates a timeline event. You can update events of type Custom Event. *

*
*

* This is a convenience which creates an instance of the {@link UpdateTimelineEventRequest.Builder} avoiding the * need to create one manually via {@link UpdateTimelineEventRequest#builder()} *

* * @param updateTimelineEventRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.ssmincidents.model.UpdateTimelineEventRequest.Builder} to create a * request. * @return Result of the UpdateTimelineEvent operation returned by the service. * @throws ThrottlingException * The request was denied due to request throttling. * @throws ResourceNotFoundException * Request references a resource which doesn't exist. * @throws AccessDeniedException * You don't have sufficient access to perform this operation. * @throws ValidationException * The input fails to satisfy the constraints specified by an Amazon Web Services service. * @throws ConflictException * Updating or deleting a resource causes an inconsistent state. * @throws InternalServerException * The request processing has failed because of an unknown error, exception or failure. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SsmIncidentsException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SsmIncidentsClient.UpdateTimelineEvent * @see AWS API Documentation */ default UpdateTimelineEventResponse updateTimelineEvent( Consumer updateTimelineEventRequest) throws ThrottlingException, ResourceNotFoundException, AccessDeniedException, ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, SsmIncidentsException { return updateTimelineEvent(UpdateTimelineEventRequest.builder().applyMutation(updateTimelineEventRequest).build()); } /** * Create an instance of {@link SsmIncidentsWaiter} using this client. *

* Waiters created via this method are managed by the SDK and resources will be released when the service client is * closed. * * @return an instance of {@link SsmIncidentsWaiter} */ default SsmIncidentsWaiter waiter() { throw new UnsupportedOperationException(); } /** * Create a {@link SsmIncidentsClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static SsmIncidentsClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link SsmIncidentsClient}. */ static SsmIncidentsClientBuilder builder() { return new DefaultSsmIncidentsClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default SsmIncidentsServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy