/*
* 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 support-2013-04-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.AWSSupport.Model;
using Amazon.AWSSupport.Model.Internal.MarshallTransformations;
using Amazon.AWSSupport.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AWSSupport
{
///
/// Implementation for accessing AWSSupport
///
/// Amazon Web Services Support
///
/// The Amazon Web Services Support API Reference is intended for programmers who
/// need detailed information about the Amazon Web Services Support operations and data
/// types. You can use the API to manage your support cases programmatically. The Amazon
/// Web Services Support API uses HTTP methods that return results in JSON format.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// You can also use the Amazon Web Services Support API to access features for Trusted
/// Advisor. You can return a list of checks and their descriptions, get check results,
/// specify checks to refresh, and get the refresh status of checks.
///
///
///
/// You can manage your support cases with the following Amazon Web Services Support API
/// operations:
///
/// -
///
/// The CreateCase, DescribeCases, DescribeAttachment, and ResolveCase
/// operations create Amazon Web Services Support cases, retrieve information about cases,
/// and resolve cases.
///
///
-
///
/// The DescribeCommunications, AddCommunicationToCase, and AddAttachmentsToSet
/// operations retrieve and add communications and attachments to Amazon Web Services
/// Support cases.
///
///
-
///
/// The DescribeServices and DescribeSeverityLevels operations return Amazon
/// Web Service names, service codes, service categories, and problem severity levels.
/// You use these values when you call the CreateCase operation.
///
///
///
/// You can also use the Amazon Web Services Support API to call the Trusted Advisor operations.
/// For more information, see Trusted Advisor
/// in the Amazon Web Services Support User Guide.
///
///
///
/// For authentication of requests, Amazon Web Services Support uses Signature
/// Version 4 Signing Process.
///
///
///
/// For more information about this service and the endpoints to use, see About
/// the Amazon Web Services Support API in the Amazon Web Services Support User
/// Guide.
///
///
public partial class AmazonAWSSupportClient : AmazonServiceClient, IAmazonAWSSupport
{
private static IServiceMetadata serviceMetadata = new AmazonAWSSupportMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IAWSSupportPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IAWSSupportPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AWSSupportPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonAWSSupportClient 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 AmazonAWSSupportClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAWSSupportConfig()) { }
///
/// Constructs AmazonAWSSupportClient 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 AmazonAWSSupportClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAWSSupportConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonAWSSupportClient 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 AmazonAWSSupportClient Configuration Object
public AmazonAWSSupportClient(AmazonAWSSupportConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonAWSSupportClient with AWS Credentials
///
/// AWS Credentials
public AmazonAWSSupportClient(AWSCredentials credentials)
: this(credentials, new AmazonAWSSupportConfig())
{
}
///
/// Constructs AmazonAWSSupportClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonAWSSupportClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAWSSupportConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAWSSupportClient with AWS Credentials and an
/// AmazonAWSSupportClient Configuration object.
///
/// AWS Credentials
/// The AmazonAWSSupportClient Configuration Object
public AmazonAWSSupportClient(AWSCredentials credentials, AmazonAWSSupportConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonAWSSupportClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonAWSSupportClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAWSSupportConfig())
{
}
///
/// Constructs AmazonAWSSupportClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonAWSSupportClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAWSSupportConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonAWSSupportClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAWSSupportClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonAWSSupportClient Configuration Object
public AmazonAWSSupportClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAWSSupportConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonAWSSupportClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonAWSSupportClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAWSSupportConfig())
{
}
///
/// Constructs AmazonAWSSupportClient 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 AmazonAWSSupportClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAWSSupportConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAWSSupportClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAWSSupportClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonAWSSupportClient Configuration Object
public AmazonAWSSupportClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAWSSupportConfig 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 AmazonAWSSupportEndpointResolver());
}
///
/// 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 AddAttachmentsToSet
///
/// Adds one or more attachments to an attachment set.
///
///
///
/// An attachment set is a temporary container for attachments that you add to a case
/// or case communication. The set is available for 1 hour after it's created. The expiryTime
/// returned in the response is when the set expires.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// Container for the necessary parameters to execute the AddAttachmentsToSet service method.
///
/// The response from the AddAttachmentsToSet service method, as returned by AWSSupport.
///
/// The limit for the number of attachment sets created in a short period of time has
/// been exceeded.
///
///
/// The expiration time of the attachment set has passed. The set expires 1 hour after
/// it is created.
///
///
/// An attachment set with the specified ID could not be found.
///
///
/// A limit for the size of an attachment set has been exceeded. The limits are three
/// attachments and 5 MB per attachment.
///
///
/// An internal server error occurred.
///
/// REST API Reference for AddAttachmentsToSet Operation
public virtual AddAttachmentsToSetResponse AddAttachmentsToSet(AddAttachmentsToSetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddAttachmentsToSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddAttachmentsToSetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AddAttachmentsToSet operation.
///
///
/// Container for the necessary parameters to execute the AddAttachmentsToSet operation on AmazonAWSSupportClient.
/// 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 EndAddAttachmentsToSet
/// operation.
/// REST API Reference for AddAttachmentsToSet Operation
public virtual IAsyncResult BeginAddAttachmentsToSet(AddAttachmentsToSetRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddAttachmentsToSetRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddAttachmentsToSetResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AddAttachmentsToSet operation.
///
///
/// The IAsyncResult returned by the call to BeginAddAttachmentsToSet.
///
/// Returns a AddAttachmentsToSetResult from AWSSupport.
/// REST API Reference for AddAttachmentsToSet Operation
public virtual AddAttachmentsToSetResponse EndAddAttachmentsToSet(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AddCommunicationToCase
///
/// Adds additional customer communication to an Amazon Web Services Support case. Use
/// the caseId
parameter to identify the case to which to add communication.
/// You can list a set of email addresses to copy on the communication by using the ccEmailAddresses
/// parameter. The communicationBody
value contains the text of the communication.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// Container for the necessary parameters to execute the AddCommunicationToCase service method.
///
/// The response from the AddCommunicationToCase service method, as returned by AWSSupport.
///
/// The expiration time of the attachment set has passed. The set expires 1 hour after
/// it is created.
///
///
/// An attachment set with the specified ID could not be found.
///
///
/// The requested caseId
couldn't be located.
///
///
/// An internal server error occurred.
///
/// REST API Reference for AddCommunicationToCase Operation
public virtual AddCommunicationToCaseResponse AddCommunicationToCase(AddCommunicationToCaseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddCommunicationToCaseRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddCommunicationToCaseResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AddCommunicationToCase operation.
///
///
/// Container for the necessary parameters to execute the AddCommunicationToCase operation on AmazonAWSSupportClient.
/// 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 EndAddCommunicationToCase
/// operation.
/// REST API Reference for AddCommunicationToCase Operation
public virtual IAsyncResult BeginAddCommunicationToCase(AddCommunicationToCaseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddCommunicationToCaseRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddCommunicationToCaseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AddCommunicationToCase operation.
///
///
/// The IAsyncResult returned by the call to BeginAddCommunicationToCase.
///
/// Returns a AddCommunicationToCaseResult from AWSSupport.
/// REST API Reference for AddCommunicationToCase Operation
public virtual AddCommunicationToCaseResponse EndAddCommunicationToCase(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateCase
///
/// Creates a case in the Amazon Web Services Support Center. This operation is similar
/// to how you create a case in the Amazon Web Services Support Center Create
/// Case page.
///
///
///
/// The Amazon Web Services Support API doesn't support requesting service limit increases.
/// You can submit a service limit increase in the following ways:
///
///
///
/// A successful CreateCase
request returns an Amazon Web Services Support
/// case number. You can use the DescribeCases operation and specify the case number
/// to get existing Amazon Web Services Support cases. After you create a case, use the
/// AddCommunicationToCase operation to add additional communication or attachments
/// to an existing case.
///
///
///
/// The caseId
is separate from the displayId
that appears in
/// the Amazon Web Services Support Center.
/// Use the DescribeCases operation to get the displayId
.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// Container for the necessary parameters to execute the CreateCase service method.
///
/// The response from the CreateCase service method, as returned by AWSSupport.
///
/// The expiration time of the attachment set has passed. The set expires 1 hour after
/// it is created.
///
///
/// An attachment set with the specified ID could not be found.
///
///
/// The case creation limit for the account has been exceeded.
///
///
/// An internal server error occurred.
///
/// REST API Reference for CreateCase Operation
public virtual CreateCaseResponse CreateCase(CreateCaseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCaseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCaseResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateCase operation.
///
///
/// Container for the necessary parameters to execute the CreateCase operation on AmazonAWSSupportClient.
/// 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 EndCreateCase
/// operation.
/// REST API Reference for CreateCase Operation
public virtual IAsyncResult BeginCreateCase(CreateCaseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCaseRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCaseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateCase operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateCase.
///
/// Returns a CreateCaseResult from AWSSupport.
/// REST API Reference for CreateCase Operation
public virtual CreateCaseResponse EndCreateCase(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAttachment
///
/// Returns the attachment that has the specified ID. Attachments can include screenshots,
/// error logs, or other files that describe your issue. Attachment IDs are generated
/// by the case management system when you add an attachment to a case or case communication.
/// Attachment IDs are returned in the AttachmentDetails objects that are returned
/// by the DescribeCommunications operation.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// Container for the necessary parameters to execute the DescribeAttachment service method.
///
/// The response from the DescribeAttachment service method, as returned by AWSSupport.
///
/// An attachment with the specified ID could not be found.
///
///
/// The limit for the number of DescribeAttachment requests in a short period of
/// time has been exceeded.
///
///
/// An internal server error occurred.
///
/// REST API Reference for DescribeAttachment Operation
public virtual DescribeAttachmentResponse DescribeAttachment(DescribeAttachmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAttachmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAttachmentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAttachment operation.
///
///
/// Container for the necessary parameters to execute the DescribeAttachment operation on AmazonAWSSupportClient.
/// 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 EndDescribeAttachment
/// operation.
/// REST API Reference for DescribeAttachment Operation
public virtual IAsyncResult BeginDescribeAttachment(DescribeAttachmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAttachmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAttachmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAttachment operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAttachment.
///
/// Returns a DescribeAttachmentResult from AWSSupport.
/// REST API Reference for DescribeAttachment Operation
public virtual DescribeAttachmentResponse EndDescribeAttachment(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeCases
///
/// Returns a list of cases that you specify by passing one or more case IDs. You can
/// use the afterTime
and beforeTime
parameters to filter the
/// cases by date. You can set values for the includeResolvedCases
and includeCommunications
/// parameters to specify how much information to return.
///
///
///
/// The response returns the following in JSON format:
///
/// -
///
/// One or more CaseDetails
/// data types.
///
///
-
///
/// One or more
nextToken
values, which specify where to paginate the returned
/// records represented by the CaseDetails
objects.
///
///
///
/// Case data is available for 12 months after creation. If a case was created more than
/// 12 months ago, a request might return an error.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// Container for the necessary parameters to execute the DescribeCases service method.
///
/// The response from the DescribeCases service method, as returned by AWSSupport.
///
/// The requested caseId
couldn't be located.
///
///
/// An internal server error occurred.
///
/// REST API Reference for DescribeCases Operation
public virtual DescribeCasesResponse DescribeCases(DescribeCasesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCasesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCasesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeCases operation.
///
///
/// Container for the necessary parameters to execute the DescribeCases operation on AmazonAWSSupportClient.
/// 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 EndDescribeCases
/// operation.
/// REST API Reference for DescribeCases Operation
public virtual IAsyncResult BeginDescribeCases(DescribeCasesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCasesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCasesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeCases operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeCases.
///
/// Returns a DescribeCasesResult from AWSSupport.
/// REST API Reference for DescribeCases Operation
public virtual DescribeCasesResponse EndDescribeCases(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeCommunications
///
/// Returns communications and attachments for one or more support cases. Use the afterTime
/// and beforeTime
parameters to filter by date. You can use the caseId
/// parameter to restrict the results to a specific case.
///
///
///
/// Case data is available for 12 months after creation. If a case was created more than
/// 12 months ago, a request for data might cause an error.
///
///
///
/// You can use the maxResults
and nextToken
parameters to control
/// the pagination of the results. Set maxResults
to the number of cases
/// that you want to display on each page, and use nextToken
to specify the
/// resumption of pagination.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// Container for the necessary parameters to execute the DescribeCommunications service method.
///
/// The response from the DescribeCommunications service method, as returned by AWSSupport.
///
/// The requested caseId
couldn't be located.
///
///
/// An internal server error occurred.
///
/// REST API Reference for DescribeCommunications Operation
public virtual DescribeCommunicationsResponse DescribeCommunications(DescribeCommunicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCommunicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCommunicationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeCommunications operation.
///
///
/// Container for the necessary parameters to execute the DescribeCommunications operation on AmazonAWSSupportClient.
/// 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 EndDescribeCommunications
/// operation.
/// REST API Reference for DescribeCommunications Operation
public virtual IAsyncResult BeginDescribeCommunications(DescribeCommunicationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCommunicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCommunicationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeCommunications operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeCommunications.
///
/// Returns a DescribeCommunicationsResult from AWSSupport.
/// REST API Reference for DescribeCommunications Operation
public virtual DescribeCommunicationsResponse EndDescribeCommunications(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeCreateCaseOptions
///
/// Returns a list of CreateCaseOption types along with the corresponding supported hours
/// and language availability. You can specify the language
categoryCode
,
/// issueType
and serviceCode
used to retrieve the CreateCaseOptions.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// Container for the necessary parameters to execute the DescribeCreateCaseOptions service method.
///
/// The response from the DescribeCreateCaseOptions service method, as returned by AWSSupport.
///
/// An internal server error occurred.
///
///
/// You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
///
/// REST API Reference for DescribeCreateCaseOptions Operation
public virtual DescribeCreateCaseOptionsResponse DescribeCreateCaseOptions(DescribeCreateCaseOptionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCreateCaseOptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCreateCaseOptionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeCreateCaseOptions operation.
///
///
/// Container for the necessary parameters to execute the DescribeCreateCaseOptions operation on AmazonAWSSupportClient.
/// 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 EndDescribeCreateCaseOptions
/// operation.
/// REST API Reference for DescribeCreateCaseOptions Operation
public virtual IAsyncResult BeginDescribeCreateCaseOptions(DescribeCreateCaseOptionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCreateCaseOptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCreateCaseOptionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeCreateCaseOptions operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeCreateCaseOptions.
///
/// Returns a DescribeCreateCaseOptionsResult from AWSSupport.
/// REST API Reference for DescribeCreateCaseOptions Operation
public virtual DescribeCreateCaseOptionsResponse EndDescribeCreateCaseOptions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeServices
///
/// Returns the current list of Amazon Web Services services and a list of service categories
/// for each service. You then use service names and categories in your CreateCase
/// requests. Each Amazon Web Services service has its own set of categories.
///
///
///
/// The service codes and category codes correspond to the values that appear in the Service
/// and Category lists on the Amazon Web Services Support Center Create
/// Case page. The values in those fields don't necessarily match the service codes
/// and categories returned by the DescribeServices
operation. Always use
/// the service codes and categories that the DescribeServices
operation
/// returns, so that you have the most recent set of service and category codes.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
///
/// The response from the DescribeServices service method, as returned by AWSSupport.
///
/// An internal server error occurred.
///
/// REST API Reference for DescribeServices Operation
public virtual DescribeServicesResponse DescribeServices()
{
return DescribeServices(new DescribeServicesRequest());
}
///
/// Returns the current list of Amazon Web Services services and a list of service categories
/// for each service. You then use service names and categories in your CreateCase
/// requests. Each Amazon Web Services service has its own set of categories.
///
///
///
/// The service codes and category codes correspond to the values that appear in the Service
/// and Category lists on the Amazon Web Services Support Center Create
/// Case page. The values in those fields don't necessarily match the service codes
/// and categories returned by the DescribeServices
operation. Always use
/// the service codes and categories that the DescribeServices
operation
/// returns, so that you have the most recent set of service and category codes.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// Container for the necessary parameters to execute the DescribeServices service method.
///
/// The response from the DescribeServices service method, as returned by AWSSupport.
///
/// An internal server error occurred.
///
/// REST API Reference for DescribeServices Operation
public virtual DescribeServicesResponse DescribeServices(DescribeServicesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeServicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeServicesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeServices operation.
///
///
/// Container for the necessary parameters to execute the DescribeServices operation on AmazonAWSSupportClient.
/// 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 EndDescribeServices
/// operation.
/// REST API Reference for DescribeServices Operation
public virtual IAsyncResult BeginDescribeServices(DescribeServicesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeServicesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeServicesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeServices operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeServices.
///
/// Returns a DescribeServicesResult from AWSSupport.
/// REST API Reference for DescribeServices Operation
public virtual DescribeServicesResponse EndDescribeServices(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeSeverityLevels
///
/// Returns the list of severity levels that you can assign to a support case. The severity
/// level for a case is also a field in the CaseDetails data type that you include
/// for a CreateCase request.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
///
/// The response from the DescribeSeverityLevels service method, as returned by AWSSupport.
///
/// An internal server error occurred.
///
/// REST API Reference for DescribeSeverityLevels Operation
public virtual DescribeSeverityLevelsResponse DescribeSeverityLevels()
{
return DescribeSeverityLevels(new DescribeSeverityLevelsRequest());
}
///
/// Returns the list of severity levels that you can assign to a support case. The severity
/// level for a case is also a field in the CaseDetails data type that you include
/// for a CreateCase request.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// Container for the necessary parameters to execute the DescribeSeverityLevels service method.
///
/// The response from the DescribeSeverityLevels service method, as returned by AWSSupport.
///
/// An internal server error occurred.
///
/// REST API Reference for DescribeSeverityLevels Operation
public virtual DescribeSeverityLevelsResponse DescribeSeverityLevels(DescribeSeverityLevelsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSeverityLevelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSeverityLevelsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeSeverityLevels operation.
///
///
/// Container for the necessary parameters to execute the DescribeSeverityLevels operation on AmazonAWSSupportClient.
/// 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 EndDescribeSeverityLevels
/// operation.
/// REST API Reference for DescribeSeverityLevels Operation
public virtual IAsyncResult BeginDescribeSeverityLevels(DescribeSeverityLevelsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSeverityLevelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSeverityLevelsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeSeverityLevels operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeSeverityLevels.
///
/// Returns a DescribeSeverityLevelsResult from AWSSupport.
/// REST API Reference for DescribeSeverityLevels Operation
public virtual DescribeSeverityLevelsResponse EndDescribeSeverityLevels(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeSupportedLanguages
///
/// Returns a list of supported languages for a specified categoryCode
, issueType
/// and serviceCode
. The returned supported languages will include a ISO
/// 639-1 code for the language
, and the language display name.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// Container for the necessary parameters to execute the DescribeSupportedLanguages service method.
///
/// The response from the DescribeSupportedLanguages service method, as returned by AWSSupport.
///
/// An internal server error occurred.
///
///
/// You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
///
/// REST API Reference for DescribeSupportedLanguages Operation
public virtual DescribeSupportedLanguagesResponse DescribeSupportedLanguages(DescribeSupportedLanguagesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSupportedLanguagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSupportedLanguagesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeSupportedLanguages operation.
///
///
/// Container for the necessary parameters to execute the DescribeSupportedLanguages operation on AmazonAWSSupportClient.
/// 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 EndDescribeSupportedLanguages
/// operation.
/// REST API Reference for DescribeSupportedLanguages Operation
public virtual IAsyncResult BeginDescribeSupportedLanguages(DescribeSupportedLanguagesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSupportedLanguagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSupportedLanguagesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeSupportedLanguages operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeSupportedLanguages.
///
/// Returns a DescribeSupportedLanguagesResult from AWSSupport.
/// REST API Reference for DescribeSupportedLanguages Operation
public virtual DescribeSupportedLanguagesResponse EndDescribeSupportedLanguages(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeTrustedAdvisorCheckRefreshStatuses
///
/// Returns the refresh status of the Trusted Advisor checks that have the specified check
/// IDs. You can get the check IDs by calling the DescribeTrustedAdvisorChecks
/// operation.
///
///
///
/// Some checks are refreshed automatically, and you can't return their refresh statuses
/// by using the DescribeTrustedAdvisorCheckRefreshStatuses
operation. If
/// you call this operation for these checks, you might see an InvalidParameterValue
/// error.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// To call the Trusted Advisor operations in the Amazon Web Services Support API, you
/// must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe
/// (Ireland) endpoints don't support the Trusted Advisor operations. For more information,
/// see About
/// the Amazon Web Services Support API in the Amazon Web Services Support User
/// Guide.
///
///
/// Container for the necessary parameters to execute the DescribeTrustedAdvisorCheckRefreshStatuses service method.
///
/// The response from the DescribeTrustedAdvisorCheckRefreshStatuses service method, as returned by AWSSupport.
///
/// An internal server error occurred.
///
///
/// You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
///
/// REST API Reference for DescribeTrustedAdvisorCheckRefreshStatuses Operation
public virtual DescribeTrustedAdvisorCheckRefreshStatusesResponse DescribeTrustedAdvisorCheckRefreshStatuses(DescribeTrustedAdvisorCheckRefreshStatusesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTrustedAdvisorCheckRefreshStatusesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTrustedAdvisorCheckRefreshStatusesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeTrustedAdvisorCheckRefreshStatuses operation.
///
///
/// Container for the necessary parameters to execute the DescribeTrustedAdvisorCheckRefreshStatuses operation on AmazonAWSSupportClient.
/// 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 EndDescribeTrustedAdvisorCheckRefreshStatuses
/// operation.
/// REST API Reference for DescribeTrustedAdvisorCheckRefreshStatuses Operation
public virtual IAsyncResult BeginDescribeTrustedAdvisorCheckRefreshStatuses(DescribeTrustedAdvisorCheckRefreshStatusesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTrustedAdvisorCheckRefreshStatusesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTrustedAdvisorCheckRefreshStatusesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeTrustedAdvisorCheckRefreshStatuses operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeTrustedAdvisorCheckRefreshStatuses.
///
/// Returns a DescribeTrustedAdvisorCheckRefreshStatusesResult from AWSSupport.
/// REST API Reference for DescribeTrustedAdvisorCheckRefreshStatuses Operation
public virtual DescribeTrustedAdvisorCheckRefreshStatusesResponse EndDescribeTrustedAdvisorCheckRefreshStatuses(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeTrustedAdvisorCheckResult
///
/// Returns the results of the Trusted Advisor check that has the specified check ID.
/// You can get the check IDs by calling the DescribeTrustedAdvisorChecks operation.
///
///
///
/// The response contains a TrustedAdvisorCheckResult object, which contains these
/// three objects:
///
///
///
/// In addition, the response contains these fields:
///
/// -
///
/// status - The alert status of the check can be
ok
(green), warning
/// (yellow), error
(red), or not_available
.
///
/// -
///
/// timestamp - The time of the last refresh of the check.
///
///
-
///
/// checkId - The unique identifier for the check.
///
///
-
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// To call the Trusted Advisor operations in the Amazon Web Services Support API, you
/// must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe
/// (Ireland) endpoints don't support the Trusted Advisor operations. For more information,
/// see About
/// the Amazon Web Services Support API in the Amazon Web Services Support User
/// Guide.
///
///
/// Container for the necessary parameters to execute the DescribeTrustedAdvisorCheckResult service method.
///
/// The response from the DescribeTrustedAdvisorCheckResult service method, as returned by AWSSupport.
///
/// An internal server error occurred.
///
///
/// You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
///
/// REST API Reference for DescribeTrustedAdvisorCheckResult Operation
public virtual DescribeTrustedAdvisorCheckResultResponse DescribeTrustedAdvisorCheckResult(DescribeTrustedAdvisorCheckResultRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTrustedAdvisorCheckResultRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTrustedAdvisorCheckResultResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeTrustedAdvisorCheckResult operation.
///
///
/// Container for the necessary parameters to execute the DescribeTrustedAdvisorCheckResult operation on AmazonAWSSupportClient.
/// 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 EndDescribeTrustedAdvisorCheckResult
/// operation.
/// REST API Reference for DescribeTrustedAdvisorCheckResult Operation
public virtual IAsyncResult BeginDescribeTrustedAdvisorCheckResult(DescribeTrustedAdvisorCheckResultRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTrustedAdvisorCheckResultRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTrustedAdvisorCheckResultResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeTrustedAdvisorCheckResult operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeTrustedAdvisorCheckResult.
///
/// Returns a DescribeTrustedAdvisorCheckResultResult from AWSSupport.
/// REST API Reference for DescribeTrustedAdvisorCheckResult Operation
public virtual DescribeTrustedAdvisorCheckResultResponse EndDescribeTrustedAdvisorCheckResult(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeTrustedAdvisorChecks
///
/// Returns information about all available Trusted Advisor checks, including the name,
/// ID, category, description, and metadata. You must specify a language code.
///
///
///
/// The response contains a TrustedAdvisorCheckDescription object for each check.
/// You must set the Amazon Web Services Region to us-east-1.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
/// -
///
/// The names and descriptions for Trusted Advisor checks are subject to change. We recommend
/// that you specify the check ID in your code to uniquely identify a check.
///
///
///
/// To call the Trusted Advisor operations in the Amazon Web Services Support API, you
/// must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe
/// (Ireland) endpoints don't support the Trusted Advisor operations. For more information,
/// see About
/// the Amazon Web Services Support API in the Amazon Web Services Support User
/// Guide.
///
///
/// Container for the necessary parameters to execute the DescribeTrustedAdvisorChecks service method.
///
/// The response from the DescribeTrustedAdvisorChecks service method, as returned by AWSSupport.
///
/// An internal server error occurred.
///
///
/// You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
///
/// REST API Reference for DescribeTrustedAdvisorChecks Operation
public virtual DescribeTrustedAdvisorChecksResponse DescribeTrustedAdvisorChecks(DescribeTrustedAdvisorChecksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTrustedAdvisorChecksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTrustedAdvisorChecksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeTrustedAdvisorChecks operation.
///
///
/// Container for the necessary parameters to execute the DescribeTrustedAdvisorChecks operation on AmazonAWSSupportClient.
/// 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 EndDescribeTrustedAdvisorChecks
/// operation.
/// REST API Reference for DescribeTrustedAdvisorChecks Operation
public virtual IAsyncResult BeginDescribeTrustedAdvisorChecks(DescribeTrustedAdvisorChecksRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTrustedAdvisorChecksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTrustedAdvisorChecksResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeTrustedAdvisorChecks operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeTrustedAdvisorChecks.
///
/// Returns a DescribeTrustedAdvisorChecksResult from AWSSupport.
/// REST API Reference for DescribeTrustedAdvisorChecks Operation
public virtual DescribeTrustedAdvisorChecksResponse EndDescribeTrustedAdvisorChecks(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeTrustedAdvisorCheckSummaries
///
/// Returns the results for the Trusted Advisor check summaries for the check IDs that
/// you specified. You can get the check IDs by calling the DescribeTrustedAdvisorChecks
/// operation.
///
///
///
/// The response contains an array of TrustedAdvisorCheckSummary objects.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// To call the Trusted Advisor operations in the Amazon Web Services Support API, you
/// must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe
/// (Ireland) endpoints don't support the Trusted Advisor operations. For more information,
/// see About
/// the Amazon Web Services Support API in the Amazon Web Services Support User
/// Guide.
///
///
/// Container for the necessary parameters to execute the DescribeTrustedAdvisorCheckSummaries service method.
///
/// The response from the DescribeTrustedAdvisorCheckSummaries service method, as returned by AWSSupport.
///
/// An internal server error occurred.
///
///
/// You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
///
/// REST API Reference for DescribeTrustedAdvisorCheckSummaries Operation
public virtual DescribeTrustedAdvisorCheckSummariesResponse DescribeTrustedAdvisorCheckSummaries(DescribeTrustedAdvisorCheckSummariesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTrustedAdvisorCheckSummariesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTrustedAdvisorCheckSummariesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeTrustedAdvisorCheckSummaries operation.
///
///
/// Container for the necessary parameters to execute the DescribeTrustedAdvisorCheckSummaries operation on AmazonAWSSupportClient.
/// 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 EndDescribeTrustedAdvisorCheckSummaries
/// operation.
/// REST API Reference for DescribeTrustedAdvisorCheckSummaries Operation
public virtual IAsyncResult BeginDescribeTrustedAdvisorCheckSummaries(DescribeTrustedAdvisorCheckSummariesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeTrustedAdvisorCheckSummariesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeTrustedAdvisorCheckSummariesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeTrustedAdvisorCheckSummaries operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeTrustedAdvisorCheckSummaries.
///
/// Returns a DescribeTrustedAdvisorCheckSummariesResult from AWSSupport.
/// REST API Reference for DescribeTrustedAdvisorCheckSummaries Operation
public virtual DescribeTrustedAdvisorCheckSummariesResponse EndDescribeTrustedAdvisorCheckSummaries(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RefreshTrustedAdvisorCheck
///
/// Refreshes the Trusted Advisor check that you specify using the check ID. You can get
/// the check IDs by calling the DescribeTrustedAdvisorChecks operation.
///
///
///
/// Some checks are refreshed automatically. If you call the RefreshTrustedAdvisorCheck
/// operation to refresh them, you might see the InvalidParameterValue
error.
///
///
///
/// The response contains a TrustedAdvisorCheckRefreshStatus object.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// To call the Trusted Advisor operations in the Amazon Web Services Support API, you
/// must use the US East (N. Virginia) endpoint. Currently, the US West (Oregon) and Europe
/// (Ireland) endpoints don't support the Trusted Advisor operations. For more information,
/// see About
/// the Amazon Web Services Support API in the Amazon Web Services Support User
/// Guide.
///
///
/// Container for the necessary parameters to execute the RefreshTrustedAdvisorCheck service method.
///
/// The response from the RefreshTrustedAdvisorCheck service method, as returned by AWSSupport.
///
/// An internal server error occurred.
///
/// REST API Reference for RefreshTrustedAdvisorCheck Operation
public virtual RefreshTrustedAdvisorCheckResponse RefreshTrustedAdvisorCheck(RefreshTrustedAdvisorCheckRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RefreshTrustedAdvisorCheckRequestMarshaller.Instance;
options.ResponseUnmarshaller = RefreshTrustedAdvisorCheckResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RefreshTrustedAdvisorCheck operation.
///
///
/// Container for the necessary parameters to execute the RefreshTrustedAdvisorCheck operation on AmazonAWSSupportClient.
/// 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 EndRefreshTrustedAdvisorCheck
/// operation.
/// REST API Reference for RefreshTrustedAdvisorCheck Operation
public virtual IAsyncResult BeginRefreshTrustedAdvisorCheck(RefreshTrustedAdvisorCheckRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RefreshTrustedAdvisorCheckRequestMarshaller.Instance;
options.ResponseUnmarshaller = RefreshTrustedAdvisorCheckResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RefreshTrustedAdvisorCheck operation.
///
///
/// The IAsyncResult returned by the call to BeginRefreshTrustedAdvisorCheck.
///
/// Returns a RefreshTrustedAdvisorCheckResult from AWSSupport.
/// REST API Reference for RefreshTrustedAdvisorCheck Operation
public virtual RefreshTrustedAdvisorCheckResponse EndRefreshTrustedAdvisorCheck(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ResolveCase
///
/// Resolves a support case. This operation takes a caseId
and returns the
/// initial and final state of the case.
///
/// -
///
/// You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the
/// Amazon Web Services Support API.
///
///
-
///
/// If you call the Amazon Web Services Support API from an account that doesn't have
/// a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
/// error message appears. For information about changing your support plan, see Amazon
/// Web Services Support.
///
///
///
/// Container for the necessary parameters to execute the ResolveCase service method.
///
/// The response from the ResolveCase service method, as returned by AWSSupport.
///
/// The requested caseId
couldn't be located.
///
///
/// An internal server error occurred.
///
/// REST API Reference for ResolveCase Operation
public virtual ResolveCaseResponse ResolveCase(ResolveCaseRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResolveCaseRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResolveCaseResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ResolveCase operation.
///
///
/// Container for the necessary parameters to execute the ResolveCase operation on AmazonAWSSupportClient.
/// 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 EndResolveCase
/// operation.
/// REST API Reference for ResolveCase Operation
public virtual IAsyncResult BeginResolveCase(ResolveCaseRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResolveCaseRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResolveCaseResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ResolveCase operation.
///
///
/// The IAsyncResult returned by the call to BeginResolveCase.
///
/// Returns a ResolveCaseResult from AWSSupport.
/// REST API Reference for ResolveCase Operation
public virtual ResolveCaseResponse EndResolveCase(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}