/* * 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-incidents-2018-05-10.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.SSMIncidents.Model; using Amazon.SSMIncidents.Model.Internal.MarshallTransformations; using Amazon.SSMIncidents.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.SSMIncidents { /// /// Implementation for accessing SSMIncidents /// /// 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 AmazonSSMIncidentsClient : AmazonServiceClient, IAmazonSSMIncidents { private static IServiceMetadata serviceMetadata = new AmazonSSMIncidentsMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private ISSMIncidentsPaginatorFactory _paginators; /// /// Paginators for the service /// public ISSMIncidentsPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new SSMIncidentsPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonSSMIncidentsClient 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 AmazonSSMIncidentsClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonSSMIncidentsConfig()) { } /// /// Constructs AmazonSSMIncidentsClient 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 AmazonSSMIncidentsClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonSSMIncidentsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSSMIncidentsClient 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 AmazonSSMIncidentsClient Configuration Object public AmazonSSMIncidentsClient(AmazonSSMIncidentsConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonSSMIncidentsClient with AWS Credentials /// /// AWS Credentials public AmazonSSMIncidentsClient(AWSCredentials credentials) : this(credentials, new AmazonSSMIncidentsConfig()) { } /// /// Constructs AmazonSSMIncidentsClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonSSMIncidentsClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonSSMIncidentsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSSMIncidentsClient with AWS Credentials and an /// AmazonSSMIncidentsClient Configuration object. /// /// AWS Credentials /// The AmazonSSMIncidentsClient Configuration Object public AmazonSSMIncidentsClient(AWSCredentials credentials, AmazonSSMIncidentsConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonSSMIncidentsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonSSMIncidentsClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonSSMIncidentsConfig()) { } /// /// Constructs AmazonSSMIncidentsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonSSMIncidentsClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonSSMIncidentsConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonSSMIncidentsClient with AWS Access Key ID, AWS Secret Key and an /// AmazonSSMIncidentsClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonSSMIncidentsClient Configuration Object public AmazonSSMIncidentsClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonSSMIncidentsConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonSSMIncidentsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonSSMIncidentsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSSMIncidentsConfig()) { } /// /// Constructs AmazonSSMIncidentsClient 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 AmazonSSMIncidentsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSSMIncidentsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSSMIncidentsClient with AWS Access Key ID, AWS Secret Key and an /// AmazonSSMIncidentsClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonSSMIncidentsClient Configuration Object public AmazonSSMIncidentsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonSSMIncidentsConfig 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 AmazonSSMIncidentsEndpointResolver()); } /// /// 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 CreateReplicationSet /// /// A replication set replicates and encrypts your data to the provided Regions with the /// provided KMS key. /// /// Container for the necessary parameters to execute the CreateReplicationSet service method. /// /// The response from the CreateReplicationSet service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// Updating or deleting a resource causes an inconsistent state. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// 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 CreateReplicationSet Operation public virtual CreateReplicationSetResponse CreateReplicationSet(CreateReplicationSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateReplicationSet operation. /// /// /// Container for the necessary parameters to execute the CreateReplicationSet operation on AmazonSSMIncidentsClient. /// 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 EndCreateReplicationSet /// operation. /// REST API Reference for CreateReplicationSet Operation public virtual IAsyncResult BeginCreateReplicationSet(CreateReplicationSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReplicationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReplicationSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateReplicationSet operation. /// /// /// The IAsyncResult returned by the call to BeginCreateReplicationSet. /// /// Returns a CreateReplicationSetResult from SSMIncidents. /// REST API Reference for CreateReplicationSet Operation public virtual CreateReplicationSetResponse EndCreateReplicationSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateResponsePlan /// /// Creates a response plan that automates the initial response to incidents. A response /// plan engages contacts, starts chat channel collaboration, and initiates runbooks at /// the beginning of an incident. /// /// Container for the necessary parameters to execute the CreateResponsePlan service method. /// /// The response from the CreateResponsePlan service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// Updating or deleting a resource causes an inconsistent state. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 CreateResponsePlan Operation public virtual CreateResponsePlanResponse CreateResponsePlan(CreateResponsePlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResponsePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResponsePlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateResponsePlan operation. /// /// /// Container for the necessary parameters to execute the CreateResponsePlan operation on AmazonSSMIncidentsClient. /// 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 EndCreateResponsePlan /// operation. /// REST API Reference for CreateResponsePlan Operation public virtual IAsyncResult BeginCreateResponsePlan(CreateResponsePlanRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResponsePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResponsePlanResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateResponsePlan operation. /// /// /// The IAsyncResult returned by the call to BeginCreateResponsePlan. /// /// Returns a CreateResponsePlanResult from SSMIncidents. /// REST API Reference for CreateResponsePlan Operation public virtual CreateResponsePlanResponse EndCreateResponsePlan(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateTimelineEvent /// /// Creates a custom timeline event on the incident details page of an incident record. /// Incident Manager automatically creates timeline events that mark key moments during /// an incident. You can create custom timeline events to mark important events that Incident /// Manager can detect automatically. /// /// Container for the necessary parameters to execute the CreateTimelineEvent service method. /// /// The response from the CreateTimelineEvent service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// Updating or deleting a resource causes an inconsistent state. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 CreateTimelineEvent Operation public virtual CreateTimelineEventResponse CreateTimelineEvent(CreateTimelineEventRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTimelineEventRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTimelineEventResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateTimelineEvent operation. /// /// /// Container for the necessary parameters to execute the CreateTimelineEvent operation on AmazonSSMIncidentsClient. /// 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 EndCreateTimelineEvent /// operation. /// REST API Reference for CreateTimelineEvent Operation public virtual IAsyncResult BeginCreateTimelineEvent(CreateTimelineEventRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTimelineEventRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTimelineEventResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateTimelineEvent operation. /// /// /// The IAsyncResult returned by the call to BeginCreateTimelineEvent. /// /// Returns a CreateTimelineEventResult from SSMIncidents. /// REST API Reference for CreateTimelineEvent Operation public virtual CreateTimelineEventResponse EndCreateTimelineEvent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteIncidentRecord /// /// Delete an incident record from Incident Manager. /// /// Container for the necessary parameters to execute the DeleteIncidentRecord service method. /// /// The response from the DeleteIncidentRecord service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// 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 DeleteIncidentRecord Operation public virtual DeleteIncidentRecordResponse DeleteIncidentRecord(DeleteIncidentRecordRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIncidentRecordRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIncidentRecordResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteIncidentRecord operation. /// /// /// Container for the necessary parameters to execute the DeleteIncidentRecord operation on AmazonSSMIncidentsClient. /// 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 EndDeleteIncidentRecord /// operation. /// REST API Reference for DeleteIncidentRecord Operation public virtual IAsyncResult BeginDeleteIncidentRecord(DeleteIncidentRecordRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIncidentRecordRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIncidentRecordResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteIncidentRecord operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteIncidentRecord. /// /// Returns a DeleteIncidentRecordResult from SSMIncidents. /// REST API Reference for DeleteIncidentRecord Operation public virtual DeleteIncidentRecordResponse EndDeleteIncidentRecord(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteReplicationSet /// /// Deletes all Regions in your replication set. Deleting the replication set deletes /// all Incident Manager data. /// /// Container for the necessary parameters to execute the DeleteReplicationSet service method. /// /// The response from the DeleteReplicationSet service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 DeleteReplicationSet Operation public virtual DeleteReplicationSetResponse DeleteReplicationSet(DeleteReplicationSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteReplicationSet operation. /// /// /// Container for the necessary parameters to execute the DeleteReplicationSet operation on AmazonSSMIncidentsClient. /// 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 EndDeleteReplicationSet /// operation. /// REST API Reference for DeleteReplicationSet Operation public virtual IAsyncResult BeginDeleteReplicationSet(DeleteReplicationSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteReplicationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteReplicationSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteReplicationSet operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteReplicationSet. /// /// Returns a DeleteReplicationSetResult from SSMIncidents. /// REST API Reference for DeleteReplicationSet Operation public virtual DeleteReplicationSetResponse EndDeleteReplicationSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteResourcePolicy /// /// Deletes the resource policy that Resource Access Manager uses to share your Incident /// Manager resource. /// /// Container for the necessary parameters to execute the DeleteResourcePolicy service method. /// /// The response from the DeleteResourcePolicy service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 DeleteResourcePolicy Operation public virtual DeleteResourcePolicyResponse DeleteResourcePolicy(DeleteResourcePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteResourcePolicy operation on AmazonSSMIncidentsClient. /// 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 EndDeleteResourcePolicy /// operation. /// REST API Reference for DeleteResourcePolicy Operation public virtual IAsyncResult BeginDeleteResourcePolicy(DeleteResourcePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteResourcePolicy. /// /// Returns a DeleteResourcePolicyResult from SSMIncidents. /// REST API Reference for DeleteResourcePolicy Operation public virtual DeleteResourcePolicyResponse EndDeleteResourcePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteResponsePlan /// /// Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch /// alarms and EventBridge events from creating an incident with this response plan. /// /// Container for the necessary parameters to execute the DeleteResponsePlan service method. /// /// The response from the DeleteResponsePlan service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// 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 DeleteResponsePlan Operation public virtual DeleteResponsePlanResponse DeleteResponsePlan(DeleteResponsePlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResponsePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResponsePlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteResponsePlan operation. /// /// /// Container for the necessary parameters to execute the DeleteResponsePlan operation on AmazonSSMIncidentsClient. /// 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 EndDeleteResponsePlan /// operation. /// REST API Reference for DeleteResponsePlan Operation public virtual IAsyncResult BeginDeleteResponsePlan(DeleteResponsePlanRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResponsePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResponsePlanResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteResponsePlan operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteResponsePlan. /// /// Returns a DeleteResponsePlanResult from SSMIncidents. /// REST API Reference for DeleteResponsePlan Operation public virtual DeleteResponsePlanResponse EndDeleteResponsePlan(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteTimelineEvent /// /// Deletes a timeline event from an incident. /// /// Container for the necessary parameters to execute the DeleteTimelineEvent service method. /// /// The response from the DeleteTimelineEvent service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// 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 DeleteTimelineEvent Operation public virtual DeleteTimelineEventResponse DeleteTimelineEvent(DeleteTimelineEventRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTimelineEventRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTimelineEventResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteTimelineEvent operation. /// /// /// Container for the necessary parameters to execute the DeleteTimelineEvent operation on AmazonSSMIncidentsClient. /// 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 EndDeleteTimelineEvent /// operation. /// REST API Reference for DeleteTimelineEvent Operation public virtual IAsyncResult BeginDeleteTimelineEvent(DeleteTimelineEventRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTimelineEventRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTimelineEventResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteTimelineEvent operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteTimelineEvent. /// /// Returns a DeleteTimelineEventResult from SSMIncidents. /// REST API Reference for DeleteTimelineEvent Operation public virtual DeleteTimelineEventResponse EndDeleteTimelineEvent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetIncidentRecord /// /// Returns the details for the specified incident record. /// /// Container for the necessary parameters to execute the GetIncidentRecord service method. /// /// The response from the GetIncidentRecord service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 GetIncidentRecord Operation public virtual GetIncidentRecordResponse GetIncidentRecord(GetIncidentRecordRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIncidentRecordRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIncidentRecordResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetIncidentRecord operation. /// /// /// Container for the necessary parameters to execute the GetIncidentRecord operation on AmazonSSMIncidentsClient. /// 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 EndGetIncidentRecord /// operation. /// REST API Reference for GetIncidentRecord Operation public virtual IAsyncResult BeginGetIncidentRecord(GetIncidentRecordRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetIncidentRecordRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIncidentRecordResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetIncidentRecord operation. /// /// /// The IAsyncResult returned by the call to BeginGetIncidentRecord. /// /// Returns a GetIncidentRecordResult from SSMIncidents. /// REST API Reference for GetIncidentRecord Operation public virtual GetIncidentRecordResponse EndGetIncidentRecord(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetReplicationSet /// /// Retrieve your Incident Manager replication set. /// /// Container for the necessary parameters to execute the GetReplicationSet service method. /// /// The response from the GetReplicationSet service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 GetReplicationSet Operation public virtual GetReplicationSetResponse GetReplicationSet(GetReplicationSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetReplicationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReplicationSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetReplicationSet operation. /// /// /// Container for the necessary parameters to execute the GetReplicationSet operation on AmazonSSMIncidentsClient. /// 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 EndGetReplicationSet /// operation. /// REST API Reference for GetReplicationSet Operation public virtual IAsyncResult BeginGetReplicationSet(GetReplicationSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetReplicationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = GetReplicationSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetReplicationSet operation. /// /// /// The IAsyncResult returned by the call to BeginGetReplicationSet. /// /// Returns a GetReplicationSetResult from SSMIncidents. /// REST API Reference for GetReplicationSet Operation public virtual GetReplicationSetResponse EndGetReplicationSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetResourcePolicies /// /// Retrieves the resource policies attached to the specified response plan. /// /// Container for the necessary parameters to execute the GetResourcePolicies service method. /// /// The response from the GetResourcePolicies service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 GetResourcePolicies Operation public virtual GetResourcePoliciesResponse GetResourcePolicies(GetResourcePoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourcePoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourcePoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetResourcePolicies operation. /// /// /// Container for the necessary parameters to execute the GetResourcePolicies operation on AmazonSSMIncidentsClient. /// 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 EndGetResourcePolicies /// operation. /// REST API Reference for GetResourcePolicies Operation public virtual IAsyncResult BeginGetResourcePolicies(GetResourcePoliciesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourcePoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourcePoliciesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetResourcePolicies operation. /// /// /// The IAsyncResult returned by the call to BeginGetResourcePolicies. /// /// Returns a GetResourcePoliciesResult from SSMIncidents. /// REST API Reference for GetResourcePolicies Operation public virtual GetResourcePoliciesResponse EndGetResourcePolicies(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetResponsePlan /// /// Retrieves the details of the specified response plan. /// /// Container for the necessary parameters to execute the GetResponsePlan service method. /// /// The response from the GetResponsePlan service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 GetResponsePlan Operation public virtual GetResponsePlanResponse GetResponsePlan(GetResponsePlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResponsePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResponsePlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetResponsePlan operation. /// /// /// Container for the necessary parameters to execute the GetResponsePlan operation on AmazonSSMIncidentsClient. /// 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 EndGetResponsePlan /// operation. /// REST API Reference for GetResponsePlan Operation public virtual IAsyncResult BeginGetResponsePlan(GetResponsePlanRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetResponsePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResponsePlanResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetResponsePlan operation. /// /// /// The IAsyncResult returned by the call to BeginGetResponsePlan. /// /// Returns a GetResponsePlanResult from SSMIncidents. /// REST API Reference for GetResponsePlan Operation public virtual GetResponsePlanResponse EndGetResponsePlan(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetTimelineEvent /// /// Retrieves a timeline event based on its ID and incident record. /// /// Container for the necessary parameters to execute the GetTimelineEvent service method. /// /// The response from the GetTimelineEvent service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 GetTimelineEvent Operation public virtual GetTimelineEventResponse GetTimelineEvent(GetTimelineEventRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTimelineEventRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTimelineEventResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetTimelineEvent operation. /// /// /// Container for the necessary parameters to execute the GetTimelineEvent operation on AmazonSSMIncidentsClient. /// 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 EndGetTimelineEvent /// operation. /// REST API Reference for GetTimelineEvent Operation public virtual IAsyncResult BeginGetTimelineEvent(GetTimelineEventRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetTimelineEventRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTimelineEventResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetTimelineEvent operation. /// /// /// The IAsyncResult returned by the call to BeginGetTimelineEvent. /// /// Returns a GetTimelineEventResult from SSMIncidents. /// REST API Reference for GetTimelineEvent Operation public virtual GetTimelineEventResponse EndGetTimelineEvent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListIncidentRecords /// /// Lists all incident records in your account. Use this command to retrieve the Amazon /// Resource Name (ARN) of the incident record you want to update. /// /// Container for the necessary parameters to execute the ListIncidentRecords service method. /// /// The response from the ListIncidentRecords service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// 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 ListIncidentRecords Operation public virtual ListIncidentRecordsResponse ListIncidentRecords(ListIncidentRecordsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListIncidentRecordsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIncidentRecordsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListIncidentRecords operation. /// /// /// Container for the necessary parameters to execute the ListIncidentRecords operation on AmazonSSMIncidentsClient. /// 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 EndListIncidentRecords /// operation. /// REST API Reference for ListIncidentRecords Operation public virtual IAsyncResult BeginListIncidentRecords(ListIncidentRecordsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListIncidentRecordsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIncidentRecordsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListIncidentRecords operation. /// /// /// The IAsyncResult returned by the call to BeginListIncidentRecords. /// /// Returns a ListIncidentRecordsResult from SSMIncidents. /// REST API Reference for ListIncidentRecords Operation public virtual ListIncidentRecordsResponse EndListIncidentRecords(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListRelatedItems /// /// List all related items for an incident record. /// /// Container for the necessary parameters to execute the ListRelatedItems service method. /// /// The response from the ListRelatedItems service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// 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 ListRelatedItems Operation public virtual ListRelatedItemsResponse ListRelatedItems(ListRelatedItemsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRelatedItemsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRelatedItemsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListRelatedItems operation. /// /// /// Container for the necessary parameters to execute the ListRelatedItems operation on AmazonSSMIncidentsClient. /// 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 EndListRelatedItems /// operation. /// REST API Reference for ListRelatedItems Operation public virtual IAsyncResult BeginListRelatedItems(ListRelatedItemsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRelatedItemsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRelatedItemsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRelatedItems operation. /// /// /// The IAsyncResult returned by the call to BeginListRelatedItems. /// /// Returns a ListRelatedItemsResult from SSMIncidents. /// REST API Reference for ListRelatedItems Operation public virtual ListRelatedItemsResponse EndListRelatedItems(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListReplicationSets /// /// Lists details about the replication set configured in your account. /// /// Container for the necessary parameters to execute the ListReplicationSets service method. /// /// The response from the ListReplicationSets service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// 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 ListReplicationSets Operation public virtual ListReplicationSetsResponse ListReplicationSets(ListReplicationSetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListReplicationSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReplicationSetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListReplicationSets operation. /// /// /// Container for the necessary parameters to execute the ListReplicationSets operation on AmazonSSMIncidentsClient. /// 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 EndListReplicationSets /// operation. /// REST API Reference for ListReplicationSets Operation public virtual IAsyncResult BeginListReplicationSets(ListReplicationSetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListReplicationSetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListReplicationSetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListReplicationSets operation. /// /// /// The IAsyncResult returned by the call to BeginListReplicationSets. /// /// Returns a ListReplicationSetsResult from SSMIncidents. /// REST API Reference for ListReplicationSets Operation public virtual ListReplicationSetsResponse EndListReplicationSets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListResponsePlans /// /// Lists all response plans in your account. /// /// Container for the necessary parameters to execute the ListResponsePlans service method. /// /// The response from the ListResponsePlans service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// 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 ListResponsePlans Operation public virtual ListResponsePlansResponse ListResponsePlans(ListResponsePlansRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResponsePlansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResponsePlansResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListResponsePlans operation. /// /// /// Container for the necessary parameters to execute the ListResponsePlans operation on AmazonSSMIncidentsClient. /// 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 EndListResponsePlans /// operation. /// REST API Reference for ListResponsePlans Operation public virtual IAsyncResult BeginListResponsePlans(ListResponsePlansRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListResponsePlansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResponsePlansResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListResponsePlans operation. /// /// /// The IAsyncResult returned by the call to BeginListResponsePlans. /// /// Returns a ListResponsePlansResult from SSMIncidents. /// REST API Reference for ListResponsePlans Operation public virtual ListResponsePlansResponse EndListResponsePlans(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Lists the tags that are attached to the specified response plan. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 AmazonSSMIncidentsClient. /// 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 SSMIncidents. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTimelineEvents /// /// Lists timeline events for the specified incident record. /// /// Container for the necessary parameters to execute the ListTimelineEvents service method. /// /// The response from the ListTimelineEvents service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// 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 ListTimelineEvents Operation public virtual ListTimelineEventsResponse ListTimelineEvents(ListTimelineEventsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTimelineEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTimelineEventsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTimelineEvents operation. /// /// /// Container for the necessary parameters to execute the ListTimelineEvents operation on AmazonSSMIncidentsClient. /// 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 EndListTimelineEvents /// operation. /// REST API Reference for ListTimelineEvents Operation public virtual IAsyncResult BeginListTimelineEvents(ListTimelineEventsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTimelineEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTimelineEventsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTimelineEvents operation. /// /// /// The IAsyncResult returned by the call to BeginListTimelineEvents. /// /// Returns a ListTimelineEventsResult from SSMIncidents. /// REST API Reference for ListTimelineEvents Operation public virtual ListTimelineEventsResponse EndListTimelineEvents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutResourcePolicy /// /// Adds a resource policy to the specified response plan. The resource policy is used /// to share the response plan using Resource Access Manager (RAM). For more information /// about cross-account sharing, see Cross-Region /// and cross-account incident management. /// /// Container for the necessary parameters to execute the PutResourcePolicy service method. /// /// The response from the PutResourcePolicy service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 PutResourcePolicy Operation public virtual PutResourcePolicyResponse PutResourcePolicy(PutResourcePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutResourcePolicy operation. /// /// /// Container for the necessary parameters to execute the PutResourcePolicy operation on AmazonSSMIncidentsClient. /// 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 EndPutResourcePolicy /// operation. /// REST API Reference for PutResourcePolicy Operation public virtual IAsyncResult BeginPutResourcePolicy(PutResourcePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutResourcePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutResourcePolicy. /// /// Returns a PutResourcePolicyResult from SSMIncidents. /// REST API Reference for PutResourcePolicy Operation public virtual PutResourcePolicyResponse EndPutResourcePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartIncident /// /// Used to start an incident from CloudWatch alarms, EventBridge events, or manually. /// /// Container for the necessary parameters to execute the StartIncident service method. /// /// The response from the StartIncident service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// Updating or deleting a resource causes an inconsistent state. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 StartIncident Operation public virtual StartIncidentResponse StartIncident(StartIncidentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartIncidentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartIncidentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartIncident operation. /// /// /// Container for the necessary parameters to execute the StartIncident operation on AmazonSSMIncidentsClient. /// 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 EndStartIncident /// operation. /// REST API Reference for StartIncident Operation public virtual IAsyncResult BeginStartIncident(StartIncidentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartIncidentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartIncidentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartIncident operation. /// /// /// The IAsyncResult returned by the call to BeginStartIncident. /// /// Returns a StartIncidentResult from SSMIncidents. /// REST API Reference for StartIncident Operation public virtual StartIncidentResponse EndStartIncident(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds a tag to a response plan. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// Updating or deleting a resource causes an inconsistent state. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 AmazonSSMIncidentsClient. /// 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 SSMIncidents. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Removes a tag from a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// Updating or deleting a resource causes an inconsistent state. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 AmazonSSMIncidentsClient. /// 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 SSMIncidents. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDeletionProtection /// /// Update deletion protection to either allow or deny deletion of the final Region in /// a replication set. /// /// Container for the necessary parameters to execute the UpdateDeletionProtection service method. /// /// The response from the UpdateDeletionProtection service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 UpdateDeletionProtection Operation public virtual UpdateDeletionProtectionResponse UpdateDeletionProtection(UpdateDeletionProtectionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeletionProtectionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeletionProtectionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDeletionProtection operation. /// /// /// Container for the necessary parameters to execute the UpdateDeletionProtection operation on AmazonSSMIncidentsClient. /// 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 EndUpdateDeletionProtection /// operation. /// REST API Reference for UpdateDeletionProtection Operation public virtual IAsyncResult BeginUpdateDeletionProtection(UpdateDeletionProtectionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeletionProtectionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeletionProtectionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDeletionProtection operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDeletionProtection. /// /// Returns a UpdateDeletionProtectionResult from SSMIncidents. /// REST API Reference for UpdateDeletionProtection Operation public virtual UpdateDeletionProtectionResponse EndUpdateDeletionProtection(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateIncidentRecord /// /// Update the details of an incident record. You can use this operation to update an /// incident record from the defined chat channel. For more information about using actions /// in chat channels, see Interacting /// through chat. /// /// Container for the necessary parameters to execute the UpdateIncidentRecord service method. /// /// The response from the UpdateIncidentRecord service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// Updating or deleting a resource causes an inconsistent state. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 UpdateIncidentRecord Operation public virtual UpdateIncidentRecordResponse UpdateIncidentRecord(UpdateIncidentRecordRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIncidentRecordRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIncidentRecordResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateIncidentRecord operation. /// /// /// Container for the necessary parameters to execute the UpdateIncidentRecord operation on AmazonSSMIncidentsClient. /// 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 EndUpdateIncidentRecord /// operation. /// REST API Reference for UpdateIncidentRecord Operation public virtual IAsyncResult BeginUpdateIncidentRecord(UpdateIncidentRecordRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIncidentRecordRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIncidentRecordResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateIncidentRecord operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateIncidentRecord. /// /// Returns a UpdateIncidentRecordResult from SSMIncidents. /// REST API Reference for UpdateIncidentRecord Operation public virtual UpdateIncidentRecordResponse EndUpdateIncidentRecord(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateRelatedItems /// /// Add or remove related items from the related items tab of an incident record. /// /// Container for the necessary parameters to execute the UpdateRelatedItems service method. /// /// The response from the UpdateRelatedItems service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// Updating or deleting a resource causes an inconsistent state. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 UpdateRelatedItems Operation public virtual UpdateRelatedItemsResponse UpdateRelatedItems(UpdateRelatedItemsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRelatedItemsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRelatedItemsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateRelatedItems operation. /// /// /// Container for the necessary parameters to execute the UpdateRelatedItems operation on AmazonSSMIncidentsClient. /// 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 EndUpdateRelatedItems /// operation. /// REST API Reference for UpdateRelatedItems Operation public virtual IAsyncResult BeginUpdateRelatedItems(UpdateRelatedItemsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRelatedItemsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRelatedItemsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateRelatedItems operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateRelatedItems. /// /// Returns a UpdateRelatedItemsResult from SSMIncidents. /// REST API Reference for UpdateRelatedItems Operation public virtual UpdateRelatedItemsResponse EndUpdateRelatedItems(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateReplicationSet /// /// Add or delete Regions from your replication set. /// /// Container for the necessary parameters to execute the UpdateReplicationSet service method. /// /// The response from the UpdateReplicationSet service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// Updating or deleting a resource causes an inconsistent state. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 UpdateReplicationSet Operation public virtual UpdateReplicationSetResponse UpdateReplicationSet(UpdateReplicationSetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReplicationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReplicationSetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateReplicationSet operation. /// /// /// Container for the necessary parameters to execute the UpdateReplicationSet operation on AmazonSSMIncidentsClient. /// 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 EndUpdateReplicationSet /// operation. /// REST API Reference for UpdateReplicationSet Operation public virtual IAsyncResult BeginUpdateReplicationSet(UpdateReplicationSetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateReplicationSetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateReplicationSetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateReplicationSet operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateReplicationSet. /// /// Returns a UpdateReplicationSetResult from SSMIncidents. /// REST API Reference for UpdateReplicationSet Operation public virtual UpdateReplicationSetResponse EndUpdateReplicationSet(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateResponsePlan /// /// Updates the specified response plan. /// /// Container for the necessary parameters to execute the UpdateResponsePlan service method. /// /// The response from the UpdateResponsePlan service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// Updating or deleting a resource causes an inconsistent state. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 UpdateResponsePlan Operation public virtual UpdateResponsePlanResponse UpdateResponsePlan(UpdateResponsePlanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResponsePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResponsePlanResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateResponsePlan operation. /// /// /// Container for the necessary parameters to execute the UpdateResponsePlan operation on AmazonSSMIncidentsClient. /// 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 EndUpdateResponsePlan /// operation. /// REST API Reference for UpdateResponsePlan Operation public virtual IAsyncResult BeginUpdateResponsePlan(UpdateResponsePlanRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResponsePlanRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResponsePlanResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateResponsePlan operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateResponsePlan. /// /// Returns a UpdateResponsePlanResult from SSMIncidents. /// REST API Reference for UpdateResponsePlan Operation public virtual UpdateResponsePlanResponse EndUpdateResponsePlan(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateTimelineEvent /// /// Updates a timeline event. You can update events of type Custom Event. /// /// Container for the necessary parameters to execute the UpdateTimelineEvent service method. /// /// The response from the UpdateTimelineEvent service method, as returned by SSMIncidents. /// /// You don't have sufficient access to perform this operation. /// /// /// Updating or deleting a resource causes an inconsistent state. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// Request references a resource which 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 UpdateTimelineEvent Operation public virtual UpdateTimelineEventResponse UpdateTimelineEvent(UpdateTimelineEventRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTimelineEventRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTimelineEventResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateTimelineEvent operation. /// /// /// Container for the necessary parameters to execute the UpdateTimelineEvent operation on AmazonSSMIncidentsClient. /// 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 EndUpdateTimelineEvent /// operation. /// REST API Reference for UpdateTimelineEvent Operation public virtual IAsyncResult BeginUpdateTimelineEvent(UpdateTimelineEventRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTimelineEventRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTimelineEventResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateTimelineEvent operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateTimelineEvent. /// /// Returns a UpdateTimelineEventResult from SSMIncidents. /// REST API Reference for UpdateTimelineEvent Operation public virtual UpdateTimelineEventResponse EndUpdateTimelineEvent(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }