/* * 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.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.SSMContacts.Model; using Amazon.SSMContacts.Model.Internal.MarshallTransformations; using Amazon.SSMContacts.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.SSMContacts { /// /// Implementation 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 class AmazonSSMContactsClient : AmazonServiceClient, IAmazonSSMContacts { private static IServiceMetadata serviceMetadata = new AmazonSSMContactsMetadata(); private ISSMContactsPaginatorFactory _paginators; /// /// Paginators for the service /// public ISSMContactsPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new SSMContactsPaginatorFactory(this); } return this._paginators; } } #region Constructors /// /// Constructs AmazonSSMContactsClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonSSMContactsClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonSSMContactsConfig()) { } /// /// Constructs AmazonSSMContactsClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonSSMContactsClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonSSMContactsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSSMContactsClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonSSMContactsClient Configuration Object public AmazonSSMContactsClient(AmazonSSMContactsConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonSSMContactsClient with AWS Credentials /// /// AWS Credentials public AmazonSSMContactsClient(AWSCredentials credentials) : this(credentials, new AmazonSSMContactsConfig()) { } /// /// Constructs AmazonSSMContactsClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonSSMContactsClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonSSMContactsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSSMContactsClient with AWS Credentials and an /// AmazonSSMContactsClient Configuration object. /// /// AWS Credentials /// The AmazonSSMContactsClient Configuration Object public AmazonSSMContactsClient(AWSCredentials credentials, AmazonSSMContactsConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonSSMContactsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonSSMContactsClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonSSMContactsConfig()) { } /// /// Constructs AmazonSSMContactsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonSSMContactsClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonSSMContactsConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonSSMContactsClient with AWS Access Key ID, AWS Secret Key and an /// AmazonSSMContactsClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonSSMContactsClient Configuration Object public AmazonSSMContactsClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonSSMContactsConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonSSMContactsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonSSMContactsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSSMContactsConfig()) { } /// /// Constructs AmazonSSMContactsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonSSMContactsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSSMContactsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSSMContactsClient with AWS Access Key ID, AWS Secret Key and an /// AmazonSSMContactsClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonSSMContactsClient Configuration Object public AmazonSSMContactsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonSSMContactsConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonSSMContactsEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #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. /// /// 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 public virtual AcceptPageResponse AcceptPage(AcceptPageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptPageRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptPageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task AcceptPageAsync(AcceptPageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptPageRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptPageResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual ActivateContactChannelResponse ActivateContactChannel(ActivateContactChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateContactChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ActivateContactChannelAsync(ActivateContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateContactChannelResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual CreateContactResponse CreateContact(CreateContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContactRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateContactAsync(CreateContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContactRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual CreateContactChannelResponse CreateContactChannel(CreateContactChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContactChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateContactChannelAsync(CreateContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContactChannelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRotation /// /// Creates a rotation in an on-call schedule. /// /// Container for the necessary parameters to execute the CreateRotation service method. /// /// 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 public virtual CreateRotationResponse CreateRotation(CreateRotationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRotationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateRotationAsync(CreateRotationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRotationResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual CreateRotationOverrideResponse CreateRotationOverride(CreateRotationOverrideRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRotationOverrideRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRotationOverrideResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task CreateRotationOverrideAsync(CreateRotationOverrideRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRotationOverrideRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRotationOverrideResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual DeactivateContactChannelResponse DeactivateContactChannel(DeactivateContactChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeactivateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeactivateContactChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeactivateContactChannelAsync(DeactivateContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeactivateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeactivateContactChannelResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual DeleteContactResponse DeleteContact(DeleteContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteContactAsync(DeleteContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual DeleteContactChannelResponse DeleteContactChannel(DeleteContactChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteContactChannelAsync(DeleteContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactChannelResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual DeleteRotationResponse DeleteRotation(DeleteRotationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRotationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteRotationAsync(DeleteRotationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRotationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRotationOverride /// /// Deletes an existing override for an on-call rotation. /// /// Container for the necessary parameters to execute the DeleteRotationOverride service method. /// /// 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 public virtual DeleteRotationOverrideResponse DeleteRotationOverride(DeleteRotationOverrideRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRotationOverrideRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRotationOverrideResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DeleteRotationOverrideAsync(DeleteRotationOverrideRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRotationOverrideRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRotationOverrideResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual DescribeEngagementResponse DescribeEngagement(DescribeEngagementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEngagementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribeEngagementAsync(DescribeEngagementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEngagementResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribePage /// /// Lists details of the engagement to a contact channel. /// /// Container for the necessary parameters to execute the DescribePage service method. /// /// 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 public virtual DescribePageResponse DescribePage(DescribePageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePageRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task DescribePageAsync(DescribePageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePageRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetContact /// /// Retrieves information about the specified contact or escalation plan. /// /// Container for the necessary parameters to execute the GetContact service method. /// /// 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 public virtual GetContactResponse GetContact(GetContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetContactAsync(GetContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetContactChannel /// /// List details about a specific contact channel. /// /// Container for the necessary parameters to execute the GetContactChannel service method. /// /// 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 public virtual GetContactChannelResponse GetContactChannel(GetContactChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetContactChannelAsync(GetContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactChannelResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual GetContactPolicyResponse GetContactPolicy(GetContactPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetContactPolicyAsync(GetContactPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRotation /// /// Retrieves information about an on-call rotation. /// /// Container for the necessary parameters to execute the GetRotation service method. /// /// 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 public virtual GetRotationResponse GetRotation(GetRotationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRotationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetRotationAsync(GetRotationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRotationResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual GetRotationOverrideResponse GetRotationOverride(GetRotationOverrideRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRotationOverrideRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRotationOverrideResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task GetRotationOverrideAsync(GetRotationOverrideRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRotationOverrideRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRotationOverrideResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListContactChannels /// /// Lists all contact channels for the specified contact. /// /// Container for the necessary parameters to execute the ListContactChannels service method. /// /// 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 public virtual ListContactChannelsResponse ListContactChannels(ListContactChannelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactChannelsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListContactChannelsAsync(ListContactChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactChannelsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListContacts /// /// Lists all contacts and escalation plans in Incident Manager. /// /// Container for the necessary parameters to execute the ListContacts service method. /// /// 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 public virtual ListContactsResponse ListContacts(ListContactsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListContactsAsync(ListContactsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListEngagements /// /// Lists all engagements that have happened in an incident. /// /// Container for the necessary parameters to execute the ListEngagements service method. /// /// 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 public virtual ListEngagementsResponse ListEngagements(ListEngagementsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEngagementsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEngagementsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListEngagementsAsync(ListEngagementsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListEngagementsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEngagementsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual ListPageReceiptsResponse ListPageReceipts(ListPageReceiptsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPageReceiptsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPageReceiptsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListPageReceiptsAsync(ListPageReceiptsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPageReceiptsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPageReceiptsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual ListPageResolutionsResponse ListPageResolutions(ListPageResolutionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPageResolutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPageResolutionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListPageResolutionsAsync(ListPageResolutionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPageResolutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPageResolutionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListPagesByContact /// /// Lists the engagements to a contact's contact channels. /// /// Container for the necessary parameters to execute the ListPagesByContact service method. /// /// 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 public virtual ListPagesByContactResponse ListPagesByContact(ListPagesByContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPagesByContactRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPagesByContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListPagesByContactAsync(ListPagesByContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPagesByContactRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPagesByContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual ListPagesByEngagementResponse ListPagesByEngagement(ListPagesByEngagementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPagesByEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPagesByEngagementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListPagesByEngagementAsync(ListPagesByEngagementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPagesByEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPagesByEngagementResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual ListPreviewRotationShiftsResponse ListPreviewRotationShifts(ListPreviewRotationShiftsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPreviewRotationShiftsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPreviewRotationShiftsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListPreviewRotationShiftsAsync(ListPreviewRotationShiftsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPreviewRotationShiftsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPreviewRotationShiftsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual ListRotationOverridesResponse ListRotationOverrides(ListRotationOverridesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRotationOverridesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRotationOverridesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListRotationOverridesAsync(ListRotationOverridesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRotationOverridesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRotationOverridesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRotations /// /// Retrieves a list of on-call rotations. /// /// Container for the necessary parameters to execute the ListRotations service method. /// /// 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 public virtual ListRotationsResponse ListRotations(ListRotationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRotationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRotationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListRotationsAsync(ListRotationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRotationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRotationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual ListRotationShiftsResponse ListRotationShifts(ListRotationShiftsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRotationShiftsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRotationShiftsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListRotationShiftsAsync(ListRotationShiftsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRotationShiftsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRotationShiftsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource /// /// Lists the tags of an escalation plan or contact. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// 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 public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual PutContactPolicyResponse PutContactPolicy(PutContactPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutContactPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutContactPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task PutContactPolicyAsync(PutContactPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutContactPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutContactPolicyResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual SendActivationCodeResponse SendActivationCode(SendActivationCodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendActivationCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = SendActivationCodeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task SendActivationCodeAsync(SendActivationCodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendActivationCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = SendActivationCodeResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual StartEngagementResponse StartEngagement(StartEngagementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = StartEngagementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task StartEngagementAsync(StartEngagementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = StartEngagementResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual StopEngagementResponse StopEngagement(StopEngagementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = StopEngagementResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task StopEngagementAsync(StopEngagementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = StopEngagementResponseUnmarshaller.Instance; return InvokeAsync(request, options, 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. /// /// 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 public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource /// /// Removes tags from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// 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 public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContact /// /// Updates the contact or escalation plan specified. /// /// Container for the necessary parameters to execute the UpdateContact service method. /// /// 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 public virtual UpdateContactResponse UpdateContact(UpdateContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateContactAsync(UpdateContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContactChannel /// /// Updates a contact's contact channel. /// /// Container for the necessary parameters to execute the UpdateContactChannel service method. /// /// 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 public virtual UpdateContactChannelResponse UpdateContactChannel(UpdateContactChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateContactChannelAsync(UpdateContactChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactChannelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRotation /// /// Updates the information specified for an on-call rotation. /// /// Container for the necessary parameters to execute the UpdateRotation service method. /// /// 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 public virtual UpdateRotationResponse UpdateRotation(UpdateRotationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRotationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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 public virtual Task UpdateRotationAsync(UpdateRotationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRotationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }