/* * 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 iot-2015-05-28.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.IoT.Model; using Amazon.IoT.Model.Internal.MarshallTransformations; using Amazon.IoT.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.IoT { /// /// Implementation for accessing IoT /// /// IoT /// /// IoT provides secure, bi-directional communication between Internet-connected devices /// (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon /// Web Services cloud. You can discover your custom IoT-Data endpoint to communicate /// with, configure rules for data processing and integration with other services, organize /// resources associated with each device (Registry), configure logging, and create and /// manage policies and credentials to authenticate devices. /// /// /// /// The service endpoints that expose this API are listed in Amazon /// Web Services IoT Core Endpoints and Quotas. You must use the endpoint for the /// region that has the resources you want to access. /// /// /// /// The service name used by Amazon /// Web Services Signature Version 4 to sign the request is: execute-api. /// /// /// /// For more information about how IoT works, see the Developer /// Guide. /// /// /// /// For information about how to use the credentials provider for IoT, see Authorizing /// Direct Calls to Amazon Web Services Services. /// /// public partial class AmazonIoTClient : AmazonServiceClient, IAmazonIoT { private static IServiceMetadata serviceMetadata = new AmazonIoTMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IIoTPaginatorFactory _paginators; /// /// Paginators for the service /// public IIoTPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new IoTPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonIoTClient 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 AmazonIoTClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTConfig()) { } /// /// Constructs AmazonIoTClient 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 AmazonIoTClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTClient 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 AmazonIoTClient Configuration Object public AmazonIoTClient(AmazonIoTConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonIoTClient with AWS Credentials /// /// AWS Credentials public AmazonIoTClient(AWSCredentials credentials) : this(credentials, new AmazonIoTConfig()) { } /// /// Constructs AmazonIoTClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonIoTClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonIoTConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTClient with AWS Credentials and an /// AmazonIoTClient Configuration object. /// /// AWS Credentials /// The AmazonIoTClient Configuration Object public AmazonIoTClient(AWSCredentials credentials, AmazonIoTConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonIoTClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTConfig()) { } /// /// Constructs AmazonIoTClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonIoTClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIoTClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonIoTClient Configuration Object public AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonIoTConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonIoTClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTConfig()) { } /// /// Constructs AmazonIoTClient 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 AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIoTClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIoTClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonIoTClient Configuration Object public AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonIoTConfig 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 AmazonIoTEndpointResolver()); } /// /// 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 AcceptCertificateTransfer /// /// Accepts a pending certificate transfer. The default state of the certificate is INACTIVE. /// /// /// /// To check for pending certificate transfers, call ListCertificates to enumerate /// your certificates. /// /// /// /// Requires permission to access the AcceptCertificateTransfer /// action. /// /// /// Container for the necessary parameters to execute the AcceptCertificateTransfer service method. /// /// The response from the AcceptCertificateTransfer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You can't revert the certificate transfer because the transfer is already complete. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for AcceptCertificateTransfer Operation public virtual AcceptCertificateTransferResponse AcceptCertificateTransfer(AcceptCertificateTransferRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptCertificateTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptCertificateTransferResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AcceptCertificateTransfer operation. /// /// /// Container for the necessary parameters to execute the AcceptCertificateTransfer operation on AmazonIoTClient. /// 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 EndAcceptCertificateTransfer /// operation. /// REST API Reference for AcceptCertificateTransfer Operation public virtual IAsyncResult BeginAcceptCertificateTransfer(AcceptCertificateTransferRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AcceptCertificateTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = AcceptCertificateTransferResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AcceptCertificateTransfer operation. /// /// /// The IAsyncResult returned by the call to BeginAcceptCertificateTransfer. /// /// Returns a AcceptCertificateTransferResult from IoT. /// REST API Reference for AcceptCertificateTransfer Operation public virtual AcceptCertificateTransferResponse EndAcceptCertificateTransfer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AddThingToBillingGroup /// /// Adds a thing to a billing group. /// /// /// /// Requires permission to access the AddThingToBillingGroup /// action. /// /// /// Container for the necessary parameters to execute the AddThingToBillingGroup service method. /// /// The response from the AddThingToBillingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for AddThingToBillingGroup Operation public virtual AddThingToBillingGroupResponse AddThingToBillingGroup(AddThingToBillingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AddThingToBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = AddThingToBillingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AddThingToBillingGroup operation. /// /// /// Container for the necessary parameters to execute the AddThingToBillingGroup operation on AmazonIoTClient. /// 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 EndAddThingToBillingGroup /// operation. /// REST API Reference for AddThingToBillingGroup Operation public virtual IAsyncResult BeginAddThingToBillingGroup(AddThingToBillingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AddThingToBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = AddThingToBillingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AddThingToBillingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginAddThingToBillingGroup. /// /// Returns a AddThingToBillingGroupResult from IoT. /// REST API Reference for AddThingToBillingGroup Operation public virtual AddThingToBillingGroupResponse EndAddThingToBillingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AddThingToThingGroup /// /// Adds a thing to a thing group. /// /// /// /// Requires permission to access the AddThingToThingGroup /// action. /// /// /// Container for the necessary parameters to execute the AddThingToThingGroup service method. /// /// The response from the AddThingToThingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for AddThingToThingGroup Operation public virtual AddThingToThingGroupResponse AddThingToThingGroup(AddThingToThingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AddThingToThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = AddThingToThingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AddThingToThingGroup operation. /// /// /// Container for the necessary parameters to execute the AddThingToThingGroup operation on AmazonIoTClient. /// 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 EndAddThingToThingGroup /// operation. /// REST API Reference for AddThingToThingGroup Operation public virtual IAsyncResult BeginAddThingToThingGroup(AddThingToThingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AddThingToThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = AddThingToThingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AddThingToThingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginAddThingToThingGroup. /// /// Returns a AddThingToThingGroupResult from IoT. /// REST API Reference for AddThingToThingGroup Operation public virtual AddThingToThingGroupResponse EndAddThingToThingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AssociateTargetsWithJob /// /// Associates a group with a continuous job. The following criteria must be met: /// ///
  • /// /// The job must have been created with the targetSelection field set to /// "CONTINUOUS". /// ///
  • /// /// The job status must currently be "IN_PROGRESS". /// ///
  • /// /// The total number of targets associated with a job must not exceed 100. /// ///
/// /// Requires permission to access the AssociateTargetsWithJob /// action. /// ///
/// Container for the necessary parameters to execute the AssociateTargetsWithJob service method. /// /// The response from the AssociateTargetsWithJob service method, as returned by IoT. /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for AssociateTargetsWithJob Operation public virtual AssociateTargetsWithJobResponse AssociateTargetsWithJob(AssociateTargetsWithJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTargetsWithJobRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTargetsWithJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AssociateTargetsWithJob operation. /// /// /// Container for the necessary parameters to execute the AssociateTargetsWithJob operation on AmazonIoTClient. /// 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 EndAssociateTargetsWithJob /// operation. /// REST API Reference for AssociateTargetsWithJob Operation public virtual IAsyncResult BeginAssociateTargetsWithJob(AssociateTargetsWithJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateTargetsWithJobRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateTargetsWithJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AssociateTargetsWithJob operation. /// /// /// The IAsyncResult returned by the call to BeginAssociateTargetsWithJob. /// /// Returns a AssociateTargetsWithJobResult from IoT. /// REST API Reference for AssociateTargetsWithJob Operation public virtual AssociateTargetsWithJobResponse EndAssociateTargetsWithJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AttachPolicy /// /// Attaches the specified policy to the specified principal (certificate or other credential). /// /// /// /// Requires permission to access the AttachPolicy /// action. /// /// /// Container for the necessary parameters to execute the AttachPolicy service method. /// /// The response from the AttachPolicy service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for AttachPolicy Operation public virtual AttachPolicyResponse AttachPolicy(AttachPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AttachPolicy operation. /// /// /// Container for the necessary parameters to execute the AttachPolicy operation on AmazonIoTClient. /// 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 EndAttachPolicy /// operation. /// REST API Reference for AttachPolicy Operation public virtual IAsyncResult BeginAttachPolicy(AttachPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AttachPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AttachPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginAttachPolicy. /// /// Returns a AttachPolicyResult from IoT. /// REST API Reference for AttachPolicy Operation public virtual AttachPolicyResponse EndAttachPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AttachPrincipalPolicy /// /// Attaches the specified policy to the specified principal (certificate or other credential). /// /// /// /// Note: This action is deprecated and works as expected for backward compatibility, /// but we won't add enhancements. Use AttachPolicy instead. /// /// /// /// Requires permission to access the AttachPrincipalPolicy /// action. /// /// /// The policy name. /// The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID. /// /// The response from the AttachPrincipalPolicy service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for AttachPrincipalPolicy Operation [Obsolete("Deprecated in favor of AttachPolicy.")] public virtual AttachPrincipalPolicyResponse AttachPrincipalPolicy(string policyName, string principal) { var request = new AttachPrincipalPolicyRequest(); request.PolicyName = policyName; request.Principal = principal; return AttachPrincipalPolicy(request); } /// /// Attaches the specified policy to the specified principal (certificate or other credential). /// /// /// /// Note: This action is deprecated and works as expected for backward compatibility, /// but we won't add enhancements. Use AttachPolicy instead. /// /// /// /// Requires permission to access the AttachPrincipalPolicy /// action. /// /// /// Container for the necessary parameters to execute the AttachPrincipalPolicy service method. /// /// The response from the AttachPrincipalPolicy service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for AttachPrincipalPolicy Operation [Obsolete("Deprecated in favor of AttachPolicy.")] public virtual AttachPrincipalPolicyResponse AttachPrincipalPolicy(AttachPrincipalPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachPrincipalPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachPrincipalPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AttachPrincipalPolicy operation. /// /// /// Container for the necessary parameters to execute the AttachPrincipalPolicy operation on AmazonIoTClient. /// 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 EndAttachPrincipalPolicy /// operation. /// REST API Reference for AttachPrincipalPolicy Operation [Obsolete("Deprecated in favor of AttachPolicy.")] public virtual IAsyncResult BeginAttachPrincipalPolicy(AttachPrincipalPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AttachPrincipalPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachPrincipalPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AttachPrincipalPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginAttachPrincipalPolicy. /// /// Returns a AttachPrincipalPolicyResult from IoT. /// REST API Reference for AttachPrincipalPolicy Operation [Obsolete("Deprecated in favor of AttachPolicy.")] public virtual AttachPrincipalPolicyResponse EndAttachPrincipalPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AttachSecurityProfile /// /// Associates a Device Defender security profile with a thing group or this account. /// Each thing group or account can have up to five security profiles associated with /// it. /// /// /// /// Requires permission to access the AttachSecurityProfile /// action. /// /// /// Container for the necessary parameters to execute the AttachSecurityProfile service method. /// /// The response from the AttachSecurityProfile service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for AttachSecurityProfile Operation public virtual AttachSecurityProfileResponse AttachSecurityProfile(AttachSecurityProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachSecurityProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AttachSecurityProfile operation. /// /// /// Container for the necessary parameters to execute the AttachSecurityProfile operation on AmazonIoTClient. /// 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 EndAttachSecurityProfile /// operation. /// REST API Reference for AttachSecurityProfile Operation public virtual IAsyncResult BeginAttachSecurityProfile(AttachSecurityProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AttachSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachSecurityProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AttachSecurityProfile operation. /// /// /// The IAsyncResult returned by the call to BeginAttachSecurityProfile. /// /// Returns a AttachSecurityProfileResult from IoT. /// REST API Reference for AttachSecurityProfile Operation public virtual AttachSecurityProfileResponse EndAttachSecurityProfile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AttachThingPrincipal /// /// Attaches the specified principal to the specified thing. A principal can be X.509 /// certificates, Amazon Cognito identities or federated identities. /// /// /// /// Requires permission to access the AttachThingPrincipal /// action. /// /// /// The name of the thing. /// The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID. /// /// The response from the AttachThingPrincipal service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for AttachThingPrincipal Operation public virtual AttachThingPrincipalResponse AttachThingPrincipal(string thingName, string principal) { var request = new AttachThingPrincipalRequest(); request.ThingName = thingName; request.Principal = principal; return AttachThingPrincipal(request); } /// /// Attaches the specified principal to the specified thing. A principal can be X.509 /// certificates, Amazon Cognito identities or federated identities. /// /// /// /// Requires permission to access the AttachThingPrincipal /// action. /// /// /// Container for the necessary parameters to execute the AttachThingPrincipal service method. /// /// The response from the AttachThingPrincipal service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for AttachThingPrincipal Operation public virtual AttachThingPrincipalResponse AttachThingPrincipal(AttachThingPrincipalRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AttachThingPrincipalRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachThingPrincipalResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AttachThingPrincipal operation. /// /// /// Container for the necessary parameters to execute the AttachThingPrincipal operation on AmazonIoTClient. /// 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 EndAttachThingPrincipal /// operation. /// REST API Reference for AttachThingPrincipal Operation public virtual IAsyncResult BeginAttachThingPrincipal(AttachThingPrincipalRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AttachThingPrincipalRequestMarshaller.Instance; options.ResponseUnmarshaller = AttachThingPrincipalResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AttachThingPrincipal operation. /// /// /// The IAsyncResult returned by the call to BeginAttachThingPrincipal. /// /// Returns a AttachThingPrincipalResult from IoT. /// REST API Reference for AttachThingPrincipal Operation public virtual AttachThingPrincipalResponse EndAttachThingPrincipal(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CancelAuditMitigationActionsTask /// /// Cancels a mitigation action task that is in progress. If the task is not in progress, /// an InvalidRequestException occurs. /// /// /// /// Requires permission to access the CancelAuditMitigationActionsTask /// action. /// /// /// Container for the necessary parameters to execute the CancelAuditMitigationActionsTask service method. /// /// The response from the CancelAuditMitigationActionsTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CancelAuditMitigationActionsTask Operation public virtual CancelAuditMitigationActionsTaskResponse CancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelAuditMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelAuditMitigationActionsTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CancelAuditMitigationActionsTask operation. /// /// /// Container for the necessary parameters to execute the CancelAuditMitigationActionsTask operation on AmazonIoTClient. /// 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 EndCancelAuditMitigationActionsTask /// operation. /// REST API Reference for CancelAuditMitigationActionsTask Operation public virtual IAsyncResult BeginCancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelAuditMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelAuditMitigationActionsTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CancelAuditMitigationActionsTask operation. /// /// /// The IAsyncResult returned by the call to BeginCancelAuditMitigationActionsTask. /// /// Returns a CancelAuditMitigationActionsTaskResult from IoT. /// REST API Reference for CancelAuditMitigationActionsTask Operation public virtual CancelAuditMitigationActionsTaskResponse EndCancelAuditMitigationActionsTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CancelAuditTask /// /// Cancels an audit that is in progress. The audit can be either scheduled or on demand. /// If the audit isn't in progress, an "InvalidRequestException" occurs. /// /// /// /// Requires permission to access the CancelAuditTask /// action. /// /// /// Container for the necessary parameters to execute the CancelAuditTask service method. /// /// The response from the CancelAuditTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CancelAuditTask Operation public virtual CancelAuditTaskResponse CancelAuditTask(CancelAuditTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelAuditTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelAuditTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CancelAuditTask operation. /// /// /// Container for the necessary parameters to execute the CancelAuditTask operation on AmazonIoTClient. /// 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 EndCancelAuditTask /// operation. /// REST API Reference for CancelAuditTask Operation public virtual IAsyncResult BeginCancelAuditTask(CancelAuditTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelAuditTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelAuditTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CancelAuditTask operation. /// /// /// The IAsyncResult returned by the call to BeginCancelAuditTask. /// /// Returns a CancelAuditTaskResult from IoT. /// REST API Reference for CancelAuditTask Operation public virtual CancelAuditTaskResponse EndCancelAuditTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CancelCertificateTransfer /// /// Cancels a pending transfer for the specified certificate. /// /// /// /// Note Only the transfer source account can use this operation to cancel a transfer. /// (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, /// IoT returns the certificate to the source account in the INACTIVE state. After the /// destination account has accepted the transfer, the transfer cannot be cancelled. /// /// /// /// After a certificate transfer is cancelled, the status of the certificate changes from /// PENDING_TRANSFER to INACTIVE. /// /// /// /// Requires permission to access the CancelCertificateTransfer /// action. /// /// /// The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) /// /// The response from the CancelCertificateTransfer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You can't revert the certificate transfer because the transfer is already complete. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CancelCertificateTransfer Operation public virtual CancelCertificateTransferResponse CancelCertificateTransfer(string certificateId) { var request = new CancelCertificateTransferRequest(); request.CertificateId = certificateId; return CancelCertificateTransfer(request); } /// /// Cancels a pending transfer for the specified certificate. /// /// /// /// Note Only the transfer source account can use this operation to cancel a transfer. /// (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, /// IoT returns the certificate to the source account in the INACTIVE state. After the /// destination account has accepted the transfer, the transfer cannot be cancelled. /// /// /// /// After a certificate transfer is cancelled, the status of the certificate changes from /// PENDING_TRANSFER to INACTIVE. /// /// /// /// Requires permission to access the CancelCertificateTransfer /// action. /// /// /// Container for the necessary parameters to execute the CancelCertificateTransfer service method. /// /// The response from the CancelCertificateTransfer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You can't revert the certificate transfer because the transfer is already complete. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CancelCertificateTransfer Operation public virtual CancelCertificateTransferResponse CancelCertificateTransfer(CancelCertificateTransferRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelCertificateTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelCertificateTransferResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CancelCertificateTransfer operation. /// /// /// Container for the necessary parameters to execute the CancelCertificateTransfer operation on AmazonIoTClient. /// 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 EndCancelCertificateTransfer /// operation. /// REST API Reference for CancelCertificateTransfer Operation public virtual IAsyncResult BeginCancelCertificateTransfer(CancelCertificateTransferRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelCertificateTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelCertificateTransferResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CancelCertificateTransfer operation. /// /// /// The IAsyncResult returned by the call to BeginCancelCertificateTransfer. /// /// Returns a CancelCertificateTransferResult from IoT. /// REST API Reference for CancelCertificateTransfer Operation public virtual CancelCertificateTransferResponse EndCancelCertificateTransfer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CancelDetectMitigationActionsTask /// /// Cancels a Device Defender ML Detect mitigation action. /// /// /// /// Requires permission to access the CancelDetectMitigationActionsTask /// action. /// /// /// Container for the necessary parameters to execute the CancelDetectMitigationActionsTask service method. /// /// The response from the CancelDetectMitigationActionsTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CancelDetectMitigationActionsTask Operation public virtual CancelDetectMitigationActionsTaskResponse CancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelDetectMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelDetectMitigationActionsTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CancelDetectMitigationActionsTask operation. /// /// /// Container for the necessary parameters to execute the CancelDetectMitigationActionsTask operation on AmazonIoTClient. /// 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 EndCancelDetectMitigationActionsTask /// operation. /// REST API Reference for CancelDetectMitigationActionsTask Operation public virtual IAsyncResult BeginCancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelDetectMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelDetectMitigationActionsTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CancelDetectMitigationActionsTask operation. /// /// /// The IAsyncResult returned by the call to BeginCancelDetectMitigationActionsTask. /// /// Returns a CancelDetectMitigationActionsTaskResult from IoT. /// REST API Reference for CancelDetectMitigationActionsTask Operation public virtual CancelDetectMitigationActionsTaskResponse EndCancelDetectMitigationActionsTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CancelJob /// /// Cancels a job. /// /// /// /// Requires permission to access the CancelJob /// action. /// /// /// Container for the necessary parameters to execute the CancelJob service method. /// /// The response from the CancelJob service method, as returned by IoT. /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CancelJob Operation public virtual CancelJobResponse CancelJob(CancelJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CancelJob operation. /// /// /// Container for the necessary parameters to execute the CancelJob operation on AmazonIoTClient. /// 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 EndCancelJob /// operation. /// REST API Reference for CancelJob Operation public virtual IAsyncResult BeginCancelJob(CancelJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CancelJob operation. /// /// /// The IAsyncResult returned by the call to BeginCancelJob. /// /// Returns a CancelJobResult from IoT. /// REST API Reference for CancelJob Operation public virtual CancelJobResponse EndCancelJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CancelJobExecution /// /// Cancels the execution of a job for a given thing. /// /// /// /// Requires permission to access the CancelJobExecution /// action. /// /// /// Container for the necessary parameters to execute the CancelJobExecution service method. /// /// The response from the CancelJobExecution service method, as returned by IoT. /// /// The request is not valid. /// /// /// An attempt was made to change to an invalid state, for example by deleting a job or /// a job execution which is "IN_PROGRESS" without setting the force parameter. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for CancelJobExecution Operation public virtual CancelJobExecutionResponse CancelJobExecution(CancelJobExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelJobExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelJobExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CancelJobExecution operation. /// /// /// Container for the necessary parameters to execute the CancelJobExecution operation on AmazonIoTClient. /// 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 EndCancelJobExecution /// operation. /// REST API Reference for CancelJobExecution Operation public virtual IAsyncResult BeginCancelJobExecution(CancelJobExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelJobExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelJobExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CancelJobExecution operation. /// /// /// The IAsyncResult returned by the call to BeginCancelJobExecution. /// /// Returns a CancelJobExecutionResult from IoT. /// REST API Reference for CancelJobExecution Operation public virtual CancelJobExecutionResponse EndCancelJobExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ClearDefaultAuthorizer /// /// Clears the default authorizer. /// /// /// /// Requires permission to access the ClearDefaultAuthorizer /// action. /// /// /// Container for the necessary parameters to execute the ClearDefaultAuthorizer service method. /// /// The response from the ClearDefaultAuthorizer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ClearDefaultAuthorizer Operation public virtual ClearDefaultAuthorizerResponse ClearDefaultAuthorizer(ClearDefaultAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ClearDefaultAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = ClearDefaultAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ClearDefaultAuthorizer operation. /// /// /// Container for the necessary parameters to execute the ClearDefaultAuthorizer operation on AmazonIoTClient. /// 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 EndClearDefaultAuthorizer /// operation. /// REST API Reference for ClearDefaultAuthorizer Operation public virtual IAsyncResult BeginClearDefaultAuthorizer(ClearDefaultAuthorizerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ClearDefaultAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = ClearDefaultAuthorizerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ClearDefaultAuthorizer operation. /// /// /// The IAsyncResult returned by the call to BeginClearDefaultAuthorizer. /// /// Returns a ClearDefaultAuthorizerResult from IoT. /// REST API Reference for ClearDefaultAuthorizer Operation public virtual ClearDefaultAuthorizerResponse EndClearDefaultAuthorizer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ConfirmTopicRuleDestination /// /// Confirms a topic rule destination. When you create a rule requiring a destination, /// IoT sends a confirmation message to the endpoint or base address you specify. The /// message includes a token which you pass back when calling ConfirmTopicRuleDestination /// to confirm that you own or have access to the endpoint. /// /// /// /// Requires permission to access the ConfirmTopicRuleDestination /// action. /// /// /// Container for the necessary parameters to execute the ConfirmTopicRuleDestination service method. /// /// The response from the ConfirmTopicRuleDestination service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ConfirmTopicRuleDestination Operation public virtual ConfirmTopicRuleDestinationResponse ConfirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ConfirmTopicRuleDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = ConfirmTopicRuleDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ConfirmTopicRuleDestination operation. /// /// /// Container for the necessary parameters to execute the ConfirmTopicRuleDestination operation on AmazonIoTClient. /// 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 EndConfirmTopicRuleDestination /// operation. /// REST API Reference for ConfirmTopicRuleDestination Operation public virtual IAsyncResult BeginConfirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ConfirmTopicRuleDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = ConfirmTopicRuleDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ConfirmTopicRuleDestination operation. /// /// /// The IAsyncResult returned by the call to BeginConfirmTopicRuleDestination. /// /// Returns a ConfirmTopicRuleDestinationResult from IoT. /// REST API Reference for ConfirmTopicRuleDestination Operation public virtual ConfirmTopicRuleDestinationResponse EndConfirmTopicRuleDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateAuditSuppression /// /// Creates a Device Defender audit suppression. /// /// /// /// Requires permission to access the CreateAuditSuppression /// action. /// /// /// Container for the necessary parameters to execute the CreateAuditSuppression service method. /// /// The response from the CreateAuditSuppression service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CreateAuditSuppression Operation public virtual CreateAuditSuppressionResponse CreateAuditSuppression(CreateAuditSuppressionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAuditSuppressionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAuditSuppressionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateAuditSuppression operation. /// /// /// Container for the necessary parameters to execute the CreateAuditSuppression operation on AmazonIoTClient. /// 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 EndCreateAuditSuppression /// operation. /// REST API Reference for CreateAuditSuppression Operation public virtual IAsyncResult BeginCreateAuditSuppression(CreateAuditSuppressionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAuditSuppressionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAuditSuppressionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateAuditSuppression operation. /// /// /// The IAsyncResult returned by the call to BeginCreateAuditSuppression. /// /// Returns a CreateAuditSuppressionResult from IoT. /// REST API Reference for CreateAuditSuppression Operation public virtual CreateAuditSuppressionResponse EndCreateAuditSuppression(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateAuthorizer /// /// Creates an authorizer. /// /// /// /// Requires permission to access the CreateAuthorizer /// action. /// /// /// Container for the necessary parameters to execute the CreateAuthorizer service method. /// /// The response from the CreateAuthorizer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateAuthorizer Operation public virtual CreateAuthorizerResponse CreateAuthorizer(CreateAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateAuthorizer operation. /// /// /// Container for the necessary parameters to execute the CreateAuthorizer operation on AmazonIoTClient. /// 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 EndCreateAuthorizer /// operation. /// REST API Reference for CreateAuthorizer Operation public virtual IAsyncResult BeginCreateAuthorizer(CreateAuthorizerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateAuthorizer operation. /// /// /// The IAsyncResult returned by the call to BeginCreateAuthorizer. /// /// Returns a CreateAuthorizerResult from IoT. /// REST API Reference for CreateAuthorizer Operation public virtual CreateAuthorizerResponse EndCreateAuthorizer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateBillingGroup /// /// Creates a billing group. /// /// /// /// Requires permission to access the CreateBillingGroup /// action. /// /// /// Container for the necessary parameters to execute the CreateBillingGroup service method. /// /// The response from the CreateBillingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource already exists. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CreateBillingGroup Operation public virtual CreateBillingGroupResponse CreateBillingGroup(CreateBillingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBillingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateBillingGroup operation. /// /// /// Container for the necessary parameters to execute the CreateBillingGroup operation on AmazonIoTClient. /// 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 EndCreateBillingGroup /// operation. /// REST API Reference for CreateBillingGroup Operation public virtual IAsyncResult BeginCreateBillingGroup(CreateBillingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBillingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateBillingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateBillingGroup. /// /// Returns a CreateBillingGroupResult from IoT. /// REST API Reference for CreateBillingGroup Operation public virtual CreateBillingGroupResponse EndCreateBillingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCertificateFromCsr /// /// Creates an X.509 certificate using the specified certificate signing request. /// /// /// /// Requires permission to access the CreateCertificateFromCsr /// action. /// /// /// /// The CSR must include a public key that is either an RSA key with a length of at least /// 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. For supported certificates, /// consult /// Certificate signing algorithms supported by IoT. /// /// /// /// Reusing the same certificate signing request (CSR) results in a distinct certificate. /// /// /// /// You can create multiple certificates in a batch by creating a directory, copying multiple /// .csr files into that directory, and then specifying that directory on /// the command line. The following commands show how to create a batch of certificates /// given a batch of CSRs. In the following commands, we assume that a set of CSRs are /// located inside of the directory my-csr-directory: /// /// /// /// On Linux and OS X, the command is: /// /// /// /// $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request /// file://my-csr-directory/{} /// /// /// /// This command lists all of the CSRs in my-csr-directory and pipes each CSR file name /// to the aws iot create-certificate-from-csr Amazon Web Services CLI command /// to create a certificate for the corresponding CSR. /// /// /// /// You can also run the aws iot create-certificate-from-csr part of the /// command in parallel to speed up the certificate creation process: /// /// /// /// $ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr /// --certificate-signing-request file://my-csr-directory/{} /// /// /// /// On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory /// is: /// /// /// /// > ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request /// file://my-csr-directory/$_} /// /// /// /// On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory /// is: /// /// /// /// > forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr /// --certificate-signing-request file://@path" /// /// /// The certificate signing request (CSR). /// /// The response from the CreateCertificateFromCsr service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateCertificateFromCsr Operation public virtual CreateCertificateFromCsrResponse CreateCertificateFromCsr(string certificateSigningRequest) { var request = new CreateCertificateFromCsrRequest(); request.CertificateSigningRequest = certificateSigningRequest; return CreateCertificateFromCsr(request); } /// /// Creates an X.509 certificate using the specified certificate signing request. /// /// /// /// Requires permission to access the CreateCertificateFromCsr /// action. /// /// /// /// The CSR must include a public key that is either an RSA key with a length of at least /// 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. For supported certificates, /// consult /// Certificate signing algorithms supported by IoT. /// /// /// /// Reusing the same certificate signing request (CSR) results in a distinct certificate. /// /// /// /// You can create multiple certificates in a batch by creating a directory, copying multiple /// .csr files into that directory, and then specifying that directory on /// the command line. The following commands show how to create a batch of certificates /// given a batch of CSRs. In the following commands, we assume that a set of CSRs are /// located inside of the directory my-csr-directory: /// /// /// /// On Linux and OS X, the command is: /// /// /// /// $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request /// file://my-csr-directory/{} /// /// /// /// This command lists all of the CSRs in my-csr-directory and pipes each CSR file name /// to the aws iot create-certificate-from-csr Amazon Web Services CLI command /// to create a certificate for the corresponding CSR. /// /// /// /// You can also run the aws iot create-certificate-from-csr part of the /// command in parallel to speed up the certificate creation process: /// /// /// /// $ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr /// --certificate-signing-request file://my-csr-directory/{} /// /// /// /// On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory /// is: /// /// /// /// > ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request /// file://my-csr-directory/$_} /// /// /// /// On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory /// is: /// /// /// /// > forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr /// --certificate-signing-request file://@path" /// /// /// The certificate signing request (CSR). /// Specifies whether the certificate is active. /// /// The response from the CreateCertificateFromCsr service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateCertificateFromCsr Operation public virtual CreateCertificateFromCsrResponse CreateCertificateFromCsr(string certificateSigningRequest, bool setAsActive) { var request = new CreateCertificateFromCsrRequest(); request.CertificateSigningRequest = certificateSigningRequest; request.SetAsActive = setAsActive; return CreateCertificateFromCsr(request); } /// /// Creates an X.509 certificate using the specified certificate signing request. /// /// /// /// Requires permission to access the CreateCertificateFromCsr /// action. /// /// /// /// The CSR must include a public key that is either an RSA key with a length of at least /// 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. For supported certificates, /// consult /// Certificate signing algorithms supported by IoT. /// /// /// /// Reusing the same certificate signing request (CSR) results in a distinct certificate. /// /// /// /// You can create multiple certificates in a batch by creating a directory, copying multiple /// .csr files into that directory, and then specifying that directory on /// the command line. The following commands show how to create a batch of certificates /// given a batch of CSRs. In the following commands, we assume that a set of CSRs are /// located inside of the directory my-csr-directory: /// /// /// /// On Linux and OS X, the command is: /// /// /// /// $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request /// file://my-csr-directory/{} /// /// /// /// This command lists all of the CSRs in my-csr-directory and pipes each CSR file name /// to the aws iot create-certificate-from-csr Amazon Web Services CLI command /// to create a certificate for the corresponding CSR. /// /// /// /// You can also run the aws iot create-certificate-from-csr part of the /// command in parallel to speed up the certificate creation process: /// /// /// /// $ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr /// --certificate-signing-request file://my-csr-directory/{} /// /// /// /// On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory /// is: /// /// /// /// > ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request /// file://my-csr-directory/$_} /// /// /// /// On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory /// is: /// /// /// /// > forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr /// --certificate-signing-request file://@path" /// /// /// Container for the necessary parameters to execute the CreateCertificateFromCsr service method. /// /// The response from the CreateCertificateFromCsr service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateCertificateFromCsr Operation public virtual CreateCertificateFromCsrResponse CreateCertificateFromCsr(CreateCertificateFromCsrRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCertificateFromCsrRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCertificateFromCsrResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCertificateFromCsr operation. /// /// /// Container for the necessary parameters to execute the CreateCertificateFromCsr operation on AmazonIoTClient. /// 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 EndCreateCertificateFromCsr /// operation. /// REST API Reference for CreateCertificateFromCsr Operation public virtual IAsyncResult BeginCreateCertificateFromCsr(CreateCertificateFromCsrRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCertificateFromCsrRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCertificateFromCsrResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCertificateFromCsr operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCertificateFromCsr. /// /// Returns a CreateCertificateFromCsrResult from IoT. /// REST API Reference for CreateCertificateFromCsr Operation public virtual CreateCertificateFromCsrResponse EndCreateCertificateFromCsr(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCustomMetric /// /// Use this API to define a Custom Metric published by your devices to Device Defender. /// /// /// /// /// Requires permission to access the CreateCustomMetric /// action. /// /// /// Container for the necessary parameters to execute the CreateCustomMetric service method. /// /// The response from the CreateCustomMetric service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CreateCustomMetric Operation public virtual CreateCustomMetricResponse CreateCustomMetric(CreateCustomMetricRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomMetricResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCustomMetric operation. /// /// /// Container for the necessary parameters to execute the CreateCustomMetric operation on AmazonIoTClient. /// 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 EndCreateCustomMetric /// operation. /// REST API Reference for CreateCustomMetric Operation public virtual IAsyncResult BeginCreateCustomMetric(CreateCustomMetricRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCustomMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCustomMetricResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCustomMetric operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCustomMetric. /// /// Returns a CreateCustomMetricResult from IoT. /// REST API Reference for CreateCustomMetric Operation public virtual CreateCustomMetricResponse EndCreateCustomMetric(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDimension /// /// Create a dimension that you can use to limit the scope of a metric used in a security /// profile for IoT Device Defender. For example, using a TOPIC_FILTER dimension, /// you can narrow down the scope of the metric only to MQTT topics whose name match the /// pattern specified in the dimension. /// /// /// /// Requires permission to access the CreateDimension /// action. /// /// /// Container for the necessary parameters to execute the CreateDimension service method. /// /// The response from the CreateDimension service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CreateDimension Operation public virtual CreateDimensionResponse CreateDimension(CreateDimensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDimensionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDimensionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDimension operation. /// /// /// Container for the necessary parameters to execute the CreateDimension operation on AmazonIoTClient. /// 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 EndCreateDimension /// operation. /// REST API Reference for CreateDimension Operation public virtual IAsyncResult BeginCreateDimension(CreateDimensionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDimensionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDimensionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDimension operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDimension. /// /// Returns a CreateDimensionResult from IoT. /// REST API Reference for CreateDimension Operation public virtual CreateDimensionResponse EndCreateDimension(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDomainConfiguration /// /// Creates a domain configuration. /// /// /// /// Requires permission to access the CreateDomainConfiguration /// action. /// /// /// Container for the necessary parameters to execute the CreateDomainConfiguration service method. /// /// The response from the CreateDomainConfiguration service method, as returned by IoT. /// /// The certificate is invalid. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateDomainConfiguration Operation public virtual CreateDomainConfigurationResponse CreateDomainConfiguration(CreateDomainConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDomainConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDomainConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDomainConfiguration operation. /// /// /// Container for the necessary parameters to execute the CreateDomainConfiguration operation on AmazonIoTClient. /// 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 EndCreateDomainConfiguration /// operation. /// REST API Reference for CreateDomainConfiguration Operation public virtual IAsyncResult BeginCreateDomainConfiguration(CreateDomainConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDomainConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDomainConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDomainConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDomainConfiguration. /// /// Returns a CreateDomainConfigurationResult from IoT. /// REST API Reference for CreateDomainConfiguration Operation public virtual CreateDomainConfigurationResponse EndCreateDomainConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDynamicThingGroup /// /// Creates a dynamic thing group. /// /// /// /// Requires permission to access the CreateDynamicThingGroup /// action. /// /// /// Container for the necessary parameters to execute the CreateDynamicThingGroup service method. /// /// The response from the CreateDynamicThingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The query is invalid. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CreateDynamicThingGroup Operation public virtual CreateDynamicThingGroupResponse CreateDynamicThingGroup(CreateDynamicThingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDynamicThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDynamicThingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDynamicThingGroup operation. /// /// /// Container for the necessary parameters to execute the CreateDynamicThingGroup operation on AmazonIoTClient. /// 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 EndCreateDynamicThingGroup /// operation. /// REST API Reference for CreateDynamicThingGroup Operation public virtual IAsyncResult BeginCreateDynamicThingGroup(CreateDynamicThingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDynamicThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDynamicThingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDynamicThingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDynamicThingGroup. /// /// Returns a CreateDynamicThingGroupResult from IoT. /// REST API Reference for CreateDynamicThingGroup Operation public virtual CreateDynamicThingGroupResponse EndCreateDynamicThingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateFleetMetric /// /// Creates a fleet metric. /// /// /// /// Requires permission to access the CreateFleetMetric /// action. /// /// /// Container for the necessary parameters to execute the CreateFleetMetric service method. /// /// The response from the CreateFleetMetric service method, as returned by IoT. /// /// The index is not ready. /// /// /// An unexpected error has occurred. /// /// /// The aggregation is invalid. /// /// /// The query is invalid. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateFleetMetric Operation public virtual CreateFleetMetricResponse CreateFleetMetric(CreateFleetMetricRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFleetMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFleetMetricResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateFleetMetric operation. /// /// /// Container for the necessary parameters to execute the CreateFleetMetric operation on AmazonIoTClient. /// 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 EndCreateFleetMetric /// operation. /// REST API Reference for CreateFleetMetric Operation public virtual IAsyncResult BeginCreateFleetMetric(CreateFleetMetricRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFleetMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFleetMetricResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateFleetMetric operation. /// /// /// The IAsyncResult returned by the call to BeginCreateFleetMetric. /// /// Returns a CreateFleetMetricResult from IoT. /// REST API Reference for CreateFleetMetric Operation public virtual CreateFleetMetricResponse EndCreateFleetMetric(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateJob /// /// Creates a job. /// /// /// /// Requires permission to access the CreateJob /// action. /// /// /// Container for the necessary parameters to execute the CreateJob service method. /// /// The response from the CreateJob service method, as returned by IoT. /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CreateJob Operation public virtual CreateJobResponse CreateJob(CreateJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateJob operation. /// /// /// Container for the necessary parameters to execute the CreateJob operation on AmazonIoTClient. /// 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 EndCreateJob /// operation. /// REST API Reference for CreateJob Operation public virtual IAsyncResult BeginCreateJob(CreateJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateJob operation. /// /// /// The IAsyncResult returned by the call to BeginCreateJob. /// /// Returns a CreateJobResult from IoT. /// REST API Reference for CreateJob Operation public virtual CreateJobResponse EndCreateJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateJobTemplate /// /// Creates a job template. /// /// /// /// Requires permission to access the CreateJobTemplate /// action. /// /// /// Container for the necessary parameters to execute the CreateJobTemplate service method. /// /// The response from the CreateJobTemplate service method, as returned by IoT. /// /// A resource with the same name already exists. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CreateJobTemplate Operation public virtual CreateJobTemplateResponse CreateJobTemplate(CreateJobTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateJobTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateJobTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateJobTemplate operation. /// /// /// Container for the necessary parameters to execute the CreateJobTemplate operation on AmazonIoTClient. /// 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 EndCreateJobTemplate /// operation. /// REST API Reference for CreateJobTemplate Operation public virtual IAsyncResult BeginCreateJobTemplate(CreateJobTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateJobTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateJobTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateJobTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginCreateJobTemplate. /// /// Returns a CreateJobTemplateResult from IoT. /// REST API Reference for CreateJobTemplate Operation public virtual CreateJobTemplateResponse EndCreateJobTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateKeysAndCertificate /// /// Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public /// key. You can also call CreateKeysAndCertificate over MQTT from a device, /// for more information, see Provisioning /// MQTT API. /// /// /// /// Note This is the only time IoT issues the private key for this certificate, /// so it is important to keep it in a secure location. /// /// /// /// Requires permission to access the CreateKeysAndCertificate /// action. /// /// /// /// The response from the CreateKeysAndCertificate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateKeysAndCertificate Operation public virtual CreateKeysAndCertificateResponse CreateKeysAndCertificate() { var request = new CreateKeysAndCertificateRequest(); return CreateKeysAndCertificate(request); } /// /// Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public /// key. You can also call CreateKeysAndCertificate over MQTT from a device, /// for more information, see Provisioning /// MQTT API. /// /// /// /// Note This is the only time IoT issues the private key for this certificate, /// so it is important to keep it in a secure location. /// /// /// /// Requires permission to access the CreateKeysAndCertificate /// action. /// /// /// Specifies whether the certificate is active. /// /// The response from the CreateKeysAndCertificate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateKeysAndCertificate Operation public virtual CreateKeysAndCertificateResponse CreateKeysAndCertificate(bool setAsActive) { var request = new CreateKeysAndCertificateRequest(); request.SetAsActive = setAsActive; return CreateKeysAndCertificate(request); } /// /// Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public /// key. You can also call CreateKeysAndCertificate over MQTT from a device, /// for more information, see Provisioning /// MQTT API. /// /// /// /// Note This is the only time IoT issues the private key for this certificate, /// so it is important to keep it in a secure location. /// /// /// /// Requires permission to access the CreateKeysAndCertificate /// action. /// /// /// Container for the necessary parameters to execute the CreateKeysAndCertificate service method. /// /// The response from the CreateKeysAndCertificate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateKeysAndCertificate Operation public virtual CreateKeysAndCertificateResponse CreateKeysAndCertificate(CreateKeysAndCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateKeysAndCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateKeysAndCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateKeysAndCertificate operation. /// /// /// Container for the necessary parameters to execute the CreateKeysAndCertificate operation on AmazonIoTClient. /// 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 EndCreateKeysAndCertificate /// operation. /// REST API Reference for CreateKeysAndCertificate Operation public virtual IAsyncResult BeginCreateKeysAndCertificate(CreateKeysAndCertificateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateKeysAndCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateKeysAndCertificateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateKeysAndCertificate operation. /// /// /// The IAsyncResult returned by the call to BeginCreateKeysAndCertificate. /// /// Returns a CreateKeysAndCertificateResult from IoT. /// REST API Reference for CreateKeysAndCertificate Operation public virtual CreateKeysAndCertificateResponse EndCreateKeysAndCertificate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateMitigationAction /// /// Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. /// Only certain types of mitigation actions can be applied to specific check names. For /// more information, see Mitigation /// actions. Each mitigation action can apply only one type of change. /// /// /// /// Requires permission to access the CreateMitigationAction /// action. /// /// /// Container for the necessary parameters to execute the CreateMitigationAction service method. /// /// The response from the CreateMitigationAction service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CreateMitigationAction Operation public virtual CreateMitigationActionResponse CreateMitigationAction(CreateMitigationActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMitigationActionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMitigationActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateMitigationAction operation. /// /// /// Container for the necessary parameters to execute the CreateMitigationAction operation on AmazonIoTClient. /// 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 EndCreateMitigationAction /// operation. /// REST API Reference for CreateMitigationAction Operation public virtual IAsyncResult BeginCreateMitigationAction(CreateMitigationActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMitigationActionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMitigationActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateMitigationAction operation. /// /// /// The IAsyncResult returned by the call to BeginCreateMitigationAction. /// /// Returns a CreateMitigationActionResult from IoT. /// REST API Reference for CreateMitigationAction Operation public virtual CreateMitigationActionResponse EndCreateMitigationAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateOTAUpdate /// /// Creates an IoT OTA update on a target group of things or groups. /// /// /// /// Requires permission to access the CreateOTAUpdate /// action. /// /// /// Container for the necessary parameters to execute the CreateOTAUpdate service method. /// /// The response from the CreateOTAUpdate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateOTAUpdate Operation public virtual CreateOTAUpdateResponse CreateOTAUpdate(CreateOTAUpdateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateOTAUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateOTAUpdateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateOTAUpdate operation. /// /// /// Container for the necessary parameters to execute the CreateOTAUpdate operation on AmazonIoTClient. /// 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 EndCreateOTAUpdate /// operation. /// REST API Reference for CreateOTAUpdate Operation public virtual IAsyncResult BeginCreateOTAUpdate(CreateOTAUpdateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateOTAUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateOTAUpdateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateOTAUpdate operation. /// /// /// The IAsyncResult returned by the call to BeginCreateOTAUpdate. /// /// Returns a CreateOTAUpdateResult from IoT. /// REST API Reference for CreateOTAUpdate Operation public virtual CreateOTAUpdateResponse EndCreateOTAUpdate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreatePackage /// /// Creates an IoT software package that can be deployed to your fleet. /// /// /// /// Requires permission to access the CreatePackage /// and GetIndexingConfiguration /// actions. /// /// /// Container for the necessary parameters to execute the CreatePackage service method. /// /// The response from the CreatePackage service method, as returned by IoT. /// /// A resource with the same name already exists. /// /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// A limit has been exceeded. /// /// /// The rate exceeds the limit. /// /// /// The request is not valid. /// /// REST API Reference for CreatePackage Operation public virtual CreatePackageResponse CreatePackage(CreatePackageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePackageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreatePackage operation. /// /// /// Container for the necessary parameters to execute the CreatePackage operation on AmazonIoTClient. /// 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 EndCreatePackage /// operation. /// REST API Reference for CreatePackage Operation public virtual IAsyncResult BeginCreatePackage(CreatePackageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePackageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreatePackage operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePackage. /// /// Returns a CreatePackageResult from IoT. /// REST API Reference for CreatePackage Operation public virtual CreatePackageResponse EndCreatePackage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreatePackageVersion /// /// Creates a new version for an existing IoT software package. /// /// /// /// Requires permission to access the CreatePackageVersion /// and GetIndexingConfiguration /// actions. /// /// /// Container for the necessary parameters to execute the CreatePackageVersion service method. /// /// The response from the CreatePackageVersion service method, as returned by IoT. /// /// A resource with the same name already exists. /// /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// A limit has been exceeded. /// /// /// The rate exceeds the limit. /// /// /// The request is not valid. /// /// REST API Reference for CreatePackageVersion Operation public virtual CreatePackageVersionResponse CreatePackageVersion(CreatePackageVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePackageVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePackageVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreatePackageVersion operation. /// /// /// Container for the necessary parameters to execute the CreatePackageVersion operation on AmazonIoTClient. /// 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 EndCreatePackageVersion /// operation. /// REST API Reference for CreatePackageVersion Operation public virtual IAsyncResult BeginCreatePackageVersion(CreatePackageVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePackageVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePackageVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreatePackageVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePackageVersion. /// /// Returns a CreatePackageVersionResult from IoT. /// REST API Reference for CreatePackageVersion Operation public virtual CreatePackageVersionResponse EndCreatePackageVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreatePolicy /// /// Creates an IoT policy. /// /// /// /// The created policy is the default version for the policy. This operation creates a /// policy version with a version identifier of 1 and sets 1 as the policy's /// default version. /// /// /// /// Requires permission to access the CreatePolicy /// action. /// /// /// The policy name. /// The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace. /// /// The response from the CreatePolicy service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The policy documentation is not valid. /// /// /// The resource already exists. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreatePolicy Operation public virtual CreatePolicyResponse CreatePolicy(string policyName, string policyDocument) { var request = new CreatePolicyRequest(); request.PolicyName = policyName; request.PolicyDocument = policyDocument; return CreatePolicy(request); } /// /// Creates an IoT policy. /// /// /// /// The created policy is the default version for the policy. This operation creates a /// policy version with a version identifier of 1 and sets 1 as the policy's /// default version. /// /// /// /// Requires permission to access the CreatePolicy /// action. /// /// /// Container for the necessary parameters to execute the CreatePolicy service method. /// /// The response from the CreatePolicy service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The policy documentation is not valid. /// /// /// The resource already exists. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreatePolicy Operation public virtual CreatePolicyResponse CreatePolicy(CreatePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreatePolicy operation. /// /// /// Container for the necessary parameters to execute the CreatePolicy operation on AmazonIoTClient. /// 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 EndCreatePolicy /// operation. /// REST API Reference for CreatePolicy Operation public virtual IAsyncResult BeginCreatePolicy(CreatePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreatePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePolicy. /// /// Returns a CreatePolicyResult from IoT. /// REST API Reference for CreatePolicy Operation public virtual CreatePolicyResponse EndCreatePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreatePolicyVersion /// /// Creates a new version of the specified IoT policy. To update a policy, create a new /// policy version. A managed policy can have up to five versions. If the policy has five /// versions, you must use DeletePolicyVersion to delete an existing version before /// you create a new one. /// /// /// /// Optionally, you can set the new version as the policy's default version. The default /// version is the operative version (that is, the version that is in effect for the certificates /// to which the policy is attached). /// /// /// /// Requires permission to access the CreatePolicyVersion /// action. /// /// /// The policy name. /// The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace. /// /// The response from the CreatePolicyVersion service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The policy documentation is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// /// The number of policy versions exceeds the limit. /// /// REST API Reference for CreatePolicyVersion Operation public virtual CreatePolicyVersionResponse CreatePolicyVersion(string policyName, string policyDocument) { var request = new CreatePolicyVersionRequest(); request.PolicyName = policyName; request.PolicyDocument = policyDocument; return CreatePolicyVersion(request); } /// /// Creates a new version of the specified IoT policy. To update a policy, create a new /// policy version. A managed policy can have up to five versions. If the policy has five /// versions, you must use DeletePolicyVersion to delete an existing version before /// you create a new one. /// /// /// /// Optionally, you can set the new version as the policy's default version. The default /// version is the operative version (that is, the version that is in effect for the certificates /// to which the policy is attached). /// /// /// /// Requires permission to access the CreatePolicyVersion /// action. /// /// /// The policy name. /// The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace. /// Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached). /// /// The response from the CreatePolicyVersion service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The policy documentation is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// /// The number of policy versions exceeds the limit. /// /// REST API Reference for CreatePolicyVersion Operation public virtual CreatePolicyVersionResponse CreatePolicyVersion(string policyName, string policyDocument, bool setAsDefault) { var request = new CreatePolicyVersionRequest(); request.PolicyName = policyName; request.PolicyDocument = policyDocument; request.SetAsDefault = setAsDefault; return CreatePolicyVersion(request); } /// /// Creates a new version of the specified IoT policy. To update a policy, create a new /// policy version. A managed policy can have up to five versions. If the policy has five /// versions, you must use DeletePolicyVersion to delete an existing version before /// you create a new one. /// /// /// /// Optionally, you can set the new version as the policy's default version. The default /// version is the operative version (that is, the version that is in effect for the certificates /// to which the policy is attached). /// /// /// /// Requires permission to access the CreatePolicyVersion /// action. /// /// /// Container for the necessary parameters to execute the CreatePolicyVersion service method. /// /// The response from the CreatePolicyVersion service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The policy documentation is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// /// The number of policy versions exceeds the limit. /// /// REST API Reference for CreatePolicyVersion Operation public virtual CreatePolicyVersionResponse CreatePolicyVersion(CreatePolicyVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePolicyVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreatePolicyVersion operation. /// /// /// Container for the necessary parameters to execute the CreatePolicyVersion operation on AmazonIoTClient. /// 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 EndCreatePolicyVersion /// operation. /// REST API Reference for CreatePolicyVersion Operation public virtual IAsyncResult BeginCreatePolicyVersion(CreatePolicyVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePolicyVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreatePolicyVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePolicyVersion. /// /// Returns a CreatePolicyVersionResult from IoT. /// REST API Reference for CreatePolicyVersion Operation public virtual CreatePolicyVersionResponse EndCreatePolicyVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateProvisioningClaim /// /// Creates a provisioning claim. /// /// /// /// Requires permission to access the CreateProvisioningClaim /// action. /// /// /// Container for the necessary parameters to execute the CreateProvisioningClaim service method. /// /// The response from the CreateProvisioningClaim service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateProvisioningClaim Operation public virtual CreateProvisioningClaimResponse CreateProvisioningClaim(CreateProvisioningClaimRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProvisioningClaimRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProvisioningClaimResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateProvisioningClaim operation. /// /// /// Container for the necessary parameters to execute the CreateProvisioningClaim operation on AmazonIoTClient. /// 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 EndCreateProvisioningClaim /// operation. /// REST API Reference for CreateProvisioningClaim Operation public virtual IAsyncResult BeginCreateProvisioningClaim(CreateProvisioningClaimRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProvisioningClaimRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProvisioningClaimResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateProvisioningClaim operation. /// /// /// The IAsyncResult returned by the call to BeginCreateProvisioningClaim. /// /// Returns a CreateProvisioningClaimResult from IoT. /// REST API Reference for CreateProvisioningClaim Operation public virtual CreateProvisioningClaimResponse EndCreateProvisioningClaim(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateProvisioningTemplate /// /// Creates a provisioning template. /// /// /// /// Requires permission to access the CreateProvisioningTemplate /// action. /// /// /// Container for the necessary parameters to execute the CreateProvisioningTemplate service method. /// /// The response from the CreateProvisioningTemplate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateProvisioningTemplate Operation public virtual CreateProvisioningTemplateResponse CreateProvisioningTemplate(CreateProvisioningTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProvisioningTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProvisioningTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateProvisioningTemplate operation. /// /// /// Container for the necessary parameters to execute the CreateProvisioningTemplate operation on AmazonIoTClient. /// 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 EndCreateProvisioningTemplate /// operation. /// REST API Reference for CreateProvisioningTemplate Operation public virtual IAsyncResult BeginCreateProvisioningTemplate(CreateProvisioningTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProvisioningTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProvisioningTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateProvisioningTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginCreateProvisioningTemplate. /// /// Returns a CreateProvisioningTemplateResult from IoT. /// REST API Reference for CreateProvisioningTemplate Operation public virtual CreateProvisioningTemplateResponse EndCreateProvisioningTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateProvisioningTemplateVersion /// /// Creates a new version of a provisioning template. /// /// /// /// Requires permission to access the CreateProvisioningTemplateVersion /// action. /// /// /// Container for the necessary parameters to execute the CreateProvisioningTemplateVersion service method. /// /// The response from the CreateProvisioningTemplateVersion service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// /// The number of policy versions exceeds the limit. /// /// REST API Reference for CreateProvisioningTemplateVersion Operation public virtual CreateProvisioningTemplateVersionResponse CreateProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProvisioningTemplateVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProvisioningTemplateVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateProvisioningTemplateVersion operation. /// /// /// Container for the necessary parameters to execute the CreateProvisioningTemplateVersion operation on AmazonIoTClient. /// 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 EndCreateProvisioningTemplateVersion /// operation. /// REST API Reference for CreateProvisioningTemplateVersion Operation public virtual IAsyncResult BeginCreateProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProvisioningTemplateVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProvisioningTemplateVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateProvisioningTemplateVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreateProvisioningTemplateVersion. /// /// Returns a CreateProvisioningTemplateVersionResult from IoT. /// REST API Reference for CreateProvisioningTemplateVersion Operation public virtual CreateProvisioningTemplateVersionResponse EndCreateProvisioningTemplateVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateRoleAlias /// /// Creates a role alias. /// /// /// /// Requires permission to access the CreateRoleAlias /// action. /// /// /// Container for the necessary parameters to execute the CreateRoleAlias service method. /// /// The response from the CreateRoleAlias service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateRoleAlias Operation public virtual CreateRoleAliasResponse CreateRoleAlias(CreateRoleAliasRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRoleAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRoleAliasResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateRoleAlias operation. /// /// /// Container for the necessary parameters to execute the CreateRoleAlias operation on AmazonIoTClient. /// 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 EndCreateRoleAlias /// operation. /// REST API Reference for CreateRoleAlias Operation public virtual IAsyncResult BeginCreateRoleAlias(CreateRoleAliasRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRoleAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRoleAliasResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateRoleAlias operation. /// /// /// The IAsyncResult returned by the call to BeginCreateRoleAlias. /// /// Returns a CreateRoleAliasResult from IoT. /// REST API Reference for CreateRoleAlias Operation public virtual CreateRoleAliasResponse EndCreateRoleAlias(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateScheduledAudit /// /// Creates a scheduled audit that is run at a specified time interval. /// /// /// /// Requires permission to access the CreateScheduledAudit /// action. /// /// /// Container for the necessary parameters to execute the CreateScheduledAudit service method. /// /// The response from the CreateScheduledAudit service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CreateScheduledAudit Operation public virtual CreateScheduledAuditResponse CreateScheduledAudit(CreateScheduledAuditRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateScheduledAuditRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateScheduledAuditResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateScheduledAudit operation. /// /// /// Container for the necessary parameters to execute the CreateScheduledAudit operation on AmazonIoTClient. /// 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 EndCreateScheduledAudit /// operation. /// REST API Reference for CreateScheduledAudit Operation public virtual IAsyncResult BeginCreateScheduledAudit(CreateScheduledAuditRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateScheduledAuditRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateScheduledAuditResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateScheduledAudit operation. /// /// /// The IAsyncResult returned by the call to BeginCreateScheduledAudit. /// /// Returns a CreateScheduledAuditResult from IoT. /// REST API Reference for CreateScheduledAudit Operation public virtual CreateScheduledAuditResponse EndCreateScheduledAudit(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSecurityProfile /// /// Creates a Device Defender security profile. /// /// /// /// Requires permission to access the CreateSecurityProfile /// action. /// /// /// Container for the necessary parameters to execute the CreateSecurityProfile service method. /// /// The response from the CreateSecurityProfile service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource already exists. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CreateSecurityProfile Operation public virtual CreateSecurityProfileResponse CreateSecurityProfile(CreateSecurityProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSecurityProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSecurityProfile operation. /// /// /// Container for the necessary parameters to execute the CreateSecurityProfile operation on AmazonIoTClient. /// 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 EndCreateSecurityProfile /// operation. /// REST API Reference for CreateSecurityProfile Operation public virtual IAsyncResult BeginCreateSecurityProfile(CreateSecurityProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSecurityProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSecurityProfile operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSecurityProfile. /// /// Returns a CreateSecurityProfileResult from IoT. /// REST API Reference for CreateSecurityProfile Operation public virtual CreateSecurityProfileResponse EndCreateSecurityProfile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateStream /// /// Creates a stream for delivering one or more large files in chunks over MQTT. A stream /// transports data bytes in chunks or blocks packaged as MQTT messages from a source /// like S3. You can have one or more files associated with a stream. /// /// /// /// Requires permission to access the CreateStream /// action. /// /// /// Container for the necessary parameters to execute the CreateStream service method. /// /// The response from the CreateStream service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource already exists. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateStream Operation public virtual CreateStreamResponse CreateStream(CreateStreamRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStreamRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStreamResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateStream operation. /// /// /// Container for the necessary parameters to execute the CreateStream operation on AmazonIoTClient. /// 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 EndCreateStream /// operation. /// REST API Reference for CreateStream Operation public virtual IAsyncResult BeginCreateStream(CreateStreamRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStreamRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStreamResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateStream operation. /// /// /// The IAsyncResult returned by the call to BeginCreateStream. /// /// Returns a CreateStreamResult from IoT. /// REST API Reference for CreateStream Operation public virtual CreateStreamResponse EndCreateStream(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateThing /// /// Creates a thing record in the registry. If this call is made multiple times using /// the same thing name and configuration, the call will succeed. If this call is made /// with the same thing name but different configuration a ResourceAlreadyExistsException /// is thrown. /// /// /// /// This is a control plane operation. See Authorization /// for information about authorizing control plane actions. /// /// /// /// Requires permission to access the CreateThing /// action. /// /// /// Container for the necessary parameters to execute the CreateThing service method. /// /// The response from the CreateThing service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource already exists. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateThing Operation public virtual CreateThingResponse CreateThing(CreateThingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateThingRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateThingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateThing operation. /// /// /// Container for the necessary parameters to execute the CreateThing operation on AmazonIoTClient. /// 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 EndCreateThing /// operation. /// REST API Reference for CreateThing Operation public virtual IAsyncResult BeginCreateThing(CreateThingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateThingRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateThingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateThing operation. /// /// /// The IAsyncResult returned by the call to BeginCreateThing. /// /// Returns a CreateThingResult from IoT. /// REST API Reference for CreateThing Operation public virtual CreateThingResponse EndCreateThing(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateThingGroup /// /// Create a thing group. /// /// /// /// This is a control plane operation. See Authorization /// for information about authorizing control plane actions. /// /// /// /// Requires permission to access the CreateThingGroup /// action. /// /// /// Container for the necessary parameters to execute the CreateThingGroup service method. /// /// The response from the CreateThingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource already exists. /// /// /// The rate exceeds the limit. /// /// REST API Reference for CreateThingGroup Operation public virtual CreateThingGroupResponse CreateThingGroup(CreateThingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateThingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateThingGroup operation. /// /// /// Container for the necessary parameters to execute the CreateThingGroup operation on AmazonIoTClient. /// 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 EndCreateThingGroup /// operation. /// REST API Reference for CreateThingGroup Operation public virtual IAsyncResult BeginCreateThingGroup(CreateThingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateThingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateThingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateThingGroup. /// /// Returns a CreateThingGroupResult from IoT. /// REST API Reference for CreateThingGroup Operation public virtual CreateThingGroupResponse EndCreateThingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateThingType /// /// Creates a new thing type. /// /// /// /// Requires permission to access the CreateThingType /// action. /// /// /// Container for the necessary parameters to execute the CreateThingType service method. /// /// The response from the CreateThingType service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource already exists. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for CreateThingType Operation public virtual CreateThingTypeResponse CreateThingType(CreateThingTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateThingTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateThingTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateThingType operation. /// /// /// Container for the necessary parameters to execute the CreateThingType operation on AmazonIoTClient. /// 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 EndCreateThingType /// operation. /// REST API Reference for CreateThingType Operation public virtual IAsyncResult BeginCreateThingType(CreateThingTypeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateThingTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateThingTypeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateThingType operation. /// /// /// The IAsyncResult returned by the call to BeginCreateThingType. /// /// Returns a CreateThingTypeResult from IoT. /// REST API Reference for CreateThingType Operation public virtual CreateThingTypeResponse EndCreateThingType(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateTopicRule /// /// Creates a rule. Creating rules is an administrator-level action. Any user who has /// permission to create rules will be able to access data processed by the rule. /// /// /// /// Requires permission to access the CreateTopicRule /// action. /// /// /// Container for the necessary parameters to execute the CreateTopicRule service method. /// /// The response from the CreateTopicRule service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource already exists. /// /// /// The service is temporarily unavailable. /// /// /// The Rule-SQL expression can't be parsed correctly. /// /// REST API Reference for CreateTopicRule Operation public virtual CreateTopicRuleResponse CreateTopicRule(CreateTopicRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTopicRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateTopicRule operation. /// /// /// Container for the necessary parameters to execute the CreateTopicRule operation on AmazonIoTClient. /// 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 EndCreateTopicRule /// operation. /// REST API Reference for CreateTopicRule Operation public virtual IAsyncResult BeginCreateTopicRule(CreateTopicRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTopicRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateTopicRule operation. /// /// /// The IAsyncResult returned by the call to BeginCreateTopicRule. /// /// Returns a CreateTopicRuleResult from IoT. /// REST API Reference for CreateTopicRule Operation public virtual CreateTopicRuleResponse EndCreateTopicRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateTopicRuleDestination /// /// Creates a topic rule destination. The destination must be confirmed prior to use. /// /// /// /// Requires permission to access the CreateTopicRuleDestination /// action. /// /// /// Container for the necessary parameters to execute the CreateTopicRuleDestination service method. /// /// The response from the CreateTopicRuleDestination service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource already exists. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for CreateTopicRuleDestination Operation public virtual CreateTopicRuleDestinationResponse CreateTopicRuleDestination(CreateTopicRuleDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTopicRuleDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTopicRuleDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateTopicRuleDestination operation. /// /// /// Container for the necessary parameters to execute the CreateTopicRuleDestination operation on AmazonIoTClient. /// 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 EndCreateTopicRuleDestination /// operation. /// REST API Reference for CreateTopicRuleDestination Operation public virtual IAsyncResult BeginCreateTopicRuleDestination(CreateTopicRuleDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTopicRuleDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTopicRuleDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateTopicRuleDestination operation. /// /// /// The IAsyncResult returned by the call to BeginCreateTopicRuleDestination. /// /// Returns a CreateTopicRuleDestinationResult from IoT. /// REST API Reference for CreateTopicRuleDestination Operation public virtual CreateTopicRuleDestinationResponse EndCreateTopicRuleDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAccountAuditConfiguration /// /// Restores the default settings for Device Defender audits for this account. Any configuration /// data you entered is deleted and all audit checks are reset to disabled. /// /// /// /// Requires permission to access the DeleteAccountAuditConfiguration /// action. /// /// /// Container for the necessary parameters to execute the DeleteAccountAuditConfiguration service method. /// /// The response from the DeleteAccountAuditConfiguration service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DeleteAccountAuditConfiguration Operation public virtual DeleteAccountAuditConfigurationResponse DeleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAccountAuditConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAccountAuditConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAccountAuditConfiguration operation. /// /// /// Container for the necessary parameters to execute the DeleteAccountAuditConfiguration operation on AmazonIoTClient. /// 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 EndDeleteAccountAuditConfiguration /// operation. /// REST API Reference for DeleteAccountAuditConfiguration Operation public virtual IAsyncResult BeginDeleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAccountAuditConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAccountAuditConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAccountAuditConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAccountAuditConfiguration. /// /// Returns a DeleteAccountAuditConfigurationResult from IoT. /// REST API Reference for DeleteAccountAuditConfiguration Operation public virtual DeleteAccountAuditConfigurationResponse EndDeleteAccountAuditConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAuditSuppression /// /// Deletes a Device Defender audit suppression. /// /// /// /// Requires permission to access the DeleteAuditSuppression /// action. /// /// /// Container for the necessary parameters to execute the DeleteAuditSuppression service method. /// /// The response from the DeleteAuditSuppression service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DeleteAuditSuppression Operation public virtual DeleteAuditSuppressionResponse DeleteAuditSuppression(DeleteAuditSuppressionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAuditSuppressionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAuditSuppressionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAuditSuppression operation. /// /// /// Container for the necessary parameters to execute the DeleteAuditSuppression operation on AmazonIoTClient. /// 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 EndDeleteAuditSuppression /// operation. /// REST API Reference for DeleteAuditSuppression Operation public virtual IAsyncResult BeginDeleteAuditSuppression(DeleteAuditSuppressionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAuditSuppressionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAuditSuppressionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAuditSuppression operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAuditSuppression. /// /// Returns a DeleteAuditSuppressionResult from IoT. /// REST API Reference for DeleteAuditSuppression Operation public virtual DeleteAuditSuppressionResponse EndDeleteAuditSuppression(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAuthorizer /// /// Deletes an authorizer. /// /// /// /// Requires permission to access the DeleteAuthorizer /// action. /// /// /// Container for the necessary parameters to execute the DeleteAuthorizer service method. /// /// The response from the DeleteAuthorizer service method, as returned by IoT. /// /// You can't delete the resource because it is attached to one or more resources. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteAuthorizer Operation public virtual DeleteAuthorizerResponse DeleteAuthorizer(DeleteAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAuthorizer operation. /// /// /// Container for the necessary parameters to execute the DeleteAuthorizer operation on AmazonIoTClient. /// 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 EndDeleteAuthorizer /// operation. /// REST API Reference for DeleteAuthorizer Operation public virtual IAsyncResult BeginDeleteAuthorizer(DeleteAuthorizerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAuthorizer operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAuthorizer. /// /// Returns a DeleteAuthorizerResult from IoT. /// REST API Reference for DeleteAuthorizer Operation public virtual DeleteAuthorizerResponse EndDeleteAuthorizer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteBillingGroup /// /// Deletes the billing group. /// /// /// /// Requires permission to access the DeleteBillingGroup /// action. /// /// /// Container for the necessary parameters to execute the DeleteBillingGroup service method. /// /// The response from the DeleteBillingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for DeleteBillingGroup Operation public virtual DeleteBillingGroupResponse DeleteBillingGroup(DeleteBillingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBillingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteBillingGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteBillingGroup operation on AmazonIoTClient. /// 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 EndDeleteBillingGroup /// operation. /// REST API Reference for DeleteBillingGroup Operation public virtual IAsyncResult BeginDeleteBillingGroup(DeleteBillingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBillingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteBillingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteBillingGroup. /// /// Returns a DeleteBillingGroupResult from IoT. /// REST API Reference for DeleteBillingGroup Operation public virtual DeleteBillingGroupResponse EndDeleteBillingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCACertificate /// /// Deletes a registered CA certificate. /// /// /// /// Requires permission to access the DeleteCACertificate /// action. /// /// /// Container for the necessary parameters to execute the DeleteCACertificate service method. /// /// The response from the DeleteCACertificate service method, as returned by IoT. /// /// The certificate operation is not allowed. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteCACertificate Operation public virtual DeleteCACertificateResponse DeleteCACertificate(DeleteCACertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCACertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCACertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCACertificate operation. /// /// /// Container for the necessary parameters to execute the DeleteCACertificate operation on AmazonIoTClient. /// 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 EndDeleteCACertificate /// operation. /// REST API Reference for DeleteCACertificate Operation public virtual IAsyncResult BeginDeleteCACertificate(DeleteCACertificateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCACertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCACertificateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCACertificate operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCACertificate. /// /// Returns a DeleteCACertificateResult from IoT. /// REST API Reference for DeleteCACertificate Operation public virtual DeleteCACertificateResponse EndDeleteCACertificate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCertificate /// /// Deletes the specified certificate. /// /// /// /// A certificate cannot be deleted if it has a policy or IoT thing attached to it or /// if its status is set to ACTIVE. To delete a certificate, first use the DetachPolicy /// action to detach all policies. Next, use the UpdateCertificate action to set /// the certificate to the INACTIVE status. /// /// /// /// Requires permission to access the DeleteCertificate /// action. /// /// /// The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) /// /// The response from the DeleteCertificate service method, as returned by IoT. /// /// The certificate operation is not allowed. /// /// /// You can't delete the resource because it is attached to one or more resources. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteCertificate Operation public virtual DeleteCertificateResponse DeleteCertificate(string certificateId) { var request = new DeleteCertificateRequest(); request.CertificateId = certificateId; return DeleteCertificate(request); } /// /// Deletes the specified certificate. /// /// /// /// A certificate cannot be deleted if it has a policy or IoT thing attached to it or /// if its status is set to ACTIVE. To delete a certificate, first use the DetachPolicy /// action to detach all policies. Next, use the UpdateCertificate action to set /// the certificate to the INACTIVE status. /// /// /// /// Requires permission to access the DeleteCertificate /// action. /// /// /// Container for the necessary parameters to execute the DeleteCertificate service method. /// /// The response from the DeleteCertificate service method, as returned by IoT. /// /// The certificate operation is not allowed. /// /// /// You can't delete the resource because it is attached to one or more resources. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteCertificate Operation public virtual DeleteCertificateResponse DeleteCertificate(DeleteCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCertificate operation. /// /// /// Container for the necessary parameters to execute the DeleteCertificate operation on AmazonIoTClient. /// 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 EndDeleteCertificate /// operation. /// REST API Reference for DeleteCertificate Operation public virtual IAsyncResult BeginDeleteCertificate(DeleteCertificateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCertificateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCertificate operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCertificate. /// /// Returns a DeleteCertificateResult from IoT. /// REST API Reference for DeleteCertificate Operation public virtual DeleteCertificateResponse EndDeleteCertificate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCustomMetric /// /// Deletes a Device Defender detect custom metric. /// /// /// /// Requires permission to access the DeleteCustomMetric /// action. /// /// /// /// Before you can delete a custom metric, you must first remove the custom metric from /// all security profiles it's a part of. The security profile associated with the custom /// metric can be found using the ListSecurityProfiles /// API with metricName set to your custom metric name. /// /// /// /// Container for the necessary parameters to execute the DeleteCustomMetric service method. /// /// The response from the DeleteCustomMetric service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DeleteCustomMetric Operation public virtual DeleteCustomMetricResponse DeleteCustomMetric(DeleteCustomMetricRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomMetricResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCustomMetric operation. /// /// /// Container for the necessary parameters to execute the DeleteCustomMetric operation on AmazonIoTClient. /// 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 EndDeleteCustomMetric /// operation. /// REST API Reference for DeleteCustomMetric Operation public virtual IAsyncResult BeginDeleteCustomMetric(DeleteCustomMetricRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCustomMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCustomMetricResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCustomMetric operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCustomMetric. /// /// Returns a DeleteCustomMetricResult from IoT. /// REST API Reference for DeleteCustomMetric Operation public virtual DeleteCustomMetricResponse EndDeleteCustomMetric(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDimension /// /// Removes the specified dimension from your Amazon Web Services accounts. /// /// /// /// Requires permission to access the DeleteDimension /// action. /// /// /// Container for the necessary parameters to execute the DeleteDimension service method. /// /// The response from the DeleteDimension service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DeleteDimension Operation public virtual DeleteDimensionResponse DeleteDimension(DeleteDimensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDimensionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDimensionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDimension operation. /// /// /// Container for the necessary parameters to execute the DeleteDimension operation on AmazonIoTClient. /// 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 EndDeleteDimension /// operation. /// REST API Reference for DeleteDimension Operation public virtual IAsyncResult BeginDeleteDimension(DeleteDimensionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDimensionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDimensionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDimension operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDimension. /// /// Returns a DeleteDimensionResult from IoT. /// REST API Reference for DeleteDimension Operation public virtual DeleteDimensionResponse EndDeleteDimension(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDomainConfiguration /// /// Deletes the specified domain configuration. /// /// /// /// Requires permission to access the DeleteDomainConfiguration /// action. /// /// /// Container for the necessary parameters to execute the DeleteDomainConfiguration service method. /// /// The response from the DeleteDomainConfiguration service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteDomainConfiguration Operation public virtual DeleteDomainConfigurationResponse DeleteDomainConfiguration(DeleteDomainConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDomainConfiguration operation. /// /// /// Container for the necessary parameters to execute the DeleteDomainConfiguration operation on AmazonIoTClient. /// 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 EndDeleteDomainConfiguration /// operation. /// REST API Reference for DeleteDomainConfiguration Operation public virtual IAsyncResult BeginDeleteDomainConfiguration(DeleteDomainConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDomainConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDomainConfiguration. /// /// Returns a DeleteDomainConfigurationResult from IoT. /// REST API Reference for DeleteDomainConfiguration Operation public virtual DeleteDomainConfigurationResponse EndDeleteDomainConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDynamicThingGroup /// /// Deletes a dynamic thing group. /// /// /// /// Requires permission to access the DeleteDynamicThingGroup /// action. /// /// /// Container for the necessary parameters to execute the DeleteDynamicThingGroup service method. /// /// The response from the DeleteDynamicThingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for DeleteDynamicThingGroup Operation public virtual DeleteDynamicThingGroupResponse DeleteDynamicThingGroup(DeleteDynamicThingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDynamicThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDynamicThingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDynamicThingGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteDynamicThingGroup operation on AmazonIoTClient. /// 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 EndDeleteDynamicThingGroup /// operation. /// REST API Reference for DeleteDynamicThingGroup Operation public virtual IAsyncResult BeginDeleteDynamicThingGroup(DeleteDynamicThingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDynamicThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDynamicThingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDynamicThingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDynamicThingGroup. /// /// Returns a DeleteDynamicThingGroupResult from IoT. /// REST API Reference for DeleteDynamicThingGroup Operation public virtual DeleteDynamicThingGroupResponse EndDeleteDynamicThingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteFleetMetric /// /// Deletes the specified fleet metric. Returns successfully with no error if the deletion /// is successful or you specify a fleet metric that doesn't exist. /// /// /// /// Requires permission to access the DeleteFleetMetric /// action. /// /// /// Container for the necessary parameters to execute the DeleteFleetMetric service method. /// /// The response from the DeleteFleetMetric service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for DeleteFleetMetric Operation public virtual DeleteFleetMetricResponse DeleteFleetMetric(DeleteFleetMetricRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetMetricResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteFleetMetric operation. /// /// /// Container for the necessary parameters to execute the DeleteFleetMetric operation on AmazonIoTClient. /// 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 EndDeleteFleetMetric /// operation. /// REST API Reference for DeleteFleetMetric Operation public virtual IAsyncResult BeginDeleteFleetMetric(DeleteFleetMetricRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetMetricResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteFleetMetric operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteFleetMetric. /// /// Returns a DeleteFleetMetricResult from IoT. /// REST API Reference for DeleteFleetMetric Operation public virtual DeleteFleetMetricResponse EndDeleteFleetMetric(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteJob /// /// Deletes a job and its related job executions. /// /// /// /// Deleting a job may take time, depending on the number of job executions created for /// the job and various other factors. While the job is being deleted, the status of the /// job will be shown as "DELETION_IN_PROGRESS". Attempting to delete or cancel a job /// whose status is already "DELETION_IN_PROGRESS" will result in an error. /// /// /// /// Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException /// will occur. /// /// /// /// Requires permission to access the DeleteJob /// action. /// /// /// Container for the necessary parameters to execute the DeleteJob service method. /// /// The response from the DeleteJob service method, as returned by IoT. /// /// The request is not valid. /// /// /// An attempt was made to change to an invalid state, for example by deleting a job or /// a job execution which is "IN_PROGRESS" without setting the force parameter. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DeleteJob Operation public virtual DeleteJobResponse DeleteJob(DeleteJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteJob operation. /// /// /// Container for the necessary parameters to execute the DeleteJob operation on AmazonIoTClient. /// 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 EndDeleteJob /// operation. /// REST API Reference for DeleteJob Operation public virtual IAsyncResult BeginDeleteJob(DeleteJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteJob operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteJob. /// /// Returns a DeleteJobResult from IoT. /// REST API Reference for DeleteJob Operation public virtual DeleteJobResponse EndDeleteJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteJobExecution /// /// Deletes a job execution. /// /// /// /// Requires permission to access the DeleteJobExecution /// action. /// /// /// Container for the necessary parameters to execute the DeleteJobExecution service method. /// /// The response from the DeleteJobExecution service method, as returned by IoT. /// /// The request is not valid. /// /// /// An attempt was made to change to an invalid state, for example by deleting a job or /// a job execution which is "IN_PROGRESS" without setting the force parameter. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DeleteJobExecution Operation public virtual DeleteJobExecutionResponse DeleteJobExecution(DeleteJobExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteJobExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteJobExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteJobExecution operation. /// /// /// Container for the necessary parameters to execute the DeleteJobExecution operation on AmazonIoTClient. /// 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 EndDeleteJobExecution /// operation. /// REST API Reference for DeleteJobExecution Operation public virtual IAsyncResult BeginDeleteJobExecution(DeleteJobExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteJobExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteJobExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteJobExecution operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteJobExecution. /// /// Returns a DeleteJobExecutionResult from IoT. /// REST API Reference for DeleteJobExecution Operation public virtual DeleteJobExecutionResponse EndDeleteJobExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteJobTemplate /// /// Deletes the specified job template. /// /// Container for the necessary parameters to execute the DeleteJobTemplate service method. /// /// The response from the DeleteJobTemplate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DeleteJobTemplate Operation public virtual DeleteJobTemplateResponse DeleteJobTemplate(DeleteJobTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteJobTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteJobTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteJobTemplate operation. /// /// /// Container for the necessary parameters to execute the DeleteJobTemplate operation on AmazonIoTClient. /// 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 EndDeleteJobTemplate /// operation. /// REST API Reference for DeleteJobTemplate Operation public virtual IAsyncResult BeginDeleteJobTemplate(DeleteJobTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteJobTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteJobTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteJobTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteJobTemplate. /// /// Returns a DeleteJobTemplateResult from IoT. /// REST API Reference for DeleteJobTemplate Operation public virtual DeleteJobTemplateResponse EndDeleteJobTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteMitigationAction /// /// Deletes a defined mitigation action from your Amazon Web Services accounts. /// /// /// /// Requires permission to access the DeleteMitigationAction /// action. /// /// /// Container for the necessary parameters to execute the DeleteMitigationAction service method. /// /// The response from the DeleteMitigationAction service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DeleteMitigationAction Operation public virtual DeleteMitigationActionResponse DeleteMitigationAction(DeleteMitigationActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMitigationActionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMitigationActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteMitigationAction operation. /// /// /// Container for the necessary parameters to execute the DeleteMitigationAction operation on AmazonIoTClient. /// 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 EndDeleteMitigationAction /// operation. /// REST API Reference for DeleteMitigationAction Operation public virtual IAsyncResult BeginDeleteMitigationAction(DeleteMitigationActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMitigationActionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMitigationActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteMitigationAction operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteMitigationAction. /// /// Returns a DeleteMitigationActionResult from IoT. /// REST API Reference for DeleteMitigationAction Operation public virtual DeleteMitigationActionResponse EndDeleteMitigationAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteOTAUpdate /// /// Delete an OTA update. /// /// /// /// Requires permission to access the DeleteOTAUpdate /// action. /// /// /// Container for the necessary parameters to execute the DeleteOTAUpdate service method. /// /// The response from the DeleteOTAUpdate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for DeleteOTAUpdate Operation public virtual DeleteOTAUpdateResponse DeleteOTAUpdate(DeleteOTAUpdateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOTAUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOTAUpdateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteOTAUpdate operation. /// /// /// Container for the necessary parameters to execute the DeleteOTAUpdate operation on AmazonIoTClient. /// 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 EndDeleteOTAUpdate /// operation. /// REST API Reference for DeleteOTAUpdate Operation public virtual IAsyncResult BeginDeleteOTAUpdate(DeleteOTAUpdateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOTAUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOTAUpdateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteOTAUpdate operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteOTAUpdate. /// /// Returns a DeleteOTAUpdateResult from IoT. /// REST API Reference for DeleteOTAUpdate Operation public virtual DeleteOTAUpdateResponse EndDeleteOTAUpdate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeletePackage /// /// Deletes a specific version from a software package. /// /// /// /// Note: All package versions must be deleted before deleting the software package. /// /// /// /// Requires permission to access the DeletePackageVersion /// action. /// /// /// Container for the necessary parameters to execute the DeletePackage service method. /// /// The response from the DeletePackage service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The rate exceeds the limit. /// /// /// The request is not valid. /// /// REST API Reference for DeletePackage Operation public virtual DeletePackageResponse DeletePackage(DeletePackageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePackageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeletePackage operation. /// /// /// Container for the necessary parameters to execute the DeletePackage operation on AmazonIoTClient. /// 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 EndDeletePackage /// operation. /// REST API Reference for DeletePackage Operation public virtual IAsyncResult BeginDeletePackage(DeletePackageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePackageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeletePackage operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePackage. /// /// Returns a DeletePackageResult from IoT. /// REST API Reference for DeletePackage Operation public virtual DeletePackageResponse EndDeletePackage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeletePackageVersion /// /// Deletes a specific version from a software package. /// /// /// /// Note: If a package version is designated as default, you must remove the designation /// from the package using the UpdatePackage action. /// /// /// Container for the necessary parameters to execute the DeletePackageVersion service method. /// /// The response from the DeletePackageVersion service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The rate exceeds the limit. /// /// /// The request is not valid. /// /// REST API Reference for DeletePackageVersion Operation public virtual DeletePackageVersionResponse DeletePackageVersion(DeletePackageVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePackageVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePackageVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeletePackageVersion operation. /// /// /// Container for the necessary parameters to execute the DeletePackageVersion operation on AmazonIoTClient. /// 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 EndDeletePackageVersion /// operation. /// REST API Reference for DeletePackageVersion Operation public virtual IAsyncResult BeginDeletePackageVersion(DeletePackageVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePackageVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePackageVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeletePackageVersion operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePackageVersion. /// /// Returns a DeletePackageVersionResult from IoT. /// REST API Reference for DeletePackageVersion Operation public virtual DeletePackageVersionResponse EndDeletePackageVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeletePolicy /// /// Deletes the specified policy. /// /// /// /// A policy cannot be deleted if it has non-default versions or it is attached to any /// certificate. /// /// /// /// To delete a policy, use the DeletePolicyVersion action to delete all non-default /// versions of the policy; use the DetachPolicy action to detach the policy from /// any certificate; and then use the DeletePolicy action to delete the policy. /// /// /// /// When a policy is deleted using DeletePolicy, its default version is deleted with it. /// /// /// /// Because of the distributed nature of Amazon Web Services, it can take up to five minutes /// after a policy is detached before it's ready to be deleted. /// /// /// /// Requires permission to access the DeletePolicy /// action. /// /// /// The name of the policy to delete. /// /// The response from the DeletePolicy service method, as returned by IoT. /// /// You can't delete the resource because it is attached to one or more resources. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeletePolicy Operation public virtual DeletePolicyResponse DeletePolicy(string policyName) { var request = new DeletePolicyRequest(); request.PolicyName = policyName; return DeletePolicy(request); } /// /// Deletes the specified policy. /// /// /// /// A policy cannot be deleted if it has non-default versions or it is attached to any /// certificate. /// /// /// /// To delete a policy, use the DeletePolicyVersion action to delete all non-default /// versions of the policy; use the DetachPolicy action to detach the policy from /// any certificate; and then use the DeletePolicy action to delete the policy. /// /// /// /// When a policy is deleted using DeletePolicy, its default version is deleted with it. /// /// /// /// Because of the distributed nature of Amazon Web Services, it can take up to five minutes /// after a policy is detached before it's ready to be deleted. /// /// /// /// Requires permission to access the DeletePolicy /// action. /// /// /// Container for the necessary parameters to execute the DeletePolicy service method. /// /// The response from the DeletePolicy service method, as returned by IoT. /// /// You can't delete the resource because it is attached to one or more resources. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeletePolicy Operation public virtual DeletePolicyResponse DeletePolicy(DeletePolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeletePolicy operation. /// /// /// Container for the necessary parameters to execute the DeletePolicy operation on AmazonIoTClient. /// 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 EndDeletePolicy /// operation. /// REST API Reference for DeletePolicy Operation public virtual IAsyncResult BeginDeletePolicy(DeletePolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeletePolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePolicy. /// /// Returns a DeletePolicyResult from IoT. /// REST API Reference for DeletePolicy Operation public virtual DeletePolicyResponse EndDeletePolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeletePolicyVersion /// /// Deletes the specified version of the specified policy. You cannot delete the default /// version of a policy using this action. To delete the default version of a policy, /// use DeletePolicy. To find out which version of a policy is marked as the default /// version, use ListPolicyVersions. /// /// /// /// Requires permission to access the DeletePolicyVersion /// action. /// /// /// The name of the policy. /// The policy version ID. /// /// The response from the DeletePolicyVersion service method, as returned by IoT. /// /// You can't delete the resource because it is attached to one or more resources. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeletePolicyVersion Operation public virtual DeletePolicyVersionResponse DeletePolicyVersion(string policyName, string policyVersionId) { var request = new DeletePolicyVersionRequest(); request.PolicyName = policyName; request.PolicyVersionId = policyVersionId; return DeletePolicyVersion(request); } /// /// Deletes the specified version of the specified policy. You cannot delete the default /// version of a policy using this action. To delete the default version of a policy, /// use DeletePolicy. To find out which version of a policy is marked as the default /// version, use ListPolicyVersions. /// /// /// /// Requires permission to access the DeletePolicyVersion /// action. /// /// /// Container for the necessary parameters to execute the DeletePolicyVersion service method. /// /// The response from the DeletePolicyVersion service method, as returned by IoT. /// /// You can't delete the resource because it is attached to one or more resources. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeletePolicyVersion Operation public virtual DeletePolicyVersionResponse DeletePolicyVersion(DeletePolicyVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePolicyVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeletePolicyVersion operation. /// /// /// Container for the necessary parameters to execute the DeletePolicyVersion operation on AmazonIoTClient. /// 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 EndDeletePolicyVersion /// operation. /// REST API Reference for DeletePolicyVersion Operation public virtual IAsyncResult BeginDeletePolicyVersion(DeletePolicyVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePolicyVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeletePolicyVersion operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePolicyVersion. /// /// Returns a DeletePolicyVersionResult from IoT. /// REST API Reference for DeletePolicyVersion Operation public virtual DeletePolicyVersionResponse EndDeletePolicyVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteProvisioningTemplate /// /// Deletes a provisioning template. /// /// /// /// Requires permission to access the DeleteProvisioningTemplate /// action. /// /// /// Container for the necessary parameters to execute the DeleteProvisioningTemplate service method. /// /// The response from the DeleteProvisioningTemplate service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// You can't delete the resource because it is attached to one or more resources. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteProvisioningTemplate Operation public virtual DeleteProvisioningTemplateResponse DeleteProvisioningTemplate(DeleteProvisioningTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProvisioningTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProvisioningTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteProvisioningTemplate operation. /// /// /// Container for the necessary parameters to execute the DeleteProvisioningTemplate operation on AmazonIoTClient. /// 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 EndDeleteProvisioningTemplate /// operation. /// REST API Reference for DeleteProvisioningTemplate Operation public virtual IAsyncResult BeginDeleteProvisioningTemplate(DeleteProvisioningTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProvisioningTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProvisioningTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteProvisioningTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteProvisioningTemplate. /// /// Returns a DeleteProvisioningTemplateResult from IoT. /// REST API Reference for DeleteProvisioningTemplate Operation public virtual DeleteProvisioningTemplateResponse EndDeleteProvisioningTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteProvisioningTemplateVersion /// /// Deletes a provisioning template version. /// /// /// /// Requires permission to access the DeleteProvisioningTemplateVersion /// action. /// /// /// Container for the necessary parameters to execute the DeleteProvisioningTemplateVersion service method. /// /// The response from the DeleteProvisioningTemplateVersion service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// You can't delete the resource because it is attached to one or more resources. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteProvisioningTemplateVersion Operation public virtual DeleteProvisioningTemplateVersionResponse DeleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProvisioningTemplateVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProvisioningTemplateVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteProvisioningTemplateVersion operation. /// /// /// Container for the necessary parameters to execute the DeleteProvisioningTemplateVersion operation on AmazonIoTClient. /// 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 EndDeleteProvisioningTemplateVersion /// operation. /// REST API Reference for DeleteProvisioningTemplateVersion Operation public virtual IAsyncResult BeginDeleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProvisioningTemplateVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProvisioningTemplateVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteProvisioningTemplateVersion operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteProvisioningTemplateVersion. /// /// Returns a DeleteProvisioningTemplateVersionResult from IoT. /// REST API Reference for DeleteProvisioningTemplateVersion Operation public virtual DeleteProvisioningTemplateVersionResponse EndDeleteProvisioningTemplateVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteRegistrationCode /// /// Deletes a CA certificate registration code. /// /// /// /// Requires permission to access the DeleteRegistrationCode /// action. /// /// /// Container for the necessary parameters to execute the DeleteRegistrationCode service method. /// /// The response from the DeleteRegistrationCode service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteRegistrationCode Operation public virtual DeleteRegistrationCodeResponse DeleteRegistrationCode(DeleteRegistrationCodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRegistrationCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRegistrationCodeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteRegistrationCode operation. /// /// /// Container for the necessary parameters to execute the DeleteRegistrationCode operation on AmazonIoTClient. /// 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 EndDeleteRegistrationCode /// operation. /// REST API Reference for DeleteRegistrationCode Operation public virtual IAsyncResult BeginDeleteRegistrationCode(DeleteRegistrationCodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRegistrationCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRegistrationCodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteRegistrationCode operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRegistrationCode. /// /// Returns a DeleteRegistrationCodeResult from IoT. /// REST API Reference for DeleteRegistrationCode Operation public virtual DeleteRegistrationCodeResponse EndDeleteRegistrationCode(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteRoleAlias /// /// Deletes a role alias /// /// /// /// Requires permission to access the DeleteRoleAlias /// action. /// /// /// Container for the necessary parameters to execute the DeleteRoleAlias service method. /// /// The response from the DeleteRoleAlias service method, as returned by IoT. /// /// You can't delete the resource because it is attached to one or more resources. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteRoleAlias Operation public virtual DeleteRoleAliasResponse DeleteRoleAlias(DeleteRoleAliasRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRoleAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRoleAliasResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteRoleAlias operation. /// /// /// Container for the necessary parameters to execute the DeleteRoleAlias operation on AmazonIoTClient. /// 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 EndDeleteRoleAlias /// operation. /// REST API Reference for DeleteRoleAlias Operation public virtual IAsyncResult BeginDeleteRoleAlias(DeleteRoleAliasRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRoleAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRoleAliasResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteRoleAlias operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRoleAlias. /// /// Returns a DeleteRoleAliasResult from IoT. /// REST API Reference for DeleteRoleAlias Operation public virtual DeleteRoleAliasResponse EndDeleteRoleAlias(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteScheduledAudit /// /// Deletes a scheduled audit. /// /// /// /// Requires permission to access the DeleteScheduledAudit /// action. /// /// /// Container for the necessary parameters to execute the DeleteScheduledAudit service method. /// /// The response from the DeleteScheduledAudit service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DeleteScheduledAudit Operation public virtual DeleteScheduledAuditResponse DeleteScheduledAudit(DeleteScheduledAuditRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteScheduledAuditRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteScheduledAuditResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteScheduledAudit operation. /// /// /// Container for the necessary parameters to execute the DeleteScheduledAudit operation on AmazonIoTClient. /// 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 EndDeleteScheduledAudit /// operation. /// REST API Reference for DeleteScheduledAudit Operation public virtual IAsyncResult BeginDeleteScheduledAudit(DeleteScheduledAuditRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteScheduledAuditRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteScheduledAuditResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteScheduledAudit operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteScheduledAudit. /// /// Returns a DeleteScheduledAuditResult from IoT. /// REST API Reference for DeleteScheduledAudit Operation public virtual DeleteScheduledAuditResponse EndDeleteScheduledAudit(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSecurityProfile /// /// Deletes a Device Defender security profile. /// /// /// /// Requires permission to access the DeleteSecurityProfile /// action. /// /// /// Container for the necessary parameters to execute the DeleteSecurityProfile service method. /// /// The response from the DeleteSecurityProfile service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for DeleteSecurityProfile Operation public virtual DeleteSecurityProfileResponse DeleteSecurityProfile(DeleteSecurityProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSecurityProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSecurityProfile operation. /// /// /// Container for the necessary parameters to execute the DeleteSecurityProfile operation on AmazonIoTClient. /// 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 EndDeleteSecurityProfile /// operation. /// REST API Reference for DeleteSecurityProfile Operation public virtual IAsyncResult BeginDeleteSecurityProfile(DeleteSecurityProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSecurityProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSecurityProfile operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSecurityProfile. /// /// Returns a DeleteSecurityProfileResult from IoT. /// REST API Reference for DeleteSecurityProfile Operation public virtual DeleteSecurityProfileResponse EndDeleteSecurityProfile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteStream /// /// Deletes a stream. /// /// /// /// Requires permission to access the DeleteStream /// action. /// /// /// Container for the necessary parameters to execute the DeleteStream service method. /// /// The response from the DeleteStream service method, as returned by IoT. /// /// You can't delete the resource because it is attached to one or more resources. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteStream Operation public virtual DeleteStreamResponse DeleteStream(DeleteStreamRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStreamRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStreamResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteStream operation. /// /// /// Container for the necessary parameters to execute the DeleteStream operation on AmazonIoTClient. /// 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 EndDeleteStream /// operation. /// REST API Reference for DeleteStream Operation public virtual IAsyncResult BeginDeleteStream(DeleteStreamRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStreamRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStreamResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteStream operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteStream. /// /// Returns a DeleteStreamResult from IoT. /// REST API Reference for DeleteStream Operation public virtual DeleteStreamResponse EndDeleteStream(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteThing /// /// Deletes the specified thing. Returns successfully with no error if the deletion is /// successful or you specify a thing that doesn't exist. /// /// /// /// Requires permission to access the DeleteThing /// action. /// /// /// The name of the thing to delete. /// /// The response from the DeleteThing service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for DeleteThing Operation public virtual DeleteThingResponse DeleteThing(string thingName) { var request = new DeleteThingRequest(); request.ThingName = thingName; return DeleteThing(request); } /// /// Deletes the specified thing. Returns successfully with no error if the deletion is /// successful or you specify a thing that doesn't exist. /// /// /// /// Requires permission to access the DeleteThing /// action. /// /// /// Container for the necessary parameters to execute the DeleteThing service method. /// /// The response from the DeleteThing service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for DeleteThing Operation public virtual DeleteThingResponse DeleteThing(DeleteThingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteThingRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteThingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteThing operation. /// /// /// Container for the necessary parameters to execute the DeleteThing operation on AmazonIoTClient. /// 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 EndDeleteThing /// operation. /// REST API Reference for DeleteThing Operation public virtual IAsyncResult BeginDeleteThing(DeleteThingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteThingRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteThingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteThing operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteThing. /// /// Returns a DeleteThingResult from IoT. /// REST API Reference for DeleteThing Operation public virtual DeleteThingResponse EndDeleteThing(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteThingGroup /// /// Deletes a thing group. /// /// /// /// Requires permission to access the DeleteThingGroup /// action. /// /// /// Container for the necessary parameters to execute the DeleteThingGroup service method. /// /// The response from the DeleteThingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for DeleteThingGroup Operation public virtual DeleteThingGroupResponse DeleteThingGroup(DeleteThingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteThingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteThingGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteThingGroup operation on AmazonIoTClient. /// 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 EndDeleteThingGroup /// operation. /// REST API Reference for DeleteThingGroup Operation public virtual IAsyncResult BeginDeleteThingGroup(DeleteThingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteThingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteThingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteThingGroup. /// /// Returns a DeleteThingGroupResult from IoT. /// REST API Reference for DeleteThingGroup Operation public virtual DeleteThingGroupResponse EndDeleteThingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteThingType /// /// Deletes the specified thing type. You cannot delete a thing type if it has things /// associated with it. To delete a thing type, first mark it as deprecated by calling /// DeprecateThingType, then remove any associated things by calling UpdateThing /// to change the thing type on any associated thing, and finally use DeleteThingType /// to delete the thing type. /// /// /// /// Requires permission to access the DeleteThingType /// action. /// /// /// Container for the necessary parameters to execute the DeleteThingType service method. /// /// The response from the DeleteThingType service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteThingType Operation public virtual DeleteThingTypeResponse DeleteThingType(DeleteThingTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteThingTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteThingTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteThingType operation. /// /// /// Container for the necessary parameters to execute the DeleteThingType operation on AmazonIoTClient. /// 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 EndDeleteThingType /// operation. /// REST API Reference for DeleteThingType Operation public virtual IAsyncResult BeginDeleteThingType(DeleteThingTypeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteThingTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteThingTypeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteThingType operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteThingType. /// /// Returns a DeleteThingTypeResult from IoT. /// REST API Reference for DeleteThingType Operation public virtual DeleteThingTypeResponse EndDeleteThingType(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteTopicRule /// /// Deletes the rule. /// /// /// /// Requires permission to access the DeleteTopicRule /// action. /// /// /// The name of the rule. /// /// The response from the DeleteTopicRule service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteTopicRule Operation public virtual DeleteTopicRuleResponse DeleteTopicRule(string ruleName) { var request = new DeleteTopicRuleRequest(); request.RuleName = ruleName; return DeleteTopicRule(request); } /// /// Deletes the rule. /// /// /// /// Requires permission to access the DeleteTopicRule /// action. /// /// /// Container for the necessary parameters to execute the DeleteTopicRule service method. /// /// The response from the DeleteTopicRule service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteTopicRule Operation public virtual DeleteTopicRuleResponse DeleteTopicRule(DeleteTopicRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTopicRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteTopicRule operation. /// /// /// Container for the necessary parameters to execute the DeleteTopicRule operation on AmazonIoTClient. /// 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 EndDeleteTopicRule /// operation. /// REST API Reference for DeleteTopicRule Operation public virtual IAsyncResult BeginDeleteTopicRule(DeleteTopicRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTopicRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteTopicRule operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteTopicRule. /// /// Returns a DeleteTopicRuleResult from IoT. /// REST API Reference for DeleteTopicRule Operation public virtual DeleteTopicRuleResponse EndDeleteTopicRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteTopicRuleDestination /// /// Deletes a topic rule destination. /// /// /// /// Requires permission to access the DeleteTopicRuleDestination /// action. /// /// /// Container for the necessary parameters to execute the DeleteTopicRuleDestination service method. /// /// The response from the DeleteTopicRuleDestination service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeleteTopicRuleDestination Operation public virtual DeleteTopicRuleDestinationResponse DeleteTopicRuleDestination(DeleteTopicRuleDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTopicRuleDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTopicRuleDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteTopicRuleDestination operation. /// /// /// Container for the necessary parameters to execute the DeleteTopicRuleDestination operation on AmazonIoTClient. /// 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 EndDeleteTopicRuleDestination /// operation. /// REST API Reference for DeleteTopicRuleDestination Operation public virtual IAsyncResult BeginDeleteTopicRuleDestination(DeleteTopicRuleDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTopicRuleDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTopicRuleDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteTopicRuleDestination operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteTopicRuleDestination. /// /// Returns a DeleteTopicRuleDestinationResult from IoT. /// REST API Reference for DeleteTopicRuleDestination Operation public virtual DeleteTopicRuleDestinationResponse EndDeleteTopicRuleDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteV2LoggingLevel /// /// Deletes a logging level. /// /// /// /// Requires permission to access the DeleteV2LoggingLevel /// action. /// /// /// Container for the necessary parameters to execute the DeleteV2LoggingLevel service method. /// /// The response from the DeleteV2LoggingLevel service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for DeleteV2LoggingLevel Operation public virtual DeleteV2LoggingLevelResponse DeleteV2LoggingLevel(DeleteV2LoggingLevelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteV2LoggingLevelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteV2LoggingLevelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteV2LoggingLevel operation. /// /// /// Container for the necessary parameters to execute the DeleteV2LoggingLevel operation on AmazonIoTClient. /// 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 EndDeleteV2LoggingLevel /// operation. /// REST API Reference for DeleteV2LoggingLevel Operation public virtual IAsyncResult BeginDeleteV2LoggingLevel(DeleteV2LoggingLevelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteV2LoggingLevelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteV2LoggingLevelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteV2LoggingLevel operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteV2LoggingLevel. /// /// Returns a DeleteV2LoggingLevelResult from IoT. /// REST API Reference for DeleteV2LoggingLevel Operation public virtual DeleteV2LoggingLevelResponse EndDeleteV2LoggingLevel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeprecateThingType /// /// Deprecates a thing type. You can not associate new things with deprecated thing type. /// /// /// /// Requires permission to access the DeprecateThingType /// action. /// /// /// Container for the necessary parameters to execute the DeprecateThingType service method. /// /// The response from the DeprecateThingType service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DeprecateThingType Operation public virtual DeprecateThingTypeResponse DeprecateThingType(DeprecateThingTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeprecateThingTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeprecateThingTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeprecateThingType operation. /// /// /// Container for the necessary parameters to execute the DeprecateThingType operation on AmazonIoTClient. /// 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 EndDeprecateThingType /// operation. /// REST API Reference for DeprecateThingType Operation public virtual IAsyncResult BeginDeprecateThingType(DeprecateThingTypeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeprecateThingTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeprecateThingTypeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeprecateThingType operation. /// /// /// The IAsyncResult returned by the call to BeginDeprecateThingType. /// /// Returns a DeprecateThingTypeResult from IoT. /// REST API Reference for DeprecateThingType Operation public virtual DeprecateThingTypeResponse EndDeprecateThingType(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAccountAuditConfiguration /// /// Gets information about the Device Defender audit settings for this account. Settings /// include how audit notifications are sent and which audit checks are enabled or disabled. /// /// /// /// Requires permission to access the DescribeAccountAuditConfiguration /// action. /// /// /// Container for the necessary parameters to execute the DescribeAccountAuditConfiguration service method. /// /// The response from the DescribeAccountAuditConfiguration service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeAccountAuditConfiguration Operation public virtual DescribeAccountAuditConfigurationResponse DescribeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountAuditConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountAuditConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAccountAuditConfiguration operation. /// /// /// Container for the necessary parameters to execute the DescribeAccountAuditConfiguration operation on AmazonIoTClient. /// 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 EndDescribeAccountAuditConfiguration /// operation. /// REST API Reference for DescribeAccountAuditConfiguration Operation public virtual IAsyncResult BeginDescribeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAccountAuditConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAccountAuditConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAccountAuditConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAccountAuditConfiguration. /// /// Returns a DescribeAccountAuditConfigurationResult from IoT. /// REST API Reference for DescribeAccountAuditConfiguration Operation public virtual DescribeAccountAuditConfigurationResponse EndDescribeAccountAuditConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAuditFinding /// /// Gets information about a single audit finding. Properties include the reason for noncompliance, /// the severity of the issue, and the start time when the audit that returned the finding. /// /// /// /// Requires permission to access the DescribeAuditFinding /// action. /// /// /// Container for the necessary parameters to execute the DescribeAuditFinding service method. /// /// The response from the DescribeAuditFinding service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeAuditFinding Operation public virtual DescribeAuditFindingResponse DescribeAuditFinding(DescribeAuditFindingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAuditFindingRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAuditFindingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAuditFinding operation. /// /// /// Container for the necessary parameters to execute the DescribeAuditFinding operation on AmazonIoTClient. /// 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 EndDescribeAuditFinding /// operation. /// REST API Reference for DescribeAuditFinding Operation public virtual IAsyncResult BeginDescribeAuditFinding(DescribeAuditFindingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAuditFindingRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAuditFindingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAuditFinding operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAuditFinding. /// /// Returns a DescribeAuditFindingResult from IoT. /// REST API Reference for DescribeAuditFinding Operation public virtual DescribeAuditFindingResponse EndDescribeAuditFinding(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAuditMitigationActionsTask /// /// Gets information about an audit mitigation task that is used to apply mitigation actions /// to a set of audit findings. Properties include the actions being applied, the audit /// checks to which they're being applied, the task status, and aggregated task statistics. /// /// Container for the necessary parameters to execute the DescribeAuditMitigationActionsTask service method. /// /// The response from the DescribeAuditMitigationActionsTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeAuditMitigationActionsTask Operation public virtual DescribeAuditMitigationActionsTaskResponse DescribeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAuditMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAuditMitigationActionsTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAuditMitigationActionsTask operation. /// /// /// Container for the necessary parameters to execute the DescribeAuditMitigationActionsTask operation on AmazonIoTClient. /// 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 EndDescribeAuditMitigationActionsTask /// operation. /// REST API Reference for DescribeAuditMitigationActionsTask Operation public virtual IAsyncResult BeginDescribeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAuditMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAuditMitigationActionsTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAuditMitigationActionsTask operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAuditMitigationActionsTask. /// /// Returns a DescribeAuditMitigationActionsTaskResult from IoT. /// REST API Reference for DescribeAuditMitigationActionsTask Operation public virtual DescribeAuditMitigationActionsTaskResponse EndDescribeAuditMitigationActionsTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAuditSuppression /// /// Gets information about a Device Defender audit suppression. /// /// Container for the necessary parameters to execute the DescribeAuditSuppression service method. /// /// The response from the DescribeAuditSuppression service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeAuditSuppression Operation public virtual DescribeAuditSuppressionResponse DescribeAuditSuppression(DescribeAuditSuppressionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAuditSuppressionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAuditSuppressionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAuditSuppression operation. /// /// /// Container for the necessary parameters to execute the DescribeAuditSuppression operation on AmazonIoTClient. /// 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 EndDescribeAuditSuppression /// operation. /// REST API Reference for DescribeAuditSuppression Operation public virtual IAsyncResult BeginDescribeAuditSuppression(DescribeAuditSuppressionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAuditSuppressionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAuditSuppressionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAuditSuppression operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAuditSuppression. /// /// Returns a DescribeAuditSuppressionResult from IoT. /// REST API Reference for DescribeAuditSuppression Operation public virtual DescribeAuditSuppressionResponse EndDescribeAuditSuppression(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAuditTask /// /// Gets information about a Device Defender audit. /// /// /// /// Requires permission to access the DescribeAuditTask /// action. /// /// /// Container for the necessary parameters to execute the DescribeAuditTask service method. /// /// The response from the DescribeAuditTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeAuditTask Operation public virtual DescribeAuditTaskResponse DescribeAuditTask(DescribeAuditTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAuditTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAuditTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAuditTask operation. /// /// /// Container for the necessary parameters to execute the DescribeAuditTask operation on AmazonIoTClient. /// 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 EndDescribeAuditTask /// operation. /// REST API Reference for DescribeAuditTask Operation public virtual IAsyncResult BeginDescribeAuditTask(DescribeAuditTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAuditTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAuditTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAuditTask operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAuditTask. /// /// Returns a DescribeAuditTaskResult from IoT. /// REST API Reference for DescribeAuditTask Operation public virtual DescribeAuditTaskResponse EndDescribeAuditTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAuthorizer /// /// Describes an authorizer. /// /// /// /// Requires permission to access the DescribeAuthorizer /// action. /// /// /// Container for the necessary parameters to execute the DescribeAuthorizer service method. /// /// The response from the DescribeAuthorizer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeAuthorizer Operation public virtual DescribeAuthorizerResponse DescribeAuthorizer(DescribeAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAuthorizer operation. /// /// /// Container for the necessary parameters to execute the DescribeAuthorizer operation on AmazonIoTClient. /// 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 EndDescribeAuthorizer /// operation. /// REST API Reference for DescribeAuthorizer Operation public virtual IAsyncResult BeginDescribeAuthorizer(DescribeAuthorizerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAuthorizerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAuthorizer operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAuthorizer. /// /// Returns a DescribeAuthorizerResult from IoT. /// REST API Reference for DescribeAuthorizer Operation public virtual DescribeAuthorizerResponse EndDescribeAuthorizer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeBillingGroup /// /// Returns information about a billing group. /// /// /// /// Requires permission to access the DescribeBillingGroup /// action. /// /// /// Container for the necessary parameters to execute the DescribeBillingGroup service method. /// /// The response from the DescribeBillingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeBillingGroup Operation public virtual DescribeBillingGroupResponse DescribeBillingGroup(DescribeBillingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBillingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeBillingGroup operation. /// /// /// Container for the necessary parameters to execute the DescribeBillingGroup operation on AmazonIoTClient. /// 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 EndDescribeBillingGroup /// operation. /// REST API Reference for DescribeBillingGroup Operation public virtual IAsyncResult BeginDescribeBillingGroup(DescribeBillingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBillingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBillingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBillingGroup. /// /// Returns a DescribeBillingGroupResult from IoT. /// REST API Reference for DescribeBillingGroup Operation public virtual DescribeBillingGroupResponse EndDescribeBillingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCACertificate /// /// Describes a registered CA certificate. /// /// /// /// Requires permission to access the DescribeCACertificate /// action. /// /// /// Container for the necessary parameters to execute the DescribeCACertificate service method. /// /// The response from the DescribeCACertificate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeCACertificate Operation public virtual DescribeCACertificateResponse DescribeCACertificate(DescribeCACertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCACertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCACertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCACertificate operation. /// /// /// Container for the necessary parameters to execute the DescribeCACertificate operation on AmazonIoTClient. /// 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 EndDescribeCACertificate /// operation. /// REST API Reference for DescribeCACertificate Operation public virtual IAsyncResult BeginDescribeCACertificate(DescribeCACertificateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCACertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCACertificateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCACertificate operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCACertificate. /// /// Returns a DescribeCACertificateResult from IoT. /// REST API Reference for DescribeCACertificate Operation public virtual DescribeCACertificateResponse EndDescribeCACertificate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCertificate /// /// Gets information about the specified certificate. /// /// /// /// Requires permission to access the DescribeCertificate /// action. /// /// /// The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) /// /// The response from the DescribeCertificate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeCertificate Operation public virtual DescribeCertificateResponse DescribeCertificate(string certificateId) { var request = new DescribeCertificateRequest(); request.CertificateId = certificateId; return DescribeCertificate(request); } /// /// Gets information about the specified certificate. /// /// /// /// Requires permission to access the DescribeCertificate /// action. /// /// /// Container for the necessary parameters to execute the DescribeCertificate service method. /// /// The response from the DescribeCertificate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeCertificate Operation public virtual DescribeCertificateResponse DescribeCertificate(DescribeCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCertificate operation. /// /// /// Container for the necessary parameters to execute the DescribeCertificate operation on AmazonIoTClient. /// 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 EndDescribeCertificate /// operation. /// REST API Reference for DescribeCertificate Operation public virtual IAsyncResult BeginDescribeCertificate(DescribeCertificateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCertificateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCertificate operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCertificate. /// /// Returns a DescribeCertificateResult from IoT. /// REST API Reference for DescribeCertificate Operation public virtual DescribeCertificateResponse EndDescribeCertificate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCustomMetric /// /// Gets information about a Device Defender detect custom metric. /// /// /// /// Requires permission to access the DescribeCustomMetric /// action. /// /// /// Container for the necessary parameters to execute the DescribeCustomMetric service method. /// /// The response from the DescribeCustomMetric service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeCustomMetric Operation public virtual DescribeCustomMetricResponse DescribeCustomMetric(DescribeCustomMetricRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCustomMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCustomMetricResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCustomMetric operation. /// /// /// Container for the necessary parameters to execute the DescribeCustomMetric operation on AmazonIoTClient. /// 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 EndDescribeCustomMetric /// operation. /// REST API Reference for DescribeCustomMetric Operation public virtual IAsyncResult BeginDescribeCustomMetric(DescribeCustomMetricRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCustomMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCustomMetricResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCustomMetric operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCustomMetric. /// /// Returns a DescribeCustomMetricResult from IoT. /// REST API Reference for DescribeCustomMetric Operation public virtual DescribeCustomMetricResponse EndDescribeCustomMetric(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeDefaultAuthorizer /// /// Describes the default authorizer. /// /// /// /// Requires permission to access the DescribeDefaultAuthorizer /// action. /// /// /// Container for the necessary parameters to execute the DescribeDefaultAuthorizer service method. /// /// The response from the DescribeDefaultAuthorizer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeDefaultAuthorizer Operation public virtual DescribeDefaultAuthorizerResponse DescribeDefaultAuthorizer(DescribeDefaultAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDefaultAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDefaultAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeDefaultAuthorizer operation. /// /// /// Container for the necessary parameters to execute the DescribeDefaultAuthorizer operation on AmazonIoTClient. /// 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 EndDescribeDefaultAuthorizer /// operation. /// REST API Reference for DescribeDefaultAuthorizer Operation public virtual IAsyncResult BeginDescribeDefaultAuthorizer(DescribeDefaultAuthorizerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDefaultAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDefaultAuthorizerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDefaultAuthorizer operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDefaultAuthorizer. /// /// Returns a DescribeDefaultAuthorizerResult from IoT. /// REST API Reference for DescribeDefaultAuthorizer Operation public virtual DescribeDefaultAuthorizerResponse EndDescribeDefaultAuthorizer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeDetectMitigationActionsTask /// /// Gets information about a Device Defender ML Detect mitigation action. /// /// /// /// Requires permission to access the DescribeDetectMitigationActionsTask /// action. /// /// /// Container for the necessary parameters to execute the DescribeDetectMitigationActionsTask service method. /// /// The response from the DescribeDetectMitigationActionsTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeDetectMitigationActionsTask Operation public virtual DescribeDetectMitigationActionsTaskResponse DescribeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDetectMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDetectMitigationActionsTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeDetectMitigationActionsTask operation. /// /// /// Container for the necessary parameters to execute the DescribeDetectMitigationActionsTask operation on AmazonIoTClient. /// 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 EndDescribeDetectMitigationActionsTask /// operation. /// REST API Reference for DescribeDetectMitigationActionsTask Operation public virtual IAsyncResult BeginDescribeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDetectMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDetectMitigationActionsTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDetectMitigationActionsTask operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDetectMitigationActionsTask. /// /// Returns a DescribeDetectMitigationActionsTaskResult from IoT. /// REST API Reference for DescribeDetectMitigationActionsTask Operation public virtual DescribeDetectMitigationActionsTaskResponse EndDescribeDetectMitigationActionsTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeDimension /// /// Provides details about a dimension that is defined in your Amazon Web Services accounts. /// /// /// /// Requires permission to access the DescribeDimension /// action. /// /// /// Container for the necessary parameters to execute the DescribeDimension service method. /// /// The response from the DescribeDimension service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeDimension Operation public virtual DescribeDimensionResponse DescribeDimension(DescribeDimensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDimensionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDimensionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeDimension operation. /// /// /// Container for the necessary parameters to execute the DescribeDimension operation on AmazonIoTClient. /// 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 EndDescribeDimension /// operation. /// REST API Reference for DescribeDimension Operation public virtual IAsyncResult BeginDescribeDimension(DescribeDimensionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDimensionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDimensionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDimension operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDimension. /// /// Returns a DescribeDimensionResult from IoT. /// REST API Reference for DescribeDimension Operation public virtual DescribeDimensionResponse EndDescribeDimension(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeDomainConfiguration /// /// Gets summary information about a domain configuration. /// /// /// /// Requires permission to access the DescribeDomainConfiguration /// action. /// /// /// Container for the necessary parameters to execute the DescribeDomainConfiguration service method. /// /// The response from the DescribeDomainConfiguration service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeDomainConfiguration Operation public virtual DescribeDomainConfigurationResponse DescribeDomainConfiguration(DescribeDomainConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeDomainConfiguration operation. /// /// /// Container for the necessary parameters to execute the DescribeDomainConfiguration operation on AmazonIoTClient. /// 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 EndDescribeDomainConfiguration /// operation. /// REST API Reference for DescribeDomainConfiguration Operation public virtual IAsyncResult BeginDescribeDomainConfiguration(DescribeDomainConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDomainConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDomainConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDomainConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDomainConfiguration. /// /// Returns a DescribeDomainConfigurationResult from IoT. /// REST API Reference for DescribeDomainConfiguration Operation public virtual DescribeDomainConfigurationResponse EndDescribeDomainConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeEndpoint /// /// Returns a unique endpoint specific to the Amazon Web Services account making the call. /// /// /// /// Requires permission to access the DescribeEndpoint /// action. /// /// /// /// The response from the DescribeEndpoint service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeEndpoint Operation public virtual DescribeEndpointResponse DescribeEndpoint() { var request = new DescribeEndpointRequest(); return DescribeEndpoint(request); } /// /// Returns a unique endpoint specific to the Amazon Web Services account making the call. /// /// /// /// Requires permission to access the DescribeEndpoint /// action. /// /// /// Container for the necessary parameters to execute the DescribeEndpoint service method. /// /// The response from the DescribeEndpoint service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeEndpoint Operation public virtual DescribeEndpointResponse DescribeEndpoint(DescribeEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeEndpoint operation. /// /// /// Container for the necessary parameters to execute the DescribeEndpoint operation on AmazonIoTClient. /// 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 EndDescribeEndpoint /// operation. /// REST API Reference for DescribeEndpoint Operation public virtual IAsyncResult BeginDescribeEndpoint(DescribeEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeEndpoint. /// /// Returns a DescribeEndpointResult from IoT. /// REST API Reference for DescribeEndpoint Operation public virtual DescribeEndpointResponse EndDescribeEndpoint(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeEventConfigurations /// /// Describes event configurations. /// /// /// /// Requires permission to access the DescribeEventConfigurations /// action. /// /// /// Container for the necessary parameters to execute the DescribeEventConfigurations service method. /// /// The response from the DescribeEventConfigurations service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeEventConfigurations Operation public virtual DescribeEventConfigurationsResponse DescribeEventConfigurations(DescribeEventConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventConfigurationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeEventConfigurations operation. /// /// /// Container for the necessary parameters to execute the DescribeEventConfigurations operation on AmazonIoTClient. /// 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 EndDescribeEventConfigurations /// operation. /// REST API Reference for DescribeEventConfigurations Operation public virtual IAsyncResult BeginDescribeEventConfigurations(DescribeEventConfigurationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventConfigurationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeEventConfigurations operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeEventConfigurations. /// /// Returns a DescribeEventConfigurationsResult from IoT. /// REST API Reference for DescribeEventConfigurations Operation public virtual DescribeEventConfigurationsResponse EndDescribeEventConfigurations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeFleetMetric /// /// Gets information about the specified fleet metric. /// /// /// /// Requires permission to access the DescribeFleetMetric /// action. /// /// /// Container for the necessary parameters to execute the DescribeFleetMetric service method. /// /// The response from the DescribeFleetMetric service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeFleetMetric Operation public virtual DescribeFleetMetricResponse DescribeFleetMetric(DescribeFleetMetricRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetMetricResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeFleetMetric operation. /// /// /// Container for the necessary parameters to execute the DescribeFleetMetric operation on AmazonIoTClient. /// 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 EndDescribeFleetMetric /// operation. /// REST API Reference for DescribeFleetMetric Operation public virtual IAsyncResult BeginDescribeFleetMetric(DescribeFleetMetricRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetMetricResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeFleetMetric operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeFleetMetric. /// /// Returns a DescribeFleetMetricResult from IoT. /// REST API Reference for DescribeFleetMetric Operation public virtual DescribeFleetMetricResponse EndDescribeFleetMetric(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeIndex /// /// Describes a search index. /// /// /// /// Requires permission to access the DescribeIndex /// action. /// /// /// Container for the necessary parameters to execute the DescribeIndex service method. /// /// The response from the DescribeIndex service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeIndex Operation public virtual DescribeIndexResponse DescribeIndex(DescribeIndexRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIndexResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeIndex operation. /// /// /// Container for the necessary parameters to execute the DescribeIndex operation on AmazonIoTClient. /// 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 EndDescribeIndex /// operation. /// REST API Reference for DescribeIndex Operation public virtual IAsyncResult BeginDescribeIndex(DescribeIndexRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeIndexResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeIndex operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeIndex. /// /// Returns a DescribeIndexResult from IoT. /// REST API Reference for DescribeIndex Operation public virtual DescribeIndexResponse EndDescribeIndex(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeJob /// /// Describes a job. /// /// /// /// Requires permission to access the DescribeJob /// action. /// /// /// Container for the necessary parameters to execute the DescribeJob service method. /// /// The response from the DescribeJob service method, as returned by IoT. /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeJob Operation public virtual DescribeJobResponse DescribeJob(DescribeJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeJob operation. /// /// /// Container for the necessary parameters to execute the DescribeJob operation on AmazonIoTClient. /// 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 EndDescribeJob /// operation. /// REST API Reference for DescribeJob Operation public virtual IAsyncResult BeginDescribeJob(DescribeJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeJob operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeJob. /// /// Returns a DescribeJobResult from IoT. /// REST API Reference for DescribeJob Operation public virtual DescribeJobResponse EndDescribeJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeJobExecution /// /// Describes a job execution. /// /// /// /// Requires permission to access the DescribeJobExecution /// action. /// /// /// Container for the necessary parameters to execute the DescribeJobExecution service method. /// /// The response from the DescribeJobExecution service method, as returned by IoT. /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeJobExecution Operation public virtual DescribeJobExecutionResponse DescribeJobExecution(DescribeJobExecutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobExecutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeJobExecution operation. /// /// /// Container for the necessary parameters to execute the DescribeJobExecution operation on AmazonIoTClient. /// 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 EndDescribeJobExecution /// operation. /// REST API Reference for DescribeJobExecution Operation public virtual IAsyncResult BeginDescribeJobExecution(DescribeJobExecutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobExecutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobExecutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeJobExecution operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeJobExecution. /// /// Returns a DescribeJobExecutionResult from IoT. /// REST API Reference for DescribeJobExecution Operation public virtual DescribeJobExecutionResponse EndDescribeJobExecution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeJobTemplate /// /// Returns information about a job template. /// /// Container for the necessary parameters to execute the DescribeJobTemplate service method. /// /// The response from the DescribeJobTemplate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeJobTemplate Operation public virtual DescribeJobTemplateResponse DescribeJobTemplate(DescribeJobTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeJobTemplate operation. /// /// /// Container for the necessary parameters to execute the DescribeJobTemplate operation on AmazonIoTClient. /// 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 EndDescribeJobTemplate /// operation. /// REST API Reference for DescribeJobTemplate Operation public virtual IAsyncResult BeginDescribeJobTemplate(DescribeJobTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeJobTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeJobTemplate. /// /// Returns a DescribeJobTemplateResult from IoT. /// REST API Reference for DescribeJobTemplate Operation public virtual DescribeJobTemplateResponse EndDescribeJobTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeManagedJobTemplate /// /// View details of a managed job template. /// /// Container for the necessary parameters to execute the DescribeManagedJobTemplate service method. /// /// The response from the DescribeManagedJobTemplate service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeManagedJobTemplate Operation public virtual DescribeManagedJobTemplateResponse DescribeManagedJobTemplate(DescribeManagedJobTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeManagedJobTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeManagedJobTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeManagedJobTemplate operation. /// /// /// Container for the necessary parameters to execute the DescribeManagedJobTemplate operation on AmazonIoTClient. /// 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 EndDescribeManagedJobTemplate /// operation. /// REST API Reference for DescribeManagedJobTemplate Operation public virtual IAsyncResult BeginDescribeManagedJobTemplate(DescribeManagedJobTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeManagedJobTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeManagedJobTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeManagedJobTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeManagedJobTemplate. /// /// Returns a DescribeManagedJobTemplateResult from IoT. /// REST API Reference for DescribeManagedJobTemplate Operation public virtual DescribeManagedJobTemplateResponse EndDescribeManagedJobTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeMitigationAction /// /// Gets information about a mitigation action. /// /// /// /// Requires permission to access the DescribeMitigationAction /// action. /// /// /// Container for the necessary parameters to execute the DescribeMitigationAction service method. /// /// The response from the DescribeMitigationAction service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeMitigationAction Operation public virtual DescribeMitigationActionResponse DescribeMitigationAction(DescribeMitigationActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMitigationActionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMitigationActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeMitigationAction operation. /// /// /// Container for the necessary parameters to execute the DescribeMitigationAction operation on AmazonIoTClient. /// 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 EndDescribeMitigationAction /// operation. /// REST API Reference for DescribeMitigationAction Operation public virtual IAsyncResult BeginDescribeMitigationAction(DescribeMitigationActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMitigationActionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMitigationActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeMitigationAction operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeMitigationAction. /// /// Returns a DescribeMitigationActionResult from IoT. /// REST API Reference for DescribeMitigationAction Operation public virtual DescribeMitigationActionResponse EndDescribeMitigationAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeProvisioningTemplate /// /// Returns information about a provisioning template. /// /// /// /// Requires permission to access the DescribeProvisioningTemplate /// action. /// /// /// Container for the necessary parameters to execute the DescribeProvisioningTemplate service method. /// /// The response from the DescribeProvisioningTemplate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeProvisioningTemplate Operation public virtual DescribeProvisioningTemplateResponse DescribeProvisioningTemplate(DescribeProvisioningTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProvisioningTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProvisioningTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeProvisioningTemplate operation. /// /// /// Container for the necessary parameters to execute the DescribeProvisioningTemplate operation on AmazonIoTClient. /// 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 EndDescribeProvisioningTemplate /// operation. /// REST API Reference for DescribeProvisioningTemplate Operation public virtual IAsyncResult BeginDescribeProvisioningTemplate(DescribeProvisioningTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProvisioningTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProvisioningTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeProvisioningTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeProvisioningTemplate. /// /// Returns a DescribeProvisioningTemplateResult from IoT. /// REST API Reference for DescribeProvisioningTemplate Operation public virtual DescribeProvisioningTemplateResponse EndDescribeProvisioningTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeProvisioningTemplateVersion /// /// Returns information about a provisioning template version. /// /// /// /// Requires permission to access the DescribeProvisioningTemplateVersion /// action. /// /// /// Container for the necessary parameters to execute the DescribeProvisioningTemplateVersion service method. /// /// The response from the DescribeProvisioningTemplateVersion service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeProvisioningTemplateVersion Operation public virtual DescribeProvisioningTemplateVersionResponse DescribeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProvisioningTemplateVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProvisioningTemplateVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeProvisioningTemplateVersion operation. /// /// /// Container for the necessary parameters to execute the DescribeProvisioningTemplateVersion operation on AmazonIoTClient. /// 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 EndDescribeProvisioningTemplateVersion /// operation. /// REST API Reference for DescribeProvisioningTemplateVersion Operation public virtual IAsyncResult BeginDescribeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProvisioningTemplateVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProvisioningTemplateVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeProvisioningTemplateVersion operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeProvisioningTemplateVersion. /// /// Returns a DescribeProvisioningTemplateVersionResult from IoT. /// REST API Reference for DescribeProvisioningTemplateVersion Operation public virtual DescribeProvisioningTemplateVersionResponse EndDescribeProvisioningTemplateVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeRoleAlias /// /// Describes a role alias. /// /// /// /// Requires permission to access the DescribeRoleAlias /// action. /// /// /// Container for the necessary parameters to execute the DescribeRoleAlias service method. /// /// The response from the DescribeRoleAlias service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeRoleAlias Operation public virtual DescribeRoleAliasResponse DescribeRoleAlias(DescribeRoleAliasRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRoleAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRoleAliasResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeRoleAlias operation. /// /// /// Container for the necessary parameters to execute the DescribeRoleAlias operation on AmazonIoTClient. /// 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 EndDescribeRoleAlias /// operation. /// REST API Reference for DescribeRoleAlias Operation public virtual IAsyncResult BeginDescribeRoleAlias(DescribeRoleAliasRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRoleAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRoleAliasResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeRoleAlias operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeRoleAlias. /// /// Returns a DescribeRoleAliasResult from IoT. /// REST API Reference for DescribeRoleAlias Operation public virtual DescribeRoleAliasResponse EndDescribeRoleAlias(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeScheduledAudit /// /// Gets information about a scheduled audit. /// /// /// /// Requires permission to access the DescribeScheduledAudit /// action. /// /// /// Container for the necessary parameters to execute the DescribeScheduledAudit service method. /// /// The response from the DescribeScheduledAudit service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeScheduledAudit Operation public virtual DescribeScheduledAuditResponse DescribeScheduledAudit(DescribeScheduledAuditRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeScheduledAuditRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeScheduledAuditResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeScheduledAudit operation. /// /// /// Container for the necessary parameters to execute the DescribeScheduledAudit operation on AmazonIoTClient. /// 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 EndDescribeScheduledAudit /// operation. /// REST API Reference for DescribeScheduledAudit Operation public virtual IAsyncResult BeginDescribeScheduledAudit(DescribeScheduledAuditRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeScheduledAuditRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeScheduledAuditResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeScheduledAudit operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeScheduledAudit. /// /// Returns a DescribeScheduledAuditResult from IoT. /// REST API Reference for DescribeScheduledAudit Operation public virtual DescribeScheduledAuditResponse EndDescribeScheduledAudit(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeSecurityProfile /// /// Gets information about a Device Defender security profile. /// /// /// /// Requires permission to access the DescribeSecurityProfile /// action. /// /// /// Container for the necessary parameters to execute the DescribeSecurityProfile service method. /// /// The response from the DescribeSecurityProfile service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeSecurityProfile Operation public virtual DescribeSecurityProfileResponse DescribeSecurityProfile(DescribeSecurityProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSecurityProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeSecurityProfile operation. /// /// /// Container for the necessary parameters to execute the DescribeSecurityProfile operation on AmazonIoTClient. /// 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 EndDescribeSecurityProfile /// operation. /// REST API Reference for DescribeSecurityProfile Operation public virtual IAsyncResult BeginDescribeSecurityProfile(DescribeSecurityProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSecurityProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSecurityProfile operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSecurityProfile. /// /// Returns a DescribeSecurityProfileResult from IoT. /// REST API Reference for DescribeSecurityProfile Operation public virtual DescribeSecurityProfileResponse EndDescribeSecurityProfile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeStream /// /// Gets information about a stream. /// /// /// /// Requires permission to access the DescribeStream /// action. /// /// /// Container for the necessary parameters to execute the DescribeStream service method. /// /// The response from the DescribeStream service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeStream Operation public virtual DescribeStreamResponse DescribeStream(DescribeStreamRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStreamRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStreamResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeStream operation. /// /// /// Container for the necessary parameters to execute the DescribeStream operation on AmazonIoTClient. /// 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 EndDescribeStream /// operation. /// REST API Reference for DescribeStream Operation public virtual IAsyncResult BeginDescribeStream(DescribeStreamRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStreamRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStreamResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeStream operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeStream. /// /// Returns a DescribeStreamResult from IoT. /// REST API Reference for DescribeStream Operation public virtual DescribeStreamResponse EndDescribeStream(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeThing /// /// Gets information about the specified thing. /// /// /// /// Requires permission to access the DescribeThing /// action. /// /// /// The name of the thing. /// /// The response from the DescribeThing service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeThing Operation public virtual DescribeThingResponse DescribeThing(string thingName) { var request = new DescribeThingRequest(); request.ThingName = thingName; return DescribeThing(request); } /// /// Gets information about the specified thing. /// /// /// /// Requires permission to access the DescribeThing /// action. /// /// /// Container for the necessary parameters to execute the DescribeThing service method. /// /// The response from the DescribeThing service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeThing Operation public virtual DescribeThingResponse DescribeThing(DescribeThingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeThingRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeThingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeThing operation. /// /// /// Container for the necessary parameters to execute the DescribeThing operation on AmazonIoTClient. /// 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 EndDescribeThing /// operation. /// REST API Reference for DescribeThing Operation public virtual IAsyncResult BeginDescribeThing(DescribeThingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeThingRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeThingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeThing operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeThing. /// /// Returns a DescribeThingResult from IoT. /// REST API Reference for DescribeThing Operation public virtual DescribeThingResponse EndDescribeThing(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeThingGroup /// /// Describe a thing group. /// /// /// /// Requires permission to access the DescribeThingGroup /// action. /// /// /// Container for the necessary parameters to execute the DescribeThingGroup service method. /// /// The response from the DescribeThingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DescribeThingGroup Operation public virtual DescribeThingGroupResponse DescribeThingGroup(DescribeThingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeThingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeThingGroup operation. /// /// /// Container for the necessary parameters to execute the DescribeThingGroup operation on AmazonIoTClient. /// 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 EndDescribeThingGroup /// operation. /// REST API Reference for DescribeThingGroup Operation public virtual IAsyncResult BeginDescribeThingGroup(DescribeThingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeThingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeThingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeThingGroup. /// /// Returns a DescribeThingGroupResult from IoT. /// REST API Reference for DescribeThingGroup Operation public virtual DescribeThingGroupResponse EndDescribeThingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeThingRegistrationTask /// /// Describes a bulk thing provisioning task. /// /// /// /// Requires permission to access the DescribeThingRegistrationTask /// action. /// /// /// Container for the necessary parameters to execute the DescribeThingRegistrationTask service method. /// /// The response from the DescribeThingRegistrationTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeThingRegistrationTask Operation public virtual DescribeThingRegistrationTaskResponse DescribeThingRegistrationTask(DescribeThingRegistrationTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeThingRegistrationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeThingRegistrationTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeThingRegistrationTask operation. /// /// /// Container for the necessary parameters to execute the DescribeThingRegistrationTask operation on AmazonIoTClient. /// 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 EndDescribeThingRegistrationTask /// operation. /// REST API Reference for DescribeThingRegistrationTask Operation public virtual IAsyncResult BeginDescribeThingRegistrationTask(DescribeThingRegistrationTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeThingRegistrationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeThingRegistrationTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeThingRegistrationTask operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeThingRegistrationTask. /// /// Returns a DescribeThingRegistrationTaskResult from IoT. /// REST API Reference for DescribeThingRegistrationTask Operation public virtual DescribeThingRegistrationTaskResponse EndDescribeThingRegistrationTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeThingType /// /// Gets information about the specified thing type. /// /// /// /// Requires permission to access the DescribeThingType /// action. /// /// /// Container for the necessary parameters to execute the DescribeThingType service method. /// /// The response from the DescribeThingType service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DescribeThingType Operation public virtual DescribeThingTypeResponse DescribeThingType(DescribeThingTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeThingTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeThingTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeThingType operation. /// /// /// Container for the necessary parameters to execute the DescribeThingType operation on AmazonIoTClient. /// 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 EndDescribeThingType /// operation. /// REST API Reference for DescribeThingType Operation public virtual IAsyncResult BeginDescribeThingType(DescribeThingTypeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeThingTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeThingTypeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeThingType operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeThingType. /// /// Returns a DescribeThingTypeResult from IoT. /// REST API Reference for DescribeThingType Operation public virtual DescribeThingTypeResponse EndDescribeThingType(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DetachPolicy /// /// Detaches a policy from the specified target. /// /// /// /// Because of the distributed nature of Amazon Web Services, it can take up to five minutes /// after a policy is detached before it's ready to be deleted. /// /// /// /// Requires permission to access the DetachPolicy /// action. /// /// /// Container for the necessary parameters to execute the DetachPolicy service method. /// /// The response from the DetachPolicy service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DetachPolicy Operation public virtual DetachPolicyResponse DetachPolicy(DetachPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DetachPolicy operation. /// /// /// Container for the necessary parameters to execute the DetachPolicy operation on AmazonIoTClient. /// 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 EndDetachPolicy /// operation. /// REST API Reference for DetachPolicy Operation public virtual IAsyncResult BeginDetachPolicy(DetachPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DetachPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DetachPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDetachPolicy. /// /// Returns a DetachPolicyResult from IoT. /// REST API Reference for DetachPolicy Operation public virtual DetachPolicyResponse EndDetachPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DetachPrincipalPolicy /// /// Removes the specified policy from the specified certificate. /// /// /// /// Note: This action is deprecated and works as expected for backward compatibility, /// but we won't add enhancements. Use DetachPolicy instead. /// /// /// /// Requires permission to access the DetachPrincipalPolicy /// action. /// /// /// The name of the policy to detach. /// The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id). /// /// The response from the DetachPrincipalPolicy service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DetachPrincipalPolicy Operation [Obsolete("Deprecated in favor of DetachPolicy.")] public virtual DetachPrincipalPolicyResponse DetachPrincipalPolicy(string policyName, string principal) { var request = new DetachPrincipalPolicyRequest(); request.PolicyName = policyName; request.Principal = principal; return DetachPrincipalPolicy(request); } /// /// Removes the specified policy from the specified certificate. /// /// /// /// Note: This action is deprecated and works as expected for backward compatibility, /// but we won't add enhancements. Use DetachPolicy instead. /// /// /// /// Requires permission to access the DetachPrincipalPolicy /// action. /// /// /// Container for the necessary parameters to execute the DetachPrincipalPolicy service method. /// /// The response from the DetachPrincipalPolicy service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DetachPrincipalPolicy Operation [Obsolete("Deprecated in favor of DetachPolicy.")] public virtual DetachPrincipalPolicyResponse DetachPrincipalPolicy(DetachPrincipalPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachPrincipalPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachPrincipalPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DetachPrincipalPolicy operation. /// /// /// Container for the necessary parameters to execute the DetachPrincipalPolicy operation on AmazonIoTClient. /// 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 EndDetachPrincipalPolicy /// operation. /// REST API Reference for DetachPrincipalPolicy Operation [Obsolete("Deprecated in favor of DetachPolicy.")] public virtual IAsyncResult BeginDetachPrincipalPolicy(DetachPrincipalPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DetachPrincipalPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachPrincipalPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DetachPrincipalPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDetachPrincipalPolicy. /// /// Returns a DetachPrincipalPolicyResult from IoT. /// REST API Reference for DetachPrincipalPolicy Operation [Obsolete("Deprecated in favor of DetachPolicy.")] public virtual DetachPrincipalPolicyResponse EndDetachPrincipalPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DetachSecurityProfile /// /// Disassociates a Device Defender security profile from a thing group or from this account. /// /// /// /// Requires permission to access the DetachSecurityProfile /// action. /// /// /// Container for the necessary parameters to execute the DetachSecurityProfile service method. /// /// The response from the DetachSecurityProfile service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for DetachSecurityProfile Operation public virtual DetachSecurityProfileResponse DetachSecurityProfile(DetachSecurityProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachSecurityProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DetachSecurityProfile operation. /// /// /// Container for the necessary parameters to execute the DetachSecurityProfile operation on AmazonIoTClient. /// 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 EndDetachSecurityProfile /// operation. /// REST API Reference for DetachSecurityProfile Operation public virtual IAsyncResult BeginDetachSecurityProfile(DetachSecurityProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DetachSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachSecurityProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DetachSecurityProfile operation. /// /// /// The IAsyncResult returned by the call to BeginDetachSecurityProfile. /// /// Returns a DetachSecurityProfileResult from IoT. /// REST API Reference for DetachSecurityProfile Operation public virtual DetachSecurityProfileResponse EndDetachSecurityProfile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DetachThingPrincipal /// /// Detaches the specified principal from the specified thing. A principal can be X.509 /// certificates, IAM users, groups, and roles, Amazon Cognito identities or federated /// identities. /// /// /// /// This call is asynchronous. It might take several seconds for the detachment to propagate. /// /// /// /// Requires permission to access the DetachThingPrincipal /// action. /// /// /// The name of the thing. /// If the principal is a certificate, this value must be ARN of the certificate. If the principal is an Amazon Cognito identity, this value must be the ID of the Amazon Cognito identity. /// /// The response from the DetachThingPrincipal service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DetachThingPrincipal Operation public virtual DetachThingPrincipalResponse DetachThingPrincipal(string thingName, string principal) { var request = new DetachThingPrincipalRequest(); request.ThingName = thingName; request.Principal = principal; return DetachThingPrincipal(request); } /// /// Detaches the specified principal from the specified thing. A principal can be X.509 /// certificates, IAM users, groups, and roles, Amazon Cognito identities or federated /// identities. /// /// /// /// This call is asynchronous. It might take several seconds for the detachment to propagate. /// /// /// /// Requires permission to access the DetachThingPrincipal /// action. /// /// /// Container for the necessary parameters to execute the DetachThingPrincipal service method. /// /// The response from the DetachThingPrincipal service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DetachThingPrincipal Operation public virtual DetachThingPrincipalResponse DetachThingPrincipal(DetachThingPrincipalRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DetachThingPrincipalRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachThingPrincipalResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DetachThingPrincipal operation. /// /// /// Container for the necessary parameters to execute the DetachThingPrincipal operation on AmazonIoTClient. /// 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 EndDetachThingPrincipal /// operation. /// REST API Reference for DetachThingPrincipal Operation public virtual IAsyncResult BeginDetachThingPrincipal(DetachThingPrincipalRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DetachThingPrincipalRequestMarshaller.Instance; options.ResponseUnmarshaller = DetachThingPrincipalResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DetachThingPrincipal operation. /// /// /// The IAsyncResult returned by the call to BeginDetachThingPrincipal. /// /// Returns a DetachThingPrincipalResult from IoT. /// REST API Reference for DetachThingPrincipal Operation public virtual DetachThingPrincipalResponse EndDetachThingPrincipal(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisableTopicRule /// /// Disables the rule. /// /// /// /// Requires permission to access the DisableTopicRule /// action. /// /// /// Container for the necessary parameters to execute the DisableTopicRule service method. /// /// The response from the DisableTopicRule service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for DisableTopicRule Operation public virtual DisableTopicRuleResponse DisableTopicRule(DisableTopicRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableTopicRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisableTopicRule operation. /// /// /// Container for the necessary parameters to execute the DisableTopicRule operation on AmazonIoTClient. /// 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 EndDisableTopicRule /// operation. /// REST API Reference for DisableTopicRule Operation public virtual IAsyncResult BeginDisableTopicRule(DisableTopicRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisableTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableTopicRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisableTopicRule operation. /// /// /// The IAsyncResult returned by the call to BeginDisableTopicRule. /// /// Returns a DisableTopicRuleResult from IoT. /// REST API Reference for DisableTopicRule Operation public virtual DisableTopicRuleResponse EndDisableTopicRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region EnableTopicRule /// /// Enables the rule. /// /// /// /// Requires permission to access the EnableTopicRule /// action. /// /// /// Container for the necessary parameters to execute the EnableTopicRule service method. /// /// The response from the EnableTopicRule service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for EnableTopicRule Operation public virtual EnableTopicRuleResponse EnableTopicRule(EnableTopicRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableTopicRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the EnableTopicRule operation. /// /// /// Container for the necessary parameters to execute the EnableTopicRule operation on AmazonIoTClient. /// 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 EndEnableTopicRule /// operation. /// REST API Reference for EnableTopicRule Operation public virtual IAsyncResult BeginEnableTopicRule(EnableTopicRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = EnableTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableTopicRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the EnableTopicRule operation. /// /// /// The IAsyncResult returned by the call to BeginEnableTopicRule. /// /// Returns a EnableTopicRuleResult from IoT. /// REST API Reference for EnableTopicRule Operation public virtual EnableTopicRuleResponse EndEnableTopicRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetBehaviorModelTrainingSummaries /// /// Returns a Device Defender's ML Detect Security Profile training model's status. /// /// /// /// Requires permission to access the GetBehaviorModelTrainingSummaries /// action. /// /// /// Container for the necessary parameters to execute the GetBehaviorModelTrainingSummaries service method. /// /// The response from the GetBehaviorModelTrainingSummaries service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for GetBehaviorModelTrainingSummaries Operation public virtual GetBehaviorModelTrainingSummariesResponse GetBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBehaviorModelTrainingSummariesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBehaviorModelTrainingSummariesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetBehaviorModelTrainingSummaries operation. /// /// /// Container for the necessary parameters to execute the GetBehaviorModelTrainingSummaries operation on AmazonIoTClient. /// 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 EndGetBehaviorModelTrainingSummaries /// operation. /// REST API Reference for GetBehaviorModelTrainingSummaries Operation public virtual IAsyncResult BeginGetBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBehaviorModelTrainingSummariesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBehaviorModelTrainingSummariesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetBehaviorModelTrainingSummaries operation. /// /// /// The IAsyncResult returned by the call to BeginGetBehaviorModelTrainingSummaries. /// /// Returns a GetBehaviorModelTrainingSummariesResult from IoT. /// REST API Reference for GetBehaviorModelTrainingSummaries Operation public virtual GetBehaviorModelTrainingSummariesResponse EndGetBehaviorModelTrainingSummaries(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetBucketsAggregation /// /// Aggregates on indexed data with search queries pertaining to particular fields. /// /// /// /// Requires permission to access the GetBucketsAggregation /// action. /// /// /// Container for the necessary parameters to execute the GetBucketsAggregation service method. /// /// The response from the GetBucketsAggregation service method, as returned by IoT. /// /// The index is not ready. /// /// /// An unexpected error has occurred. /// /// /// The aggregation is invalid. /// /// /// The query is invalid. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetBucketsAggregation Operation public virtual GetBucketsAggregationResponse GetBucketsAggregation(GetBucketsAggregationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBucketsAggregationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBucketsAggregationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetBucketsAggregation operation. /// /// /// Container for the necessary parameters to execute the GetBucketsAggregation operation on AmazonIoTClient. /// 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 EndGetBucketsAggregation /// operation. /// REST API Reference for GetBucketsAggregation Operation public virtual IAsyncResult BeginGetBucketsAggregation(GetBucketsAggregationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBucketsAggregationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBucketsAggregationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetBucketsAggregation operation. /// /// /// The IAsyncResult returned by the call to BeginGetBucketsAggregation. /// /// Returns a GetBucketsAggregationResult from IoT. /// REST API Reference for GetBucketsAggregation Operation public virtual GetBucketsAggregationResponse EndGetBucketsAggregation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCardinality /// /// Returns the approximate count of unique values that match the query. /// /// /// /// Requires permission to access the GetCardinality /// action. /// /// /// Container for the necessary parameters to execute the GetCardinality service method. /// /// The response from the GetCardinality service method, as returned by IoT. /// /// The index is not ready. /// /// /// An unexpected error has occurred. /// /// /// The aggregation is invalid. /// /// /// The query is invalid. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetCardinality Operation public virtual GetCardinalityResponse GetCardinality(GetCardinalityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCardinalityRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCardinalityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCardinality operation. /// /// /// Container for the necessary parameters to execute the GetCardinality operation on AmazonIoTClient. /// 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 EndGetCardinality /// operation. /// REST API Reference for GetCardinality Operation public virtual IAsyncResult BeginGetCardinality(GetCardinalityRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCardinalityRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCardinalityResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCardinality operation. /// /// /// The IAsyncResult returned by the call to BeginGetCardinality. /// /// Returns a GetCardinalityResult from IoT. /// REST API Reference for GetCardinality Operation public virtual GetCardinalityResponse EndGetCardinality(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetEffectivePolicies /// /// Gets a list of the policies that have an effect on the authorization behavior of the /// specified device when it connects to the IoT device gateway. /// /// /// /// Requires permission to access the GetEffectivePolicies /// action. /// /// /// Container for the necessary parameters to execute the GetEffectivePolicies service method. /// /// The response from the GetEffectivePolicies service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetEffectivePolicies Operation public virtual GetEffectivePoliciesResponse GetEffectivePolicies(GetEffectivePoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEffectivePoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEffectivePoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetEffectivePolicies operation. /// /// /// Container for the necessary parameters to execute the GetEffectivePolicies operation on AmazonIoTClient. /// 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 EndGetEffectivePolicies /// operation. /// REST API Reference for GetEffectivePolicies Operation public virtual IAsyncResult BeginGetEffectivePolicies(GetEffectivePoliciesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetEffectivePoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEffectivePoliciesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetEffectivePolicies operation. /// /// /// The IAsyncResult returned by the call to BeginGetEffectivePolicies. /// /// Returns a GetEffectivePoliciesResult from IoT. /// REST API Reference for GetEffectivePolicies Operation public virtual GetEffectivePoliciesResponse EndGetEffectivePolicies(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetIndexingConfiguration /// /// Gets the indexing configuration. /// /// /// /// Requires permission to access the GetIndexingConfiguration /// action. /// /// /// Container for the necessary parameters to execute the GetIndexingConfiguration service method. /// /// The response from the GetIndexingConfiguration service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetIndexingConfiguration Operation public virtual GetIndexingConfigurationResponse GetIndexingConfiguration(GetIndexingConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetIndexingConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIndexingConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetIndexingConfiguration operation. /// /// /// Container for the necessary parameters to execute the GetIndexingConfiguration operation on AmazonIoTClient. /// 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 EndGetIndexingConfiguration /// operation. /// REST API Reference for GetIndexingConfiguration Operation public virtual IAsyncResult BeginGetIndexingConfiguration(GetIndexingConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetIndexingConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetIndexingConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetIndexingConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginGetIndexingConfiguration. /// /// Returns a GetIndexingConfigurationResult from IoT. /// REST API Reference for GetIndexingConfiguration Operation public virtual GetIndexingConfigurationResponse EndGetIndexingConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetJobDocument /// /// Gets a job document. /// /// /// /// Requires permission to access the GetJobDocument /// action. /// /// /// Container for the necessary parameters to execute the GetJobDocument service method. /// /// The response from the GetJobDocument service method, as returned by IoT. /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for GetJobDocument Operation public virtual GetJobDocumentResponse GetJobDocument(GetJobDocumentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetJobDocumentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetJobDocumentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetJobDocument operation. /// /// /// Container for the necessary parameters to execute the GetJobDocument operation on AmazonIoTClient. /// 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 EndGetJobDocument /// operation. /// REST API Reference for GetJobDocument Operation public virtual IAsyncResult BeginGetJobDocument(GetJobDocumentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetJobDocumentRequestMarshaller.Instance; options.ResponseUnmarshaller = GetJobDocumentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetJobDocument operation. /// /// /// The IAsyncResult returned by the call to BeginGetJobDocument. /// /// Returns a GetJobDocumentResult from IoT. /// REST API Reference for GetJobDocument Operation public virtual GetJobDocumentResponse EndGetJobDocument(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetLoggingOptions /// /// Gets the logging options. /// /// /// /// NOTE: use of this command is not recommended. Use GetV2LoggingOptions /// instead. /// /// /// /// Requires permission to access the GetLoggingOptions /// action. /// /// /// Container for the necessary parameters to execute the GetLoggingOptions service method. /// /// The response from the GetLoggingOptions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for GetLoggingOptions Operation public virtual GetLoggingOptionsResponse GetLoggingOptions(GetLoggingOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLoggingOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetLoggingOptions operation. /// /// /// Container for the necessary parameters to execute the GetLoggingOptions operation on AmazonIoTClient. /// 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 EndGetLoggingOptions /// operation. /// REST API Reference for GetLoggingOptions Operation public virtual IAsyncResult BeginGetLoggingOptions(GetLoggingOptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetLoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLoggingOptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetLoggingOptions operation. /// /// /// The IAsyncResult returned by the call to BeginGetLoggingOptions. /// /// Returns a GetLoggingOptionsResult from IoT. /// REST API Reference for GetLoggingOptions Operation public virtual GetLoggingOptionsResponse EndGetLoggingOptions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetOTAUpdate /// /// Gets an OTA update. /// /// /// /// Requires permission to access the GetOTAUpdate /// action. /// /// /// Container for the necessary parameters to execute the GetOTAUpdate service method. /// /// The response from the GetOTAUpdate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetOTAUpdate Operation public virtual GetOTAUpdateResponse GetOTAUpdate(GetOTAUpdateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetOTAUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOTAUpdateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetOTAUpdate operation. /// /// /// Container for the necessary parameters to execute the GetOTAUpdate operation on AmazonIoTClient. /// 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 EndGetOTAUpdate /// operation. /// REST API Reference for GetOTAUpdate Operation public virtual IAsyncResult BeginGetOTAUpdate(GetOTAUpdateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetOTAUpdateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOTAUpdateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetOTAUpdate operation. /// /// /// The IAsyncResult returned by the call to BeginGetOTAUpdate. /// /// Returns a GetOTAUpdateResult from IoT. /// REST API Reference for GetOTAUpdate Operation public virtual GetOTAUpdateResponse EndGetOTAUpdate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPackage /// /// Gets information about the specified software package. /// /// /// /// Requires permission to access the GetPackage /// action. /// /// /// Container for the necessary parameters to execute the GetPackage service method. /// /// The response from the GetPackage service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// The request is not valid. /// /// REST API Reference for GetPackage Operation public virtual GetPackageResponse GetPackage(GetPackageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPackageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPackageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPackage operation. /// /// /// Container for the necessary parameters to execute the GetPackage operation on AmazonIoTClient. /// 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 EndGetPackage /// operation. /// REST API Reference for GetPackage Operation public virtual IAsyncResult BeginGetPackage(GetPackageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPackageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPackageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPackage operation. /// /// /// The IAsyncResult returned by the call to BeginGetPackage. /// /// Returns a GetPackageResult from IoT. /// REST API Reference for GetPackage Operation public virtual GetPackageResponse EndGetPackage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPackageConfiguration /// /// Gets information about the specified software package's configuration. /// /// /// /// Requires permission to access the GetPackageConfiguration /// action. /// /// /// Container for the necessary parameters to execute the GetPackageConfiguration service method. /// /// The response from the GetPackageConfiguration service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for GetPackageConfiguration Operation public virtual GetPackageConfigurationResponse GetPackageConfiguration(GetPackageConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPackageConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPackageConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPackageConfiguration operation. /// /// /// Container for the necessary parameters to execute the GetPackageConfiguration operation on AmazonIoTClient. /// 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 EndGetPackageConfiguration /// operation. /// REST API Reference for GetPackageConfiguration Operation public virtual IAsyncResult BeginGetPackageConfiguration(GetPackageConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPackageConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPackageConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPackageConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginGetPackageConfiguration. /// /// Returns a GetPackageConfigurationResult from IoT. /// REST API Reference for GetPackageConfiguration Operation public virtual GetPackageConfigurationResponse EndGetPackageConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPackageVersion /// /// Gets information about the specified package version. /// /// /// /// Requires permission to access the GetPackageVersion /// action. /// /// /// Container for the necessary parameters to execute the GetPackageVersion service method. /// /// The response from the GetPackageVersion service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// The request is not valid. /// /// REST API Reference for GetPackageVersion Operation public virtual GetPackageVersionResponse GetPackageVersion(GetPackageVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPackageVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPackageVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPackageVersion operation. /// /// /// Container for the necessary parameters to execute the GetPackageVersion operation on AmazonIoTClient. /// 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 EndGetPackageVersion /// operation. /// REST API Reference for GetPackageVersion Operation public virtual IAsyncResult BeginGetPackageVersion(GetPackageVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPackageVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPackageVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPackageVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetPackageVersion. /// /// Returns a GetPackageVersionResult from IoT. /// REST API Reference for GetPackageVersion Operation public virtual GetPackageVersionResponse EndGetPackageVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPercentiles /// /// Groups the aggregated values that match the query into percentile groupings. The default /// percentile groupings are: 1,5,25,50,75,95,99, although you can specify your own when /// you call GetPercentiles. This function returns a value for each percentile /// group specified (or the default percentile groupings). The percentile group "1" contains /// the aggregated field value that occurs in approximately one percent of the values /// that match the query. The percentile group "5" contains the aggregated field value /// that occurs in approximately five percent of the values that match the query, and /// so on. The result is an approximation, the more values that match the query, the more /// accurate the percentile values. /// /// /// /// Requires permission to access the GetPercentiles /// action. /// /// /// Container for the necessary parameters to execute the GetPercentiles service method. /// /// The response from the GetPercentiles service method, as returned by IoT. /// /// The index is not ready. /// /// /// An unexpected error has occurred. /// /// /// The aggregation is invalid. /// /// /// The query is invalid. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetPercentiles Operation public virtual GetPercentilesResponse GetPercentiles(GetPercentilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPercentilesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPercentilesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPercentiles operation. /// /// /// Container for the necessary parameters to execute the GetPercentiles operation on AmazonIoTClient. /// 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 EndGetPercentiles /// operation. /// REST API Reference for GetPercentiles Operation public virtual IAsyncResult BeginGetPercentiles(GetPercentilesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPercentilesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPercentilesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPercentiles operation. /// /// /// The IAsyncResult returned by the call to BeginGetPercentiles. /// /// Returns a GetPercentilesResult from IoT. /// REST API Reference for GetPercentiles Operation public virtual GetPercentilesResponse EndGetPercentiles(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPolicy /// /// Gets information about the specified policy with the policy document of the default /// version. /// /// /// /// Requires permission to access the GetPolicy /// action. /// /// /// The name of the policy. /// /// The response from the GetPolicy service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetPolicy Operation public virtual GetPolicyResponse GetPolicy(string policyName) { var request = new GetPolicyRequest(); request.PolicyName = policyName; return GetPolicy(request); } /// /// Gets information about the specified policy with the policy document of the default /// version. /// /// /// /// Requires permission to access the GetPolicy /// action. /// /// /// Container for the necessary parameters to execute the GetPolicy service method. /// /// The response from the GetPolicy service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetPolicy Operation public virtual GetPolicyResponse GetPolicy(GetPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPolicy operation. /// /// /// Container for the necessary parameters to execute the GetPolicy operation on AmazonIoTClient. /// 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 EndGetPolicy /// operation. /// REST API Reference for GetPolicy Operation public virtual IAsyncResult BeginGetPolicy(GetPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginGetPolicy. /// /// Returns a GetPolicyResult from IoT. /// REST API Reference for GetPolicy Operation public virtual GetPolicyResponse EndGetPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPolicyVersion /// /// Gets information about the specified policy version. /// /// /// /// Requires permission to access the GetPolicyVersion /// action. /// /// /// The name of the policy. /// The policy version ID. /// /// The response from the GetPolicyVersion service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetPolicyVersion Operation public virtual GetPolicyVersionResponse GetPolicyVersion(string policyName, string policyVersionId) { var request = new GetPolicyVersionRequest(); request.PolicyName = policyName; request.PolicyVersionId = policyVersionId; return GetPolicyVersion(request); } /// /// Gets information about the specified policy version. /// /// /// /// Requires permission to access the GetPolicyVersion /// action. /// /// /// Container for the necessary parameters to execute the GetPolicyVersion service method. /// /// The response from the GetPolicyVersion service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetPolicyVersion Operation public virtual GetPolicyVersionResponse GetPolicyVersion(GetPolicyVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPolicyVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPolicyVersion operation. /// /// /// Container for the necessary parameters to execute the GetPolicyVersion operation on AmazonIoTClient. /// 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 EndGetPolicyVersion /// operation. /// REST API Reference for GetPolicyVersion Operation public virtual IAsyncResult BeginGetPolicyVersion(GetPolicyVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPolicyVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPolicyVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetPolicyVersion. /// /// Returns a GetPolicyVersionResult from IoT. /// REST API Reference for GetPolicyVersion Operation public virtual GetPolicyVersionResponse EndGetPolicyVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetRegistrationCode /// /// Gets a registration code used to register a CA certificate with IoT. /// /// /// /// Requires permission to access the GetRegistrationCode /// action. /// /// /// Container for the necessary parameters to execute the GetRegistrationCode service method. /// /// The response from the GetRegistrationCode service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetRegistrationCode Operation public virtual GetRegistrationCodeResponse GetRegistrationCode(GetRegistrationCodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRegistrationCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRegistrationCodeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetRegistrationCode operation. /// /// /// Container for the necessary parameters to execute the GetRegistrationCode operation on AmazonIoTClient. /// 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 EndGetRegistrationCode /// operation. /// REST API Reference for GetRegistrationCode Operation public virtual IAsyncResult BeginGetRegistrationCode(GetRegistrationCodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetRegistrationCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRegistrationCodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetRegistrationCode operation. /// /// /// The IAsyncResult returned by the call to BeginGetRegistrationCode. /// /// Returns a GetRegistrationCodeResult from IoT. /// REST API Reference for GetRegistrationCode Operation public virtual GetRegistrationCodeResponse EndGetRegistrationCode(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetStatistics /// /// Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard /// deviation for the specified aggregated field. If the aggregation field is of type /// String, only the count statistic is returned. /// /// /// /// Requires permission to access the GetStatistics /// action. /// /// /// Container for the necessary parameters to execute the GetStatistics service method. /// /// The response from the GetStatistics service method, as returned by IoT. /// /// The index is not ready. /// /// /// An unexpected error has occurred. /// /// /// The aggregation is invalid. /// /// /// The query is invalid. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetStatistics Operation public virtual GetStatisticsResponse GetStatistics(GetStatisticsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStatisticsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetStatistics operation. /// /// /// Container for the necessary parameters to execute the GetStatistics operation on AmazonIoTClient. /// 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 EndGetStatistics /// operation. /// REST API Reference for GetStatistics Operation public virtual IAsyncResult BeginGetStatistics(GetStatisticsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetStatisticsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStatisticsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetStatistics operation. /// /// /// The IAsyncResult returned by the call to BeginGetStatistics. /// /// Returns a GetStatisticsResult from IoT. /// REST API Reference for GetStatistics Operation public virtual GetStatisticsResponse EndGetStatistics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetTopicRule /// /// Gets information about the rule. /// /// /// /// Requires permission to access the GetTopicRule /// action. /// /// /// The name of the rule. /// /// The response from the GetTopicRule service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetTopicRule Operation public virtual GetTopicRuleResponse GetTopicRule(string ruleName) { var request = new GetTopicRuleRequest(); request.RuleName = ruleName; return GetTopicRule(request); } /// /// Gets information about the rule. /// /// /// /// Requires permission to access the GetTopicRule /// action. /// /// /// Container for the necessary parameters to execute the GetTopicRule service method. /// /// The response from the GetTopicRule service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetTopicRule Operation public virtual GetTopicRuleResponse GetTopicRule(GetTopicRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTopicRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetTopicRule operation. /// /// /// Container for the necessary parameters to execute the GetTopicRule operation on AmazonIoTClient. /// 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 EndGetTopicRule /// operation. /// REST API Reference for GetTopicRule Operation public virtual IAsyncResult BeginGetTopicRule(GetTopicRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTopicRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetTopicRule operation. /// /// /// The IAsyncResult returned by the call to BeginGetTopicRule. /// /// Returns a GetTopicRuleResult from IoT. /// REST API Reference for GetTopicRule Operation public virtual GetTopicRuleResponse EndGetTopicRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetTopicRuleDestination /// /// Gets information about a topic rule destination. /// /// /// /// Requires permission to access the GetTopicRuleDestination /// action. /// /// /// Container for the necessary parameters to execute the GetTopicRuleDestination service method. /// /// The response from the GetTopicRuleDestination service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for GetTopicRuleDestination Operation public virtual GetTopicRuleDestinationResponse GetTopicRuleDestination(GetTopicRuleDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTopicRuleDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTopicRuleDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetTopicRuleDestination operation. /// /// /// Container for the necessary parameters to execute the GetTopicRuleDestination operation on AmazonIoTClient. /// 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 EndGetTopicRuleDestination /// operation. /// REST API Reference for GetTopicRuleDestination Operation public virtual IAsyncResult BeginGetTopicRuleDestination(GetTopicRuleDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetTopicRuleDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTopicRuleDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetTopicRuleDestination operation. /// /// /// The IAsyncResult returned by the call to BeginGetTopicRuleDestination. /// /// Returns a GetTopicRuleDestinationResult from IoT. /// REST API Reference for GetTopicRuleDestination Operation public virtual GetTopicRuleDestinationResponse EndGetTopicRuleDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetV2LoggingOptions /// /// Gets the fine grained logging options. /// /// /// /// Requires permission to access the GetV2LoggingOptions /// action. /// /// /// Container for the necessary parameters to execute the GetV2LoggingOptions service method. /// /// The response from the GetV2LoggingOptions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The resource is not configured. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for GetV2LoggingOptions Operation public virtual GetV2LoggingOptionsResponse GetV2LoggingOptions(GetV2LoggingOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetV2LoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetV2LoggingOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetV2LoggingOptions operation. /// /// /// Container for the necessary parameters to execute the GetV2LoggingOptions operation on AmazonIoTClient. /// 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 EndGetV2LoggingOptions /// operation. /// REST API Reference for GetV2LoggingOptions Operation public virtual IAsyncResult BeginGetV2LoggingOptions(GetV2LoggingOptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetV2LoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetV2LoggingOptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetV2LoggingOptions operation. /// /// /// The IAsyncResult returned by the call to BeginGetV2LoggingOptions. /// /// Returns a GetV2LoggingOptionsResult from IoT. /// REST API Reference for GetV2LoggingOptions Operation public virtual GetV2LoggingOptionsResponse EndGetV2LoggingOptions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListActiveViolations /// /// Lists the active violations for a given Device Defender security profile. /// /// /// /// Requires permission to access the ListActiveViolations /// action. /// /// /// Container for the necessary parameters to execute the ListActiveViolations service method. /// /// The response from the ListActiveViolations service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListActiveViolations Operation public virtual ListActiveViolationsResponse ListActiveViolations(ListActiveViolationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListActiveViolationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListActiveViolationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListActiveViolations operation. /// /// /// Container for the necessary parameters to execute the ListActiveViolations operation on AmazonIoTClient. /// 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 EndListActiveViolations /// operation. /// REST API Reference for ListActiveViolations Operation public virtual IAsyncResult BeginListActiveViolations(ListActiveViolationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListActiveViolationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListActiveViolationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListActiveViolations operation. /// /// /// The IAsyncResult returned by the call to BeginListActiveViolations. /// /// Returns a ListActiveViolationsResult from IoT. /// REST API Reference for ListActiveViolations Operation public virtual ListActiveViolationsResponse EndListActiveViolations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAttachedPolicies /// /// Lists the policies attached to the specified thing group. /// /// /// /// Requires permission to access the ListAttachedPolicies /// action. /// /// /// Container for the necessary parameters to execute the ListAttachedPolicies service method. /// /// The response from the ListAttachedPolicies service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListAttachedPolicies Operation public virtual ListAttachedPoliciesResponse ListAttachedPolicies(ListAttachedPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAttachedPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAttachedPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAttachedPolicies operation. /// /// /// Container for the necessary parameters to execute the ListAttachedPolicies operation on AmazonIoTClient. /// 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 EndListAttachedPolicies /// operation. /// REST API Reference for ListAttachedPolicies Operation public virtual IAsyncResult BeginListAttachedPolicies(ListAttachedPoliciesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAttachedPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAttachedPoliciesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAttachedPolicies operation. /// /// /// The IAsyncResult returned by the call to BeginListAttachedPolicies. /// /// Returns a ListAttachedPoliciesResult from IoT. /// REST API Reference for ListAttachedPolicies Operation public virtual ListAttachedPoliciesResponse EndListAttachedPolicies(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAuditFindings /// /// Lists the findings (results) of a Device Defender audit or of the audits performed /// during a specified time period. (Findings are retained for 90 days.) /// /// /// /// Requires permission to access the ListAuditFindings /// action. /// /// /// Container for the necessary parameters to execute the ListAuditFindings service method. /// /// The response from the ListAuditFindings service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListAuditFindings Operation public virtual ListAuditFindingsResponse ListAuditFindings(ListAuditFindingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuditFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuditFindingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAuditFindings operation. /// /// /// Container for the necessary parameters to execute the ListAuditFindings operation on AmazonIoTClient. /// 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 EndListAuditFindings /// operation. /// REST API Reference for ListAuditFindings Operation public virtual IAsyncResult BeginListAuditFindings(ListAuditFindingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuditFindingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuditFindingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAuditFindings operation. /// /// /// The IAsyncResult returned by the call to BeginListAuditFindings. /// /// Returns a ListAuditFindingsResult from IoT. /// REST API Reference for ListAuditFindings Operation public virtual ListAuditFindingsResponse EndListAuditFindings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAuditMitigationActionsExecutions /// /// Gets the status of audit mitigation action tasks that were executed. /// /// /// /// Requires permission to access the ListAuditMitigationActionsExecutions /// action. /// /// /// Container for the necessary parameters to execute the ListAuditMitigationActionsExecutions service method. /// /// The response from the ListAuditMitigationActionsExecutions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListAuditMitigationActionsExecutions Operation public virtual ListAuditMitigationActionsExecutionsResponse ListAuditMitigationActionsExecutions(ListAuditMitigationActionsExecutionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuditMitigationActionsExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuditMitigationActionsExecutionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAuditMitigationActionsExecutions operation. /// /// /// Container for the necessary parameters to execute the ListAuditMitigationActionsExecutions operation on AmazonIoTClient. /// 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 EndListAuditMitigationActionsExecutions /// operation. /// REST API Reference for ListAuditMitigationActionsExecutions Operation public virtual IAsyncResult BeginListAuditMitigationActionsExecutions(ListAuditMitigationActionsExecutionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuditMitigationActionsExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuditMitigationActionsExecutionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAuditMitigationActionsExecutions operation. /// /// /// The IAsyncResult returned by the call to BeginListAuditMitigationActionsExecutions. /// /// Returns a ListAuditMitigationActionsExecutionsResult from IoT. /// REST API Reference for ListAuditMitigationActionsExecutions Operation public virtual ListAuditMitigationActionsExecutionsResponse EndListAuditMitigationActionsExecutions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAuditMitigationActionsTasks /// /// Gets a list of audit mitigation action tasks that match the specified filters. /// /// /// /// Requires permission to access the ListAuditMitigationActionsTasks /// action. /// /// /// Container for the necessary parameters to execute the ListAuditMitigationActionsTasks service method. /// /// The response from the ListAuditMitigationActionsTasks service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListAuditMitigationActionsTasks Operation public virtual ListAuditMitigationActionsTasksResponse ListAuditMitigationActionsTasks(ListAuditMitigationActionsTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuditMitigationActionsTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuditMitigationActionsTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAuditMitigationActionsTasks operation. /// /// /// Container for the necessary parameters to execute the ListAuditMitigationActionsTasks operation on AmazonIoTClient. /// 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 EndListAuditMitigationActionsTasks /// operation. /// REST API Reference for ListAuditMitigationActionsTasks Operation public virtual IAsyncResult BeginListAuditMitigationActionsTasks(ListAuditMitigationActionsTasksRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuditMitigationActionsTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuditMitigationActionsTasksResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAuditMitigationActionsTasks operation. /// /// /// The IAsyncResult returned by the call to BeginListAuditMitigationActionsTasks. /// /// Returns a ListAuditMitigationActionsTasksResult from IoT. /// REST API Reference for ListAuditMitigationActionsTasks Operation public virtual ListAuditMitigationActionsTasksResponse EndListAuditMitigationActionsTasks(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAuditSuppressions /// /// Lists your Device Defender audit listings. /// /// /// /// Requires permission to access the ListAuditSuppressions /// action. /// /// /// Container for the necessary parameters to execute the ListAuditSuppressions service method. /// /// The response from the ListAuditSuppressions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListAuditSuppressions Operation public virtual ListAuditSuppressionsResponse ListAuditSuppressions(ListAuditSuppressionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuditSuppressionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuditSuppressionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAuditSuppressions operation. /// /// /// Container for the necessary parameters to execute the ListAuditSuppressions operation on AmazonIoTClient. /// 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 EndListAuditSuppressions /// operation. /// REST API Reference for ListAuditSuppressions Operation public virtual IAsyncResult BeginListAuditSuppressions(ListAuditSuppressionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuditSuppressionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuditSuppressionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAuditSuppressions operation. /// /// /// The IAsyncResult returned by the call to BeginListAuditSuppressions. /// /// Returns a ListAuditSuppressionsResult from IoT. /// REST API Reference for ListAuditSuppressions Operation public virtual ListAuditSuppressionsResponse EndListAuditSuppressions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAuditTasks /// /// Lists the Device Defender audits that have been performed during a given time period. /// /// /// /// Requires permission to access the ListAuditTasks /// action. /// /// /// Container for the necessary parameters to execute the ListAuditTasks service method. /// /// The response from the ListAuditTasks service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListAuditTasks Operation public virtual ListAuditTasksResponse ListAuditTasks(ListAuditTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuditTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuditTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAuditTasks operation. /// /// /// Container for the necessary parameters to execute the ListAuditTasks operation on AmazonIoTClient. /// 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 EndListAuditTasks /// operation. /// REST API Reference for ListAuditTasks Operation public virtual IAsyncResult BeginListAuditTasks(ListAuditTasksRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuditTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuditTasksResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAuditTasks operation. /// /// /// The IAsyncResult returned by the call to BeginListAuditTasks. /// /// Returns a ListAuditTasksResult from IoT. /// REST API Reference for ListAuditTasks Operation public virtual ListAuditTasksResponse EndListAuditTasks(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAuthorizers /// /// Lists the authorizers registered in your account. /// /// /// /// Requires permission to access the ListAuthorizers /// action. /// /// /// Container for the necessary parameters to execute the ListAuthorizers service method. /// /// The response from the ListAuthorizers service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListAuthorizers Operation public virtual ListAuthorizersResponse ListAuthorizers(ListAuthorizersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuthorizersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuthorizersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAuthorizers operation. /// /// /// Container for the necessary parameters to execute the ListAuthorizers operation on AmazonIoTClient. /// 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 EndListAuthorizers /// operation. /// REST API Reference for ListAuthorizers Operation public virtual IAsyncResult BeginListAuthorizers(ListAuthorizersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAuthorizersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAuthorizersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAuthorizers operation. /// /// /// The IAsyncResult returned by the call to BeginListAuthorizers. /// /// Returns a ListAuthorizersResult from IoT. /// REST API Reference for ListAuthorizers Operation public virtual ListAuthorizersResponse EndListAuthorizers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListBillingGroups /// /// Lists the billing groups you have created. /// /// /// /// Requires permission to access the ListBillingGroups /// action. /// /// /// Container for the necessary parameters to execute the ListBillingGroups service method. /// /// The response from the ListBillingGroups service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListBillingGroups Operation public virtual ListBillingGroupsResponse ListBillingGroups(ListBillingGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBillingGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBillingGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListBillingGroups operation. /// /// /// Container for the necessary parameters to execute the ListBillingGroups operation on AmazonIoTClient. /// 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 EndListBillingGroups /// operation. /// REST API Reference for ListBillingGroups Operation public virtual IAsyncResult BeginListBillingGroups(ListBillingGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBillingGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBillingGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBillingGroups operation. /// /// /// The IAsyncResult returned by the call to BeginListBillingGroups. /// /// Returns a ListBillingGroupsResult from IoT. /// REST API Reference for ListBillingGroups Operation public virtual ListBillingGroupsResponse EndListBillingGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCACertificates /// /// Lists the CA certificates registered for your Amazon Web Services account. /// /// /// /// The results are paginated with a default page size of 25. You can use the returned /// marker to retrieve additional results. /// /// /// /// Requires permission to access the ListCACertificates /// action. /// /// /// Container for the necessary parameters to execute the ListCACertificates service method. /// /// The response from the ListCACertificates service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListCACertificates Operation public virtual ListCACertificatesResponse ListCACertificates(ListCACertificatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCACertificatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCACertificatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCACertificates operation. /// /// /// Container for the necessary parameters to execute the ListCACertificates operation on AmazonIoTClient. /// 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 EndListCACertificates /// operation. /// REST API Reference for ListCACertificates Operation public virtual IAsyncResult BeginListCACertificates(ListCACertificatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCACertificatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCACertificatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCACertificates operation. /// /// /// The IAsyncResult returned by the call to BeginListCACertificates. /// /// Returns a ListCACertificatesResult from IoT. /// REST API Reference for ListCACertificates Operation public virtual ListCACertificatesResponse EndListCACertificates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCertificates /// /// Lists the certificates registered in your Amazon Web Services account. /// /// /// /// The results are paginated with a default page size of 25. You can use the returned /// marker to retrieve additional results. /// /// /// /// Requires permission to access the ListCertificates /// action. /// /// /// /// The response from the ListCertificates service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListCertificates Operation public virtual ListCertificatesResponse ListCertificates() { var request = new ListCertificatesRequest(); return ListCertificates(request); } /// /// Lists the certificates registered in your Amazon Web Services account. /// /// /// /// The results are paginated with a default page size of 25. You can use the returned /// marker to retrieve additional results. /// /// /// /// Requires permission to access the ListCertificates /// action. /// /// /// Container for the necessary parameters to execute the ListCertificates service method. /// /// The response from the ListCertificates service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListCertificates Operation public virtual ListCertificatesResponse ListCertificates(ListCertificatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCertificatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCertificatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCertificates operation. /// /// /// Container for the necessary parameters to execute the ListCertificates operation on AmazonIoTClient. /// 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 EndListCertificates /// operation. /// REST API Reference for ListCertificates Operation public virtual IAsyncResult BeginListCertificates(ListCertificatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCertificatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCertificatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCertificates operation. /// /// /// The IAsyncResult returned by the call to BeginListCertificates. /// /// Returns a ListCertificatesResult from IoT. /// REST API Reference for ListCertificates Operation public virtual ListCertificatesResponse EndListCertificates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCertificatesByCA /// /// List the device certificates signed by the specified CA certificate. /// /// /// /// Requires permission to access the ListCertificatesByCA /// action. /// /// /// Container for the necessary parameters to execute the ListCertificatesByCA service method. /// /// The response from the ListCertificatesByCA service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListCertificatesByCA Operation public virtual ListCertificatesByCAResponse ListCertificatesByCA(ListCertificatesByCARequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCertificatesByCARequestMarshaller.Instance; options.ResponseUnmarshaller = ListCertificatesByCAResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCertificatesByCA operation. /// /// /// Container for the necessary parameters to execute the ListCertificatesByCA operation on AmazonIoTClient. /// 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 EndListCertificatesByCA /// operation. /// REST API Reference for ListCertificatesByCA Operation public virtual IAsyncResult BeginListCertificatesByCA(ListCertificatesByCARequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCertificatesByCARequestMarshaller.Instance; options.ResponseUnmarshaller = ListCertificatesByCAResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCertificatesByCA operation. /// /// /// The IAsyncResult returned by the call to BeginListCertificatesByCA. /// /// Returns a ListCertificatesByCAResult from IoT. /// REST API Reference for ListCertificatesByCA Operation public virtual ListCertificatesByCAResponse EndListCertificatesByCA(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCustomMetrics /// /// Lists your Device Defender detect custom metrics. /// /// /// /// Requires permission to access the ListCustomMetrics /// action. /// /// /// Container for the necessary parameters to execute the ListCustomMetrics service method. /// /// The response from the ListCustomMetrics service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListCustomMetrics Operation public virtual ListCustomMetricsResponse ListCustomMetrics(ListCustomMetricsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomMetricsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCustomMetrics operation. /// /// /// Container for the necessary parameters to execute the ListCustomMetrics operation on AmazonIoTClient. /// 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 EndListCustomMetrics /// operation. /// REST API Reference for ListCustomMetrics Operation public virtual IAsyncResult BeginListCustomMetrics(ListCustomMetricsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCustomMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCustomMetricsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCustomMetrics operation. /// /// /// The IAsyncResult returned by the call to BeginListCustomMetrics. /// /// Returns a ListCustomMetricsResult from IoT. /// REST API Reference for ListCustomMetrics Operation public virtual ListCustomMetricsResponse EndListCustomMetrics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDetectMitigationActionsExecutions /// /// Lists mitigation actions executions for a Device Defender ML Detect Security Profile. /// /// /// /// /// Requires permission to access the ListDetectMitigationActionsExecutions /// action. /// /// /// Container for the necessary parameters to execute the ListDetectMitigationActionsExecutions service method. /// /// The response from the ListDetectMitigationActionsExecutions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListDetectMitigationActionsExecutions Operation public virtual ListDetectMitigationActionsExecutionsResponse ListDetectMitigationActionsExecutions(ListDetectMitigationActionsExecutionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDetectMitigationActionsExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDetectMitigationActionsExecutionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDetectMitigationActionsExecutions operation. /// /// /// Container for the necessary parameters to execute the ListDetectMitigationActionsExecutions operation on AmazonIoTClient. /// 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 EndListDetectMitigationActionsExecutions /// operation. /// REST API Reference for ListDetectMitigationActionsExecutions Operation public virtual IAsyncResult BeginListDetectMitigationActionsExecutions(ListDetectMitigationActionsExecutionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDetectMitigationActionsExecutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDetectMitigationActionsExecutionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDetectMitigationActionsExecutions operation. /// /// /// The IAsyncResult returned by the call to BeginListDetectMitigationActionsExecutions. /// /// Returns a ListDetectMitigationActionsExecutionsResult from IoT. /// REST API Reference for ListDetectMitigationActionsExecutions Operation public virtual ListDetectMitigationActionsExecutionsResponse EndListDetectMitigationActionsExecutions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDetectMitigationActionsTasks /// /// List of Device Defender ML Detect mitigation actions tasks. /// /// /// /// Requires permission to access the ListDetectMitigationActionsTasks /// action. /// /// /// Container for the necessary parameters to execute the ListDetectMitigationActionsTasks service method. /// /// The response from the ListDetectMitigationActionsTasks service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListDetectMitigationActionsTasks Operation public virtual ListDetectMitigationActionsTasksResponse ListDetectMitigationActionsTasks(ListDetectMitigationActionsTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDetectMitigationActionsTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDetectMitigationActionsTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDetectMitigationActionsTasks operation. /// /// /// Container for the necessary parameters to execute the ListDetectMitigationActionsTasks operation on AmazonIoTClient. /// 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 EndListDetectMitigationActionsTasks /// operation. /// REST API Reference for ListDetectMitigationActionsTasks Operation public virtual IAsyncResult BeginListDetectMitigationActionsTasks(ListDetectMitigationActionsTasksRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDetectMitigationActionsTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDetectMitigationActionsTasksResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDetectMitigationActionsTasks operation. /// /// /// The IAsyncResult returned by the call to BeginListDetectMitigationActionsTasks. /// /// Returns a ListDetectMitigationActionsTasksResult from IoT. /// REST API Reference for ListDetectMitigationActionsTasks Operation public virtual ListDetectMitigationActionsTasksResponse EndListDetectMitigationActionsTasks(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDimensions /// /// List the set of dimensions that are defined for your Amazon Web Services accounts. /// /// /// /// Requires permission to access the ListDimensions /// action. /// /// /// Container for the necessary parameters to execute the ListDimensions service method. /// /// The response from the ListDimensions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListDimensions Operation public virtual ListDimensionsResponse ListDimensions(ListDimensionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDimensionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDimensionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDimensions operation. /// /// /// Container for the necessary parameters to execute the ListDimensions operation on AmazonIoTClient. /// 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 EndListDimensions /// operation. /// REST API Reference for ListDimensions Operation public virtual IAsyncResult BeginListDimensions(ListDimensionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDimensionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDimensionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDimensions operation. /// /// /// The IAsyncResult returned by the call to BeginListDimensions. /// /// Returns a ListDimensionsResult from IoT. /// REST API Reference for ListDimensions Operation public virtual ListDimensionsResponse EndListDimensions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDomainConfigurations /// /// Gets a list of domain configurations for the user. This list is sorted alphabetically /// by domain configuration name. /// /// /// /// Requires permission to access the ListDomainConfigurations /// action. /// /// /// Container for the necessary parameters to execute the ListDomainConfigurations service method. /// /// The response from the ListDomainConfigurations service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListDomainConfigurations Operation public virtual ListDomainConfigurationsResponse ListDomainConfigurations(ListDomainConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainConfigurationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDomainConfigurations operation. /// /// /// Container for the necessary parameters to execute the ListDomainConfigurations operation on AmazonIoTClient. /// 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 EndListDomainConfigurations /// operation. /// REST API Reference for ListDomainConfigurations Operation public virtual IAsyncResult BeginListDomainConfigurations(ListDomainConfigurationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainConfigurationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDomainConfigurations operation. /// /// /// The IAsyncResult returned by the call to BeginListDomainConfigurations. /// /// Returns a ListDomainConfigurationsResult from IoT. /// REST API Reference for ListDomainConfigurations Operation public virtual ListDomainConfigurationsResponse EndListDomainConfigurations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListFleetMetrics /// /// Lists all your fleet metrics. /// /// /// /// Requires permission to access the ListFleetMetrics /// action. /// /// /// Container for the necessary parameters to execute the ListFleetMetrics service method. /// /// The response from the ListFleetMetrics service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListFleetMetrics Operation public virtual ListFleetMetricsResponse ListFleetMetrics(ListFleetMetricsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFleetMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFleetMetricsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListFleetMetrics operation. /// /// /// Container for the necessary parameters to execute the ListFleetMetrics operation on AmazonIoTClient. /// 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 EndListFleetMetrics /// operation. /// REST API Reference for ListFleetMetrics Operation public virtual IAsyncResult BeginListFleetMetrics(ListFleetMetricsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFleetMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFleetMetricsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListFleetMetrics operation. /// /// /// The IAsyncResult returned by the call to BeginListFleetMetrics. /// /// Returns a ListFleetMetricsResult from IoT. /// REST API Reference for ListFleetMetrics Operation public virtual ListFleetMetricsResponse EndListFleetMetrics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListIndices /// /// Lists the search indices. /// /// /// /// Requires permission to access the ListIndices /// action. /// /// /// Container for the necessary parameters to execute the ListIndices service method. /// /// The response from the ListIndices service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListIndices Operation public virtual ListIndicesResponse ListIndices(ListIndicesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListIndicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIndicesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListIndices operation. /// /// /// Container for the necessary parameters to execute the ListIndices operation on AmazonIoTClient. /// 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 EndListIndices /// operation. /// REST API Reference for ListIndices Operation public virtual IAsyncResult BeginListIndices(ListIndicesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListIndicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIndicesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListIndices operation. /// /// /// The IAsyncResult returned by the call to BeginListIndices. /// /// Returns a ListIndicesResult from IoT. /// REST API Reference for ListIndices Operation public virtual ListIndicesResponse EndListIndices(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListJobExecutionsForJob /// /// Lists the job executions for a job. /// /// /// /// Requires permission to access the ListJobExecutionsForJob /// action. /// /// /// Container for the necessary parameters to execute the ListJobExecutionsForJob service method. /// /// The response from the ListJobExecutionsForJob service method, as returned by IoT. /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListJobExecutionsForJob Operation public virtual ListJobExecutionsForJobResponse ListJobExecutionsForJob(ListJobExecutionsForJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobExecutionsForJobRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobExecutionsForJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListJobExecutionsForJob operation. /// /// /// Container for the necessary parameters to execute the ListJobExecutionsForJob operation on AmazonIoTClient. /// 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 EndListJobExecutionsForJob /// operation. /// REST API Reference for ListJobExecutionsForJob Operation public virtual IAsyncResult BeginListJobExecutionsForJob(ListJobExecutionsForJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobExecutionsForJobRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobExecutionsForJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListJobExecutionsForJob operation. /// /// /// The IAsyncResult returned by the call to BeginListJobExecutionsForJob. /// /// Returns a ListJobExecutionsForJobResult from IoT. /// REST API Reference for ListJobExecutionsForJob Operation public virtual ListJobExecutionsForJobResponse EndListJobExecutionsForJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListJobExecutionsForThing /// /// Lists the job executions for the specified thing. /// /// /// /// Requires permission to access the ListJobExecutionsForThing /// action. /// /// /// Container for the necessary parameters to execute the ListJobExecutionsForThing service method. /// /// The response from the ListJobExecutionsForThing service method, as returned by IoT. /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListJobExecutionsForThing Operation public virtual ListJobExecutionsForThingResponse ListJobExecutionsForThing(ListJobExecutionsForThingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobExecutionsForThingRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobExecutionsForThingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListJobExecutionsForThing operation. /// /// /// Container for the necessary parameters to execute the ListJobExecutionsForThing operation on AmazonIoTClient. /// 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 EndListJobExecutionsForThing /// operation. /// REST API Reference for ListJobExecutionsForThing Operation public virtual IAsyncResult BeginListJobExecutionsForThing(ListJobExecutionsForThingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobExecutionsForThingRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobExecutionsForThingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListJobExecutionsForThing operation. /// /// /// The IAsyncResult returned by the call to BeginListJobExecutionsForThing. /// /// Returns a ListJobExecutionsForThingResult from IoT. /// REST API Reference for ListJobExecutionsForThing Operation public virtual ListJobExecutionsForThingResponse EndListJobExecutionsForThing(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListJobs /// /// Lists jobs. /// /// /// /// Requires permission to access the ListJobs /// action. /// /// /// Container for the necessary parameters to execute the ListJobs service method. /// /// The response from the ListJobs service method, as returned by IoT. /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListJobs Operation public virtual ListJobsResponse ListJobs(ListJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListJobs operation. /// /// /// Container for the necessary parameters to execute the ListJobs operation on AmazonIoTClient. /// 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 EndListJobs /// operation. /// REST API Reference for ListJobs Operation public virtual IAsyncResult BeginListJobs(ListJobsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListJobs operation. /// /// /// The IAsyncResult returned by the call to BeginListJobs. /// /// Returns a ListJobsResult from IoT. /// REST API Reference for ListJobs Operation public virtual ListJobsResponse EndListJobs(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListJobTemplates /// /// Returns a list of job templates. /// /// /// /// Requires permission to access the ListJobTemplates /// action. /// /// /// Container for the necessary parameters to execute the ListJobTemplates service method. /// /// The response from the ListJobTemplates service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListJobTemplates Operation public virtual ListJobTemplatesResponse ListJobTemplates(ListJobTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListJobTemplates operation. /// /// /// Container for the necessary parameters to execute the ListJobTemplates operation on AmazonIoTClient. /// 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 EndListJobTemplates /// operation. /// REST API Reference for ListJobTemplates Operation public virtual IAsyncResult BeginListJobTemplates(ListJobTemplatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobTemplatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListJobTemplates operation. /// /// /// The IAsyncResult returned by the call to BeginListJobTemplates. /// /// Returns a ListJobTemplatesResult from IoT. /// REST API Reference for ListJobTemplates Operation public virtual ListJobTemplatesResponse EndListJobTemplates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListManagedJobTemplates /// /// Returns a list of managed job templates. /// /// Container for the necessary parameters to execute the ListManagedJobTemplates service method. /// /// The response from the ListManagedJobTemplates service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListManagedJobTemplates Operation public virtual ListManagedJobTemplatesResponse ListManagedJobTemplates(ListManagedJobTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListManagedJobTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListManagedJobTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListManagedJobTemplates operation. /// /// /// Container for the necessary parameters to execute the ListManagedJobTemplates operation on AmazonIoTClient. /// 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 EndListManagedJobTemplates /// operation. /// REST API Reference for ListManagedJobTemplates Operation public virtual IAsyncResult BeginListManagedJobTemplates(ListManagedJobTemplatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListManagedJobTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListManagedJobTemplatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListManagedJobTemplates operation. /// /// /// The IAsyncResult returned by the call to BeginListManagedJobTemplates. /// /// Returns a ListManagedJobTemplatesResult from IoT. /// REST API Reference for ListManagedJobTemplates Operation public virtual ListManagedJobTemplatesResponse EndListManagedJobTemplates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListMetricValues /// /// Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side /// metric, or custom metric) by the given thing during the specified time period. /// /// Container for the necessary parameters to execute the ListMetricValues service method. /// /// The response from the ListMetricValues service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListMetricValues Operation public virtual ListMetricValuesResponse ListMetricValues(ListMetricValuesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMetricValuesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMetricValuesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListMetricValues operation. /// /// /// Container for the necessary parameters to execute the ListMetricValues operation on AmazonIoTClient. /// 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 EndListMetricValues /// operation. /// REST API Reference for ListMetricValues Operation public virtual IAsyncResult BeginListMetricValues(ListMetricValuesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListMetricValuesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMetricValuesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListMetricValues operation. /// /// /// The IAsyncResult returned by the call to BeginListMetricValues. /// /// Returns a ListMetricValuesResult from IoT. /// REST API Reference for ListMetricValues Operation public virtual ListMetricValuesResponse EndListMetricValues(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListMitigationActions /// /// Gets a list of all mitigation actions that match the specified filter criteria. /// /// /// /// Requires permission to access the ListMitigationActions /// action. /// /// /// Container for the necessary parameters to execute the ListMitigationActions service method. /// /// The response from the ListMitigationActions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListMitigationActions Operation public virtual ListMitigationActionsResponse ListMitigationActions(ListMitigationActionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMitigationActionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMitigationActionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListMitigationActions operation. /// /// /// Container for the necessary parameters to execute the ListMitigationActions operation on AmazonIoTClient. /// 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 EndListMitigationActions /// operation. /// REST API Reference for ListMitigationActions Operation public virtual IAsyncResult BeginListMitigationActions(ListMitigationActionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListMitigationActionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMitigationActionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListMitigationActions operation. /// /// /// The IAsyncResult returned by the call to BeginListMitigationActions. /// /// Returns a ListMitigationActionsResult from IoT. /// REST API Reference for ListMitigationActions Operation public virtual ListMitigationActionsResponse EndListMitigationActions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListOTAUpdates /// /// Lists OTA updates. /// /// /// /// Requires permission to access the ListOTAUpdates /// action. /// /// /// Container for the necessary parameters to execute the ListOTAUpdates service method. /// /// The response from the ListOTAUpdates service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListOTAUpdates Operation public virtual ListOTAUpdatesResponse ListOTAUpdates(ListOTAUpdatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListOTAUpdatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOTAUpdatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListOTAUpdates operation. /// /// /// Container for the necessary parameters to execute the ListOTAUpdates operation on AmazonIoTClient. /// 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 EndListOTAUpdates /// operation. /// REST API Reference for ListOTAUpdates Operation public virtual IAsyncResult BeginListOTAUpdates(ListOTAUpdatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListOTAUpdatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOTAUpdatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListOTAUpdates operation. /// /// /// The IAsyncResult returned by the call to BeginListOTAUpdates. /// /// Returns a ListOTAUpdatesResult from IoT. /// REST API Reference for ListOTAUpdates Operation public virtual ListOTAUpdatesResponse EndListOTAUpdates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListOutgoingCertificates /// /// Lists certificates that are being transferred but not yet accepted. /// /// /// /// Requires permission to access the ListOutgoingCertificates /// action. /// /// /// Container for the necessary parameters to execute the ListOutgoingCertificates service method. /// /// The response from the ListOutgoingCertificates service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListOutgoingCertificates Operation public virtual ListOutgoingCertificatesResponse ListOutgoingCertificates(ListOutgoingCertificatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListOutgoingCertificatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOutgoingCertificatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListOutgoingCertificates operation. /// /// /// Container for the necessary parameters to execute the ListOutgoingCertificates operation on AmazonIoTClient. /// 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 EndListOutgoingCertificates /// operation. /// REST API Reference for ListOutgoingCertificates Operation public virtual IAsyncResult BeginListOutgoingCertificates(ListOutgoingCertificatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListOutgoingCertificatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListOutgoingCertificatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListOutgoingCertificates operation. /// /// /// The IAsyncResult returned by the call to BeginListOutgoingCertificates. /// /// Returns a ListOutgoingCertificatesResult from IoT. /// REST API Reference for ListOutgoingCertificates Operation public virtual ListOutgoingCertificatesResponse EndListOutgoingCertificates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPackages /// /// Lists the software packages associated to the account. /// /// /// /// Requires permission to access the ListPackages /// action. /// /// /// Container for the necessary parameters to execute the ListPackages service method. /// /// The response from the ListPackages service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The rate exceeds the limit. /// /// /// The request is not valid. /// /// REST API Reference for ListPackages Operation public virtual ListPackagesResponse ListPackages(ListPackagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPackagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPackagesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPackages operation. /// /// /// Container for the necessary parameters to execute the ListPackages operation on AmazonIoTClient. /// 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 EndListPackages /// operation. /// REST API Reference for ListPackages Operation public virtual IAsyncResult BeginListPackages(ListPackagesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPackagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPackagesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPackages operation. /// /// /// The IAsyncResult returned by the call to BeginListPackages. /// /// Returns a ListPackagesResult from IoT. /// REST API Reference for ListPackages Operation public virtual ListPackagesResponse EndListPackages(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPackageVersions /// /// Lists the software package versions associated to the account. /// /// /// /// Requires permission to access the ListPackageVersions /// action. /// /// /// Container for the necessary parameters to execute the ListPackageVersions service method. /// /// The response from the ListPackageVersions service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The rate exceeds the limit. /// /// /// The request is not valid. /// /// REST API Reference for ListPackageVersions Operation public virtual ListPackageVersionsResponse ListPackageVersions(ListPackageVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPackageVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPackageVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPackageVersions operation. /// /// /// Container for the necessary parameters to execute the ListPackageVersions operation on AmazonIoTClient. /// 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 EndListPackageVersions /// operation. /// REST API Reference for ListPackageVersions Operation public virtual IAsyncResult BeginListPackageVersions(ListPackageVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPackageVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPackageVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPackageVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListPackageVersions. /// /// Returns a ListPackageVersionsResult from IoT. /// REST API Reference for ListPackageVersions Operation public virtual ListPackageVersionsResponse EndListPackageVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPolicies /// /// Lists your policies. /// /// /// /// Requires permission to access the ListPolicies /// action. /// /// /// /// The response from the ListPolicies service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListPolicies Operation public virtual ListPoliciesResponse ListPolicies() { var request = new ListPoliciesRequest(); return ListPolicies(request); } /// /// Lists your policies. /// /// /// /// Requires permission to access the ListPolicies /// action. /// /// /// Container for the necessary parameters to execute the ListPolicies service method. /// /// The response from the ListPolicies service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListPolicies Operation public virtual ListPoliciesResponse ListPolicies(ListPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPolicies operation. /// /// /// Container for the necessary parameters to execute the ListPolicies operation on AmazonIoTClient. /// 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 EndListPolicies /// operation. /// REST API Reference for ListPolicies Operation public virtual IAsyncResult BeginListPolicies(ListPoliciesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPoliciesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPolicies operation. /// /// /// The IAsyncResult returned by the call to BeginListPolicies. /// /// Returns a ListPoliciesResult from IoT. /// REST API Reference for ListPolicies Operation public virtual ListPoliciesResponse EndListPolicies(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPolicyPrincipals /// /// Lists the principals associated with the specified policy. /// /// /// /// Note: This action is deprecated and works as expected for backward compatibility, /// but we won't add enhancements. Use ListTargetsForPolicy instead. /// /// /// /// Requires permission to access the ListPolicyPrincipals /// action. /// /// /// Container for the necessary parameters to execute the ListPolicyPrincipals service method. /// /// The response from the ListPolicyPrincipals service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListPolicyPrincipals Operation [Obsolete("Deprecated in favor of ListTargetsForPolicy.")] public virtual ListPolicyPrincipalsResponse ListPolicyPrincipals(ListPolicyPrincipalsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPolicyPrincipalsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPolicyPrincipalsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPolicyPrincipals operation. /// /// /// Container for the necessary parameters to execute the ListPolicyPrincipals operation on AmazonIoTClient. /// 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 EndListPolicyPrincipals /// operation. /// REST API Reference for ListPolicyPrincipals Operation [Obsolete("Deprecated in favor of ListTargetsForPolicy.")] public virtual IAsyncResult BeginListPolicyPrincipals(ListPolicyPrincipalsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPolicyPrincipalsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPolicyPrincipalsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPolicyPrincipals operation. /// /// /// The IAsyncResult returned by the call to BeginListPolicyPrincipals. /// /// Returns a ListPolicyPrincipalsResult from IoT. /// REST API Reference for ListPolicyPrincipals Operation [Obsolete("Deprecated in favor of ListTargetsForPolicy.")] public virtual ListPolicyPrincipalsResponse EndListPolicyPrincipals(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPolicyVersions /// /// Lists the versions of the specified policy and identifies the default version. /// /// /// /// Requires permission to access the ListPolicyVersions /// action. /// /// /// The policy name. /// /// The response from the ListPolicyVersions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListPolicyVersions Operation public virtual ListPolicyVersionsResponse ListPolicyVersions(string policyName) { var request = new ListPolicyVersionsRequest(); request.PolicyName = policyName; return ListPolicyVersions(request); } /// /// Lists the versions of the specified policy and identifies the default version. /// /// /// /// Requires permission to access the ListPolicyVersions /// action. /// /// /// Container for the necessary parameters to execute the ListPolicyVersions service method. /// /// The response from the ListPolicyVersions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListPolicyVersions Operation public virtual ListPolicyVersionsResponse ListPolicyVersions(ListPolicyVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPolicyVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPolicyVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPolicyVersions operation. /// /// /// Container for the necessary parameters to execute the ListPolicyVersions operation on AmazonIoTClient. /// 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 EndListPolicyVersions /// operation. /// REST API Reference for ListPolicyVersions Operation public virtual IAsyncResult BeginListPolicyVersions(ListPolicyVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPolicyVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPolicyVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPolicyVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListPolicyVersions. /// /// Returns a ListPolicyVersionsResult from IoT. /// REST API Reference for ListPolicyVersions Operation public virtual ListPolicyVersionsResponse EndListPolicyVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPrincipalPolicies /// /// Lists the policies attached to the specified principal. If you use an Cognito identity, /// the ID must be in AmazonCognito /// Identity format. /// /// /// /// Note: This action is deprecated and works as expected for backward compatibility, /// but we won't add enhancements. Use ListAttachedPolicies instead. /// /// /// /// Requires permission to access the ListPrincipalPolicies /// action. /// /// /// The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id). /// /// The response from the ListPrincipalPolicies service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListPrincipalPolicies Operation [Obsolete("Deprecated in favor of ListAttachedPolicies.")] public virtual ListPrincipalPoliciesResponse ListPrincipalPolicies(string principal) { var request = new ListPrincipalPoliciesRequest(); request.Principal = principal; return ListPrincipalPolicies(request); } /// /// Lists the policies attached to the specified principal. If you use an Cognito identity, /// the ID must be in AmazonCognito /// Identity format. /// /// /// /// Note: This action is deprecated and works as expected for backward compatibility, /// but we won't add enhancements. Use ListAttachedPolicies instead. /// /// /// /// Requires permission to access the ListPrincipalPolicies /// action. /// /// /// Container for the necessary parameters to execute the ListPrincipalPolicies service method. /// /// The response from the ListPrincipalPolicies service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListPrincipalPolicies Operation [Obsolete("Deprecated in favor of ListAttachedPolicies.")] public virtual ListPrincipalPoliciesResponse ListPrincipalPolicies(ListPrincipalPoliciesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPrincipalPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPrincipalPoliciesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPrincipalPolicies operation. /// /// /// Container for the necessary parameters to execute the ListPrincipalPolicies operation on AmazonIoTClient. /// 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 EndListPrincipalPolicies /// operation. /// REST API Reference for ListPrincipalPolicies Operation [Obsolete("Deprecated in favor of ListAttachedPolicies.")] public virtual IAsyncResult BeginListPrincipalPolicies(ListPrincipalPoliciesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPrincipalPoliciesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPrincipalPoliciesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPrincipalPolicies operation. /// /// /// The IAsyncResult returned by the call to BeginListPrincipalPolicies. /// /// Returns a ListPrincipalPoliciesResult from IoT. /// REST API Reference for ListPrincipalPolicies Operation [Obsolete("Deprecated in favor of ListAttachedPolicies.")] public virtual ListPrincipalPoliciesResponse EndListPrincipalPolicies(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPrincipalThings /// /// Lists the things associated with the specified principal. A principal can be X.509 /// certificates, IAM users, groups, and roles, Amazon Cognito identities or federated /// identities. /// /// /// /// Requires permission to access the ListPrincipalThings /// action. /// /// /// The principal. /// /// The response from the ListPrincipalThings service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListPrincipalThings Operation public virtual ListPrincipalThingsResponse ListPrincipalThings(string principal) { var request = new ListPrincipalThingsRequest(); request.Principal = principal; return ListPrincipalThings(request); } /// /// Lists the things associated with the specified principal. A principal can be X.509 /// certificates, IAM users, groups, and roles, Amazon Cognito identities or federated /// identities. /// /// /// /// Requires permission to access the ListPrincipalThings /// action. /// /// /// Container for the necessary parameters to execute the ListPrincipalThings service method. /// /// The response from the ListPrincipalThings service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListPrincipalThings Operation public virtual ListPrincipalThingsResponse ListPrincipalThings(ListPrincipalThingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPrincipalThingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPrincipalThingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPrincipalThings operation. /// /// /// Container for the necessary parameters to execute the ListPrincipalThings operation on AmazonIoTClient. /// 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 EndListPrincipalThings /// operation. /// REST API Reference for ListPrincipalThings Operation public virtual IAsyncResult BeginListPrincipalThings(ListPrincipalThingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPrincipalThingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPrincipalThingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPrincipalThings operation. /// /// /// The IAsyncResult returned by the call to BeginListPrincipalThings. /// /// Returns a ListPrincipalThingsResult from IoT. /// REST API Reference for ListPrincipalThings Operation public virtual ListPrincipalThingsResponse EndListPrincipalThings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListProvisioningTemplates /// /// Lists the provisioning templates in your Amazon Web Services account. /// /// /// /// Requires permission to access the ListProvisioningTemplates /// action. /// /// /// Container for the necessary parameters to execute the ListProvisioningTemplates service method. /// /// The response from the ListProvisioningTemplates service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListProvisioningTemplates Operation public virtual ListProvisioningTemplatesResponse ListProvisioningTemplates(ListProvisioningTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProvisioningTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProvisioningTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListProvisioningTemplates operation. /// /// /// Container for the necessary parameters to execute the ListProvisioningTemplates operation on AmazonIoTClient. /// 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 EndListProvisioningTemplates /// operation. /// REST API Reference for ListProvisioningTemplates Operation public virtual IAsyncResult BeginListProvisioningTemplates(ListProvisioningTemplatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListProvisioningTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProvisioningTemplatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListProvisioningTemplates operation. /// /// /// The IAsyncResult returned by the call to BeginListProvisioningTemplates. /// /// Returns a ListProvisioningTemplatesResult from IoT. /// REST API Reference for ListProvisioningTemplates Operation public virtual ListProvisioningTemplatesResponse EndListProvisioningTemplates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListProvisioningTemplateVersions /// /// A list of provisioning template versions. /// /// /// /// Requires permission to access the ListProvisioningTemplateVersions /// action. /// /// /// Container for the necessary parameters to execute the ListProvisioningTemplateVersions service method. /// /// The response from the ListProvisioningTemplateVersions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListProvisioningTemplateVersions Operation public virtual ListProvisioningTemplateVersionsResponse ListProvisioningTemplateVersions(ListProvisioningTemplateVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListProvisioningTemplateVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProvisioningTemplateVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListProvisioningTemplateVersions operation. /// /// /// Container for the necessary parameters to execute the ListProvisioningTemplateVersions operation on AmazonIoTClient. /// 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 EndListProvisioningTemplateVersions /// operation. /// REST API Reference for ListProvisioningTemplateVersions Operation public virtual IAsyncResult BeginListProvisioningTemplateVersions(ListProvisioningTemplateVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListProvisioningTemplateVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProvisioningTemplateVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListProvisioningTemplateVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListProvisioningTemplateVersions. /// /// Returns a ListProvisioningTemplateVersionsResult from IoT. /// REST API Reference for ListProvisioningTemplateVersions Operation public virtual ListProvisioningTemplateVersionsResponse EndListProvisioningTemplateVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListRelatedResourcesForAuditFinding /// /// The related resources of an Audit finding. The following resources can be returned /// from calling this API: /// ///
  • /// /// DEVICE_CERTIFICATE /// ///
  • /// /// CA_CERTIFICATE /// ///
  • /// /// IOT_POLICY /// ///
  • /// /// COGNITO_IDENTITY_POOL /// ///
  • /// /// CLIENT_ID /// ///
  • /// /// ACCOUNT_SETTINGS /// ///
  • /// /// ROLE_ALIAS /// ///
  • /// /// IAM_ROLE /// ///
  • /// /// ISSUER_CERTIFICATE /// ///
/// /// This API is similar to DescribeAuditFinding's RelatedResources /// but provides pagination and is not limited to 10 resources. When calling DescribeAuditFinding /// for the intermediate CA revoked for active device certificates check, RelatedResources /// will not be populated. You must use this API, ListRelatedResourcesForAuditFinding, /// to list the certificates. /// /// ///
/// Container for the necessary parameters to execute the ListRelatedResourcesForAuditFinding service method. /// /// The response from the ListRelatedResourcesForAuditFinding service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListRelatedResourcesForAuditFinding Operation public virtual ListRelatedResourcesForAuditFindingResponse ListRelatedResourcesForAuditFinding(ListRelatedResourcesForAuditFindingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRelatedResourcesForAuditFindingRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRelatedResourcesForAuditFindingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListRelatedResourcesForAuditFinding operation. /// /// /// Container for the necessary parameters to execute the ListRelatedResourcesForAuditFinding operation on AmazonIoTClient. /// 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 EndListRelatedResourcesForAuditFinding /// operation. /// REST API Reference for ListRelatedResourcesForAuditFinding Operation public virtual IAsyncResult BeginListRelatedResourcesForAuditFinding(ListRelatedResourcesForAuditFindingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRelatedResourcesForAuditFindingRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRelatedResourcesForAuditFindingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRelatedResourcesForAuditFinding operation. /// /// /// The IAsyncResult returned by the call to BeginListRelatedResourcesForAuditFinding. /// /// Returns a ListRelatedResourcesForAuditFindingResult from IoT. /// REST API Reference for ListRelatedResourcesForAuditFinding Operation public virtual ListRelatedResourcesForAuditFindingResponse EndListRelatedResourcesForAuditFinding(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListRoleAliases /// /// Lists the role aliases registered in your account. /// /// /// /// Requires permission to access the ListRoleAliases /// action. /// /// /// Container for the necessary parameters to execute the ListRoleAliases service method. /// /// The response from the ListRoleAliases service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListRoleAliases Operation public virtual ListRoleAliasesResponse ListRoleAliases(ListRoleAliasesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoleAliasesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoleAliasesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListRoleAliases operation. /// /// /// Container for the necessary parameters to execute the ListRoleAliases operation on AmazonIoTClient. /// 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 EndListRoleAliases /// operation. /// REST API Reference for ListRoleAliases Operation public virtual IAsyncResult BeginListRoleAliases(ListRoleAliasesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoleAliasesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoleAliasesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRoleAliases operation. /// /// /// The IAsyncResult returned by the call to BeginListRoleAliases. /// /// Returns a ListRoleAliasesResult from IoT. /// REST API Reference for ListRoleAliases Operation public virtual ListRoleAliasesResponse EndListRoleAliases(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListScheduledAudits /// /// Lists all of your scheduled audits. /// /// /// /// Requires permission to access the ListScheduledAudits /// action. /// /// /// Container for the necessary parameters to execute the ListScheduledAudits service method. /// /// The response from the ListScheduledAudits service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListScheduledAudits Operation public virtual ListScheduledAuditsResponse ListScheduledAudits(ListScheduledAuditsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListScheduledAuditsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListScheduledAuditsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListScheduledAudits operation. /// /// /// Container for the necessary parameters to execute the ListScheduledAudits operation on AmazonIoTClient. /// 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 EndListScheduledAudits /// operation. /// REST API Reference for ListScheduledAudits Operation public virtual IAsyncResult BeginListScheduledAudits(ListScheduledAuditsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListScheduledAuditsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListScheduledAuditsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListScheduledAudits operation. /// /// /// The IAsyncResult returned by the call to BeginListScheduledAudits. /// /// Returns a ListScheduledAuditsResult from IoT. /// REST API Reference for ListScheduledAudits Operation public virtual ListScheduledAuditsResponse EndListScheduledAudits(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSecurityProfiles /// /// Lists the Device Defender security profiles you've created. You can filter security /// profiles by dimension or custom metric. /// /// /// /// Requires permission to access the ListSecurityProfiles /// action. /// /// /// /// dimensionName and metricName cannot be used in the same /// request. /// /// /// /// Container for the necessary parameters to execute the ListSecurityProfiles service method. /// /// The response from the ListSecurityProfiles service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListSecurityProfiles Operation public virtual ListSecurityProfilesResponse ListSecurityProfiles(ListSecurityProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSecurityProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSecurityProfilesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSecurityProfiles operation. /// /// /// Container for the necessary parameters to execute the ListSecurityProfiles operation on AmazonIoTClient. /// 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 EndListSecurityProfiles /// operation. /// REST API Reference for ListSecurityProfiles Operation public virtual IAsyncResult BeginListSecurityProfiles(ListSecurityProfilesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSecurityProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSecurityProfilesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSecurityProfiles operation. /// /// /// The IAsyncResult returned by the call to BeginListSecurityProfiles. /// /// Returns a ListSecurityProfilesResult from IoT. /// REST API Reference for ListSecurityProfiles Operation public virtual ListSecurityProfilesResponse EndListSecurityProfiles(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSecurityProfilesForTarget /// /// Lists the Device Defender security profiles attached to a target (thing group). /// /// /// /// Requires permission to access the ListSecurityProfilesForTarget /// action. /// /// /// Container for the necessary parameters to execute the ListSecurityProfilesForTarget service method. /// /// The response from the ListSecurityProfilesForTarget service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListSecurityProfilesForTarget Operation public virtual ListSecurityProfilesForTargetResponse ListSecurityProfilesForTarget(ListSecurityProfilesForTargetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSecurityProfilesForTargetRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSecurityProfilesForTargetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSecurityProfilesForTarget operation. /// /// /// Container for the necessary parameters to execute the ListSecurityProfilesForTarget operation on AmazonIoTClient. /// 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 EndListSecurityProfilesForTarget /// operation. /// REST API Reference for ListSecurityProfilesForTarget Operation public virtual IAsyncResult BeginListSecurityProfilesForTarget(ListSecurityProfilesForTargetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSecurityProfilesForTargetRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSecurityProfilesForTargetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSecurityProfilesForTarget operation. /// /// /// The IAsyncResult returned by the call to BeginListSecurityProfilesForTarget. /// /// Returns a ListSecurityProfilesForTargetResult from IoT. /// REST API Reference for ListSecurityProfilesForTarget Operation public virtual ListSecurityProfilesForTargetResponse EndListSecurityProfilesForTarget(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListStreams /// /// Lists all of the streams in your Amazon Web Services account. /// /// /// /// Requires permission to access the ListStreams /// action. /// /// /// Container for the necessary parameters to execute the ListStreams service method. /// /// The response from the ListStreams service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListStreams Operation public virtual ListStreamsResponse ListStreams(ListStreamsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStreamsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStreamsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListStreams operation. /// /// /// Container for the necessary parameters to execute the ListStreams operation on AmazonIoTClient. /// 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 EndListStreams /// operation. /// REST API Reference for ListStreams Operation public virtual IAsyncResult BeginListStreams(ListStreamsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListStreamsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStreamsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListStreams operation. /// /// /// The IAsyncResult returned by the call to BeginListStreams. /// /// Returns a ListStreamsResult from IoT. /// REST API Reference for ListStreams Operation public virtual ListStreamsResponse EndListStreams(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Lists the tags (metadata) you have assigned to the resource. /// /// /// /// Requires permission to access the ListTagsForResource /// action. /// /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonIoTClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from IoT. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTargetsForPolicy /// /// List targets for the specified policy. /// /// /// /// Requires permission to access the ListTargetsForPolicy /// action. /// /// /// Container for the necessary parameters to execute the ListTargetsForPolicy service method. /// /// The response from the ListTargetsForPolicy service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListTargetsForPolicy Operation public virtual ListTargetsForPolicyResponse ListTargetsForPolicy(ListTargetsForPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTargetsForPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTargetsForPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTargetsForPolicy operation. /// /// /// Container for the necessary parameters to execute the ListTargetsForPolicy operation on AmazonIoTClient. /// 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 EndListTargetsForPolicy /// operation. /// REST API Reference for ListTargetsForPolicy Operation public virtual IAsyncResult BeginListTargetsForPolicy(ListTargetsForPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTargetsForPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTargetsForPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTargetsForPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginListTargetsForPolicy. /// /// Returns a ListTargetsForPolicyResult from IoT. /// REST API Reference for ListTargetsForPolicy Operation public virtual ListTargetsForPolicyResponse EndListTargetsForPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTargetsForSecurityProfile /// /// Lists the targets (thing groups) associated with a given Device Defender security /// profile. /// /// /// /// Requires permission to access the ListTargetsForSecurityProfile /// action. /// /// /// Container for the necessary parameters to execute the ListTargetsForSecurityProfile service method. /// /// The response from the ListTargetsForSecurityProfile service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListTargetsForSecurityProfile Operation public virtual ListTargetsForSecurityProfileResponse ListTargetsForSecurityProfile(ListTargetsForSecurityProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTargetsForSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTargetsForSecurityProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTargetsForSecurityProfile operation. /// /// /// Container for the necessary parameters to execute the ListTargetsForSecurityProfile operation on AmazonIoTClient. /// 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 EndListTargetsForSecurityProfile /// operation. /// REST API Reference for ListTargetsForSecurityProfile Operation public virtual IAsyncResult BeginListTargetsForSecurityProfile(ListTargetsForSecurityProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTargetsForSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTargetsForSecurityProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTargetsForSecurityProfile operation. /// /// /// The IAsyncResult returned by the call to BeginListTargetsForSecurityProfile. /// /// Returns a ListTargetsForSecurityProfileResult from IoT. /// REST API Reference for ListTargetsForSecurityProfile Operation public virtual ListTargetsForSecurityProfileResponse EndListTargetsForSecurityProfile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThingGroups /// /// List the thing groups in your account. /// /// /// /// Requires permission to access the ListThingGroups /// action. /// /// /// Container for the necessary parameters to execute the ListThingGroups service method. /// /// The response from the ListThingGroups service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListThingGroups Operation public virtual ListThingGroupsResponse ListThingGroups(ListThingGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThingGroups operation. /// /// /// Container for the necessary parameters to execute the ListThingGroups operation on AmazonIoTClient. /// 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 EndListThingGroups /// operation. /// REST API Reference for ListThingGroups Operation public virtual IAsyncResult BeginListThingGroups(ListThingGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThingGroups operation. /// /// /// The IAsyncResult returned by the call to BeginListThingGroups. /// /// Returns a ListThingGroupsResult from IoT. /// REST API Reference for ListThingGroups Operation public virtual ListThingGroupsResponse EndListThingGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThingGroupsForThing /// /// List the thing groups to which the specified thing belongs. /// /// /// /// Requires permission to access the ListThingGroupsForThing /// action. /// /// /// Container for the necessary parameters to execute the ListThingGroupsForThing service method. /// /// The response from the ListThingGroupsForThing service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListThingGroupsForThing Operation public virtual ListThingGroupsForThingResponse ListThingGroupsForThing(ListThingGroupsForThingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingGroupsForThingRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingGroupsForThingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThingGroupsForThing operation. /// /// /// Container for the necessary parameters to execute the ListThingGroupsForThing operation on AmazonIoTClient. /// 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 EndListThingGroupsForThing /// operation. /// REST API Reference for ListThingGroupsForThing Operation public virtual IAsyncResult BeginListThingGroupsForThing(ListThingGroupsForThingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingGroupsForThingRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingGroupsForThingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThingGroupsForThing operation. /// /// /// The IAsyncResult returned by the call to BeginListThingGroupsForThing. /// /// Returns a ListThingGroupsForThingResult from IoT. /// REST API Reference for ListThingGroupsForThing Operation public virtual ListThingGroupsForThingResponse EndListThingGroupsForThing(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThingPrincipals /// /// Lists the principals associated with the specified thing. A principal can be X.509 /// certificates, IAM users, groups, and roles, Amazon Cognito identities or federated /// identities. /// /// /// /// Requires permission to access the ListThingPrincipals /// action. /// /// /// The name of the thing. /// /// The response from the ListThingPrincipals service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListThingPrincipals Operation public virtual ListThingPrincipalsResponse ListThingPrincipals(string thingName) { var request = new ListThingPrincipalsRequest(); request.ThingName = thingName; return ListThingPrincipals(request); } /// /// Lists the principals associated with the specified thing. A principal can be X.509 /// certificates, IAM users, groups, and roles, Amazon Cognito identities or federated /// identities. /// /// /// /// Requires permission to access the ListThingPrincipals /// action. /// /// /// Container for the necessary parameters to execute the ListThingPrincipals service method. /// /// The response from the ListThingPrincipals service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListThingPrincipals Operation public virtual ListThingPrincipalsResponse ListThingPrincipals(ListThingPrincipalsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingPrincipalsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingPrincipalsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThingPrincipals operation. /// /// /// Container for the necessary parameters to execute the ListThingPrincipals operation on AmazonIoTClient. /// 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 EndListThingPrincipals /// operation. /// REST API Reference for ListThingPrincipals Operation public virtual IAsyncResult BeginListThingPrincipals(ListThingPrincipalsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingPrincipalsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingPrincipalsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThingPrincipals operation. /// /// /// The IAsyncResult returned by the call to BeginListThingPrincipals. /// /// Returns a ListThingPrincipalsResult from IoT. /// REST API Reference for ListThingPrincipals Operation public virtual ListThingPrincipalsResponse EndListThingPrincipals(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThingRegistrationTaskReports /// /// Information about the thing registration tasks. /// /// Container for the necessary parameters to execute the ListThingRegistrationTaskReports service method. /// /// The response from the ListThingRegistrationTaskReports service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListThingRegistrationTaskReports Operation public virtual ListThingRegistrationTaskReportsResponse ListThingRegistrationTaskReports(ListThingRegistrationTaskReportsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingRegistrationTaskReportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingRegistrationTaskReportsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThingRegistrationTaskReports operation. /// /// /// Container for the necessary parameters to execute the ListThingRegistrationTaskReports operation on AmazonIoTClient. /// 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 EndListThingRegistrationTaskReports /// operation. /// REST API Reference for ListThingRegistrationTaskReports Operation public virtual IAsyncResult BeginListThingRegistrationTaskReports(ListThingRegistrationTaskReportsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingRegistrationTaskReportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingRegistrationTaskReportsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThingRegistrationTaskReports operation. /// /// /// The IAsyncResult returned by the call to BeginListThingRegistrationTaskReports. /// /// Returns a ListThingRegistrationTaskReportsResult from IoT. /// REST API Reference for ListThingRegistrationTaskReports Operation public virtual ListThingRegistrationTaskReportsResponse EndListThingRegistrationTaskReports(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThingRegistrationTasks /// /// List bulk thing provisioning tasks. /// /// /// /// Requires permission to access the ListThingRegistrationTasks /// action. /// /// /// Container for the necessary parameters to execute the ListThingRegistrationTasks service method. /// /// The response from the ListThingRegistrationTasks service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListThingRegistrationTasks Operation public virtual ListThingRegistrationTasksResponse ListThingRegistrationTasks(ListThingRegistrationTasksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingRegistrationTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingRegistrationTasksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThingRegistrationTasks operation. /// /// /// Container for the necessary parameters to execute the ListThingRegistrationTasks operation on AmazonIoTClient. /// 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 EndListThingRegistrationTasks /// operation. /// REST API Reference for ListThingRegistrationTasks Operation public virtual IAsyncResult BeginListThingRegistrationTasks(ListThingRegistrationTasksRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingRegistrationTasksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingRegistrationTasksResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThingRegistrationTasks operation. /// /// /// The IAsyncResult returned by the call to BeginListThingRegistrationTasks. /// /// Returns a ListThingRegistrationTasksResult from IoT. /// REST API Reference for ListThingRegistrationTasks Operation public virtual ListThingRegistrationTasksResponse EndListThingRegistrationTasks(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThings /// /// Lists your things. Use the attributeName and attributeValue parameters /// to filter your things. For example, calling ListThings with attributeName=Color /// and attributeValue=Red retrieves all things in the registry that contain an attribute /// Color with the value Red. For more information, see List /// Things from the Amazon Web Services IoT Core Developer Guide. /// /// /// /// Requires permission to access the ListThings /// action. /// /// /// /// You will not be charged for calling this API if an Access denied error /// is returned. You will also not be charged if no attributes or pagination token was /// provided in request and no pagination token and no results were returned. /// /// /// /// /// The response from the ListThings service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListThings Operation public virtual ListThingsResponse ListThings() { var request = new ListThingsRequest(); return ListThings(request); } /// /// Lists your things. Use the attributeName and attributeValue parameters /// to filter your things. For example, calling ListThings with attributeName=Color /// and attributeValue=Red retrieves all things in the registry that contain an attribute /// Color with the value Red. For more information, see List /// Things from the Amazon Web Services IoT Core Developer Guide. /// /// /// /// Requires permission to access the ListThings /// action. /// /// /// /// You will not be charged for calling this API if an Access denied error /// is returned. You will also not be charged if no attributes or pagination token was /// provided in request and no pagination token and no results were returned. /// /// /// /// Container for the necessary parameters to execute the ListThings service method. /// /// The response from the ListThings service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListThings Operation public virtual ListThingsResponse ListThings(ListThingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThings operation. /// /// /// Container for the necessary parameters to execute the ListThings operation on AmazonIoTClient. /// 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 EndListThings /// operation. /// REST API Reference for ListThings Operation public virtual IAsyncResult BeginListThings(ListThingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThings operation. /// /// /// The IAsyncResult returned by the call to BeginListThings. /// /// Returns a ListThingsResult from IoT. /// REST API Reference for ListThings Operation public virtual ListThingsResponse EndListThings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThingsInBillingGroup /// /// Lists the things you have added to the given billing group. /// /// /// /// Requires permission to access the ListThingsInBillingGroup /// action. /// /// /// Container for the necessary parameters to execute the ListThingsInBillingGroup service method. /// /// The response from the ListThingsInBillingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListThingsInBillingGroup Operation public virtual ListThingsInBillingGroupResponse ListThingsInBillingGroup(ListThingsInBillingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingsInBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingsInBillingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThingsInBillingGroup operation. /// /// /// Container for the necessary parameters to execute the ListThingsInBillingGroup operation on AmazonIoTClient. /// 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 EndListThingsInBillingGroup /// operation. /// REST API Reference for ListThingsInBillingGroup Operation public virtual IAsyncResult BeginListThingsInBillingGroup(ListThingsInBillingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingsInBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingsInBillingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThingsInBillingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginListThingsInBillingGroup. /// /// Returns a ListThingsInBillingGroupResult from IoT. /// REST API Reference for ListThingsInBillingGroup Operation public virtual ListThingsInBillingGroupResponse EndListThingsInBillingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThingsInThingGroup /// /// Lists the things in the specified group. /// /// /// /// Requires permission to access the ListThingsInThingGroup /// action. /// /// /// Container for the necessary parameters to execute the ListThingsInThingGroup service method. /// /// The response from the ListThingsInThingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListThingsInThingGroup Operation public virtual ListThingsInThingGroupResponse ListThingsInThingGroup(ListThingsInThingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingsInThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingsInThingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThingsInThingGroup operation. /// /// /// Container for the necessary parameters to execute the ListThingsInThingGroup operation on AmazonIoTClient. /// 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 EndListThingsInThingGroup /// operation. /// REST API Reference for ListThingsInThingGroup Operation public virtual IAsyncResult BeginListThingsInThingGroup(ListThingsInThingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingsInThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingsInThingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThingsInThingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginListThingsInThingGroup. /// /// Returns a ListThingsInThingGroupResult from IoT. /// REST API Reference for ListThingsInThingGroup Operation public virtual ListThingsInThingGroupResponse EndListThingsInThingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListThingTypes /// /// Lists the existing thing types. /// /// /// /// Requires permission to access the ListThingTypes /// action. /// /// /// Container for the necessary parameters to execute the ListThingTypes service method. /// /// The response from the ListThingTypes service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListThingTypes Operation public virtual ListThingTypesResponse ListThingTypes(ListThingTypesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingTypesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListThingTypes operation. /// /// /// Container for the necessary parameters to execute the ListThingTypes operation on AmazonIoTClient. /// 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 EndListThingTypes /// operation. /// REST API Reference for ListThingTypes Operation public virtual IAsyncResult BeginListThingTypes(ListThingTypesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListThingTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListThingTypesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListThingTypes operation. /// /// /// The IAsyncResult returned by the call to BeginListThingTypes. /// /// Returns a ListThingTypesResult from IoT. /// REST API Reference for ListThingTypes Operation public virtual ListThingTypesResponse EndListThingTypes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTopicRuleDestinations /// /// Lists all the topic rule destinations in your Amazon Web Services account. /// /// /// /// Requires permission to access the ListTopicRuleDestinations /// action. /// /// /// Container for the necessary parameters to execute the ListTopicRuleDestinations service method. /// /// The response from the ListTopicRuleDestinations service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ListTopicRuleDestinations Operation public virtual ListTopicRuleDestinationsResponse ListTopicRuleDestinations(ListTopicRuleDestinationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTopicRuleDestinationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTopicRuleDestinationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTopicRuleDestinations operation. /// /// /// Container for the necessary parameters to execute the ListTopicRuleDestinations operation on AmazonIoTClient. /// 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 EndListTopicRuleDestinations /// operation. /// REST API Reference for ListTopicRuleDestinations Operation public virtual IAsyncResult BeginListTopicRuleDestinations(ListTopicRuleDestinationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTopicRuleDestinationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTopicRuleDestinationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTopicRuleDestinations operation. /// /// /// The IAsyncResult returned by the call to BeginListTopicRuleDestinations. /// /// Returns a ListTopicRuleDestinationsResult from IoT. /// REST API Reference for ListTopicRuleDestinations Operation public virtual ListTopicRuleDestinationsResponse EndListTopicRuleDestinations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTopicRules /// /// Lists the rules for the specific topic. /// /// /// /// Requires permission to access the ListTopicRules /// action. /// /// /// The topic. /// /// The response from the ListTopicRules service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for ListTopicRules Operation public virtual ListTopicRulesResponse ListTopicRules(string topic) { var request = new ListTopicRulesRequest(); request.Topic = topic; return ListTopicRules(request); } /// /// Lists the rules for the specific topic. /// /// /// /// Requires permission to access the ListTopicRules /// action. /// /// /// Container for the necessary parameters to execute the ListTopicRules service method. /// /// The response from the ListTopicRules service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for ListTopicRules Operation public virtual ListTopicRulesResponse ListTopicRules(ListTopicRulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTopicRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTopicRulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTopicRules operation. /// /// /// Container for the necessary parameters to execute the ListTopicRules operation on AmazonIoTClient. /// 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 EndListTopicRules /// operation. /// REST API Reference for ListTopicRules Operation public virtual IAsyncResult BeginListTopicRules(ListTopicRulesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTopicRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTopicRulesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTopicRules operation. /// /// /// The IAsyncResult returned by the call to BeginListTopicRules. /// /// Returns a ListTopicRulesResult from IoT. /// REST API Reference for ListTopicRules Operation public virtual ListTopicRulesResponse EndListTopicRules(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListV2LoggingLevels /// /// Lists logging levels. /// /// /// /// Requires permission to access the ListV2LoggingLevels /// action. /// /// /// Container for the necessary parameters to execute the ListV2LoggingLevels service method. /// /// The response from the ListV2LoggingLevels service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource is not configured. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for ListV2LoggingLevels Operation public virtual ListV2LoggingLevelsResponse ListV2LoggingLevels(ListV2LoggingLevelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListV2LoggingLevelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListV2LoggingLevelsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListV2LoggingLevels operation. /// /// /// Container for the necessary parameters to execute the ListV2LoggingLevels operation on AmazonIoTClient. /// 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 EndListV2LoggingLevels /// operation. /// REST API Reference for ListV2LoggingLevels Operation public virtual IAsyncResult BeginListV2LoggingLevels(ListV2LoggingLevelsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListV2LoggingLevelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListV2LoggingLevelsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListV2LoggingLevels operation. /// /// /// The IAsyncResult returned by the call to BeginListV2LoggingLevels. /// /// Returns a ListV2LoggingLevelsResult from IoT. /// REST API Reference for ListV2LoggingLevels Operation public virtual ListV2LoggingLevelsResponse EndListV2LoggingLevels(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListViolationEvents /// /// Lists the Device Defender security profile violations discovered during the given /// time period. You can use filters to limit the results to those alerts issued for a /// particular security profile, behavior, or thing (device). /// /// /// /// Requires permission to access the ListViolationEvents /// action. /// /// /// Container for the necessary parameters to execute the ListViolationEvents service method. /// /// The response from the ListViolationEvents service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ListViolationEvents Operation public virtual ListViolationEventsResponse ListViolationEvents(ListViolationEventsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListViolationEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListViolationEventsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListViolationEvents operation. /// /// /// Container for the necessary parameters to execute the ListViolationEvents operation on AmazonIoTClient. /// 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 EndListViolationEvents /// operation. /// REST API Reference for ListViolationEvents Operation public virtual IAsyncResult BeginListViolationEvents(ListViolationEventsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListViolationEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListViolationEventsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListViolationEvents operation. /// /// /// The IAsyncResult returned by the call to BeginListViolationEvents. /// /// Returns a ListViolationEventsResult from IoT. /// REST API Reference for ListViolationEvents Operation public virtual ListViolationEventsResponse EndListViolationEvents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutVerificationStateOnViolation /// /// Set a verification state and provide a description of that verification state on a /// violation (detect alarm). /// /// Container for the necessary parameters to execute the PutVerificationStateOnViolation service method. /// /// The response from the PutVerificationStateOnViolation service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for PutVerificationStateOnViolation Operation public virtual PutVerificationStateOnViolationResponse PutVerificationStateOnViolation(PutVerificationStateOnViolationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutVerificationStateOnViolationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutVerificationStateOnViolationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutVerificationStateOnViolation operation. /// /// /// Container for the necessary parameters to execute the PutVerificationStateOnViolation operation on AmazonIoTClient. /// 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 EndPutVerificationStateOnViolation /// operation. /// REST API Reference for PutVerificationStateOnViolation Operation public virtual IAsyncResult BeginPutVerificationStateOnViolation(PutVerificationStateOnViolationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutVerificationStateOnViolationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutVerificationStateOnViolationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutVerificationStateOnViolation operation. /// /// /// The IAsyncResult returned by the call to BeginPutVerificationStateOnViolation. /// /// Returns a PutVerificationStateOnViolationResult from IoT. /// REST API Reference for PutVerificationStateOnViolation Operation public virtual PutVerificationStateOnViolationResponse EndPutVerificationStateOnViolation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RegisterCACertificate /// /// Registers a CA certificate with Amazon Web Services IoT Core. There is no limit to /// the number of CA certificates you can register in your Amazon Web Services account. /// You can register up to 10 CA certificates with the same CA subject field /// per Amazon Web Services account. /// /// /// /// Requires permission to access the RegisterCACertificate /// action. /// /// /// Container for the necessary parameters to execute the RegisterCACertificate service method. /// /// The response from the RegisterCACertificate service method, as returned by IoT. /// /// The certificate is invalid. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The registration code is invalid. /// /// /// The resource already exists. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for RegisterCACertificate Operation public virtual RegisterCACertificateResponse RegisterCACertificate(RegisterCACertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterCACertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterCACertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RegisterCACertificate operation. /// /// /// Container for the necessary parameters to execute the RegisterCACertificate operation on AmazonIoTClient. /// 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 EndRegisterCACertificate /// operation. /// REST API Reference for RegisterCACertificate Operation public virtual IAsyncResult BeginRegisterCACertificate(RegisterCACertificateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterCACertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterCACertificateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RegisterCACertificate operation. /// /// /// The IAsyncResult returned by the call to BeginRegisterCACertificate. /// /// Returns a RegisterCACertificateResult from IoT. /// REST API Reference for RegisterCACertificate Operation public virtual RegisterCACertificateResponse EndRegisterCACertificate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RegisterCertificate /// /// Registers a device certificate with IoT in the same certificate /// mode as the signing CA. If you have more than one CA certificate that has the /// same subject field, you must specify the CA certificate that was used to sign the /// device certificate being registered. /// /// /// /// Requires permission to access the RegisterCertificate /// action. /// /// /// Container for the necessary parameters to execute the RegisterCertificate service method. /// /// The response from the RegisterCertificate service method, as returned by IoT. /// /// Unable to verify the CA certificate used to sign the device certificate you are attempting /// to register. This is happens when you have registered more than one CA certificate /// that has the same subject field and public key. /// /// /// The certificate operation is not allowed. /// /// /// The certificate is invalid. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource already exists. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for RegisterCertificate Operation public virtual RegisterCertificateResponse RegisterCertificate(RegisterCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RegisterCertificate operation. /// /// /// Container for the necessary parameters to execute the RegisterCertificate operation on AmazonIoTClient. /// 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 EndRegisterCertificate /// operation. /// REST API Reference for RegisterCertificate Operation public virtual IAsyncResult BeginRegisterCertificate(RegisterCertificateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterCertificateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RegisterCertificate operation. /// /// /// The IAsyncResult returned by the call to BeginRegisterCertificate. /// /// Returns a RegisterCertificateResult from IoT. /// REST API Reference for RegisterCertificate Operation public virtual RegisterCertificateResponse EndRegisterCertificate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RegisterCertificateWithoutCA /// /// Register a certificate that does not have a certificate authority (CA). For supported /// certificates, consult /// Certificate signing algorithms supported by IoT. /// /// Container for the necessary parameters to execute the RegisterCertificateWithoutCA service method. /// /// The response from the RegisterCertificateWithoutCA service method, as returned by IoT. /// /// The certificate operation is not allowed. /// /// /// The certificate is invalid. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource already exists. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for RegisterCertificateWithoutCA Operation public virtual RegisterCertificateWithoutCAResponse RegisterCertificateWithoutCA(RegisterCertificateWithoutCARequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterCertificateWithoutCARequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterCertificateWithoutCAResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RegisterCertificateWithoutCA operation. /// /// /// Container for the necessary parameters to execute the RegisterCertificateWithoutCA operation on AmazonIoTClient. /// 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 EndRegisterCertificateWithoutCA /// operation. /// REST API Reference for RegisterCertificateWithoutCA Operation public virtual IAsyncResult BeginRegisterCertificateWithoutCA(RegisterCertificateWithoutCARequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterCertificateWithoutCARequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterCertificateWithoutCAResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RegisterCertificateWithoutCA operation. /// /// /// The IAsyncResult returned by the call to BeginRegisterCertificateWithoutCA. /// /// Returns a RegisterCertificateWithoutCAResult from IoT. /// REST API Reference for RegisterCertificateWithoutCA Operation public virtual RegisterCertificateWithoutCAResponse EndRegisterCertificateWithoutCA(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RegisterThing /// /// Provisions a thing in the device registry. RegisterThing calls other IoT control plane /// APIs. These calls might exceed your account level /// IoT Throttling Limits and cause throttle errors. Please contact Amazon /// Web Services Customer Support to raise your throttling limits if necessary. /// /// /// /// Requires permission to access the RegisterThing /// action. /// /// /// Container for the necessary parameters to execute the RegisterThing service method. /// /// The response from the RegisterThing service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource registration failed. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for RegisterThing Operation public virtual RegisterThingResponse RegisterThing(RegisterThingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterThingRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterThingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RegisterThing operation. /// /// /// Container for the necessary parameters to execute the RegisterThing operation on AmazonIoTClient. /// 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 EndRegisterThing /// operation. /// REST API Reference for RegisterThing Operation public virtual IAsyncResult BeginRegisterThing(RegisterThingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterThingRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterThingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RegisterThing operation. /// /// /// The IAsyncResult returned by the call to BeginRegisterThing. /// /// Returns a RegisterThingResult from IoT. /// REST API Reference for RegisterThing Operation public virtual RegisterThingResponse EndRegisterThing(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RejectCertificateTransfer /// /// Rejects a pending certificate transfer. After IoT rejects a certificate transfer, /// the certificate status changes from PENDING_TRANSFER to INACTIVE. /// /// /// /// To check for pending certificate transfers, call ListCertificates to enumerate /// your certificates. /// /// /// /// This operation can only be called by the transfer destination. After it is called, /// the certificate will be returned to the source's account in the INACTIVE state. /// /// /// /// Requires permission to access the RejectCertificateTransfer /// action. /// /// /// The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) /// /// The response from the RejectCertificateTransfer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You can't revert the certificate transfer because the transfer is already complete. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for RejectCertificateTransfer Operation public virtual RejectCertificateTransferResponse RejectCertificateTransfer(string certificateId) { var request = new RejectCertificateTransferRequest(); request.CertificateId = certificateId; return RejectCertificateTransfer(request); } /// /// Rejects a pending certificate transfer. After IoT rejects a certificate transfer, /// the certificate status changes from PENDING_TRANSFER to INACTIVE. /// /// /// /// To check for pending certificate transfers, call ListCertificates to enumerate /// your certificates. /// /// /// /// This operation can only be called by the transfer destination. After it is called, /// the certificate will be returned to the source's account in the INACTIVE state. /// /// /// /// Requires permission to access the RejectCertificateTransfer /// action. /// /// /// Container for the necessary parameters to execute the RejectCertificateTransfer service method. /// /// The response from the RejectCertificateTransfer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You can't revert the certificate transfer because the transfer is already complete. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for RejectCertificateTransfer Operation public virtual RejectCertificateTransferResponse RejectCertificateTransfer(RejectCertificateTransferRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RejectCertificateTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectCertificateTransferResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RejectCertificateTransfer operation. /// /// /// Container for the necessary parameters to execute the RejectCertificateTransfer operation on AmazonIoTClient. /// 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 EndRejectCertificateTransfer /// operation. /// REST API Reference for RejectCertificateTransfer Operation public virtual IAsyncResult BeginRejectCertificateTransfer(RejectCertificateTransferRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RejectCertificateTransferRequestMarshaller.Instance; options.ResponseUnmarshaller = RejectCertificateTransferResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RejectCertificateTransfer operation. /// /// /// The IAsyncResult returned by the call to BeginRejectCertificateTransfer. /// /// Returns a RejectCertificateTransferResult from IoT. /// REST API Reference for RejectCertificateTransfer Operation public virtual RejectCertificateTransferResponse EndRejectCertificateTransfer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RemoveThingFromBillingGroup /// /// Removes the given thing from the billing group. /// /// /// /// Requires permission to access the RemoveThingFromBillingGroup /// action. /// /// /// /// This call is asynchronous. It might take several seconds for the detachment to propagate. /// /// /// /// Container for the necessary parameters to execute the RemoveThingFromBillingGroup service method. /// /// The response from the RemoveThingFromBillingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for RemoveThingFromBillingGroup Operation public virtual RemoveThingFromBillingGroupResponse RemoveThingFromBillingGroup(RemoveThingFromBillingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveThingFromBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveThingFromBillingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RemoveThingFromBillingGroup operation. /// /// /// Container for the necessary parameters to execute the RemoveThingFromBillingGroup operation on AmazonIoTClient. /// 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 EndRemoveThingFromBillingGroup /// operation. /// REST API Reference for RemoveThingFromBillingGroup Operation public virtual IAsyncResult BeginRemoveThingFromBillingGroup(RemoveThingFromBillingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveThingFromBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveThingFromBillingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RemoveThingFromBillingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginRemoveThingFromBillingGroup. /// /// Returns a RemoveThingFromBillingGroupResult from IoT. /// REST API Reference for RemoveThingFromBillingGroup Operation public virtual RemoveThingFromBillingGroupResponse EndRemoveThingFromBillingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RemoveThingFromThingGroup /// /// Remove the specified thing from the specified group. /// /// /// /// You must specify either a thingGroupArn or a thingGroupName /// to identify the thing group and either a thingArn or a thingName /// to identify the thing to remove from the thing group. /// /// /// /// Requires permission to access the RemoveThingFromThingGroup /// action. /// /// /// Container for the necessary parameters to execute the RemoveThingFromThingGroup service method. /// /// The response from the RemoveThingFromThingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for RemoveThingFromThingGroup Operation public virtual RemoveThingFromThingGroupResponse RemoveThingFromThingGroup(RemoveThingFromThingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveThingFromThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveThingFromThingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RemoveThingFromThingGroup operation. /// /// /// Container for the necessary parameters to execute the RemoveThingFromThingGroup operation on AmazonIoTClient. /// 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 EndRemoveThingFromThingGroup /// operation. /// REST API Reference for RemoveThingFromThingGroup Operation public virtual IAsyncResult BeginRemoveThingFromThingGroup(RemoveThingFromThingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveThingFromThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveThingFromThingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RemoveThingFromThingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginRemoveThingFromThingGroup. /// /// Returns a RemoveThingFromThingGroupResult from IoT. /// REST API Reference for RemoveThingFromThingGroup Operation public virtual RemoveThingFromThingGroupResponse EndRemoveThingFromThingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ReplaceTopicRule /// /// Replaces the rule. You must specify all parameters for the new rule. Creating rules /// is an administrator-level action. Any user who has permission to create rules will /// be able to access data processed by the rule. /// /// /// /// Requires permission to access the ReplaceTopicRule /// action. /// /// /// Container for the necessary parameters to execute the ReplaceTopicRule service method. /// /// The response from the ReplaceTopicRule service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The Rule-SQL expression can't be parsed correctly. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for ReplaceTopicRule Operation public virtual ReplaceTopicRuleResponse ReplaceTopicRule(ReplaceTopicRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceTopicRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ReplaceTopicRule operation. /// /// /// Container for the necessary parameters to execute the ReplaceTopicRule operation on AmazonIoTClient. /// 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 EndReplaceTopicRule /// operation. /// REST API Reference for ReplaceTopicRule Operation public virtual IAsyncResult BeginReplaceTopicRule(ReplaceTopicRuleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ReplaceTopicRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplaceTopicRuleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ReplaceTopicRule operation. /// /// /// The IAsyncResult returned by the call to BeginReplaceTopicRule. /// /// Returns a ReplaceTopicRuleResult from IoT. /// REST API Reference for ReplaceTopicRule Operation public virtual ReplaceTopicRuleResponse EndReplaceTopicRule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region SearchIndex /// /// The query search index. /// /// /// /// Requires permission to access the SearchIndex /// action. /// /// /// Container for the necessary parameters to execute the SearchIndex service method. /// /// The response from the SearchIndex service method, as returned by IoT. /// /// The index is not ready. /// /// /// An unexpected error has occurred. /// /// /// The query is invalid. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for SearchIndex Operation public virtual SearchIndexResponse SearchIndex(SearchIndexRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchIndexResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the SearchIndex operation. /// /// /// Container for the necessary parameters to execute the SearchIndex operation on AmazonIoTClient. /// 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 EndSearchIndex /// operation. /// REST API Reference for SearchIndex Operation public virtual IAsyncResult BeginSearchIndex(SearchIndexRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SearchIndexRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchIndexResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SearchIndex operation. /// /// /// The IAsyncResult returned by the call to BeginSearchIndex. /// /// Returns a SearchIndexResult from IoT. /// REST API Reference for SearchIndex Operation public virtual SearchIndexResponse EndSearchIndex(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region SetDefaultAuthorizer /// /// Sets the default authorizer. This will be used if a websocket connection is made without /// specifying an authorizer. /// /// /// /// Requires permission to access the SetDefaultAuthorizer /// action. /// /// /// Container for the necessary parameters to execute the SetDefaultAuthorizer service method. /// /// The response from the SetDefaultAuthorizer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The resource already exists. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for SetDefaultAuthorizer Operation public virtual SetDefaultAuthorizerResponse SetDefaultAuthorizer(SetDefaultAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetDefaultAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = SetDefaultAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the SetDefaultAuthorizer operation. /// /// /// Container for the necessary parameters to execute the SetDefaultAuthorizer operation on AmazonIoTClient. /// 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 EndSetDefaultAuthorizer /// operation. /// REST API Reference for SetDefaultAuthorizer Operation public virtual IAsyncResult BeginSetDefaultAuthorizer(SetDefaultAuthorizerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SetDefaultAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = SetDefaultAuthorizerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SetDefaultAuthorizer operation. /// /// /// The IAsyncResult returned by the call to BeginSetDefaultAuthorizer. /// /// Returns a SetDefaultAuthorizerResult from IoT. /// REST API Reference for SetDefaultAuthorizer Operation public virtual SetDefaultAuthorizerResponse EndSetDefaultAuthorizer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region SetDefaultPolicyVersion /// /// Sets the specified version of the specified policy as the policy's default (operative) /// version. This action affects all certificates to which the policy is attached. To /// list the principals the policy is attached to, use the ListPrincipalPolicies /// action. /// /// /// /// Requires permission to access the SetDefaultPolicyVersion /// action. /// /// /// The policy name. /// The policy version ID. /// /// The response from the SetDefaultPolicyVersion service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for SetDefaultPolicyVersion Operation public virtual SetDefaultPolicyVersionResponse SetDefaultPolicyVersion(string policyName, string policyVersionId) { var request = new SetDefaultPolicyVersionRequest(); request.PolicyName = policyName; request.PolicyVersionId = policyVersionId; return SetDefaultPolicyVersion(request); } /// /// Sets the specified version of the specified policy as the policy's default (operative) /// version. This action affects all certificates to which the policy is attached. To /// list the principals the policy is attached to, use the ListPrincipalPolicies /// action. /// /// /// /// Requires permission to access the SetDefaultPolicyVersion /// action. /// /// /// Container for the necessary parameters to execute the SetDefaultPolicyVersion service method. /// /// The response from the SetDefaultPolicyVersion service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for SetDefaultPolicyVersion Operation public virtual SetDefaultPolicyVersionResponse SetDefaultPolicyVersion(SetDefaultPolicyVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetDefaultPolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = SetDefaultPolicyVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the SetDefaultPolicyVersion operation. /// /// /// Container for the necessary parameters to execute the SetDefaultPolicyVersion operation on AmazonIoTClient. /// 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 EndSetDefaultPolicyVersion /// operation. /// REST API Reference for SetDefaultPolicyVersion Operation public virtual IAsyncResult BeginSetDefaultPolicyVersion(SetDefaultPolicyVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SetDefaultPolicyVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = SetDefaultPolicyVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SetDefaultPolicyVersion operation. /// /// /// The IAsyncResult returned by the call to BeginSetDefaultPolicyVersion. /// /// Returns a SetDefaultPolicyVersionResult from IoT. /// REST API Reference for SetDefaultPolicyVersion Operation public virtual SetDefaultPolicyVersionResponse EndSetDefaultPolicyVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region SetLoggingOptions /// /// Sets the logging options. /// /// /// /// NOTE: use of this command is not recommended. Use SetV2LoggingOptions /// instead. /// /// /// /// Requires permission to access the SetLoggingOptions /// action. /// /// /// Container for the necessary parameters to execute the SetLoggingOptions service method. /// /// The response from the SetLoggingOptions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for SetLoggingOptions Operation public virtual SetLoggingOptionsResponse SetLoggingOptions(SetLoggingOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetLoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = SetLoggingOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the SetLoggingOptions operation. /// /// /// Container for the necessary parameters to execute the SetLoggingOptions operation on AmazonIoTClient. /// 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 EndSetLoggingOptions /// operation. /// REST API Reference for SetLoggingOptions Operation public virtual IAsyncResult BeginSetLoggingOptions(SetLoggingOptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SetLoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = SetLoggingOptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SetLoggingOptions operation. /// /// /// The IAsyncResult returned by the call to BeginSetLoggingOptions. /// /// Returns a SetLoggingOptionsResult from IoT. /// REST API Reference for SetLoggingOptions Operation public virtual SetLoggingOptionsResponse EndSetLoggingOptions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region SetV2LoggingLevel /// /// Sets the logging level. /// /// /// /// Requires permission to access the SetV2LoggingLevel /// action. /// /// /// Container for the necessary parameters to execute the SetV2LoggingLevel service method. /// /// The response from the SetV2LoggingLevel service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The resource is not configured. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for SetV2LoggingLevel Operation public virtual SetV2LoggingLevelResponse SetV2LoggingLevel(SetV2LoggingLevelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetV2LoggingLevelRequestMarshaller.Instance; options.ResponseUnmarshaller = SetV2LoggingLevelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the SetV2LoggingLevel operation. /// /// /// Container for the necessary parameters to execute the SetV2LoggingLevel operation on AmazonIoTClient. /// 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 EndSetV2LoggingLevel /// operation. /// REST API Reference for SetV2LoggingLevel Operation public virtual IAsyncResult BeginSetV2LoggingLevel(SetV2LoggingLevelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SetV2LoggingLevelRequestMarshaller.Instance; options.ResponseUnmarshaller = SetV2LoggingLevelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SetV2LoggingLevel operation. /// /// /// The IAsyncResult returned by the call to BeginSetV2LoggingLevel. /// /// Returns a SetV2LoggingLevelResult from IoT. /// REST API Reference for SetV2LoggingLevel Operation public virtual SetV2LoggingLevelResponse EndSetV2LoggingLevel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region SetV2LoggingOptions /// /// Sets the logging options for the V2 logging service. /// /// /// /// Requires permission to access the SetV2LoggingOptions /// action. /// /// /// Container for the necessary parameters to execute the SetV2LoggingOptions service method. /// /// The response from the SetV2LoggingOptions service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// REST API Reference for SetV2LoggingOptions Operation public virtual SetV2LoggingOptionsResponse SetV2LoggingOptions(SetV2LoggingOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SetV2LoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = SetV2LoggingOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the SetV2LoggingOptions operation. /// /// /// Container for the necessary parameters to execute the SetV2LoggingOptions operation on AmazonIoTClient. /// 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 EndSetV2LoggingOptions /// operation. /// REST API Reference for SetV2LoggingOptions Operation public virtual IAsyncResult BeginSetV2LoggingOptions(SetV2LoggingOptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SetV2LoggingOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = SetV2LoggingOptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SetV2LoggingOptions operation. /// /// /// The IAsyncResult returned by the call to BeginSetV2LoggingOptions. /// /// Returns a SetV2LoggingOptionsResult from IoT. /// REST API Reference for SetV2LoggingOptions Operation public virtual SetV2LoggingOptionsResponse EndSetV2LoggingOptions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartAuditMitigationActionsTask /// /// Starts a task that applies a set of mitigation actions to the specified target. /// /// /// /// Requires permission to access the StartAuditMitigationActionsTask /// action. /// /// /// Container for the necessary parameters to execute the StartAuditMitigationActionsTask service method. /// /// The response from the StartAuditMitigationActionsTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// This exception occurs if you attempt to start a task with the same task-id as an /// existing task but with a different clientRequestToken. /// /// /// The rate exceeds the limit. /// /// REST API Reference for StartAuditMitigationActionsTask Operation public virtual StartAuditMitigationActionsTaskResponse StartAuditMitigationActionsTask(StartAuditMitigationActionsTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartAuditMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StartAuditMitigationActionsTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartAuditMitigationActionsTask operation. /// /// /// Container for the necessary parameters to execute the StartAuditMitigationActionsTask operation on AmazonIoTClient. /// 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 EndStartAuditMitigationActionsTask /// operation. /// REST API Reference for StartAuditMitigationActionsTask Operation public virtual IAsyncResult BeginStartAuditMitigationActionsTask(StartAuditMitigationActionsTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartAuditMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StartAuditMitigationActionsTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartAuditMitigationActionsTask operation. /// /// /// The IAsyncResult returned by the call to BeginStartAuditMitigationActionsTask. /// /// Returns a StartAuditMitigationActionsTaskResult from IoT. /// REST API Reference for StartAuditMitigationActionsTask Operation public virtual StartAuditMitigationActionsTaskResponse EndStartAuditMitigationActionsTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartDetectMitigationActionsTask /// /// Starts a Device Defender ML Detect mitigation actions task. /// /// /// /// Requires permission to access the StartDetectMitigationActionsTask /// action. /// /// /// Container for the necessary parameters to execute the StartDetectMitigationActionsTask service method. /// /// The response from the StartDetectMitigationActionsTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// This exception occurs if you attempt to start a task with the same task-id as an /// existing task but with a different clientRequestToken. /// /// /// The rate exceeds the limit. /// /// REST API Reference for StartDetectMitigationActionsTask Operation public virtual StartDetectMitigationActionsTaskResponse StartDetectMitigationActionsTask(StartDetectMitigationActionsTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartDetectMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDetectMitigationActionsTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartDetectMitigationActionsTask operation. /// /// /// Container for the necessary parameters to execute the StartDetectMitigationActionsTask operation on AmazonIoTClient. /// 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 EndStartDetectMitigationActionsTask /// operation. /// REST API Reference for StartDetectMitigationActionsTask Operation public virtual IAsyncResult BeginStartDetectMitigationActionsTask(StartDetectMitigationActionsTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartDetectMitigationActionsTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StartDetectMitigationActionsTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartDetectMitigationActionsTask operation. /// /// /// The IAsyncResult returned by the call to BeginStartDetectMitigationActionsTask. /// /// Returns a StartDetectMitigationActionsTaskResult from IoT. /// REST API Reference for StartDetectMitigationActionsTask Operation public virtual StartDetectMitigationActionsTaskResponse EndStartDetectMitigationActionsTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartOnDemandAuditTask /// /// Starts an on-demand Device Defender audit. /// /// /// /// Requires permission to access the StartOnDemandAuditTask /// action. /// /// /// Container for the necessary parameters to execute the StartOnDemandAuditTask service method. /// /// The response from the StartOnDemandAuditTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The rate exceeds the limit. /// /// REST API Reference for StartOnDemandAuditTask Operation public virtual StartOnDemandAuditTaskResponse StartOnDemandAuditTask(StartOnDemandAuditTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartOnDemandAuditTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StartOnDemandAuditTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartOnDemandAuditTask operation. /// /// /// Container for the necessary parameters to execute the StartOnDemandAuditTask operation on AmazonIoTClient. /// 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 EndStartOnDemandAuditTask /// operation. /// REST API Reference for StartOnDemandAuditTask Operation public virtual IAsyncResult BeginStartOnDemandAuditTask(StartOnDemandAuditTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartOnDemandAuditTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StartOnDemandAuditTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartOnDemandAuditTask operation. /// /// /// The IAsyncResult returned by the call to BeginStartOnDemandAuditTask. /// /// Returns a StartOnDemandAuditTaskResult from IoT. /// REST API Reference for StartOnDemandAuditTask Operation public virtual StartOnDemandAuditTaskResponse EndStartOnDemandAuditTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartThingRegistrationTask /// /// Creates a bulk thing provisioning task. /// /// /// /// Requires permission to access the StartThingRegistrationTask /// action. /// /// /// Container for the necessary parameters to execute the StartThingRegistrationTask service method. /// /// The response from the StartThingRegistrationTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for StartThingRegistrationTask Operation public virtual StartThingRegistrationTaskResponse StartThingRegistrationTask(StartThingRegistrationTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartThingRegistrationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StartThingRegistrationTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartThingRegistrationTask operation. /// /// /// Container for the necessary parameters to execute the StartThingRegistrationTask operation on AmazonIoTClient. /// 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 EndStartThingRegistrationTask /// operation. /// REST API Reference for StartThingRegistrationTask Operation public virtual IAsyncResult BeginStartThingRegistrationTask(StartThingRegistrationTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartThingRegistrationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StartThingRegistrationTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartThingRegistrationTask operation. /// /// /// The IAsyncResult returned by the call to BeginStartThingRegistrationTask. /// /// Returns a StartThingRegistrationTaskResult from IoT. /// REST API Reference for StartThingRegistrationTask Operation public virtual StartThingRegistrationTaskResponse EndStartThingRegistrationTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopThingRegistrationTask /// /// Cancels a bulk thing provisioning task. /// /// /// /// Requires permission to access the StopThingRegistrationTask /// action. /// /// /// Container for the necessary parameters to execute the StopThingRegistrationTask service method. /// /// The response from the StopThingRegistrationTask service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for StopThingRegistrationTask Operation public virtual StopThingRegistrationTaskResponse StopThingRegistrationTask(StopThingRegistrationTaskRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopThingRegistrationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StopThingRegistrationTaskResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopThingRegistrationTask operation. /// /// /// Container for the necessary parameters to execute the StopThingRegistrationTask operation on AmazonIoTClient. /// 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 EndStopThingRegistrationTask /// operation. /// REST API Reference for StopThingRegistrationTask Operation public virtual IAsyncResult BeginStopThingRegistrationTask(StopThingRegistrationTaskRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopThingRegistrationTaskRequestMarshaller.Instance; options.ResponseUnmarshaller = StopThingRegistrationTaskResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopThingRegistrationTask operation. /// /// /// The IAsyncResult returned by the call to BeginStopThingRegistrationTask. /// /// Returns a StopThingRegistrationTaskResult from IoT. /// REST API Reference for StopThingRegistrationTask Operation public virtual StopThingRegistrationTaskResponse EndStopThingRegistrationTask(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds to or modifies the tags of the given resource. Tags are metadata which can be /// used to manage a resource. /// /// /// /// Requires permission to access the TagResource /// action. /// /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonIoTClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from IoT. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TestAuthorization /// /// Tests if a specified principal is authorized to perform an IoT action on a specified /// resource. Use this to test and debug the authorization behavior of devices that connect /// to the IoT device gateway. /// /// /// /// Requires permission to access the TestAuthorization /// action. /// /// /// Container for the necessary parameters to execute the TestAuthorization service method. /// /// The response from the TestAuthorization service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for TestAuthorization Operation public virtual TestAuthorizationResponse TestAuthorization(TestAuthorizationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestAuthorizationRequestMarshaller.Instance; options.ResponseUnmarshaller = TestAuthorizationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TestAuthorization operation. /// /// /// Container for the necessary parameters to execute the TestAuthorization operation on AmazonIoTClient. /// 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 EndTestAuthorization /// operation. /// REST API Reference for TestAuthorization Operation public virtual IAsyncResult BeginTestAuthorization(TestAuthorizationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TestAuthorizationRequestMarshaller.Instance; options.ResponseUnmarshaller = TestAuthorizationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TestAuthorization operation. /// /// /// The IAsyncResult returned by the call to BeginTestAuthorization. /// /// Returns a TestAuthorizationResult from IoT. /// REST API Reference for TestAuthorization Operation public virtual TestAuthorizationResponse EndTestAuthorization(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TestInvokeAuthorizer /// /// Tests a custom authorization behavior by invoking a specified custom authorizer. Use /// this to test and debug the custom authorization behavior of devices that connect to /// the IoT device gateway. /// /// /// /// Requires permission to access the TestInvokeAuthorizer /// action. /// /// /// Container for the necessary parameters to execute the TestInvokeAuthorizer service method. /// /// The response from the TestInvokeAuthorizer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The response is invalid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for TestInvokeAuthorizer Operation public virtual TestInvokeAuthorizerResponse TestInvokeAuthorizer(TestInvokeAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TestInvokeAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = TestInvokeAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TestInvokeAuthorizer operation. /// /// /// Container for the necessary parameters to execute the TestInvokeAuthorizer operation on AmazonIoTClient. /// 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 EndTestInvokeAuthorizer /// operation. /// REST API Reference for TestInvokeAuthorizer Operation public virtual IAsyncResult BeginTestInvokeAuthorizer(TestInvokeAuthorizerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TestInvokeAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = TestInvokeAuthorizerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TestInvokeAuthorizer operation. /// /// /// The IAsyncResult returned by the call to BeginTestInvokeAuthorizer. /// /// Returns a TestInvokeAuthorizerResult from IoT. /// REST API Reference for TestInvokeAuthorizer Operation public virtual TestInvokeAuthorizerResponse EndTestInvokeAuthorizer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TransferCertificate /// /// Transfers the specified certificate to the specified Amazon Web Services account. /// /// /// /// Requires permission to access the TransferCertificate /// action. /// /// /// /// You can cancel the transfer until it is acknowledged by the recipient. /// /// /// /// No notification is sent to the transfer destination's account. It is up to the caller /// to notify the transfer target. /// /// /// /// The certificate being transferred must not be in the ACTIVE state. You can use the /// UpdateCertificate action to deactivate it. /// /// /// /// The certificate must not have any policies attached to it. You can use the DetachPolicy /// action to detach them. /// /// /// The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) /// The Amazon Web Services account. /// /// The response from the TransferCertificate service method, as returned by IoT. /// /// The certificate operation is not allowed. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You can't transfer the certificate because authorization policies are still attached. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for TransferCertificate Operation public virtual TransferCertificateResponse TransferCertificate(string certificateId, string targetAwsAccount) { var request = new TransferCertificateRequest(); request.CertificateId = certificateId; request.TargetAwsAccount = targetAwsAccount; return TransferCertificate(request); } /// /// Transfers the specified certificate to the specified Amazon Web Services account. /// /// /// /// Requires permission to access the TransferCertificate /// action. /// /// /// /// You can cancel the transfer until it is acknowledged by the recipient. /// /// /// /// No notification is sent to the transfer destination's account. It is up to the caller /// to notify the transfer target. /// /// /// /// The certificate being transferred must not be in the ACTIVE state. You can use the /// UpdateCertificate action to deactivate it. /// /// /// /// The certificate must not have any policies attached to it. You can use the DetachPolicy /// action to detach them. /// /// /// Container for the necessary parameters to execute the TransferCertificate service method. /// /// The response from the TransferCertificate service method, as returned by IoT. /// /// The certificate operation is not allowed. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You can't transfer the certificate because authorization policies are still attached. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for TransferCertificate Operation public virtual TransferCertificateResponse TransferCertificate(TransferCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TransferCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = TransferCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TransferCertificate operation. /// /// /// Container for the necessary parameters to execute the TransferCertificate operation on AmazonIoTClient. /// 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 EndTransferCertificate /// operation. /// REST API Reference for TransferCertificate Operation public virtual IAsyncResult BeginTransferCertificate(TransferCertificateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TransferCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = TransferCertificateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TransferCertificate operation. /// /// /// The IAsyncResult returned by the call to BeginTransferCertificate. /// /// Returns a TransferCertificateResult from IoT. /// REST API Reference for TransferCertificate Operation public virtual TransferCertificateResponse EndTransferCertificate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Removes the given tags (metadata) from the resource. /// /// /// /// Requires permission to access the UntagResource /// action. /// /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonIoTClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from IoT. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateAccountAuditConfiguration /// /// Configures or reconfigures the Device Defender audit settings for this account. Settings /// include how audit notifications are sent and which audit checks are enabled or disabled. /// /// /// /// Requires permission to access the UpdateAccountAuditConfiguration /// action. /// /// /// Container for the necessary parameters to execute the UpdateAccountAuditConfiguration service method. /// /// The response from the UpdateAccountAuditConfiguration service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for UpdateAccountAuditConfiguration Operation public virtual UpdateAccountAuditConfigurationResponse UpdateAccountAuditConfiguration(UpdateAccountAuditConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAccountAuditConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAccountAuditConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateAccountAuditConfiguration operation. /// /// /// Container for the necessary parameters to execute the UpdateAccountAuditConfiguration operation on AmazonIoTClient. /// 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 EndUpdateAccountAuditConfiguration /// operation. /// REST API Reference for UpdateAccountAuditConfiguration Operation public virtual IAsyncResult BeginUpdateAccountAuditConfiguration(UpdateAccountAuditConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAccountAuditConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAccountAuditConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateAccountAuditConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateAccountAuditConfiguration. /// /// Returns a UpdateAccountAuditConfigurationResult from IoT. /// REST API Reference for UpdateAccountAuditConfiguration Operation public virtual UpdateAccountAuditConfigurationResponse EndUpdateAccountAuditConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateAuditSuppression /// /// Updates a Device Defender audit suppression. /// /// Container for the necessary parameters to execute the UpdateAuditSuppression service method. /// /// The response from the UpdateAuditSuppression service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for UpdateAuditSuppression Operation public virtual UpdateAuditSuppressionResponse UpdateAuditSuppression(UpdateAuditSuppressionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAuditSuppressionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAuditSuppressionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateAuditSuppression operation. /// /// /// Container for the necessary parameters to execute the UpdateAuditSuppression operation on AmazonIoTClient. /// 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 EndUpdateAuditSuppression /// operation. /// REST API Reference for UpdateAuditSuppression Operation public virtual IAsyncResult BeginUpdateAuditSuppression(UpdateAuditSuppressionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAuditSuppressionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAuditSuppressionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateAuditSuppression operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateAuditSuppression. /// /// Returns a UpdateAuditSuppressionResult from IoT. /// REST API Reference for UpdateAuditSuppression Operation public virtual UpdateAuditSuppressionResponse EndUpdateAuditSuppression(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateAuthorizer /// /// Updates an authorizer. /// /// /// /// Requires permission to access the UpdateAuthorizer /// action. /// /// /// Container for the necessary parameters to execute the UpdateAuthorizer service method. /// /// The response from the UpdateAuthorizer service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// A limit has been exceeded. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for UpdateAuthorizer Operation public virtual UpdateAuthorizerResponse UpdateAuthorizer(UpdateAuthorizerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAuthorizerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateAuthorizer operation. /// /// /// Container for the necessary parameters to execute the UpdateAuthorizer operation on AmazonIoTClient. /// 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 EndUpdateAuthorizer /// operation. /// REST API Reference for UpdateAuthorizer Operation public virtual IAsyncResult BeginUpdateAuthorizer(UpdateAuthorizerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAuthorizerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAuthorizerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateAuthorizer operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateAuthorizer. /// /// Returns a UpdateAuthorizerResult from IoT. /// REST API Reference for UpdateAuthorizer Operation public virtual UpdateAuthorizerResponse EndUpdateAuthorizer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateBillingGroup /// /// Updates information about the billing group. /// /// /// /// Requires permission to access the UpdateBillingGroup /// action. /// /// /// Container for the necessary parameters to execute the UpdateBillingGroup service method. /// /// The response from the UpdateBillingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for UpdateBillingGroup Operation public virtual UpdateBillingGroupResponse UpdateBillingGroup(UpdateBillingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBillingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateBillingGroup operation. /// /// /// Container for the necessary parameters to execute the UpdateBillingGroup operation on AmazonIoTClient. /// 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 EndUpdateBillingGroup /// operation. /// REST API Reference for UpdateBillingGroup Operation public virtual IAsyncResult BeginUpdateBillingGroup(UpdateBillingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBillingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBillingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateBillingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateBillingGroup. /// /// Returns a UpdateBillingGroupResult from IoT. /// REST API Reference for UpdateBillingGroup Operation public virtual UpdateBillingGroupResponse EndUpdateBillingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateCACertificate /// /// Updates a registered CA certificate. /// /// /// /// Requires permission to access the UpdateCACertificate /// action. /// /// /// Container for the necessary parameters to execute the UpdateCACertificate service method. /// /// The response from the UpdateCACertificate service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for UpdateCACertificate Operation public virtual UpdateCACertificateResponse UpdateCACertificate(UpdateCACertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCACertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCACertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateCACertificate operation. /// /// /// Container for the necessary parameters to execute the UpdateCACertificate operation on AmazonIoTClient. /// 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 EndUpdateCACertificate /// operation. /// REST API Reference for UpdateCACertificate Operation public virtual IAsyncResult BeginUpdateCACertificate(UpdateCACertificateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCACertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCACertificateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateCACertificate operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateCACertificate. /// /// Returns a UpdateCACertificateResult from IoT. /// REST API Reference for UpdateCACertificate Operation public virtual UpdateCACertificateResponse EndUpdateCACertificate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateCertificate /// /// Updates the status of the specified certificate. This operation is idempotent. /// /// /// /// Requires permission to access the UpdateCertificate /// action. /// /// /// /// Certificates must be in the ACTIVE state to authenticate devices that use a certificate /// to connect to IoT. /// /// /// /// Within a few minutes of updating a certificate from the ACTIVE state to any other /// state, IoT disconnects all devices that used that certificate to connect. Devices /// cannot use a certificate that is not in the ACTIVE state to reconnect. /// /// /// The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.) /// The new status. Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by IoT. They are not intended for developer use. Note: The status value REGISTER_INACTIVE is deprecated and should not be used. /// /// The response from the UpdateCertificate service method, as returned by IoT. /// /// The certificate operation is not allowed. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for UpdateCertificate Operation public virtual UpdateCertificateResponse UpdateCertificate(string certificateId, CertificateStatus newStatus) { var request = new UpdateCertificateRequest(); request.CertificateId = certificateId; request.NewStatus = newStatus; return UpdateCertificate(request); } /// /// Updates the status of the specified certificate. This operation is idempotent. /// /// /// /// Requires permission to access the UpdateCertificate /// action. /// /// /// /// Certificates must be in the ACTIVE state to authenticate devices that use a certificate /// to connect to IoT. /// /// /// /// Within a few minutes of updating a certificate from the ACTIVE state to any other /// state, IoT disconnects all devices that used that certificate to connect. Devices /// cannot use a certificate that is not in the ACTIVE state to reconnect. /// /// /// Container for the necessary parameters to execute the UpdateCertificate service method. /// /// The response from the UpdateCertificate service method, as returned by IoT. /// /// The certificate operation is not allowed. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for UpdateCertificate Operation public virtual UpdateCertificateResponse UpdateCertificate(UpdateCertificateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCertificateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateCertificate operation. /// /// /// Container for the necessary parameters to execute the UpdateCertificate operation on AmazonIoTClient. /// 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 EndUpdateCertificate /// operation. /// REST API Reference for UpdateCertificate Operation public virtual IAsyncResult BeginUpdateCertificate(UpdateCertificateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCertificateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCertificateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateCertificate operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateCertificate. /// /// Returns a UpdateCertificateResult from IoT. /// REST API Reference for UpdateCertificate Operation public virtual UpdateCertificateResponse EndUpdateCertificate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateCustomMetric /// /// Updates a Device Defender detect custom metric. /// /// /// /// Requires permission to access the UpdateCustomMetric /// action. /// /// /// Container for the necessary parameters to execute the UpdateCustomMetric service method. /// /// The response from the UpdateCustomMetric service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for UpdateCustomMetric Operation public virtual UpdateCustomMetricResponse UpdateCustomMetric(UpdateCustomMetricRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCustomMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCustomMetricResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateCustomMetric operation. /// /// /// Container for the necessary parameters to execute the UpdateCustomMetric operation on AmazonIoTClient. /// 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 EndUpdateCustomMetric /// operation. /// REST API Reference for UpdateCustomMetric Operation public virtual IAsyncResult BeginUpdateCustomMetric(UpdateCustomMetricRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCustomMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCustomMetricResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateCustomMetric operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateCustomMetric. /// /// Returns a UpdateCustomMetricResult from IoT. /// REST API Reference for UpdateCustomMetric Operation public virtual UpdateCustomMetricResponse EndUpdateCustomMetric(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDimension /// /// Updates the definition for a dimension. You cannot change the type of a dimension /// after it is created (you can delete it and recreate it). /// /// /// /// Requires permission to access the UpdateDimension /// action. /// /// /// Container for the necessary parameters to execute the UpdateDimension service method. /// /// The response from the UpdateDimension service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for UpdateDimension Operation public virtual UpdateDimensionResponse UpdateDimension(UpdateDimensionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDimensionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDimensionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDimension operation. /// /// /// Container for the necessary parameters to execute the UpdateDimension operation on AmazonIoTClient. /// 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 EndUpdateDimension /// operation. /// REST API Reference for UpdateDimension Operation public virtual IAsyncResult BeginUpdateDimension(UpdateDimensionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDimensionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDimensionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDimension operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDimension. /// /// Returns a UpdateDimensionResult from IoT. /// REST API Reference for UpdateDimension Operation public virtual UpdateDimensionResponse EndUpdateDimension(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDomainConfiguration /// /// Updates values stored in the domain configuration. Domain configurations for default /// endpoints can't be updated. /// /// /// /// Requires permission to access the UpdateDomainConfiguration /// action. /// /// /// Container for the necessary parameters to execute the UpdateDomainConfiguration service method. /// /// The response from the UpdateDomainConfiguration service method, as returned by IoT. /// /// The certificate is invalid. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for UpdateDomainConfiguration Operation public virtual UpdateDomainConfigurationResponse UpdateDomainConfiguration(UpdateDomainConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDomainConfiguration operation. /// /// /// Container for the necessary parameters to execute the UpdateDomainConfiguration operation on AmazonIoTClient. /// 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 EndUpdateDomainConfiguration /// operation. /// REST API Reference for UpdateDomainConfiguration Operation public virtual IAsyncResult BeginUpdateDomainConfiguration(UpdateDomainConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDomainConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDomainConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDomainConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDomainConfiguration. /// /// Returns a UpdateDomainConfigurationResult from IoT. /// REST API Reference for UpdateDomainConfiguration Operation public virtual UpdateDomainConfigurationResponse EndUpdateDomainConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDynamicThingGroup /// /// Updates a dynamic thing group. /// /// /// /// Requires permission to access the UpdateDynamicThingGroup /// action. /// /// /// Container for the necessary parameters to execute the UpdateDynamicThingGroup service method. /// /// The response from the UpdateDynamicThingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The query is invalid. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for UpdateDynamicThingGroup Operation public virtual UpdateDynamicThingGroupResponse UpdateDynamicThingGroup(UpdateDynamicThingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDynamicThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDynamicThingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDynamicThingGroup operation. /// /// /// Container for the necessary parameters to execute the UpdateDynamicThingGroup operation on AmazonIoTClient. /// 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 EndUpdateDynamicThingGroup /// operation. /// REST API Reference for UpdateDynamicThingGroup Operation public virtual IAsyncResult BeginUpdateDynamicThingGroup(UpdateDynamicThingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDynamicThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDynamicThingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDynamicThingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDynamicThingGroup. /// /// Returns a UpdateDynamicThingGroupResult from IoT. /// REST API Reference for UpdateDynamicThingGroup Operation public virtual UpdateDynamicThingGroupResponse EndUpdateDynamicThingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateEventConfigurations /// /// Updates the event configurations. /// /// /// /// Requires permission to access the UpdateEventConfigurations /// action. /// /// /// Container for the necessary parameters to execute the UpdateEventConfigurations service method. /// /// The response from the UpdateEventConfigurations service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for UpdateEventConfigurations Operation public virtual UpdateEventConfigurationsResponse UpdateEventConfigurations(UpdateEventConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEventConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEventConfigurationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateEventConfigurations operation. /// /// /// Container for the necessary parameters to execute the UpdateEventConfigurations operation on AmazonIoTClient. /// 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 EndUpdateEventConfigurations /// operation. /// REST API Reference for UpdateEventConfigurations Operation public virtual IAsyncResult BeginUpdateEventConfigurations(UpdateEventConfigurationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEventConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEventConfigurationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateEventConfigurations operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateEventConfigurations. /// /// Returns a UpdateEventConfigurationsResult from IoT. /// REST API Reference for UpdateEventConfigurations Operation public virtual UpdateEventConfigurationsResponse EndUpdateEventConfigurations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateFleetMetric /// /// Updates the data for a fleet metric. /// /// /// /// Requires permission to access the UpdateFleetMetric /// action. /// /// /// Container for the necessary parameters to execute the UpdateFleetMetric service method. /// /// The response from the UpdateFleetMetric service method, as returned by IoT. /// /// The index is not ready. /// /// /// An unexpected error has occurred. /// /// /// The aggregation is invalid. /// /// /// The query is invalid. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for UpdateFleetMetric Operation public virtual UpdateFleetMetricResponse UpdateFleetMetric(UpdateFleetMetricRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFleetMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFleetMetricResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateFleetMetric operation. /// /// /// Container for the necessary parameters to execute the UpdateFleetMetric operation on AmazonIoTClient. /// 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 EndUpdateFleetMetric /// operation. /// REST API Reference for UpdateFleetMetric Operation public virtual IAsyncResult BeginUpdateFleetMetric(UpdateFleetMetricRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFleetMetricRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFleetMetricResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateFleetMetric operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateFleetMetric. /// /// Returns a UpdateFleetMetricResult from IoT. /// REST API Reference for UpdateFleetMetric Operation public virtual UpdateFleetMetricResponse EndUpdateFleetMetric(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateIndexingConfiguration /// /// Updates the search configuration. /// /// /// /// Requires permission to access the UpdateIndexingConfiguration /// action. /// /// /// Container for the necessary parameters to execute the UpdateIndexingConfiguration service method. /// /// The response from the UpdateIndexingConfiguration service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for UpdateIndexingConfiguration Operation public virtual UpdateIndexingConfigurationResponse UpdateIndexingConfiguration(UpdateIndexingConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIndexingConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIndexingConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateIndexingConfiguration operation. /// /// /// Container for the necessary parameters to execute the UpdateIndexingConfiguration operation on AmazonIoTClient. /// 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 EndUpdateIndexingConfiguration /// operation. /// REST API Reference for UpdateIndexingConfiguration Operation public virtual IAsyncResult BeginUpdateIndexingConfiguration(UpdateIndexingConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateIndexingConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateIndexingConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateIndexingConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateIndexingConfiguration. /// /// Returns a UpdateIndexingConfigurationResult from IoT. /// REST API Reference for UpdateIndexingConfiguration Operation public virtual UpdateIndexingConfigurationResponse EndUpdateIndexingConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateJob /// /// Updates supported fields of the specified job. /// /// /// /// Requires permission to access the UpdateJob /// action. /// /// /// Container for the necessary parameters to execute the UpdateJob service method. /// /// The response from the UpdateJob service method, as returned by IoT. /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// REST API Reference for UpdateJob Operation public virtual UpdateJobResponse UpdateJob(UpdateJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateJob operation. /// /// /// Container for the necessary parameters to execute the UpdateJob operation on AmazonIoTClient. /// 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 EndUpdateJob /// operation. /// REST API Reference for UpdateJob Operation public virtual IAsyncResult BeginUpdateJob(UpdateJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateJob operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateJob. /// /// Returns a UpdateJobResult from IoT. /// REST API Reference for UpdateJob Operation public virtual UpdateJobResponse EndUpdateJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateMitigationAction /// /// Updates the definition for the specified mitigation action. /// /// /// /// Requires permission to access the UpdateMitigationAction /// action. /// /// /// Container for the necessary parameters to execute the UpdateMitigationAction service method. /// /// The response from the UpdateMitigationAction service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for UpdateMitigationAction Operation public virtual UpdateMitigationActionResponse UpdateMitigationAction(UpdateMitigationActionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMitigationActionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMitigationActionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateMitigationAction operation. /// /// /// Container for the necessary parameters to execute the UpdateMitigationAction operation on AmazonIoTClient. /// 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 EndUpdateMitigationAction /// operation. /// REST API Reference for UpdateMitigationAction Operation public virtual IAsyncResult BeginUpdateMitigationAction(UpdateMitigationActionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMitigationActionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMitigationActionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateMitigationAction operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateMitigationAction. /// /// Returns a UpdateMitigationActionResult from IoT. /// REST API Reference for UpdateMitigationAction Operation public virtual UpdateMitigationActionResponse EndUpdateMitigationAction(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdatePackage /// /// Updates the supported fields for a specific package. /// /// /// /// Requires permission to access the UpdatePackage /// and GetIndexingConfiguration /// actions. /// /// /// Container for the necessary parameters to execute the UpdatePackage service method. /// /// The response from the UpdatePackage service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// The request is not valid. /// /// REST API Reference for UpdatePackage Operation public virtual UpdatePackageResponse UpdatePackage(UpdatePackageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePackageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdatePackage operation. /// /// /// Container for the necessary parameters to execute the UpdatePackage operation on AmazonIoTClient. /// 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 EndUpdatePackage /// operation. /// REST API Reference for UpdatePackage Operation public virtual IAsyncResult BeginUpdatePackage(UpdatePackageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePackageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePackageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdatePackage operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePackage. /// /// Returns a UpdatePackageResult from IoT. /// REST API Reference for UpdatePackage Operation public virtual UpdatePackageResponse EndUpdatePackage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdatePackageConfiguration /// /// Updates the package configuration. /// /// /// /// Requires permission to access the UpdatePackageConfiguration /// and iam:PassRole /// actions. /// /// /// Container for the necessary parameters to execute the UpdatePackageConfiguration service method. /// /// The response from the UpdatePackageConfiguration service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The rate exceeds the limit. /// /// /// The request is not valid. /// /// REST API Reference for UpdatePackageConfiguration Operation public virtual UpdatePackageConfigurationResponse UpdatePackageConfiguration(UpdatePackageConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePackageConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePackageConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdatePackageConfiguration operation. /// /// /// Container for the necessary parameters to execute the UpdatePackageConfiguration operation on AmazonIoTClient. /// 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 EndUpdatePackageConfiguration /// operation. /// REST API Reference for UpdatePackageConfiguration Operation public virtual IAsyncResult BeginUpdatePackageConfiguration(UpdatePackageConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePackageConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePackageConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdatePackageConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePackageConfiguration. /// /// Returns a UpdatePackageConfigurationResult from IoT. /// REST API Reference for UpdatePackageConfiguration Operation public virtual UpdatePackageConfigurationResponse EndUpdatePackageConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdatePackageVersion /// /// Updates the supported fields for a specific package version. /// /// /// /// Requires permission to access the UpdatePackageVersion /// and GetIndexingConfiguration /// actions. /// /// /// Container for the necessary parameters to execute the UpdatePackageVersion service method. /// /// The response from the UpdatePackageVersion service method, as returned by IoT. /// /// Internal error from the service that indicates an unexpected error or that the service /// is unavailable. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// The request is not valid. /// /// REST API Reference for UpdatePackageVersion Operation public virtual UpdatePackageVersionResponse UpdatePackageVersion(UpdatePackageVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePackageVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePackageVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdatePackageVersion operation. /// /// /// Container for the necessary parameters to execute the UpdatePackageVersion operation on AmazonIoTClient. /// 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 EndUpdatePackageVersion /// operation. /// REST API Reference for UpdatePackageVersion Operation public virtual IAsyncResult BeginUpdatePackageVersion(UpdatePackageVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePackageVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePackageVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdatePackageVersion operation. /// /// /// The IAsyncResult returned by the call to BeginUpdatePackageVersion. /// /// Returns a UpdatePackageVersionResult from IoT. /// REST API Reference for UpdatePackageVersion Operation public virtual UpdatePackageVersionResponse EndUpdatePackageVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateProvisioningTemplate /// /// Updates a provisioning template. /// /// /// /// Requires permission to access the UpdateProvisioningTemplate /// action. /// /// /// Container for the necessary parameters to execute the UpdateProvisioningTemplate service method. /// /// The response from the UpdateProvisioningTemplate service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for UpdateProvisioningTemplate Operation public virtual UpdateProvisioningTemplateResponse UpdateProvisioningTemplate(UpdateProvisioningTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProvisioningTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProvisioningTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateProvisioningTemplate operation. /// /// /// Container for the necessary parameters to execute the UpdateProvisioningTemplate operation on AmazonIoTClient. /// 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 EndUpdateProvisioningTemplate /// operation. /// REST API Reference for UpdateProvisioningTemplate Operation public virtual IAsyncResult BeginUpdateProvisioningTemplate(UpdateProvisioningTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProvisioningTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProvisioningTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateProvisioningTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateProvisioningTemplate. /// /// Returns a UpdateProvisioningTemplateResult from IoT. /// REST API Reference for UpdateProvisioningTemplate Operation public virtual UpdateProvisioningTemplateResponse EndUpdateProvisioningTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateRoleAlias /// /// Updates a role alias. /// /// /// /// Requires permission to access the UpdateRoleAlias /// action. /// /// /// Container for the necessary parameters to execute the UpdateRoleAlias service method. /// /// The response from the UpdateRoleAlias service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for UpdateRoleAlias Operation public virtual UpdateRoleAliasResponse UpdateRoleAlias(UpdateRoleAliasRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoleAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoleAliasResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateRoleAlias operation. /// /// /// Container for the necessary parameters to execute the UpdateRoleAlias operation on AmazonIoTClient. /// 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 EndUpdateRoleAlias /// operation. /// REST API Reference for UpdateRoleAlias Operation public virtual IAsyncResult BeginUpdateRoleAlias(UpdateRoleAliasRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoleAliasRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoleAliasResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateRoleAlias operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateRoleAlias. /// /// Returns a UpdateRoleAliasResult from IoT. /// REST API Reference for UpdateRoleAlias Operation public virtual UpdateRoleAliasResponse EndUpdateRoleAlias(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateScheduledAudit /// /// Updates a scheduled audit, including which checks are performed and how often the /// audit takes place. /// /// /// /// Requires permission to access the UpdateScheduledAudit /// action. /// /// /// Container for the necessary parameters to execute the UpdateScheduledAudit service method. /// /// The response from the UpdateScheduledAudit service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for UpdateScheduledAudit Operation public virtual UpdateScheduledAuditResponse UpdateScheduledAudit(UpdateScheduledAuditRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateScheduledAuditRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateScheduledAuditResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateScheduledAudit operation. /// /// /// Container for the necessary parameters to execute the UpdateScheduledAudit operation on AmazonIoTClient. /// 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 EndUpdateScheduledAudit /// operation. /// REST API Reference for UpdateScheduledAudit Operation public virtual IAsyncResult BeginUpdateScheduledAudit(UpdateScheduledAuditRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateScheduledAuditRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateScheduledAuditResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateScheduledAudit operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateScheduledAudit. /// /// Returns a UpdateScheduledAuditResult from IoT. /// REST API Reference for UpdateScheduledAudit Operation public virtual UpdateScheduledAuditResponse EndUpdateScheduledAudit(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateSecurityProfile /// /// Updates a Device Defender security profile. /// /// /// /// Requires permission to access the UpdateSecurityProfile /// action. /// /// /// Container for the necessary parameters to execute the UpdateSecurityProfile service method. /// /// The response from the UpdateSecurityProfile service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for UpdateSecurityProfile Operation public virtual UpdateSecurityProfileResponse UpdateSecurityProfile(UpdateSecurityProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSecurityProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateSecurityProfile operation. /// /// /// Container for the necessary parameters to execute the UpdateSecurityProfile operation on AmazonIoTClient. /// 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 EndUpdateSecurityProfile /// operation. /// REST API Reference for UpdateSecurityProfile Operation public virtual IAsyncResult BeginUpdateSecurityProfile(UpdateSecurityProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSecurityProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSecurityProfile operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSecurityProfile. /// /// Returns a UpdateSecurityProfileResult from IoT. /// REST API Reference for UpdateSecurityProfile Operation public virtual UpdateSecurityProfileResponse EndUpdateSecurityProfile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateStream /// /// Updates an existing stream. The stream version will be incremented by one. /// /// /// /// Requires permission to access the UpdateStream /// action. /// /// /// Container for the necessary parameters to execute the UpdateStream service method. /// /// The response from the UpdateStream service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for UpdateStream Operation public virtual UpdateStreamResponse UpdateStream(UpdateStreamRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStreamRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStreamResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateStream operation. /// /// /// Container for the necessary parameters to execute the UpdateStream operation on AmazonIoTClient. /// 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 EndUpdateStream /// operation. /// REST API Reference for UpdateStream Operation public virtual IAsyncResult BeginUpdateStream(UpdateStreamRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStreamRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStreamResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateStream operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateStream. /// /// Returns a UpdateStreamResult from IoT. /// REST API Reference for UpdateStream Operation public virtual UpdateStreamResponse EndUpdateStream(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateThing /// /// Updates the data for a thing. /// /// /// /// Requires permission to access the UpdateThing /// action. /// /// /// Container for the necessary parameters to execute the UpdateThing service method. /// /// The response from the UpdateThing service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The service is temporarily unavailable. /// /// /// The rate exceeds the limit. /// /// /// You are not authorized to perform this operation. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for UpdateThing Operation public virtual UpdateThingResponse UpdateThing(UpdateThingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThingRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateThing operation. /// /// /// Container for the necessary parameters to execute the UpdateThing operation on AmazonIoTClient. /// 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 EndUpdateThing /// operation. /// REST API Reference for UpdateThing Operation public virtual IAsyncResult BeginUpdateThing(UpdateThingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThingRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateThing operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateThing. /// /// Returns a UpdateThingResult from IoT. /// REST API Reference for UpdateThing Operation public virtual UpdateThingResponse EndUpdateThing(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateThingGroup /// /// Update a thing group. /// /// /// /// Requires permission to access the UpdateThingGroup /// action. /// /// /// Container for the necessary parameters to execute the UpdateThingGroup service method. /// /// The response from the UpdateThingGroup service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// /// An exception thrown when the version of an entity specified with the expectedVersion /// parameter does not match the latest version in the system. /// /// REST API Reference for UpdateThingGroup Operation public virtual UpdateThingGroupResponse UpdateThingGroup(UpdateThingGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThingGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateThingGroup operation. /// /// /// Container for the necessary parameters to execute the UpdateThingGroup operation on AmazonIoTClient. /// 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 EndUpdateThingGroup /// operation. /// REST API Reference for UpdateThingGroup Operation public virtual IAsyncResult BeginUpdateThingGroup(UpdateThingGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThingGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThingGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateThingGroup operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateThingGroup. /// /// Returns a UpdateThingGroupResult from IoT. /// REST API Reference for UpdateThingGroup Operation public virtual UpdateThingGroupResponse EndUpdateThingGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateThingGroupsForThing /// /// Updates the groups to which the thing belongs. /// /// /// /// Requires permission to access the UpdateThingGroupsForThing /// action. /// /// /// Container for the necessary parameters to execute the UpdateThingGroupsForThing service method. /// /// The response from the UpdateThingGroupsForThing service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The specified resource does not exist. /// /// /// The rate exceeds the limit. /// /// REST API Reference for UpdateThingGroupsForThing Operation public virtual UpdateThingGroupsForThingResponse UpdateThingGroupsForThing(UpdateThingGroupsForThingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThingGroupsForThingRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThingGroupsForThingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateThingGroupsForThing operation. /// /// /// Container for the necessary parameters to execute the UpdateThingGroupsForThing operation on AmazonIoTClient. /// 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 EndUpdateThingGroupsForThing /// operation. /// REST API Reference for UpdateThingGroupsForThing Operation public virtual IAsyncResult BeginUpdateThingGroupsForThing(UpdateThingGroupsForThingRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThingGroupsForThingRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThingGroupsForThingResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateThingGroupsForThing operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateThingGroupsForThing. /// /// Returns a UpdateThingGroupsForThingResult from IoT. /// REST API Reference for UpdateThingGroupsForThing Operation public virtual UpdateThingGroupsForThingResponse EndUpdateThingGroupsForThing(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateTopicRuleDestination /// /// Updates a topic rule destination. You use this to change the status, endpoint URL, /// or confirmation URL of the destination. /// /// /// /// Requires permission to access the UpdateTopicRuleDestination /// action. /// /// /// Container for the necessary parameters to execute the UpdateTopicRuleDestination service method. /// /// The response from the UpdateTopicRuleDestination service method, as returned by IoT. /// /// A conflicting resource update exception. This exception is thrown when two pending /// updates cause a conflict. /// /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The service is temporarily unavailable. /// /// /// You are not authorized to perform this operation. /// /// REST API Reference for UpdateTopicRuleDestination Operation public virtual UpdateTopicRuleDestinationResponse UpdateTopicRuleDestination(UpdateTopicRuleDestinationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTopicRuleDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTopicRuleDestinationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateTopicRuleDestination operation. /// /// /// Container for the necessary parameters to execute the UpdateTopicRuleDestination operation on AmazonIoTClient. /// 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 EndUpdateTopicRuleDestination /// operation. /// REST API Reference for UpdateTopicRuleDestination Operation public virtual IAsyncResult BeginUpdateTopicRuleDestination(UpdateTopicRuleDestinationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTopicRuleDestinationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTopicRuleDestinationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateTopicRuleDestination operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateTopicRuleDestination. /// /// Returns a UpdateTopicRuleDestinationResult from IoT. /// REST API Reference for UpdateTopicRuleDestination Operation public virtual UpdateTopicRuleDestinationResponse EndUpdateTopicRuleDestination(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ValidateSecurityProfileBehaviors /// /// Validates a Device Defender security profile behaviors specification. /// /// /// /// Requires permission to access the ValidateSecurityProfileBehaviors /// action. /// /// /// Container for the necessary parameters to execute the ValidateSecurityProfileBehaviors service method. /// /// The response from the ValidateSecurityProfileBehaviors service method, as returned by IoT. /// /// An unexpected error has occurred. /// /// /// The request is not valid. /// /// /// The rate exceeds the limit. /// /// REST API Reference for ValidateSecurityProfileBehaviors Operation public virtual ValidateSecurityProfileBehaviorsResponse ValidateSecurityProfileBehaviors(ValidateSecurityProfileBehaviorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateSecurityProfileBehaviorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateSecurityProfileBehaviorsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ValidateSecurityProfileBehaviors operation. /// /// /// Container for the necessary parameters to execute the ValidateSecurityProfileBehaviors operation on AmazonIoTClient. /// 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 EndValidateSecurityProfileBehaviors /// operation. /// REST API Reference for ValidateSecurityProfileBehaviors Operation public virtual IAsyncResult BeginValidateSecurityProfileBehaviors(ValidateSecurityProfileBehaviorsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ValidateSecurityProfileBehaviorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ValidateSecurityProfileBehaviorsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ValidateSecurityProfileBehaviors operation. /// /// /// The IAsyncResult returned by the call to BeginValidateSecurityProfileBehaviors. /// /// Returns a ValidateSecurityProfileBehaviorsResult from IoT. /// REST API Reference for ValidateSecurityProfileBehaviors Operation public virtual ValidateSecurityProfileBehaviorsResponse EndValidateSecurityProfileBehaviors(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }