/* * 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.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(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private ISSMContactsPaginatorFactory _paginators; /// /// Paginators for the service /// public ISSMContactsPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new SSMContactsPaginatorFactory(this); } return this._paginators; } } #endif #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); } /// /// Initiates the asynchronous execution of the AcceptPage operation. /// /// /// Container for the necessary parameters to execute the AcceptPage operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAcceptPage /// operation. /// REST API Reference for AcceptPage Operation public virtual IAsyncResult BeginAcceptPage(AcceptPageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptPageRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptPageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AcceptPage operation. /// /// /// The IAsyncResult returned by the call to BeginAcceptPage. /// /// Returns a AcceptPageResult from SSMContacts. /// REST API Reference for AcceptPage Operation public virtual AcceptPageResponse EndAcceptPage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ActivateContactChannel operation. /// /// /// Container for the necessary parameters to execute the ActivateContactChannel operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndActivateContactChannel /// operation. /// REST API Reference for ActivateContactChannel Operation public virtual IAsyncResult BeginActivateContactChannel(ActivateContactChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateContactChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ActivateContactChannel operation. /// /// /// The IAsyncResult returned by the call to BeginActivateContactChannel. /// /// Returns a ActivateContactChannelResult from SSMContacts. /// REST API Reference for ActivateContactChannel Operation public virtual ActivateContactChannelResponse EndActivateContactChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateContact operation. /// /// /// Container for the necessary parameters to execute the CreateContact operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateContact /// operation. /// REST API Reference for CreateContact Operation public virtual IAsyncResult BeginCreateContact(CreateContactRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContactRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContactResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateContact operation. /// /// /// The IAsyncResult returned by the call to BeginCreateContact. /// /// Returns a CreateContactResult from SSMContacts. /// REST API Reference for CreateContact Operation public virtual CreateContactResponse EndCreateContact(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateContactChannel operation. /// /// /// Container for the necessary parameters to execute the CreateContactChannel operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateContactChannel /// operation. /// REST API Reference for CreateContactChannel Operation public virtual IAsyncResult BeginCreateContactChannel(CreateContactChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContactChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateContactChannel operation. /// /// /// The IAsyncResult returned by the call to BeginCreateContactChannel. /// /// Returns a CreateContactChannelResult from SSMContacts. /// REST API Reference for CreateContactChannel Operation public virtual CreateContactChannelResponse EndCreateContactChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateRotation operation. /// /// /// Container for the necessary parameters to execute the CreateRotation operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRotation /// operation. /// REST API Reference for CreateRotation Operation public virtual IAsyncResult BeginCreateRotation(CreateRotationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRotationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateRotation operation. /// /// /// The IAsyncResult returned by the call to BeginCreateRotation. /// /// Returns a CreateRotationResult from SSMContacts. /// REST API Reference for CreateRotation Operation public virtual CreateRotationResponse EndCreateRotation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CreateRotationOverride operation. /// /// /// Container for the necessary parameters to execute the CreateRotationOverride operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRotationOverride /// operation. /// REST API Reference for CreateRotationOverride Operation public virtual IAsyncResult BeginCreateRotationOverride(CreateRotationOverrideRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRotationOverrideRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRotationOverrideResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateRotationOverride operation. /// /// /// The IAsyncResult returned by the call to BeginCreateRotationOverride. /// /// Returns a CreateRotationOverrideResult from SSMContacts. /// REST API Reference for CreateRotationOverride Operation public virtual CreateRotationOverrideResponse EndCreateRotationOverride(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeactivateContactChannel operation. /// /// /// Container for the necessary parameters to execute the DeactivateContactChannel operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeactivateContactChannel /// operation. /// REST API Reference for DeactivateContactChannel Operation public virtual IAsyncResult BeginDeactivateContactChannel(DeactivateContactChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeactivateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeactivateContactChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeactivateContactChannel operation. /// /// /// The IAsyncResult returned by the call to BeginDeactivateContactChannel. /// /// Returns a DeactivateContactChannelResult from SSMContacts. /// REST API Reference for DeactivateContactChannel Operation public virtual DeactivateContactChannelResponse EndDeactivateContactChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteContact operation. /// /// /// Container for the necessary parameters to execute the DeleteContact operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteContact /// operation. /// REST API Reference for DeleteContact Operation public virtual IAsyncResult BeginDeleteContact(DeleteContactRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteContact operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteContact. /// /// Returns a DeleteContactResult from SSMContacts. /// REST API Reference for DeleteContact Operation public virtual DeleteContactResponse EndDeleteContact(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteContactChannel operation. /// /// /// Container for the necessary parameters to execute the DeleteContactChannel operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteContactChannel /// operation. /// REST API Reference for DeleteContactChannel Operation public virtual IAsyncResult BeginDeleteContactChannel(DeleteContactChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteContactChannel operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteContactChannel. /// /// Returns a DeleteContactChannelResult from SSMContacts. /// REST API Reference for DeleteContactChannel Operation public virtual DeleteContactChannelResponse EndDeleteContactChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteRotation operation. /// /// /// Container for the necessary parameters to execute the DeleteRotation operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRotation /// operation. /// REST API Reference for DeleteRotation Operation public virtual IAsyncResult BeginDeleteRotation(DeleteRotationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRotationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteRotation operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRotation. /// /// Returns a DeleteRotationResult from SSMContacts. /// REST API Reference for DeleteRotation Operation public virtual DeleteRotationResponse EndDeleteRotation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DeleteRotationOverride operation. /// /// /// Container for the necessary parameters to execute the DeleteRotationOverride operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRotationOverride /// operation. /// REST API Reference for DeleteRotationOverride Operation public virtual IAsyncResult BeginDeleteRotationOverride(DeleteRotationOverrideRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRotationOverrideRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRotationOverrideResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteRotationOverride operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRotationOverride. /// /// Returns a DeleteRotationOverrideResult from SSMContacts. /// REST API Reference for DeleteRotationOverride Operation public virtual DeleteRotationOverrideResponse EndDeleteRotationOverride(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeEngagement operation. /// /// /// Container for the necessary parameters to execute the DescribeEngagement operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeEngagement /// operation. /// REST API Reference for DescribeEngagement Operation public virtual IAsyncResult BeginDescribeEngagement(DescribeEngagementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEngagementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeEngagement operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeEngagement. /// /// Returns a DescribeEngagementResult from SSMContacts. /// REST API Reference for DescribeEngagement Operation public virtual DescribeEngagementResponse EndDescribeEngagement(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribePage operation. /// /// /// Container for the necessary parameters to execute the DescribePage operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribePage /// operation. /// REST API Reference for DescribePage Operation public virtual IAsyncResult BeginDescribePage(DescribePageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePageRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribePage operation. /// /// /// The IAsyncResult returned by the call to BeginDescribePage. /// /// Returns a DescribePageResult from SSMContacts. /// REST API Reference for DescribePage Operation public virtual DescribePageResponse EndDescribePage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetContact operation. /// /// /// Container for the necessary parameters to execute the GetContact operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetContact /// operation. /// REST API Reference for GetContact Operation public virtual IAsyncResult BeginGetContact(GetContactRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetContact operation. /// /// /// The IAsyncResult returned by the call to BeginGetContact. /// /// Returns a GetContactResult from SSMContacts. /// REST API Reference for GetContact Operation public virtual GetContactResponse EndGetContact(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetContactChannel operation. /// /// /// Container for the necessary parameters to execute the GetContactChannel operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetContactChannel /// operation. /// REST API Reference for GetContactChannel Operation public virtual IAsyncResult BeginGetContactChannel(GetContactChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetContactChannel operation. /// /// /// The IAsyncResult returned by the call to BeginGetContactChannel. /// /// Returns a GetContactChannelResult from SSMContacts. /// REST API Reference for GetContactChannel Operation public virtual GetContactChannelResponse EndGetContactChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetContactPolicy operation. /// /// /// Container for the necessary parameters to execute the GetContactPolicy operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetContactPolicy /// operation. /// REST API Reference for GetContactPolicy Operation public virtual IAsyncResult BeginGetContactPolicy(GetContactPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetContactPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginGetContactPolicy. /// /// Returns a GetContactPolicyResult from SSMContacts. /// REST API Reference for GetContactPolicy Operation public virtual GetContactPolicyResponse EndGetContactPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetRotation operation. /// /// /// Container for the necessary parameters to execute the GetRotation operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRotation /// operation. /// REST API Reference for GetRotation Operation public virtual IAsyncResult BeginGetRotation(GetRotationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRotationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetRotation operation. /// /// /// The IAsyncResult returned by the call to BeginGetRotation. /// /// Returns a GetRotationResult from SSMContacts. /// REST API Reference for GetRotation Operation public virtual GetRotationResponse EndGetRotation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetRotationOverride operation. /// /// /// Container for the necessary parameters to execute the GetRotationOverride operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRotationOverride /// operation. /// REST API Reference for GetRotationOverride Operation public virtual IAsyncResult BeginGetRotationOverride(GetRotationOverrideRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetRotationOverrideRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRotationOverrideResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetRotationOverride operation. /// /// /// The IAsyncResult returned by the call to BeginGetRotationOverride. /// /// Returns a GetRotationOverrideResult from SSMContacts. /// REST API Reference for GetRotationOverride Operation public virtual GetRotationOverrideResponse EndGetRotationOverride(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListContactChannels operation. /// /// /// Container for the necessary parameters to execute the ListContactChannels operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListContactChannels /// operation. /// REST API Reference for ListContactChannels Operation public virtual IAsyncResult BeginListContactChannels(ListContactChannelsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactChannelsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListContactChannels operation. /// /// /// The IAsyncResult returned by the call to BeginListContactChannels. /// /// Returns a ListContactChannelsResult from SSMContacts. /// REST API Reference for ListContactChannels Operation public virtual ListContactChannelsResponse EndListContactChannels(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListContacts operation. /// /// /// Container for the necessary parameters to execute the ListContacts operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListContacts /// operation. /// REST API Reference for ListContacts Operation public virtual IAsyncResult BeginListContacts(ListContactsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListContacts operation. /// /// /// The IAsyncResult returned by the call to BeginListContacts. /// /// Returns a ListContactsResult from SSMContacts. /// REST API Reference for ListContacts Operation public virtual ListContactsResponse EndListContacts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListEngagements operation. /// /// /// Container for the necessary parameters to execute the ListEngagements operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListEngagements /// operation. /// REST API Reference for ListEngagements Operation public virtual IAsyncResult BeginListEngagements(ListEngagementsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListEngagementsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEngagementsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListEngagements operation. /// /// /// The IAsyncResult returned by the call to BeginListEngagements. /// /// Returns a ListEngagementsResult from SSMContacts. /// REST API Reference for ListEngagements Operation public virtual ListEngagementsResponse EndListEngagements(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListPageReceipts operation. /// /// /// Container for the necessary parameters to execute the ListPageReceipts operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPageReceipts /// operation. /// REST API Reference for ListPageReceipts Operation public virtual IAsyncResult BeginListPageReceipts(ListPageReceiptsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPageReceiptsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPageReceiptsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPageReceipts operation. /// /// /// The IAsyncResult returned by the call to BeginListPageReceipts. /// /// Returns a ListPageReceiptsResult from SSMContacts. /// REST API Reference for ListPageReceipts Operation public virtual ListPageReceiptsResponse EndListPageReceipts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListPageResolutions operation. /// /// /// Container for the necessary parameters to execute the ListPageResolutions operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPageResolutions /// operation. /// REST API Reference for ListPageResolutions Operation public virtual IAsyncResult BeginListPageResolutions(ListPageResolutionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPageResolutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPageResolutionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPageResolutions operation. /// /// /// The IAsyncResult returned by the call to BeginListPageResolutions. /// /// Returns a ListPageResolutionsResult from SSMContacts. /// REST API Reference for ListPageResolutions Operation public virtual ListPageResolutionsResponse EndListPageResolutions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListPagesByContact operation. /// /// /// Container for the necessary parameters to execute the ListPagesByContact operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPagesByContact /// operation. /// REST API Reference for ListPagesByContact Operation public virtual IAsyncResult BeginListPagesByContact(ListPagesByContactRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPagesByContactRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPagesByContactResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPagesByContact operation. /// /// /// The IAsyncResult returned by the call to BeginListPagesByContact. /// /// Returns a ListPagesByContactResult from SSMContacts. /// REST API Reference for ListPagesByContact Operation public virtual ListPagesByContactResponse EndListPagesByContact(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListPagesByEngagement operation. /// /// /// Container for the necessary parameters to execute the ListPagesByEngagement operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPagesByEngagement /// operation. /// REST API Reference for ListPagesByEngagement Operation public virtual IAsyncResult BeginListPagesByEngagement(ListPagesByEngagementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPagesByEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPagesByEngagementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPagesByEngagement operation. /// /// /// The IAsyncResult returned by the call to BeginListPagesByEngagement. /// /// Returns a ListPagesByEngagementResult from SSMContacts. /// REST API Reference for ListPagesByEngagement Operation public virtual ListPagesByEngagementResponse EndListPagesByEngagement(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListPreviewRotationShifts operation. /// /// /// Container for the necessary parameters to execute the ListPreviewRotationShifts operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPreviewRotationShifts /// operation. /// REST API Reference for ListPreviewRotationShifts Operation public virtual IAsyncResult BeginListPreviewRotationShifts(ListPreviewRotationShiftsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPreviewRotationShiftsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPreviewRotationShiftsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPreviewRotationShifts operation. /// /// /// The IAsyncResult returned by the call to BeginListPreviewRotationShifts. /// /// Returns a ListPreviewRotationShiftsResult from SSMContacts. /// REST API Reference for ListPreviewRotationShifts Operation public virtual ListPreviewRotationShiftsResponse EndListPreviewRotationShifts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListRotationOverrides operation. /// /// /// Container for the necessary parameters to execute the ListRotationOverrides operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRotationOverrides /// operation. /// REST API Reference for ListRotationOverrides Operation public virtual IAsyncResult BeginListRotationOverrides(ListRotationOverridesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRotationOverridesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRotationOverridesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRotationOverrides operation. /// /// /// The IAsyncResult returned by the call to BeginListRotationOverrides. /// /// Returns a ListRotationOverridesResult from SSMContacts. /// REST API Reference for ListRotationOverrides Operation public virtual ListRotationOverridesResponse EndListRotationOverrides(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListRotations operation. /// /// /// Container for the necessary parameters to execute the ListRotations operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRotations /// operation. /// REST API Reference for ListRotations Operation public virtual IAsyncResult BeginListRotations(ListRotationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRotationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRotationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRotations operation. /// /// /// The IAsyncResult returned by the call to BeginListRotations. /// /// Returns a ListRotationsResult from SSMContacts. /// REST API Reference for ListRotations Operation public virtual ListRotationsResponse EndListRotations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListRotationShifts operation. /// /// /// Container for the necessary parameters to execute the ListRotationShifts operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRotationShifts /// operation. /// REST API Reference for ListRotationShifts Operation public virtual IAsyncResult BeginListRotationShifts(ListRotationShiftsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRotationShiftsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRotationShiftsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRotationShifts operation. /// /// /// The IAsyncResult returned by the call to BeginListRotationShifts. /// /// Returns a ListRotationShiftsResult from SSMContacts. /// REST API Reference for ListRotationShifts Operation public virtual ListRotationShiftsResponse EndListRotationShifts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from SSMContacts. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the PutContactPolicy operation. /// /// /// Container for the necessary parameters to execute the PutContactPolicy operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutContactPolicy /// operation. /// REST API Reference for PutContactPolicy Operation public virtual IAsyncResult BeginPutContactPolicy(PutContactPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutContactPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutContactPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutContactPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutContactPolicy. /// /// Returns a PutContactPolicyResult from SSMContacts. /// REST API Reference for PutContactPolicy Operation public virtual PutContactPolicyResponse EndPutContactPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the SendActivationCode operation. /// /// /// Container for the necessary parameters to execute the SendActivationCode operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSendActivationCode /// operation. /// REST API Reference for SendActivationCode Operation public virtual IAsyncResult BeginSendActivationCode(SendActivationCodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SendActivationCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = SendActivationCodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SendActivationCode operation. /// /// /// The IAsyncResult returned by the call to BeginSendActivationCode. /// /// Returns a SendActivationCodeResult from SSMContacts. /// REST API Reference for SendActivationCode Operation public virtual SendActivationCodeResponse EndSendActivationCode(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the StartEngagement operation. /// /// /// Container for the necessary parameters to execute the StartEngagement operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartEngagement /// operation. /// REST API Reference for StartEngagement Operation public virtual IAsyncResult BeginStartEngagement(StartEngagementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = StartEngagementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartEngagement operation. /// /// /// The IAsyncResult returned by the call to BeginStartEngagement. /// /// Returns a StartEngagementResult from SSMContacts. /// REST API Reference for StartEngagement Operation public virtual StartEngagementResponse EndStartEngagement(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the StopEngagement operation. /// /// /// Container for the necessary parameters to execute the StopEngagement operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopEngagement /// operation. /// REST API Reference for StopEngagement Operation public virtual IAsyncResult BeginStopEngagement(StopEngagementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopEngagementRequestMarshaller.Instance; options.ResponseUnmarshaller = StopEngagementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopEngagement operation. /// /// /// The IAsyncResult returned by the call to BeginStopEngagement. /// /// Returns a StopEngagementResult from SSMContacts. /// REST API Reference for StopEngagement Operation public virtual StopEngagementResponse EndStopEngagement(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from SSMContacts. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from SSMContacts. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateContact operation. /// /// /// Container for the necessary parameters to execute the UpdateContact operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateContact /// operation. /// REST API Reference for UpdateContact Operation public virtual IAsyncResult BeginUpdateContact(UpdateContactRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateContact operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateContact. /// /// Returns a UpdateContactResult from SSMContacts. /// REST API Reference for UpdateContact Operation public virtual UpdateContactResponse EndUpdateContact(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateContactChannel operation. /// /// /// Container for the necessary parameters to execute the UpdateContactChannel operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateContactChannel /// operation. /// REST API Reference for UpdateContactChannel Operation public virtual IAsyncResult BeginUpdateContactChannel(UpdateContactChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateContactChannel operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateContactChannel. /// /// Returns a UpdateContactChannelResult from SSMContacts. /// REST API Reference for UpdateContactChannel Operation public virtual UpdateContactChannelResponse EndUpdateContactChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UpdateRotation operation. /// /// /// Container for the necessary parameters to execute the UpdateRotation operation on AmazonSSMContactsClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRotation /// operation. /// REST API Reference for UpdateRotation Operation public virtual IAsyncResult BeginUpdateRotation(UpdateRotationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRotationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRotationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateRotation operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateRotation. /// /// Returns a UpdateRotationResult from SSMContacts. /// REST API Reference for UpdateRotation Operation public virtual UpdateRotationResponse EndUpdateRotation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }