/*
* 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.
*/
/*
* Do not modify this file. This file is generated from the ssm-contacts-2021-05-03.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.SSMContacts.Model;
namespace Amazon.SSMContacts
{
///
/// Interface for accessing SSMContacts
///
/// 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.
///
///
public partial interface IAmazonSSMContacts : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
ISSMContactsPaginatorFactory Paginators { get; }
#endif
#region AcceptPage
///
/// Used to acknowledge an engagement to a contact channel during an incident.
///
/// Container for the necessary parameters to execute the AcceptPage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AcceptPage service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for AcceptPage Operation
Task AcceptPageAsync(AcceptPageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ActivateContactChannel
///
/// Activates a contact's contact channel. Incident Manager can't engage a contact until
/// the contact channel has been activated.
///
/// Container for the necessary parameters to execute the ActivateContactChannel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ActivateContactChannel service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ActivateContactChannel Operation
Task ActivateContactChannelAsync(ActivateContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateContact
///
/// Contacts are either the contacts that Incident Manager engages during an incident
/// or the escalation plans that Incident Manager uses to engage contacts in phases during
/// an incident.
///
/// Container for the necessary parameters to execute the CreateContact service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateContact service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Updating or deleting a resource causes an inconsistent state.
///
///
/// The operation failed to due an encryption key error.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request would cause a service quota to be exceeded.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateContact Operation
Task CreateContactAsync(CreateContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateContactChannel
///
/// A contact channel is the method that Incident Manager uses to engage your contact.
///
/// Container for the necessary parameters to execute the CreateContactChannel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateContactChannel service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Updating or deleting a resource causes an inconsistent state.
///
///
/// The operation failed to due an encryption key error.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateContactChannel Operation
Task CreateContactChannelAsync(CreateContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRotation
///
/// Creates a rotation in an on-call schedule.
///
/// Container for the necessary parameters to execute the CreateRotation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateRotation service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// Request would cause a service quota to be exceeded.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateRotation Operation
Task CreateRotationAsync(CreateRotationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateRotationOverride
///
/// Creates an override for a rotation in an on-call schedule.
///
/// Container for the necessary parameters to execute the CreateRotationOverride service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateRotationOverride service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// Request would cause a service quota to be exceeded.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for CreateRotationOverride Operation
Task CreateRotationOverrideAsync(CreateRotationOverrideRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeactivateContactChannel
///
/// To no longer receive Incident Manager engagements to a contact channel, you can deactivate
/// the channel.
///
/// Container for the necessary parameters to execute the DeactivateContactChannel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeactivateContactChannel service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeactivateContactChannel Operation
Task DeactivateContactChannelAsync(DeactivateContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteContact
///
/// To remove a contact from Incident Manager, you can delete the contact. Deleting a
/// contact removes them from all escalation plans and related response plans. Deleting
/// an escalation plan removes it from all related response plans. You will have to recreate
/// the contact and its contact channels before you can use it again.
///
/// Container for the necessary parameters to execute the DeleteContact service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteContact service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Updating or deleting a resource causes an inconsistent state.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteContact Operation
Task DeleteContactAsync(DeleteContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteContactChannel
///
/// To no longer receive engagements on a contact channel, you can delete the channel
/// from a contact. Deleting the contact channel removes it from the contact's engagement
/// plan. If you delete the only contact channel for a contact, you won't be able to engage
/// that contact during an incident.
///
/// Container for the necessary parameters to execute the DeleteContactChannel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteContactChannel service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteContactChannel Operation
Task DeleteContactChannelAsync(DeleteContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRotation
///
/// Deletes a rotation from the system. If a rotation belongs to more than one on-call
/// schedule, this operation deletes it from all of them.
///
/// Container for the necessary parameters to execute the DeleteRotation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteRotation service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Updating or deleting a resource causes an inconsistent state.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteRotation Operation
Task DeleteRotationAsync(DeleteRotationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteRotationOverride
///
/// Deletes an existing override for an on-call rotation.
///
/// Container for the necessary parameters to execute the DeleteRotationOverride service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteRotationOverride service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DeleteRotationOverride Operation
Task DeleteRotationOverrideAsync(DeleteRotationOverrideRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEngagement
///
/// Incident Manager uses engagements to engage contacts and escalation plans during an
/// incident. Use this command to describe the engagement that occurred during an incident.
///
/// Container for the necessary parameters to execute the DescribeEngagement service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEngagement service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// The operation failed to due an encryption key error.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DescribeEngagement Operation
Task DescribeEngagementAsync(DescribeEngagementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribePage
///
/// Lists details of the engagement to a contact channel.
///
/// Container for the necessary parameters to execute the DescribePage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribePage service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// The operation failed to due an encryption key error.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for DescribePage Operation
Task DescribePageAsync(DescribePageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetContact
///
/// Retrieves information about the specified contact or escalation plan.
///
/// Container for the necessary parameters to execute the GetContact service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetContact service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// The operation failed to due an encryption key error.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetContact Operation
Task GetContactAsync(GetContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetContactChannel
///
/// List details about a specific contact channel.
///
/// Container for the necessary parameters to execute the GetContactChannel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetContactChannel service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// The operation failed to due an encryption key error.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetContactChannel Operation
Task GetContactChannelAsync(GetContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetContactPolicy
///
/// Retrieves the resource policies attached to the specified contact or escalation plan.
///
/// Container for the necessary parameters to execute the GetContactPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetContactPolicy service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetContactPolicy Operation
Task GetContactPolicyAsync(GetContactPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRotation
///
/// Retrieves information about an on-call rotation.
///
/// Container for the necessary parameters to execute the GetRotation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRotation service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetRotation Operation
Task GetRotationAsync(GetRotationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetRotationOverride
///
/// Retrieves information about an override to an on-call rotation.
///
/// Container for the necessary parameters to execute the GetRotationOverride service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRotationOverride service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for GetRotationOverride Operation
Task GetRotationOverrideAsync(GetRotationOverrideRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListContactChannels
///
/// Lists all contact channels for the specified contact.
///
/// Container for the necessary parameters to execute the ListContactChannels service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListContactChannels service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// The operation failed to due an encryption key error.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListContactChannels Operation
Task ListContactChannelsAsync(ListContactChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListContacts
///
/// Lists all contacts and escalation plans in Incident Manager.
///
/// Container for the necessary parameters to execute the ListContacts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListContacts service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListContacts Operation
Task ListContactsAsync(ListContactsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListEngagements
///
/// Lists all engagements that have happened in an incident.
///
/// Container for the necessary parameters to execute the ListEngagements service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListEngagements service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListEngagements Operation
Task ListEngagementsAsync(ListEngagementsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListPageReceipts
///
/// Lists all of the engagements to contact channels that have been acknowledged.
///
/// Container for the necessary parameters to execute the ListPageReceipts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPageReceipts service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListPageReceipts Operation
Task ListPageReceiptsAsync(ListPageReceiptsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListPageResolutions
///
/// Returns the resolution path of an engagement. For example, the escalation plan engaged
/// in an incident might target an on-call schedule that includes several contacts in
/// a rotation, but just one contact on-call when the incident starts. The resolution
/// path indicates the hierarchy of escalation plan > on-call schedule > contact.
///
/// Container for the necessary parameters to execute the ListPageResolutions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPageResolutions service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListPageResolutions Operation
Task ListPageResolutionsAsync(ListPageResolutionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListPagesByContact
///
/// Lists the engagements to a contact's contact channels.
///
/// Container for the necessary parameters to execute the ListPagesByContact service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPagesByContact service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListPagesByContact Operation
Task ListPagesByContactAsync(ListPagesByContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListPagesByEngagement
///
/// Lists the engagements to contact channels that occurred by engaging a contact.
///
/// Container for the necessary parameters to execute the ListPagesByEngagement service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPagesByEngagement service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListPagesByEngagement Operation
Task ListPagesByEngagementAsync(ListPagesByEngagementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListPreviewRotationShifts
///
/// Returns a list of shifts based on rotation configuration parameters.
///
///
///
/// The Incident Manager primarily uses this operation to populate the Preview
/// calendar. It is not typically run by end users.
///
///
///
/// Container for the necessary parameters to execute the ListPreviewRotationShifts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPreviewRotationShifts service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListPreviewRotationShifts Operation
Task ListPreviewRotationShiftsAsync(ListPreviewRotationShiftsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListRotationOverrides
///
/// Retrieves a list of overrides currently specified for an on-call rotation.
///
/// Container for the necessary parameters to execute the ListRotationOverrides service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRotationOverrides service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListRotationOverrides Operation
Task ListRotationOverridesAsync(ListRotationOverridesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListRotations
///
/// Retrieves a list of on-call rotations.
///
/// Container for the necessary parameters to execute the ListRotations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRotations service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListRotations Operation
Task ListRotationsAsync(ListRotationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListRotationShifts
///
/// Returns a list of shifts generated by an existing rotation in the system.
///
/// Container for the necessary parameters to execute the ListRotationShifts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListRotationShifts service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Updating or deleting a resource causes an inconsistent state.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListRotationShifts Operation
Task ListRotationShiftsAsync(ListRotationShiftsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// Lists the tags of an escalation plan or contact.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutContactPolicy
///
/// Adds a resource policy to the specified contact or escalation plan. The resource policy
/// is used to share the contact or escalation plan using Resource Access Manager (RAM).
/// For more information about cross-account sharing, see Setting
/// up cross-account functionality.
///
/// Container for the necessary parameters to execute the PutContactPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutContactPolicy service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Updating or deleting a resource causes an inconsistent state.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for PutContactPolicy Operation
Task PutContactPolicyAsync(PutContactPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SendActivationCode
///
/// Sends an activation code to a contact channel. The contact can use this code to activate
/// the contact channel in the console or with the ActivateChannel
operation.
/// Incident Manager can't engage a contact channel until it has been activated.
///
/// Container for the necessary parameters to execute the SendActivationCode service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SendActivationCode service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// The operation failed to due an encryption key error.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// Request would cause a service quota to be exceeded.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for SendActivationCode Operation
Task SendActivationCodeAsync(SendActivationCodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartEngagement
///
/// Starts an engagement to a contact or escalation plan. The engagement engages each
/// contact specified in the incident.
///
/// Container for the necessary parameters to execute the StartEngagement service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartEngagement service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// The operation failed to due an encryption key error.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for StartEngagement Operation
Task StartEngagementAsync(StartEngagementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopEngagement
///
/// Stops an engagement before it finishes the final stage of the escalation plan or engagement
/// plan. Further contacts aren't engaged.
///
/// Container for the necessary parameters to execute the StopEngagement service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopEngagement service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for StopEngagement Operation
Task StopEngagementAsync(StopEngagementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Tags a contact or escalation plan. You can tag only contacts and escalation plans
/// in the first region of your replication set.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// Request would cause a service quota to be exceeded.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Removes tags from the specified resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateContact
///
/// Updates the contact or escalation plan specified.
///
/// Container for the necessary parameters to execute the UpdateContact service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateContact service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// The operation failed to due an encryption key error.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// Request would cause a service quota to be exceeded.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UpdateContact Operation
Task UpdateContactAsync(UpdateContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateContactChannel
///
/// Updates a contact's contact channel.
///
/// Container for the necessary parameters to execute the UpdateContactChannel service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateContactChannel service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Updating or deleting a resource causes an inconsistent state.
///
///
/// The operation failed to due an encryption key error.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UpdateContactChannel Operation
Task UpdateContactChannelAsync(UpdateContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateRotation
///
/// Updates the information specified for an on-call rotation.
///
/// Container for the necessary parameters to execute the UpdateRotation service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateRotation service method, as returned by SSMContacts.
///
/// You don't have sufficient access to perform this operation.
///
///
/// Updating or deleting a resource causes an inconsistent state.
///
///
/// Unexpected error occurred while processing the request.
///
///
/// Request references a resource that doesn't exist.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an Amazon Web Services service.
///
/// REST API Reference for UpdateRotation Operation
Task UpdateRotationAsync(UpdateRotationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}