/*
* 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.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
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();
#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
#if 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 Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
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
internal virtual CreateReplicationSetResponse CreateReplicationSet(CreateReplicationSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateReplicationSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateReplicationSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateReplicationSetAsync(CreateReplicationSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateReplicationSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateReplicationSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateResponsePlan
internal virtual CreateResponsePlanResponse CreateResponsePlan(CreateResponsePlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResponsePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResponsePlanResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateResponsePlanAsync(CreateResponsePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateResponsePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateResponsePlanResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateTimelineEvent
internal virtual CreateTimelineEventResponse CreateTimelineEvent(CreateTimelineEventRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTimelineEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTimelineEventResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateTimelineEventAsync(CreateTimelineEventRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTimelineEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTimelineEventResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteIncidentRecord
internal virtual DeleteIncidentRecordResponse DeleteIncidentRecord(DeleteIncidentRecordRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIncidentRecordRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIncidentRecordResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete an incident record from Incident Manager.
///
/// Container for the necessary parameters to execute the DeleteIncidentRecord service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteIncidentRecordAsync(DeleteIncidentRecordRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIncidentRecordRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIncidentRecordResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteReplicationSet
internal virtual DeleteReplicationSetResponse DeleteReplicationSet(DeleteReplicationSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteReplicationSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteReplicationSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteReplicationSetAsync(DeleteReplicationSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteReplicationSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteReplicationSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteResourcePolicy
internal virtual DeleteResourcePolicyResponse DeleteResourcePolicy(DeleteResourcePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteResourcePolicyAsync(DeleteResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResourcePolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteResponsePlan
internal virtual DeleteResponsePlanResponse DeleteResponsePlan(DeleteResponsePlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResponsePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResponsePlanResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteResponsePlanAsync(DeleteResponsePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteResponsePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteResponsePlanResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteTimelineEvent
internal virtual DeleteTimelineEventResponse DeleteTimelineEvent(DeleteTimelineEventRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTimelineEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTimelineEventResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a timeline event from an incident.
///
/// Container for the necessary parameters to execute the DeleteTimelineEvent service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteTimelineEventAsync(DeleteTimelineEventRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTimelineEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTimelineEventResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetIncidentRecord
internal virtual GetIncidentRecordResponse GetIncidentRecord(GetIncidentRecordRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIncidentRecordRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIncidentRecordResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns the details for the specified incident record.
///
/// Container for the necessary parameters to execute the GetIncidentRecord service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetIncidentRecordAsync(GetIncidentRecordRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIncidentRecordRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIncidentRecordResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetReplicationSet
internal virtual GetReplicationSetResponse GetReplicationSet(GetReplicationSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetReplicationSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetReplicationSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieve your Incident Manager replication set.
///
/// Container for the necessary parameters to execute the GetReplicationSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetReplicationSetAsync(GetReplicationSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetReplicationSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetReplicationSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResourcePolicies
internal virtual GetResourcePoliciesResponse GetResourcePolicies(GetResourcePoliciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourcePoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourcePoliciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the resource policies attached to the specified response plan.
///
/// Container for the necessary parameters to execute the GetResourcePolicies service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetResourcePoliciesAsync(GetResourcePoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResourcePoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResourcePoliciesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetResponsePlan
internal virtual GetResponsePlanResponse GetResponsePlan(GetResponsePlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResponsePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResponsePlanResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the details of the specified response plan.
///
/// Container for the necessary parameters to execute the GetResponsePlan service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetResponsePlanAsync(GetResponsePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetResponsePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetResponsePlanResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetTimelineEvent
internal virtual GetTimelineEventResponse GetTimelineEvent(GetTimelineEventRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTimelineEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTimelineEventResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a timeline event based on its ID and incident record.
///
/// Container for the necessary parameters to execute the GetTimelineEvent service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetTimelineEventAsync(GetTimelineEventRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTimelineEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTimelineEventResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListIncidentRecords
internal virtual ListIncidentRecordsResponse ListIncidentRecords(ListIncidentRecordsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIncidentRecordsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIncidentRecordsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListIncidentRecordsAsync(ListIncidentRecordsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIncidentRecordsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIncidentRecordsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListRelatedItems
internal virtual ListRelatedItemsResponse ListRelatedItems(ListRelatedItemsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRelatedItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRelatedItemsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List all related items for an incident record.
///
/// Container for the necessary parameters to execute the ListRelatedItems service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListRelatedItemsAsync(ListRelatedItemsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListRelatedItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListRelatedItemsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListReplicationSets
internal virtual ListReplicationSetsResponse ListReplicationSets(ListReplicationSetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListReplicationSetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListReplicationSetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists details about the replication set configured in your account.
///
/// Container for the necessary parameters to execute the ListReplicationSets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListReplicationSetsAsync(ListReplicationSetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListReplicationSetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListReplicationSetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListResponsePlans
internal virtual ListResponsePlansResponse ListResponsePlans(ListResponsePlansRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResponsePlansRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResponsePlansResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all response plans in your account.
///
/// Container for the necessary parameters to execute the ListResponsePlans service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListResponsePlansAsync(ListResponsePlansRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListResponsePlansRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListResponsePlansResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the tags that are attached to the specified response plan.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by 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 Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTimelineEvents
internal virtual ListTimelineEventsResponse ListTimelineEvents(ListTimelineEventsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTimelineEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTimelineEventsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists timeline events for the specified incident record.
///
/// Container for the necessary parameters to execute the ListTimelineEvents service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListTimelineEventsAsync(ListTimelineEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTimelineEventsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTimelineEventsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PutResourcePolicy
internal virtual PutResourcePolicyResponse PutResourcePolicy(PutResourcePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task PutResourcePolicyAsync(PutResourcePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutResourcePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutResourcePolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartIncident
internal virtual StartIncidentResponse StartIncident(StartIncidentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartIncidentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartIncidentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Used to start an incident from CloudWatch alarms, EventBridge events, or manually.
///
/// Container for the necessary parameters to execute the StartIncident service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task StartIncidentAsync(StartIncidentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartIncidentRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartIncidentResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds a tag to a response plan.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by 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 Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes a tag from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by 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 Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDeletionProtection
internal virtual UpdateDeletionProtectionResponse UpdateDeletionProtection(UpdateDeletionProtectionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeletionProtectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeletionProtectionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateDeletionProtectionAsync(UpdateDeletionProtectionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDeletionProtectionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDeletionProtectionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateIncidentRecord
internal virtual UpdateIncidentRecordResponse UpdateIncidentRecord(UpdateIncidentRecordRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIncidentRecordRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIncidentRecordResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateIncidentRecordAsync(UpdateIncidentRecordRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIncidentRecordRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIncidentRecordResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateRelatedItems
internal virtual UpdateRelatedItemsResponse UpdateRelatedItems(UpdateRelatedItemsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRelatedItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRelatedItemsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateRelatedItemsAsync(UpdateRelatedItemsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRelatedItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRelatedItemsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateReplicationSet
internal virtual UpdateReplicationSetResponse UpdateReplicationSet(UpdateReplicationSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateReplicationSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateReplicationSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Add or delete Regions from your replication set.
///
/// Container for the necessary parameters to execute the UpdateReplicationSet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateReplicationSetAsync(UpdateReplicationSetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateReplicationSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateReplicationSetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateResponsePlan
internal virtual UpdateResponsePlanResponse UpdateResponsePlan(UpdateResponsePlanRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResponsePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResponsePlanResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the specified response plan.
///
/// Container for the necessary parameters to execute the UpdateResponsePlan service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateResponsePlanAsync(UpdateResponsePlanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateResponsePlanRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateResponsePlanResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateTimelineEvent
internal virtual UpdateTimelineEventResponse UpdateTimelineEvent(UpdateTimelineEventRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTimelineEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTimelineEventResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a timeline event. You can update events of type Custom Event
.
///
/// Container for the necessary parameters to execute the UpdateTimelineEvent service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateTimelineEventAsync(UpdateTimelineEventRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateTimelineEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateTimelineEventResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}