/*
* 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.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.IoT.Model;
namespace Amazon.IoT
{
///
/// Interface 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 interface IAmazonIoT : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IIoTPaginatorFactory Paginators { get; }
#endif
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AcceptCertificateTransferAsync(AcceptCertificateTransferRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AddThingToBillingGroupAsync(AddThingToBillingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AddThingToThingGroupAsync(AddThingToThingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AssociateTargetsWithJobAsync(AssociateTargetsWithJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AttachPolicyAsync(AttachPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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.")]
Task AttachPrincipalPolicyAsync(string policyName, string principal, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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.")]
Task AttachPrincipalPolicyAsync(AttachPrincipalPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AttachSecurityProfileAsync(AttachSecurityProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AttachThingPrincipalAsync(string thingName, string principal, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task AttachThingPrincipalAsync(AttachThingPrincipalRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CancelAuditMitigationActionsTaskAsync(CancelAuditMitigationActionsTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CancelAuditTaskAsync(CancelAuditTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.)
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CancelCertificateTransferAsync(string certificateId, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CancelCertificateTransferAsync(CancelCertificateTransferRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CancelDetectMitigationActionsTaskAsync(CancelDetectMitigationActionsTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CancelJob
///
/// Cancels a job.
///
///
///
/// Requires permission to access the CancelJob
/// action.
///
///
/// Container for the necessary parameters to execute the CancelJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CancelJobAsync(CancelJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CancelJobExecutionAsync(CancelJobExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ClearDefaultAuthorizerAsync(ClearDefaultAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ConfirmTopicRuleDestinationAsync(ConfirmTopicRuleDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateAuditSuppressionAsync(CreateAuditSuppressionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAuthorizer
///
/// Creates an authorizer.
///
///
///
/// Requires permission to access the CreateAuthorizer
/// action.
///
///
/// Container for the necessary parameters to execute the CreateAuthorizer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateAuthorizerAsync(CreateAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateBillingGroupAsync(CreateBillingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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).
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateCertificateFromCsrAsync(string certificateSigningRequest, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateCertificateFromCsrAsync(string certificateSigningRequest, bool setAsActive, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateCertificateFromCsrAsync(CreateCertificateFromCsrRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateCustomMetricAsync(CreateCustomMetricRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateDimensionAsync(CreateDimensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateDomainConfigurationAsync(CreateDomainConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateDynamicThingGroupAsync(CreateDynamicThingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateFleetMetricAsync(CreateFleetMetricRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateJob
///
/// Creates a job.
///
///
///
/// Requires permission to access the CreateJob
/// action.
///
///
/// Container for the necessary parameters to execute the CreateJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateJobAsync(CreateJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateJobTemplateAsync(CreateJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateKeysAndCertificateAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateKeysAndCertificateAsync(bool setAsActive, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateKeysAndCertificateAsync(CreateKeysAndCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateMitigationActionAsync(CreateMitigationActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateOTAUpdateAsync(CreateOTAUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreatePackageAsync(CreatePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreatePackageVersionAsync(CreatePackageVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreatePolicyAsync(string policyName, string policyDocument, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreatePolicyAsync(CreatePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreatePolicyVersionAsync(string policyName, string policyDocument, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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).
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreatePolicyVersionAsync(string policyName, string policyDocument, bool setAsDefault, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreatePolicyVersionAsync(CreatePolicyVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateProvisioningClaimAsync(CreateProvisioningClaimRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateProvisioningTemplateAsync(CreateProvisioningTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateProvisioningTemplateVersionAsync(CreateProvisioningTemplateVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateRoleAliasAsync(CreateRoleAliasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateScheduledAuditAsync(CreateScheduledAuditRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateSecurityProfileAsync(CreateSecurityProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateStreamAsync(CreateStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateThingAsync(CreateThingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateThingGroupAsync(CreateThingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateThingTypeAsync(CreateThingTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateTopicRuleAsync(CreateTopicRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task CreateTopicRuleDestinationAsync(CreateTopicRuleDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteAccountAuditConfigurationAsync(DeleteAccountAuditConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteAuditSuppressionAsync(DeleteAuditSuppressionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAuthorizer
///
/// Deletes an authorizer.
///
///
///
/// Requires permission to access the DeleteAuthorizer
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteAuthorizer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteAuthorizerAsync(DeleteAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteBillingGroupAsync(DeleteBillingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteCACertificateAsync(DeleteCACertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.)
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteCertificateAsync(string certificateId, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteCertificateAsync(DeleteCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteCustomMetricAsync(DeleteCustomMetricRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteDimensionAsync(DeleteDimensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteDomainConfigurationAsync(DeleteDomainConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteDynamicThingGroupAsync(DeleteDynamicThingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteFleetMetricAsync(DeleteFleetMetricRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteJobAsync(DeleteJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteJobExecutionAsync(DeleteJobExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteJobTemplate
///
/// Deletes the specified job template.
///
/// Container for the necessary parameters to execute the DeleteJobTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteJobTemplateAsync(DeleteJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteMitigationActionAsync(DeleteMitigationActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteOTAUpdateAsync(DeleteOTAUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeletePackageAsync(DeletePackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeletePackageVersionAsync(DeletePackageVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeletePolicyAsync(string policyName, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeletePolicyAsync(DeletePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeletePolicyVersionAsync(string policyName, string policyVersionId, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeletePolicyVersionAsync(DeletePolicyVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteProvisioningTemplateAsync(DeleteProvisioningTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteProvisioningTemplateVersionAsync(DeleteProvisioningTemplateVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteRegistrationCodeAsync(DeleteRegistrationCodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteRoleAliasAsync(DeleteRoleAliasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteScheduledAuditAsync(DeleteScheduledAuditRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteSecurityProfileAsync(DeleteSecurityProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteStream
///
/// Deletes a stream.
///
///
///
/// Requires permission to access the DeleteStream
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteStream service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteStreamAsync(DeleteStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteThingAsync(string thingName, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteThingAsync(DeleteThingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteThingGroupAsync(DeleteThingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteThingTypeAsync(DeleteThingTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteTopicRule
///
/// Deletes the rule.
///
///
///
/// Requires permission to access the DeleteTopicRule
/// action.
///
///
/// The name of the rule.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteTopicRuleAsync(string ruleName, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// Deletes the rule.
///
///
///
/// Requires permission to access the DeleteTopicRule
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteTopicRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteTopicRuleAsync(DeleteTopicRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteTopicRuleDestinationAsync(DeleteTopicRuleDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeleteV2LoggingLevelAsync(DeleteV2LoggingLevelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DeprecateThingTypeAsync(DeprecateThingTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeAccountAuditConfigurationAsync(DescribeAccountAuditConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeAuditFindingAsync(DescribeAuditFindingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeAuditMitigationActionsTaskAsync(DescribeAuditMitigationActionsTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeAuditSuppression
///
/// Gets information about a Device Defender audit suppression.
///
/// Container for the necessary parameters to execute the DescribeAuditSuppression service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeAuditSuppressionAsync(DescribeAuditSuppressionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeAuditTaskAsync(DescribeAuditTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeAuthorizer
///
/// Describes an authorizer.
///
///
///
/// Requires permission to access the DescribeAuthorizer
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeAuthorizer service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeAuthorizerAsync(DescribeAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeBillingGroupAsync(DescribeBillingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeCACertificateAsync(DescribeCACertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.)
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeCertificateAsync(string certificateId, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets information about the specified certificate.
///
///
///
/// Requires permission to access the DescribeCertificate
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeCertificate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeCertificateAsync(DescribeCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeCustomMetricAsync(DescribeCustomMetricRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeDefaultAuthorizerAsync(DescribeDefaultAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeDetectMitigationActionsTaskAsync(DescribeDetectMitigationActionsTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeDimensionAsync(DescribeDimensionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeDomainConfigurationAsync(DescribeDomainConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEndpoint
///
/// Returns a unique endpoint specific to the Amazon Web Services account making the call.
///
///
///
/// Requires permission to access the DescribeEndpoint
/// action.
///
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeEndpointAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeEndpointAsync(DescribeEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeEventConfigurations
///
/// Describes event configurations.
///
///
///
/// Requires permission to access the DescribeEventConfigurations
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeEventConfigurations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeEventConfigurationsAsync(DescribeEventConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeFleetMetricAsync(DescribeFleetMetricRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeIndexAsync(DescribeIndexRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeJob
///
/// Describes a job.
///
///
///
/// Requires permission to access the DescribeJob
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeJobAsync(DescribeJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeJobExecutionAsync(DescribeJobExecutionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeJobTemplate
///
/// Returns information about a job template.
///
/// Container for the necessary parameters to execute the DescribeJobTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeJobTemplateAsync(DescribeJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeManagedJobTemplate
///
/// View details of a managed job template.
///
/// Container for the necessary parameters to execute the DescribeManagedJobTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeManagedJobTemplateAsync(DescribeManagedJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeMitigationActionAsync(DescribeMitigationActionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeProvisioningTemplateAsync(DescribeProvisioningTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeProvisioningTemplateVersionAsync(DescribeProvisioningTemplateVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeRoleAliasAsync(DescribeRoleAliasRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeScheduledAuditAsync(DescribeScheduledAuditRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeSecurityProfileAsync(DescribeSecurityProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeStreamAsync(DescribeStreamRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeThing
///
/// Gets information about the specified thing.
///
///
///
/// Requires permission to access the DescribeThing
/// action.
///
///
/// The name of the thing.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeThingAsync(string thingName, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets information about the specified thing.
///
///
///
/// Requires permission to access the DescribeThing
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeThing service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeThingAsync(DescribeThingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeThingGroupAsync(DescribeThingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeThingRegistrationTaskAsync(DescribeThingRegistrationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DescribeThingTypeAsync(DescribeThingTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DetachPolicyAsync(DetachPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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).
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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.")]
Task DetachPrincipalPolicyAsync(string policyName, string principal, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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.")]
Task DetachPrincipalPolicyAsync(DetachPrincipalPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DetachSecurityProfileAsync(DetachSecurityProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DetachThingPrincipalAsync(string thingName, string principal, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DetachThingPrincipalAsync(DetachThingPrincipalRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisableTopicRule
///
/// Disables the rule.
///
///
///
/// Requires permission to access the DisableTopicRule
/// action.
///
///
/// Container for the necessary parameters to execute the DisableTopicRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task DisableTopicRuleAsync(DisableTopicRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region EnableTopicRule
///
/// Enables the rule.
///
///
///
/// Requires permission to access the EnableTopicRule
/// action.
///
///
/// Container for the necessary parameters to execute the EnableTopicRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task EnableTopicRuleAsync(EnableTopicRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetBehaviorModelTrainingSummariesAsync(GetBehaviorModelTrainingSummariesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetBucketsAggregationAsync(GetBucketsAggregationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetCardinalityAsync(GetCardinalityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetEffectivePoliciesAsync(GetEffectivePoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetIndexingConfigurationAsync(GetIndexingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetJobDocumentAsync(GetJobDocumentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetLoggingOptionsAsync(GetLoggingOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetOTAUpdateAsync(GetOTAUpdateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetPackageAsync(GetPackageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetPackageConfigurationAsync(GetPackageConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetPackageVersionAsync(GetPackageVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetPercentilesAsync(GetPercentilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetPolicyAsync(string policyName, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetPolicyAsync(GetPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetPolicyVersionAsync(string policyName, string policyVersionId, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetPolicyVersionAsync(GetPolicyVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetRegistrationCodeAsync(GetRegistrationCodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetStatisticsAsync(GetStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetTopicRule
///
/// Gets information about the rule.
///
///
///
/// Requires permission to access the GetTopicRule
/// action.
///
///
/// The name of the rule.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetTopicRuleAsync(string ruleName, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// Gets information about the rule.
///
///
///
/// Requires permission to access the GetTopicRule
/// action.
///
///
/// Container for the necessary parameters to execute the GetTopicRule service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetTopicRuleAsync(GetTopicRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetTopicRuleDestinationAsync(GetTopicRuleDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task GetV2LoggingOptionsAsync(GetV2LoggingOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListActiveViolationsAsync(ListActiveViolationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListAttachedPoliciesAsync(ListAttachedPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListAuditFindingsAsync(ListAuditFindingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListAuditMitigationActionsExecutionsAsync(ListAuditMitigationActionsExecutionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListAuditMitigationActionsTasksAsync(ListAuditMitigationActionsTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListAuditSuppressionsAsync(ListAuditSuppressionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListAuditTasksAsync(ListAuditTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListAuthorizersAsync(ListAuthorizersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListBillingGroupsAsync(ListBillingGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListCACertificatesAsync(ListCACertificatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListCertificatesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListCertificatesAsync(ListCertificatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListCertificatesByCAAsync(ListCertificatesByCARequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListCustomMetricsAsync(ListCustomMetricsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListDetectMitigationActionsExecutionsAsync(ListDetectMitigationActionsExecutionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListDetectMitigationActionsTasksAsync(ListDetectMitigationActionsTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListDimensionsAsync(ListDimensionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListDomainConfigurationsAsync(ListDomainConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListFleetMetricsAsync(ListFleetMetricsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListIndicesAsync(ListIndicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListJobExecutionsForJobAsync(ListJobExecutionsForJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListJobExecutionsForThingAsync(ListJobExecutionsForThingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListJobs
///
/// Lists jobs.
///
///
///
/// Requires permission to access the ListJobs
/// action.
///
///
/// Container for the necessary parameters to execute the ListJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListJobsAsync(ListJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListJobTemplatesAsync(ListJobTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListManagedJobTemplates
///
/// Returns a list of managed job templates.
///
/// Container for the necessary parameters to execute the ListManagedJobTemplates service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListManagedJobTemplatesAsync(ListManagedJobTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListMetricValuesAsync(ListMetricValuesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListMitigationActionsAsync(ListMitigationActionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListOTAUpdates
///
/// Lists OTA updates.
///
///
///
/// Requires permission to access the ListOTAUpdates
/// action.
///
///
/// Container for the necessary parameters to execute the ListOTAUpdates service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListOTAUpdatesAsync(ListOTAUpdatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListOutgoingCertificatesAsync(ListOutgoingCertificatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListPackagesAsync(ListPackagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListPackageVersionsAsync(ListPackageVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListPolicies
///
/// Lists your policies.
///
///
///
/// Requires permission to access the ListPolicies
/// action.
///
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListPoliciesAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// Lists your policies.
///
///
///
/// Requires permission to access the ListPolicies
/// action.
///
///
/// Container for the necessary parameters to execute the ListPolicies service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListPoliciesAsync(ListPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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.")]
Task ListPolicyPrincipalsAsync(ListPolicyPrincipalsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListPolicyVersionsAsync(string policyName, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListPolicyVersionsAsync(ListPolicyVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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).
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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.")]
Task ListPrincipalPoliciesAsync(string principal, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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.")]
Task ListPrincipalPoliciesAsync(ListPrincipalPoliciesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListPrincipalThingsAsync(string principal, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListPrincipalThingsAsync(ListPrincipalThingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListProvisioningTemplatesAsync(ListProvisioningTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListProvisioningTemplateVersionsAsync(ListProvisioningTemplateVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListRelatedResourcesForAuditFindingAsync(ListRelatedResourcesForAuditFindingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListRoleAliasesAsync(ListRoleAliasesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListScheduledAuditsAsync(ListScheduledAuditsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListSecurityProfilesAsync(ListSecurityProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListSecurityProfilesForTargetAsync(ListSecurityProfilesForTargetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListStreamsAsync(ListStreamsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by 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
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListTargetsForPolicyAsync(ListTargetsForPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListTargetsForSecurityProfileAsync(ListTargetsForSecurityProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListThingGroupsAsync(ListThingGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListThingGroupsForThingAsync(ListThingGroupsForThingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListThingPrincipalsAsync(string thingName, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListThingPrincipalsAsync(ListThingPrincipalsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListThingRegistrationTaskReports
///
/// Information about the thing registration tasks.
///
/// Container for the necessary parameters to execute the ListThingRegistrationTaskReports service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListThingRegistrationTaskReportsAsync(ListThingRegistrationTaskReportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListThingRegistrationTasksAsync(ListThingRegistrationTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
///
///
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListThingsAsync(System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListThingsAsync(ListThingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListThingsInBillingGroupAsync(ListThingsInBillingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListThingsInThingGroupAsync(ListThingsInThingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListThingTypesAsync(ListThingTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListTopicRuleDestinationsAsync(ListTopicRuleDestinationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTopicRules
///
/// Lists the rules for the specific topic.
///
///
///
/// Requires permission to access the ListTopicRules
/// action.
///
///
/// The topic.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListTopicRulesAsync(string topic, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListTopicRulesAsync(ListTopicRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListV2LoggingLevels
///
/// Lists logging levels.
///
///
///
/// Requires permission to access the ListV2LoggingLevels
/// action.
///
///
/// Container for the necessary parameters to execute the ListV2LoggingLevels service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListV2LoggingLevelsAsync(ListV2LoggingLevelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ListViolationEventsAsync(ListViolationEventsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task PutVerificationStateOnViolationAsync(PutVerificationStateOnViolationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task RegisterCACertificateAsync(RegisterCACertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task RegisterCertificateAsync(RegisterCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task RegisterCertificateWithoutCAAsync(RegisterCertificateWithoutCARequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task RegisterThingAsync(RegisterThingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.)
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task RejectCertificateTransferAsync(string certificateId, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task RejectCertificateTransferAsync(RejectCertificateTransferRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task RemoveThingFromBillingGroupAsync(RemoveThingFromBillingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task RemoveThingFromThingGroupAsync(RemoveThingFromThingGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task ReplaceTopicRuleAsync(ReplaceTopicRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task SearchIndexAsync(SearchIndexRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task SetDefaultAuthorizerAsync(SetDefaultAuthorizerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task SetDefaultPolicyVersionAsync(string policyName, string policyVersionId, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task SetDefaultPolicyVersionAsync(SetDefaultPolicyVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task SetLoggingOptionsAsync(SetLoggingOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task SetV2LoggingLevelAsync(SetV2LoggingLevelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task SetV2LoggingOptionsAsync(SetV2LoggingOptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task StartAuditMitigationActionsTaskAsync(StartAuditMitigationActionsTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task StartDetectMitigationActionsTaskAsync(StartDetectMitigationActionsTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task StartOnDemandAuditTaskAsync(StartOnDemandAuditTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task StartThingRegistrationTaskAsync(StartThingRegistrationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task StopThingRegistrationTaskAsync(StopThingRegistrationTaskRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by 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
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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
Task TestAuthorizationAsync(TestAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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