/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the iot-2015-05-28.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.IoT.Model;
using Amazon.IoT.Model.Internal.MarshallTransformations;
using Amazon.IoT.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.IoT
{
///
/// Implementation for accessing IoT
///
/// IoT
///
/// IoT provides secure, bi-directional communication between Internet-connected devices
/// (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon
/// Web Services cloud. You can discover your custom IoT-Data endpoint to communicate
/// with, configure rules for data processing and integration with other services, organize
/// resources associated with each device (Registry), configure logging, and create and
/// manage policies and credentials to authenticate devices.
///
///
///
/// The service endpoints that expose this API are listed in Amazon
/// Web Services IoT Core Endpoints and Quotas. You must use the endpoint for the
/// region that has the resources you want to access.
///
///
///
/// The service name used by Amazon
/// Web Services Signature Version 4 to sign the request is: execute-api.
///
///
///
/// For more information about how IoT works, see the Developer
/// Guide.
///
///
///
/// For information about how to use the credentials provider for IoT, see Authorizing
/// Direct Calls to Amazon Web Services Services.
///
///
public partial class AmazonIoTClient : AmazonServiceClient, IAmazonIoT
{
private static IServiceMetadata serviceMetadata = new AmazonIoTMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IIoTPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IIoTPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new IoTPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonIoTClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonIoTClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTConfig()) { }
///
/// Constructs AmazonIoTClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonIoTClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonIoTConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonIoTClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonIoTClient Configuration Object
public AmazonIoTClient(AmazonIoTConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonIoTClient with AWS Credentials
///
/// AWS Credentials
public AmazonIoTClient(AWSCredentials credentials)
: this(credentials, new AmazonIoTConfig())
{
}
///
/// Constructs AmazonIoTClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonIoTClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonIoTConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonIoTClient with AWS Credentials and an
/// AmazonIoTClient Configuration object.
///
/// AWS Credentials
/// The AmazonIoTClient Configuration Object
public AmazonIoTClient(AWSCredentials credentials, AmazonIoTConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonIoTClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTConfig())
{
}
///
/// Constructs AmazonIoTClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonIoTConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonIoTClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonIoTClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonIoTClient Configuration Object
public AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonIoTConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonIoTClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTConfig())
{
}
///
/// Constructs AmazonIoTClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIoTConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonIoTClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonIoTClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonIoTClient Configuration Object
public AmazonIoTClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonIoTConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonIoTEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AcceptCertificateTransfer
///
/// Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
///
///
///
/// To check for pending certificate transfers, call ListCertificates to enumerate
/// your certificates.
///
///
///
/// Requires permission to access the AcceptCertificateTransfer
/// action.
///
///
/// Container for the necessary parameters to execute the AcceptCertificateTransfer service method.
///
/// The response from the AcceptCertificateTransfer service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You can't revert the certificate transfer because the transfer is already complete.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for AcceptCertificateTransfer Operation
public virtual AcceptCertificateTransferResponse AcceptCertificateTransfer(AcceptCertificateTransferRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AcceptCertificateTransferRequestMarshaller.Instance;
options.ResponseUnmarshaller = AcceptCertificateTransferResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AcceptCertificateTransfer operation.
///
///
/// Container for the necessary parameters to execute the AcceptCertificateTransfer operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAcceptCertificateTransfer
/// operation.
/// REST API Reference for AcceptCertificateTransfer Operation
public virtual IAsyncResult BeginAcceptCertificateTransfer(AcceptCertificateTransferRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AcceptCertificateTransferRequestMarshaller.Instance;
options.ResponseUnmarshaller = AcceptCertificateTransferResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AcceptCertificateTransfer operation.
///
///
/// The IAsyncResult returned by the call to BeginAcceptCertificateTransfer.
///
/// Returns a AcceptCertificateTransferResult from IoT.
/// REST API Reference for AcceptCertificateTransfer Operation
public virtual AcceptCertificateTransferResponse EndAcceptCertificateTransfer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AddThingToBillingGroup
///
/// Adds a thing to a billing group.
///
///
///
/// Requires permission to access the AddThingToBillingGroup
/// action.
///
///
/// Container for the necessary parameters to execute the AddThingToBillingGroup service method.
///
/// The response from the AddThingToBillingGroup service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for AddThingToBillingGroup Operation
public virtual AddThingToBillingGroupResponse AddThingToBillingGroup(AddThingToBillingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddThingToBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddThingToBillingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AddThingToBillingGroup operation.
///
///
/// Container for the necessary parameters to execute the AddThingToBillingGroup operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAddThingToBillingGroup
/// operation.
/// REST API Reference for AddThingToBillingGroup Operation
public virtual IAsyncResult BeginAddThingToBillingGroup(AddThingToBillingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddThingToBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddThingToBillingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AddThingToBillingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginAddThingToBillingGroup.
///
/// Returns a AddThingToBillingGroupResult from IoT.
/// REST API Reference for AddThingToBillingGroup Operation
public virtual AddThingToBillingGroupResponse EndAddThingToBillingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AddThingToThingGroup
///
/// Adds a thing to a thing group.
///
///
///
/// Requires permission to access the AddThingToThingGroup
/// action.
///
///
/// Container for the necessary parameters to execute the AddThingToThingGroup service method.
///
/// The response from the AddThingToThingGroup service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for AddThingToThingGroup Operation
public virtual AddThingToThingGroupResponse AddThingToThingGroup(AddThingToThingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddThingToThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddThingToThingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AddThingToThingGroup operation.
///
///
/// Container for the necessary parameters to execute the AddThingToThingGroup operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAddThingToThingGroup
/// operation.
/// REST API Reference for AddThingToThingGroup Operation
public virtual IAsyncResult BeginAddThingToThingGroup(AddThingToThingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddThingToThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddThingToThingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AddThingToThingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginAddThingToThingGroup.
///
/// Returns a AddThingToThingGroupResult from IoT.
/// REST API Reference for AddThingToThingGroup Operation
public virtual AddThingToThingGroupResponse EndAddThingToThingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AssociateTargetsWithJob
///
/// Associates a group with a continuous job. The following criteria must be met:
///
/// -
///
/// The job must have been created with the
targetSelection
field set to
/// "CONTINUOUS".
///
/// -
///
/// The job status must currently be "IN_PROGRESS".
///
///
-
///
/// The total number of targets associated with a job must not exceed 100.
///
///
///
/// Requires permission to access the AssociateTargetsWithJob
/// action.
///
///
/// Container for the necessary parameters to execute the AssociateTargetsWithJob service method.
///
/// The response from the AssociateTargetsWithJob service method, as returned by IoT.
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for AssociateTargetsWithJob Operation
public virtual AssociateTargetsWithJobResponse AssociateTargetsWithJob(AssociateTargetsWithJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateTargetsWithJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateTargetsWithJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AssociateTargetsWithJob operation.
///
///
/// Container for the necessary parameters to execute the AssociateTargetsWithJob operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateTargetsWithJob
/// operation.
/// REST API Reference for AssociateTargetsWithJob Operation
public virtual IAsyncResult BeginAssociateTargetsWithJob(AssociateTargetsWithJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateTargetsWithJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateTargetsWithJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateTargetsWithJob operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateTargetsWithJob.
///
/// Returns a AssociateTargetsWithJobResult from IoT.
/// REST API Reference for AssociateTargetsWithJob Operation
public virtual AssociateTargetsWithJobResponse EndAssociateTargetsWithJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AttachPolicy
///
/// Attaches the specified policy to the specified principal (certificate or other credential).
///
///
///
/// Requires permission to access the AttachPolicy
/// action.
///
///
/// Container for the necessary parameters to execute the AttachPolicy service method.
///
/// The response from the AttachPolicy service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for AttachPolicy Operation
public virtual AttachPolicyResponse AttachPolicy(AttachPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AttachPolicy operation.
///
///
/// Container for the necessary parameters to execute the AttachPolicy operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAttachPolicy
/// operation.
/// REST API Reference for AttachPolicy Operation
public virtual IAsyncResult BeginAttachPolicy(AttachPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AttachPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginAttachPolicy.
///
/// Returns a AttachPolicyResult from IoT.
/// REST API Reference for AttachPolicy Operation
public virtual AttachPolicyResponse EndAttachPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AttachPrincipalPolicy
///
/// Attaches the specified policy to the specified principal (certificate or other credential).
///
///
///
/// Note: This action is deprecated and works as expected for backward compatibility,
/// but we won't add enhancements. Use AttachPolicy instead.
///
///
///
/// Requires permission to access the AttachPrincipalPolicy
/// action.
///
///
/// The policy name.
/// The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
///
/// The response from the AttachPrincipalPolicy service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for AttachPrincipalPolicy Operation
[Obsolete("Deprecated in favor of AttachPolicy.")]
public virtual AttachPrincipalPolicyResponse AttachPrincipalPolicy(string policyName, string principal)
{
var request = new AttachPrincipalPolicyRequest();
request.PolicyName = policyName;
request.Principal = principal;
return AttachPrincipalPolicy(request);
}
///
/// Attaches the specified policy to the specified principal (certificate or other credential).
///
///
///
/// Note: This action is deprecated and works as expected for backward compatibility,
/// but we won't add enhancements. Use AttachPolicy instead.
///
///
///
/// Requires permission to access the AttachPrincipalPolicy
/// action.
///
///
/// Container for the necessary parameters to execute the AttachPrincipalPolicy service method.
///
/// The response from the AttachPrincipalPolicy service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for AttachPrincipalPolicy Operation
[Obsolete("Deprecated in favor of AttachPolicy.")]
public virtual AttachPrincipalPolicyResponse AttachPrincipalPolicy(AttachPrincipalPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachPrincipalPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachPrincipalPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AttachPrincipalPolicy operation.
///
///
/// Container for the necessary parameters to execute the AttachPrincipalPolicy operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAttachPrincipalPolicy
/// operation.
/// REST API Reference for AttachPrincipalPolicy Operation
[Obsolete("Deprecated in favor of AttachPolicy.")]
public virtual IAsyncResult BeginAttachPrincipalPolicy(AttachPrincipalPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachPrincipalPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachPrincipalPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AttachPrincipalPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginAttachPrincipalPolicy.
///
/// Returns a AttachPrincipalPolicyResult from IoT.
/// REST API Reference for AttachPrincipalPolicy Operation
[Obsolete("Deprecated in favor of AttachPolicy.")]
public virtual AttachPrincipalPolicyResponse EndAttachPrincipalPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AttachSecurityProfile
///
/// Associates a Device Defender security profile with a thing group or this account.
/// Each thing group or account can have up to five security profiles associated with
/// it.
///
///
///
/// Requires permission to access the AttachSecurityProfile
/// action.
///
///
/// Container for the necessary parameters to execute the AttachSecurityProfile service method.
///
/// The response from the AttachSecurityProfile service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
///
/// An exception thrown when the version of an entity specified with the expectedVersion
/// parameter does not match the latest version in the system.
///
/// REST API Reference for AttachSecurityProfile Operation
public virtual AttachSecurityProfileResponse AttachSecurityProfile(AttachSecurityProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachSecurityProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachSecurityProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AttachSecurityProfile operation.
///
///
/// Container for the necessary parameters to execute the AttachSecurityProfile operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAttachSecurityProfile
/// operation.
/// REST API Reference for AttachSecurityProfile Operation
public virtual IAsyncResult BeginAttachSecurityProfile(AttachSecurityProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachSecurityProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachSecurityProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AttachSecurityProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginAttachSecurityProfile.
///
/// Returns a AttachSecurityProfileResult from IoT.
/// REST API Reference for AttachSecurityProfile Operation
public virtual AttachSecurityProfileResponse EndAttachSecurityProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AttachThingPrincipal
///
/// Attaches the specified principal to the specified thing. A principal can be X.509
/// certificates, Amazon Cognito identities or federated identities.
///
///
///
/// Requires permission to access the AttachThingPrincipal
/// action.
///
///
/// The name of the thing.
/// The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.
///
/// The response from the AttachThingPrincipal service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for AttachThingPrincipal Operation
public virtual AttachThingPrincipalResponse AttachThingPrincipal(string thingName, string principal)
{
var request = new AttachThingPrincipalRequest();
request.ThingName = thingName;
request.Principal = principal;
return AttachThingPrincipal(request);
}
///
/// Attaches the specified principal to the specified thing. A principal can be X.509
/// certificates, Amazon Cognito identities or federated identities.
///
///
///
/// Requires permission to access the AttachThingPrincipal
/// action.
///
///
/// Container for the necessary parameters to execute the AttachThingPrincipal service method.
///
/// The response from the AttachThingPrincipal service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for AttachThingPrincipal Operation
public virtual AttachThingPrincipalResponse AttachThingPrincipal(AttachThingPrincipalRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachThingPrincipalRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachThingPrincipalResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AttachThingPrincipal operation.
///
///
/// Container for the necessary parameters to execute the AttachThingPrincipal operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAttachThingPrincipal
/// operation.
/// REST API Reference for AttachThingPrincipal Operation
public virtual IAsyncResult BeginAttachThingPrincipal(AttachThingPrincipalRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AttachThingPrincipalRequestMarshaller.Instance;
options.ResponseUnmarshaller = AttachThingPrincipalResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AttachThingPrincipal operation.
///
///
/// The IAsyncResult returned by the call to BeginAttachThingPrincipal.
///
/// Returns a AttachThingPrincipalResult from IoT.
/// REST API Reference for AttachThingPrincipal Operation
public virtual AttachThingPrincipalResponse EndAttachThingPrincipal(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CancelAuditMitigationActionsTask
///
/// Cancels a mitigation action task that is in progress. If the task is not in progress,
/// an InvalidRequestException occurs.
///
///
///
/// Requires permission to access the CancelAuditMitigationActionsTask
/// action.
///
///
/// Container for the necessary parameters to execute the CancelAuditMitigationActionsTask service method.
///
/// The response from the CancelAuditMitigationActionsTask service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CancelAuditMitigationActionsTask Operation
public virtual CancelAuditMitigationActionsTaskResponse CancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelAuditMitigationActionsTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelAuditMitigationActionsTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CancelAuditMitigationActionsTask operation.
///
///
/// Container for the necessary parameters to execute the CancelAuditMitigationActionsTask operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelAuditMitigationActionsTask
/// operation.
/// REST API Reference for CancelAuditMitigationActionsTask Operation
public virtual IAsyncResult BeginCancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelAuditMitigationActionsTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelAuditMitigationActionsTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelAuditMitigationActionsTask operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelAuditMitigationActionsTask.
///
/// Returns a CancelAuditMitigationActionsTaskResult from IoT.
/// REST API Reference for CancelAuditMitigationActionsTask Operation
public virtual CancelAuditMitigationActionsTaskResponse EndCancelAuditMitigationActionsTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CancelAuditTask
///
/// Cancels an audit that is in progress. The audit can be either scheduled or on demand.
/// If the audit isn't in progress, an "InvalidRequestException" occurs.
///
///
///
/// Requires permission to access the CancelAuditTask
/// action.
///
///
/// Container for the necessary parameters to execute the CancelAuditTask service method.
///
/// The response from the CancelAuditTask service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CancelAuditTask Operation
public virtual CancelAuditTaskResponse CancelAuditTask(CancelAuditTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelAuditTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelAuditTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CancelAuditTask operation.
///
///
/// Container for the necessary parameters to execute the CancelAuditTask operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelAuditTask
/// operation.
/// REST API Reference for CancelAuditTask Operation
public virtual IAsyncResult BeginCancelAuditTask(CancelAuditTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelAuditTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelAuditTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelAuditTask operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelAuditTask.
///
/// Returns a CancelAuditTaskResult from IoT.
/// REST API Reference for CancelAuditTask Operation
public virtual CancelAuditTaskResponse EndCancelAuditTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CancelCertificateTransfer
///
/// Cancels a pending transfer for the specified certificate.
///
///
///
/// Note Only the transfer source account can use this operation to cancel a transfer.
/// (Transfer destinations can use RejectCertificateTransfer instead.) After transfer,
/// IoT returns the certificate to the source account in the INACTIVE state. After the
/// destination account has accepted the transfer, the transfer cannot be cancelled.
///
///
///
/// After a certificate transfer is cancelled, the status of the certificate changes from
/// PENDING_TRANSFER to INACTIVE.
///
///
///
/// Requires permission to access the CancelCertificateTransfer
/// action.
///
///
/// The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
///
/// The response from the CancelCertificateTransfer service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You can't revert the certificate transfer because the transfer is already complete.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CancelCertificateTransfer Operation
public virtual CancelCertificateTransferResponse CancelCertificateTransfer(string certificateId)
{
var request = new CancelCertificateTransferRequest();
request.CertificateId = certificateId;
return CancelCertificateTransfer(request);
}
///
/// Cancels a pending transfer for the specified certificate.
///
///
///
/// Note Only the transfer source account can use this operation to cancel a transfer.
/// (Transfer destinations can use RejectCertificateTransfer instead.) After transfer,
/// IoT returns the certificate to the source account in the INACTIVE state. After the
/// destination account has accepted the transfer, the transfer cannot be cancelled.
///
///
///
/// After a certificate transfer is cancelled, the status of the certificate changes from
/// PENDING_TRANSFER to INACTIVE.
///
///
///
/// Requires permission to access the CancelCertificateTransfer
/// action.
///
///
/// Container for the necessary parameters to execute the CancelCertificateTransfer service method.
///
/// The response from the CancelCertificateTransfer service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You can't revert the certificate transfer because the transfer is already complete.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CancelCertificateTransfer Operation
public virtual CancelCertificateTransferResponse CancelCertificateTransfer(CancelCertificateTransferRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelCertificateTransferRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelCertificateTransferResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CancelCertificateTransfer operation.
///
///
/// Container for the necessary parameters to execute the CancelCertificateTransfer operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelCertificateTransfer
/// operation.
/// REST API Reference for CancelCertificateTransfer Operation
public virtual IAsyncResult BeginCancelCertificateTransfer(CancelCertificateTransferRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelCertificateTransferRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelCertificateTransferResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelCertificateTransfer operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelCertificateTransfer.
///
/// Returns a CancelCertificateTransferResult from IoT.
/// REST API Reference for CancelCertificateTransfer Operation
public virtual CancelCertificateTransferResponse EndCancelCertificateTransfer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CancelDetectMitigationActionsTask
///
/// Cancels a Device Defender ML Detect mitigation action.
///
///
///
/// Requires permission to access the CancelDetectMitigationActionsTask
/// action.
///
///
/// Container for the necessary parameters to execute the CancelDetectMitigationActionsTask service method.
///
/// The response from the CancelDetectMitigationActionsTask service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CancelDetectMitigationActionsTask Operation
public virtual CancelDetectMitigationActionsTaskResponse CancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelDetectMitigationActionsTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelDetectMitigationActionsTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CancelDetectMitigationActionsTask operation.
///
///
/// Container for the necessary parameters to execute the CancelDetectMitigationActionsTask operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelDetectMitigationActionsTask
/// operation.
/// REST API Reference for CancelDetectMitigationActionsTask Operation
public virtual IAsyncResult BeginCancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelDetectMitigationActionsTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelDetectMitigationActionsTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelDetectMitigationActionsTask operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelDetectMitigationActionsTask.
///
/// Returns a CancelDetectMitigationActionsTaskResult from IoT.
/// REST API Reference for CancelDetectMitigationActionsTask Operation
public virtual CancelDetectMitigationActionsTaskResponse EndCancelDetectMitigationActionsTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CancelJob
///
/// Cancels a job.
///
///
///
/// Requires permission to access the CancelJob
/// action.
///
///
/// Container for the necessary parameters to execute the CancelJob service method.
///
/// The response from the CancelJob service method, as returned by IoT.
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CancelJob Operation
public virtual CancelJobResponse CancelJob(CancelJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CancelJob operation.
///
///
/// Container for the necessary parameters to execute the CancelJob operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelJob
/// operation.
/// REST API Reference for CancelJob Operation
public virtual IAsyncResult BeginCancelJob(CancelJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelJob operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelJob.
///
/// Returns a CancelJobResult from IoT.
/// REST API Reference for CancelJob Operation
public virtual CancelJobResponse EndCancelJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CancelJobExecution
///
/// Cancels the execution of a job for a given thing.
///
///
///
/// Requires permission to access the CancelJobExecution
/// action.
///
///
/// Container for the necessary parameters to execute the CancelJobExecution service method.
///
/// The response from the CancelJobExecution service method, as returned by IoT.
///
/// The request is not valid.
///
///
/// An attempt was made to change to an invalid state, for example by deleting a job or
/// a job execution which is "IN_PROGRESS" without setting the force
parameter.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// An exception thrown when the version of an entity specified with the expectedVersion
/// parameter does not match the latest version in the system.
///
/// REST API Reference for CancelJobExecution Operation
public virtual CancelJobExecutionResponse CancelJobExecution(CancelJobExecutionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelJobExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelJobExecutionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CancelJobExecution operation.
///
///
/// Container for the necessary parameters to execute the CancelJobExecution operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelJobExecution
/// operation.
/// REST API Reference for CancelJobExecution Operation
public virtual IAsyncResult BeginCancelJobExecution(CancelJobExecutionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelJobExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelJobExecutionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelJobExecution operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelJobExecution.
///
/// Returns a CancelJobExecutionResult from IoT.
/// REST API Reference for CancelJobExecution Operation
public virtual CancelJobExecutionResponse EndCancelJobExecution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ClearDefaultAuthorizer
///
/// Clears the default authorizer.
///
///
///
/// Requires permission to access the ClearDefaultAuthorizer
/// action.
///
///
/// Container for the necessary parameters to execute the ClearDefaultAuthorizer service method.
///
/// The response from the ClearDefaultAuthorizer service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for ClearDefaultAuthorizer Operation
public virtual ClearDefaultAuthorizerResponse ClearDefaultAuthorizer(ClearDefaultAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ClearDefaultAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = ClearDefaultAuthorizerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ClearDefaultAuthorizer operation.
///
///
/// Container for the necessary parameters to execute the ClearDefaultAuthorizer operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndClearDefaultAuthorizer
/// operation.
/// REST API Reference for ClearDefaultAuthorizer Operation
public virtual IAsyncResult BeginClearDefaultAuthorizer(ClearDefaultAuthorizerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ClearDefaultAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = ClearDefaultAuthorizerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ClearDefaultAuthorizer operation.
///
///
/// The IAsyncResult returned by the call to BeginClearDefaultAuthorizer.
///
/// Returns a ClearDefaultAuthorizerResult from IoT.
/// REST API Reference for ClearDefaultAuthorizer Operation
public virtual ClearDefaultAuthorizerResponse EndClearDefaultAuthorizer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ConfirmTopicRuleDestination
///
/// Confirms a topic rule destination. When you create a rule requiring a destination,
/// IoT sends a confirmation message to the endpoint or base address you specify. The
/// message includes a token which you pass back when calling ConfirmTopicRuleDestination
/// to confirm that you own or have access to the endpoint.
///
///
///
/// Requires permission to access the ConfirmTopicRuleDestination
/// action.
///
///
/// Container for the necessary parameters to execute the ConfirmTopicRuleDestination service method.
///
/// The response from the ConfirmTopicRuleDestination service method, as returned by IoT.
///
/// A conflicting resource update exception. This exception is thrown when two pending
/// updates cause a conflict.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for ConfirmTopicRuleDestination Operation
public virtual ConfirmTopicRuleDestinationResponse ConfirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ConfirmTopicRuleDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ConfirmTopicRuleDestinationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ConfirmTopicRuleDestination operation.
///
///
/// Container for the necessary parameters to execute the ConfirmTopicRuleDestination operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndConfirmTopicRuleDestination
/// operation.
/// REST API Reference for ConfirmTopicRuleDestination Operation
public virtual IAsyncResult BeginConfirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ConfirmTopicRuleDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ConfirmTopicRuleDestinationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ConfirmTopicRuleDestination operation.
///
///
/// The IAsyncResult returned by the call to BeginConfirmTopicRuleDestination.
///
/// Returns a ConfirmTopicRuleDestinationResult from IoT.
/// REST API Reference for ConfirmTopicRuleDestination Operation
public virtual ConfirmTopicRuleDestinationResponse EndConfirmTopicRuleDestination(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateAuditSuppression
///
/// Creates a Device Defender audit suppression.
///
///
///
/// Requires permission to access the CreateAuditSuppression
/// action.
///
///
/// Container for the necessary parameters to execute the CreateAuditSuppression service method.
///
/// The response from the CreateAuditSuppression service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CreateAuditSuppression Operation
public virtual CreateAuditSuppressionResponse CreateAuditSuppression(CreateAuditSuppressionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAuditSuppressionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAuditSuppressionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateAuditSuppression operation.
///
///
/// Container for the necessary parameters to execute the CreateAuditSuppression operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAuditSuppression
/// operation.
/// REST API Reference for CreateAuditSuppression Operation
public virtual IAsyncResult BeginCreateAuditSuppression(CreateAuditSuppressionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAuditSuppressionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAuditSuppressionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateAuditSuppression operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateAuditSuppression.
///
/// Returns a CreateAuditSuppressionResult from IoT.
/// REST API Reference for CreateAuditSuppression Operation
public virtual CreateAuditSuppressionResponse EndCreateAuditSuppression(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateAuthorizer
///
/// Creates an authorizer.
///
///
///
/// Requires permission to access the CreateAuthorizer
/// action.
///
///
/// Container for the necessary parameters to execute the CreateAuthorizer service method.
///
/// The response from the CreateAuthorizer service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateAuthorizer Operation
public virtual CreateAuthorizerResponse CreateAuthorizer(CreateAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateAuthorizer operation.
///
///
/// Container for the necessary parameters to execute the CreateAuthorizer operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAuthorizer
/// operation.
/// REST API Reference for CreateAuthorizer Operation
public virtual IAsyncResult BeginCreateAuthorizer(CreateAuthorizerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAuthorizerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateAuthorizer operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateAuthorizer.
///
/// Returns a CreateAuthorizerResult from IoT.
/// REST API Reference for CreateAuthorizer Operation
public virtual CreateAuthorizerResponse EndCreateAuthorizer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateBillingGroup
///
/// Creates a billing group.
///
///
///
/// Requires permission to access the CreateBillingGroup
/// action.
///
///
/// Container for the necessary parameters to execute the CreateBillingGroup service method.
///
/// The response from the CreateBillingGroup service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CreateBillingGroup Operation
public virtual CreateBillingGroupResponse CreateBillingGroup(CreateBillingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBillingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateBillingGroup operation.
///
///
/// Container for the necessary parameters to execute the CreateBillingGroup operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBillingGroup
/// operation.
/// REST API Reference for CreateBillingGroup Operation
public virtual IAsyncResult BeginCreateBillingGroup(CreateBillingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBillingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateBillingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateBillingGroup.
///
/// Returns a CreateBillingGroupResult from IoT.
/// REST API Reference for CreateBillingGroup Operation
public virtual CreateBillingGroupResponse EndCreateBillingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateCertificateFromCsr
///
/// Creates an X.509 certificate using the specified certificate signing request.
///
///
///
/// Requires permission to access the CreateCertificateFromCsr
/// action.
///
///
///
/// The CSR must include a public key that is either an RSA key with a length of at least
/// 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. For supported certificates,
/// consult
/// Certificate signing algorithms supported by IoT.
///
///
///
/// Reusing the same certificate signing request (CSR) results in a distinct certificate.
///
///
///
/// You can create multiple certificates in a batch by creating a directory, copying multiple
/// .csr
files into that directory, and then specifying that directory on
/// the command line. The following commands show how to create a batch of certificates
/// given a batch of CSRs. In the following commands, we assume that a set of CSRs are
/// located inside of the directory my-csr-directory:
///
///
///
/// On Linux and OS X, the command is:
///
///
///
/// $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request
/// file://my-csr-directory/{}
///
///
///
/// This command lists all of the CSRs in my-csr-directory and pipes each CSR file name
/// to the aws iot create-certificate-from-csr
Amazon Web Services CLI command
/// to create a certificate for the corresponding CSR.
///
///
///
/// You can also run the aws iot create-certificate-from-csr
part of the
/// command in parallel to speed up the certificate creation process:
///
///
///
/// $ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr
/// --certificate-signing-request file://my-csr-directory/{}
///
///
///
/// On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory
/// is:
///
///
///
/// > ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request
/// file://my-csr-directory/$_}
///
///
///
/// On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory
/// is:
///
///
///
/// > forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr
/// --certificate-signing-request file://@path"
///
///
/// The certificate signing request (CSR).
///
/// The response from the CreateCertificateFromCsr service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateCertificateFromCsr Operation
public virtual CreateCertificateFromCsrResponse CreateCertificateFromCsr(string certificateSigningRequest)
{
var request = new CreateCertificateFromCsrRequest();
request.CertificateSigningRequest = certificateSigningRequest;
return CreateCertificateFromCsr(request);
}
///
/// Creates an X.509 certificate using the specified certificate signing request.
///
///
///
/// Requires permission to access the CreateCertificateFromCsr
/// action.
///
///
///
/// The CSR must include a public key that is either an RSA key with a length of at least
/// 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. For supported certificates,
/// consult
/// Certificate signing algorithms supported by IoT.
///
///
///
/// Reusing the same certificate signing request (CSR) results in a distinct certificate.
///
///
///
/// You can create multiple certificates in a batch by creating a directory, copying multiple
/// .csr
files into that directory, and then specifying that directory on
/// the command line. The following commands show how to create a batch of certificates
/// given a batch of CSRs. In the following commands, we assume that a set of CSRs are
/// located inside of the directory my-csr-directory:
///
///
///
/// On Linux and OS X, the command is:
///
///
///
/// $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request
/// file://my-csr-directory/{}
///
///
///
/// This command lists all of the CSRs in my-csr-directory and pipes each CSR file name
/// to the aws iot create-certificate-from-csr
Amazon Web Services CLI command
/// to create a certificate for the corresponding CSR.
///
///
///
/// You can also run the aws iot create-certificate-from-csr
part of the
/// command in parallel to speed up the certificate creation process:
///
///
///
/// $ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr
/// --certificate-signing-request file://my-csr-directory/{}
///
///
///
/// On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory
/// is:
///
///
///
/// > ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request
/// file://my-csr-directory/$_}
///
///
///
/// On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory
/// is:
///
///
///
/// > forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr
/// --certificate-signing-request file://@path"
///
///
/// The certificate signing request (CSR).
/// Specifies whether the certificate is active.
///
/// The response from the CreateCertificateFromCsr service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateCertificateFromCsr Operation
public virtual CreateCertificateFromCsrResponse CreateCertificateFromCsr(string certificateSigningRequest, bool setAsActive)
{
var request = new CreateCertificateFromCsrRequest();
request.CertificateSigningRequest = certificateSigningRequest;
request.SetAsActive = setAsActive;
return CreateCertificateFromCsr(request);
}
///
/// Creates an X.509 certificate using the specified certificate signing request.
///
///
///
/// Requires permission to access the CreateCertificateFromCsr
/// action.
///
///
///
/// The CSR must include a public key that is either an RSA key with a length of at least
/// 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. For supported certificates,
/// consult
/// Certificate signing algorithms supported by IoT.
///
///
///
/// Reusing the same certificate signing request (CSR) results in a distinct certificate.
///
///
///
/// You can create multiple certificates in a batch by creating a directory, copying multiple
/// .csr
files into that directory, and then specifying that directory on
/// the command line. The following commands show how to create a batch of certificates
/// given a batch of CSRs. In the following commands, we assume that a set of CSRs are
/// located inside of the directory my-csr-directory:
///
///
///
/// On Linux and OS X, the command is:
///
///
///
/// $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request
/// file://my-csr-directory/{}
///
///
///
/// This command lists all of the CSRs in my-csr-directory and pipes each CSR file name
/// to the aws iot create-certificate-from-csr
Amazon Web Services CLI command
/// to create a certificate for the corresponding CSR.
///
///
///
/// You can also run the aws iot create-certificate-from-csr
part of the
/// command in parallel to speed up the certificate creation process:
///
///
///
/// $ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr
/// --certificate-signing-request file://my-csr-directory/{}
///
///
///
/// On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory
/// is:
///
///
///
/// > ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request
/// file://my-csr-directory/$_}
///
///
///
/// On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory
/// is:
///
///
///
/// > forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr
/// --certificate-signing-request file://@path"
///
///
/// Container for the necessary parameters to execute the CreateCertificateFromCsr service method.
///
/// The response from the CreateCertificateFromCsr service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateCertificateFromCsr Operation
public virtual CreateCertificateFromCsrResponse CreateCertificateFromCsr(CreateCertificateFromCsrRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCertificateFromCsrRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCertificateFromCsrResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateCertificateFromCsr operation.
///
///
/// Container for the necessary parameters to execute the CreateCertificateFromCsr operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCertificateFromCsr
/// operation.
/// REST API Reference for CreateCertificateFromCsr Operation
public virtual IAsyncResult BeginCreateCertificateFromCsr(CreateCertificateFromCsrRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCertificateFromCsrRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCertificateFromCsrResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateCertificateFromCsr operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateCertificateFromCsr.
///
/// Returns a CreateCertificateFromCsrResult from IoT.
/// REST API Reference for CreateCertificateFromCsr Operation
public virtual CreateCertificateFromCsrResponse EndCreateCertificateFromCsr(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateCustomMetric
///
/// Use this API to define a Custom Metric published by your devices to Device Defender.
///
///
///
///
/// Requires permission to access the CreateCustomMetric
/// action.
///
///
/// Container for the necessary parameters to execute the CreateCustomMetric service method.
///
/// The response from the CreateCustomMetric service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CreateCustomMetric Operation
public virtual CreateCustomMetricResponse CreateCustomMetric(CreateCustomMetricRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCustomMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCustomMetricResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateCustomMetric operation.
///
///
/// Container for the necessary parameters to execute the CreateCustomMetric operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCustomMetric
/// operation.
/// REST API Reference for CreateCustomMetric Operation
public virtual IAsyncResult BeginCreateCustomMetric(CreateCustomMetricRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateCustomMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateCustomMetricResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateCustomMetric operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateCustomMetric.
///
/// Returns a CreateCustomMetricResult from IoT.
/// REST API Reference for CreateCustomMetric Operation
public virtual CreateCustomMetricResponse EndCreateCustomMetric(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateDimension
///
/// Create a dimension that you can use to limit the scope of a metric used in a security
/// profile for IoT Device Defender. For example, using a TOPIC_FILTER
dimension,
/// you can narrow down the scope of the metric only to MQTT topics whose name match the
/// pattern specified in the dimension.
///
///
///
/// Requires permission to access the CreateDimension
/// action.
///
///
/// Container for the necessary parameters to execute the CreateDimension service method.
///
/// The response from the CreateDimension service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CreateDimension Operation
public virtual CreateDimensionResponse CreateDimension(CreateDimensionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDimensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDimensionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateDimension operation.
///
///
/// Container for the necessary parameters to execute the CreateDimension operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDimension
/// operation.
/// REST API Reference for CreateDimension Operation
public virtual IAsyncResult BeginCreateDimension(CreateDimensionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDimensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDimensionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateDimension operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateDimension.
///
/// Returns a CreateDimensionResult from IoT.
/// REST API Reference for CreateDimension Operation
public virtual CreateDimensionResponse EndCreateDimension(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateDomainConfiguration
///
/// Creates a domain configuration.
///
///
///
/// Requires permission to access the CreateDomainConfiguration
/// action.
///
///
/// Container for the necessary parameters to execute the CreateDomainConfiguration service method.
///
/// The response from the CreateDomainConfiguration service method, as returned by IoT.
///
/// The certificate is invalid.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateDomainConfiguration Operation
public virtual CreateDomainConfigurationResponse CreateDomainConfiguration(CreateDomainConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateDomainConfiguration operation.
///
///
/// Container for the necessary parameters to execute the CreateDomainConfiguration operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDomainConfiguration
/// operation.
/// REST API Reference for CreateDomainConfiguration Operation
public virtual IAsyncResult BeginCreateDomainConfiguration(CreateDomainConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDomainConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDomainConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateDomainConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateDomainConfiguration.
///
/// Returns a CreateDomainConfigurationResult from IoT.
/// REST API Reference for CreateDomainConfiguration Operation
public virtual CreateDomainConfigurationResponse EndCreateDomainConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateDynamicThingGroup
///
/// Creates a dynamic thing group.
///
///
///
/// Requires permission to access the CreateDynamicThingGroup
/// action.
///
///
/// Container for the necessary parameters to execute the CreateDynamicThingGroup service method.
///
/// The response from the CreateDynamicThingGroup service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The query is invalid.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CreateDynamicThingGroup Operation
public virtual CreateDynamicThingGroupResponse CreateDynamicThingGroup(CreateDynamicThingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDynamicThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDynamicThingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateDynamicThingGroup operation.
///
///
/// Container for the necessary parameters to execute the CreateDynamicThingGroup operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDynamicThingGroup
/// operation.
/// REST API Reference for CreateDynamicThingGroup Operation
public virtual IAsyncResult BeginCreateDynamicThingGroup(CreateDynamicThingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDynamicThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDynamicThingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateDynamicThingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateDynamicThingGroup.
///
/// Returns a CreateDynamicThingGroupResult from IoT.
/// REST API Reference for CreateDynamicThingGroup Operation
public virtual CreateDynamicThingGroupResponse EndCreateDynamicThingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateFleetMetric
///
/// Creates a fleet metric.
///
///
///
/// Requires permission to access the CreateFleetMetric
/// action.
///
///
/// Container for the necessary parameters to execute the CreateFleetMetric service method.
///
/// The response from the CreateFleetMetric service method, as returned by IoT.
///
/// The index is not ready.
///
///
/// An unexpected error has occurred.
///
///
/// The aggregation is invalid.
///
///
/// The query is invalid.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateFleetMetric Operation
public virtual CreateFleetMetricResponse CreateFleetMetric(CreateFleetMetricRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFleetMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFleetMetricResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateFleetMetric operation.
///
///
/// Container for the necessary parameters to execute the CreateFleetMetric operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFleetMetric
/// operation.
/// REST API Reference for CreateFleetMetric Operation
public virtual IAsyncResult BeginCreateFleetMetric(CreateFleetMetricRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFleetMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFleetMetricResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateFleetMetric operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateFleetMetric.
///
/// Returns a CreateFleetMetricResult from IoT.
/// REST API Reference for CreateFleetMetric Operation
public virtual CreateFleetMetricResponse EndCreateFleetMetric(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateJob
///
/// Creates a job.
///
///
///
/// Requires permission to access the CreateJob
/// action.
///
///
/// Container for the necessary parameters to execute the CreateJob service method.
///
/// The response from the CreateJob service method, as returned by IoT.
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CreateJob Operation
public virtual CreateJobResponse CreateJob(CreateJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateJob operation.
///
///
/// Container for the necessary parameters to execute the CreateJob operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateJob
/// operation.
/// REST API Reference for CreateJob Operation
public virtual IAsyncResult BeginCreateJob(CreateJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateJob operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateJob.
///
/// Returns a CreateJobResult from IoT.
/// REST API Reference for CreateJob Operation
public virtual CreateJobResponse EndCreateJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateJobTemplate
///
/// Creates a job template.
///
///
///
/// Requires permission to access the CreateJobTemplate
/// action.
///
///
/// Container for the necessary parameters to execute the CreateJobTemplate service method.
///
/// The response from the CreateJobTemplate service method, as returned by IoT.
///
/// A resource with the same name already exists.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CreateJobTemplate Operation
public virtual CreateJobTemplateResponse CreateJobTemplate(CreateJobTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateJobTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateJobTemplate operation.
///
///
/// Container for the necessary parameters to execute the CreateJobTemplate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateJobTemplate
/// operation.
/// REST API Reference for CreateJobTemplate Operation
public virtual IAsyncResult BeginCreateJobTemplate(CreateJobTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateJobTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateJobTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateJobTemplate.
///
/// Returns a CreateJobTemplateResult from IoT.
/// REST API Reference for CreateJobTemplate Operation
public virtual CreateJobTemplateResponse EndCreateJobTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateKeysAndCertificate
///
/// Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public
/// key. You can also call CreateKeysAndCertificate
over MQTT from a device,
/// for more information, see Provisioning
/// MQTT API.
///
///
///
/// Note This is the only time IoT issues the private key for this certificate,
/// so it is important to keep it in a secure location.
///
///
///
/// Requires permission to access the CreateKeysAndCertificate
/// action.
///
///
///
/// The response from the CreateKeysAndCertificate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateKeysAndCertificate Operation
public virtual CreateKeysAndCertificateResponse CreateKeysAndCertificate()
{
var request = new CreateKeysAndCertificateRequest();
return CreateKeysAndCertificate(request);
}
///
/// Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public
/// key. You can also call CreateKeysAndCertificate
over MQTT from a device,
/// for more information, see Provisioning
/// MQTT API.
///
///
///
/// Note This is the only time IoT issues the private key for this certificate,
/// so it is important to keep it in a secure location.
///
///
///
/// Requires permission to access the CreateKeysAndCertificate
/// action.
///
///
/// Specifies whether the certificate is active.
///
/// The response from the CreateKeysAndCertificate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateKeysAndCertificate Operation
public virtual CreateKeysAndCertificateResponse CreateKeysAndCertificate(bool setAsActive)
{
var request = new CreateKeysAndCertificateRequest();
request.SetAsActive = setAsActive;
return CreateKeysAndCertificate(request);
}
///
/// Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public
/// key. You can also call CreateKeysAndCertificate
over MQTT from a device,
/// for more information, see Provisioning
/// MQTT API.
///
///
///
/// Note This is the only time IoT issues the private key for this certificate,
/// so it is important to keep it in a secure location.
///
///
///
/// Requires permission to access the CreateKeysAndCertificate
/// action.
///
///
/// Container for the necessary parameters to execute the CreateKeysAndCertificate service method.
///
/// The response from the CreateKeysAndCertificate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateKeysAndCertificate Operation
public virtual CreateKeysAndCertificateResponse CreateKeysAndCertificate(CreateKeysAndCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateKeysAndCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateKeysAndCertificateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateKeysAndCertificate operation.
///
///
/// Container for the necessary parameters to execute the CreateKeysAndCertificate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateKeysAndCertificate
/// operation.
/// REST API Reference for CreateKeysAndCertificate Operation
public virtual IAsyncResult BeginCreateKeysAndCertificate(CreateKeysAndCertificateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateKeysAndCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateKeysAndCertificateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateKeysAndCertificate operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateKeysAndCertificate.
///
/// Returns a CreateKeysAndCertificateResult from IoT.
/// REST API Reference for CreateKeysAndCertificate Operation
public virtual CreateKeysAndCertificateResponse EndCreateKeysAndCertificate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateMitigationAction
///
/// Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask.
/// Only certain types of mitigation actions can be applied to specific check names. For
/// more information, see Mitigation
/// actions. Each mitigation action can apply only one type of change.
///
///
///
/// Requires permission to access the CreateMitigationAction
/// action.
///
///
/// Container for the necessary parameters to execute the CreateMitigationAction service method.
///
/// The response from the CreateMitigationAction service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CreateMitigationAction Operation
public virtual CreateMitigationActionResponse CreateMitigationAction(CreateMitigationActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMitigationActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMitigationActionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateMitigationAction operation.
///
///
/// Container for the necessary parameters to execute the CreateMitigationAction operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateMitigationAction
/// operation.
/// REST API Reference for CreateMitigationAction Operation
public virtual IAsyncResult BeginCreateMitigationAction(CreateMitigationActionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateMitigationActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateMitigationActionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateMitigationAction operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateMitigationAction.
///
/// Returns a CreateMitigationActionResult from IoT.
/// REST API Reference for CreateMitigationAction Operation
public virtual CreateMitigationActionResponse EndCreateMitigationAction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateOTAUpdate
///
/// Creates an IoT OTA update on a target group of things or groups.
///
///
///
/// Requires permission to access the CreateOTAUpdate
/// action.
///
///
/// Container for the necessary parameters to execute the CreateOTAUpdate service method.
///
/// The response from the CreateOTAUpdate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateOTAUpdate Operation
public virtual CreateOTAUpdateResponse CreateOTAUpdate(CreateOTAUpdateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOTAUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOTAUpdateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateOTAUpdate operation.
///
///
/// Container for the necessary parameters to execute the CreateOTAUpdate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateOTAUpdate
/// operation.
/// REST API Reference for CreateOTAUpdate Operation
public virtual IAsyncResult BeginCreateOTAUpdate(CreateOTAUpdateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateOTAUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateOTAUpdateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateOTAUpdate operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateOTAUpdate.
///
/// Returns a CreateOTAUpdateResult from IoT.
/// REST API Reference for CreateOTAUpdate Operation
public virtual CreateOTAUpdateResponse EndCreateOTAUpdate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreatePackage
///
/// Creates an IoT software package that can be deployed to your fleet.
///
///
///
/// Requires permission to access the CreatePackage
/// and GetIndexingConfiguration
/// actions.
///
///
/// Container for the necessary parameters to execute the CreatePackage service method.
///
/// The response from the CreatePackage service method, as returned by IoT.
///
/// A resource with the same name already exists.
///
///
/// Internal error from the service that indicates an unexpected error or that the service
/// is unavailable.
///
///
/// A limit has been exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// The request is not valid.
///
/// REST API Reference for CreatePackage Operation
public virtual CreatePackageResponse CreatePackage(CreatePackageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePackageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreatePackage operation.
///
///
/// Container for the necessary parameters to execute the CreatePackage operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePackage
/// operation.
/// REST API Reference for CreatePackage Operation
public virtual IAsyncResult BeginCreatePackage(CreatePackageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePackageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreatePackage operation.
///
///
/// The IAsyncResult returned by the call to BeginCreatePackage.
///
/// Returns a CreatePackageResult from IoT.
/// REST API Reference for CreatePackage Operation
public virtual CreatePackageResponse EndCreatePackage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreatePackageVersion
///
/// Creates a new version for an existing IoT software package.
///
///
///
/// Requires permission to access the CreatePackageVersion
/// and GetIndexingConfiguration
/// actions.
///
///
/// Container for the necessary parameters to execute the CreatePackageVersion service method.
///
/// The response from the CreatePackageVersion service method, as returned by IoT.
///
/// A resource with the same name already exists.
///
///
/// Internal error from the service that indicates an unexpected error or that the service
/// is unavailable.
///
///
/// A limit has been exceeded.
///
///
/// The rate exceeds the limit.
///
///
/// The request is not valid.
///
/// REST API Reference for CreatePackageVersion Operation
public virtual CreatePackageVersionResponse CreatePackageVersion(CreatePackageVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePackageVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePackageVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreatePackageVersion operation.
///
///
/// Container for the necessary parameters to execute the CreatePackageVersion operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePackageVersion
/// operation.
/// REST API Reference for CreatePackageVersion Operation
public virtual IAsyncResult BeginCreatePackageVersion(CreatePackageVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePackageVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePackageVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreatePackageVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginCreatePackageVersion.
///
/// Returns a CreatePackageVersionResult from IoT.
/// REST API Reference for CreatePackageVersion Operation
public virtual CreatePackageVersionResponse EndCreatePackageVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreatePolicy
///
/// Creates an IoT policy.
///
///
///
/// The created policy is the default version for the policy. This operation creates a
/// policy version with a version identifier of 1 and sets 1 as the policy's
/// default version.
///
///
///
/// Requires permission to access the CreatePolicy
/// action.
///
///
/// The policy name.
/// The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.
///
/// The response from the CreatePolicy service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The policy documentation is not valid.
///
///
/// The resource already exists.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreatePolicy Operation
public virtual CreatePolicyResponse CreatePolicy(string policyName, string policyDocument)
{
var request = new CreatePolicyRequest();
request.PolicyName = policyName;
request.PolicyDocument = policyDocument;
return CreatePolicy(request);
}
///
/// Creates an IoT policy.
///
///
///
/// The created policy is the default version for the policy. This operation creates a
/// policy version with a version identifier of 1 and sets 1 as the policy's
/// default version.
///
///
///
/// Requires permission to access the CreatePolicy
/// action.
///
///
/// Container for the necessary parameters to execute the CreatePolicy service method.
///
/// The response from the CreatePolicy service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The policy documentation is not valid.
///
///
/// The resource already exists.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreatePolicy Operation
public virtual CreatePolicyResponse CreatePolicy(CreatePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreatePolicy operation.
///
///
/// Container for the necessary parameters to execute the CreatePolicy operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePolicy
/// operation.
/// REST API Reference for CreatePolicy Operation
public virtual IAsyncResult BeginCreatePolicy(CreatePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreatePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginCreatePolicy.
///
/// Returns a CreatePolicyResult from IoT.
/// REST API Reference for CreatePolicy Operation
public virtual CreatePolicyResponse EndCreatePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreatePolicyVersion
///
/// Creates a new version of the specified IoT policy. To update a policy, create a new
/// policy version. A managed policy can have up to five versions. If the policy has five
/// versions, you must use DeletePolicyVersion to delete an existing version before
/// you create a new one.
///
///
///
/// Optionally, you can set the new version as the policy's default version. The default
/// version is the operative version (that is, the version that is in effect for the certificates
/// to which the policy is attached).
///
///
///
/// Requires permission to access the CreatePolicyVersion
/// action.
///
///
/// The policy name.
/// The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.
///
/// The response from the CreatePolicyVersion service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The policy documentation is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
///
/// The number of policy versions exceeds the limit.
///
/// REST API Reference for CreatePolicyVersion Operation
public virtual CreatePolicyVersionResponse CreatePolicyVersion(string policyName, string policyDocument)
{
var request = new CreatePolicyVersionRequest();
request.PolicyName = policyName;
request.PolicyDocument = policyDocument;
return CreatePolicyVersion(request);
}
///
/// Creates a new version of the specified IoT policy. To update a policy, create a new
/// policy version. A managed policy can have up to five versions. If the policy has five
/// versions, you must use DeletePolicyVersion to delete an existing version before
/// you create a new one.
///
///
///
/// Optionally, you can set the new version as the policy's default version. The default
/// version is the operative version (that is, the version that is in effect for the certificates
/// to which the policy is attached).
///
///
///
/// Requires permission to access the CreatePolicyVersion
/// action.
///
///
/// The policy name.
/// The JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.
/// Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
///
/// The response from the CreatePolicyVersion service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The policy documentation is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
///
/// The number of policy versions exceeds the limit.
///
/// REST API Reference for CreatePolicyVersion Operation
public virtual CreatePolicyVersionResponse CreatePolicyVersion(string policyName, string policyDocument, bool setAsDefault)
{
var request = new CreatePolicyVersionRequest();
request.PolicyName = policyName;
request.PolicyDocument = policyDocument;
request.SetAsDefault = setAsDefault;
return CreatePolicyVersion(request);
}
///
/// Creates a new version of the specified IoT policy. To update a policy, create a new
/// policy version. A managed policy can have up to five versions. If the policy has five
/// versions, you must use DeletePolicyVersion to delete an existing version before
/// you create a new one.
///
///
///
/// Optionally, you can set the new version as the policy's default version. The default
/// version is the operative version (that is, the version that is in effect for the certificates
/// to which the policy is attached).
///
///
///
/// Requires permission to access the CreatePolicyVersion
/// action.
///
///
/// Container for the necessary parameters to execute the CreatePolicyVersion service method.
///
/// The response from the CreatePolicyVersion service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The policy documentation is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
///
/// The number of policy versions exceeds the limit.
///
/// REST API Reference for CreatePolicyVersion Operation
public virtual CreatePolicyVersionResponse CreatePolicyVersion(CreatePolicyVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePolicyVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePolicyVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreatePolicyVersion operation.
///
///
/// Container for the necessary parameters to execute the CreatePolicyVersion operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePolicyVersion
/// operation.
/// REST API Reference for CreatePolicyVersion Operation
public virtual IAsyncResult BeginCreatePolicyVersion(CreatePolicyVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePolicyVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePolicyVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreatePolicyVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginCreatePolicyVersion.
///
/// Returns a CreatePolicyVersionResult from IoT.
/// REST API Reference for CreatePolicyVersion Operation
public virtual CreatePolicyVersionResponse EndCreatePolicyVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateProvisioningClaim
///
/// Creates a provisioning claim.
///
///
///
/// Requires permission to access the CreateProvisioningClaim
/// action.
///
///
/// Container for the necessary parameters to execute the CreateProvisioningClaim service method.
///
/// The response from the CreateProvisioningClaim service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateProvisioningClaim Operation
public virtual CreateProvisioningClaimResponse CreateProvisioningClaim(CreateProvisioningClaimRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProvisioningClaimRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProvisioningClaimResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateProvisioningClaim operation.
///
///
/// Container for the necessary parameters to execute the CreateProvisioningClaim operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateProvisioningClaim
/// operation.
/// REST API Reference for CreateProvisioningClaim Operation
public virtual IAsyncResult BeginCreateProvisioningClaim(CreateProvisioningClaimRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProvisioningClaimRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProvisioningClaimResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateProvisioningClaim operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateProvisioningClaim.
///
/// Returns a CreateProvisioningClaimResult from IoT.
/// REST API Reference for CreateProvisioningClaim Operation
public virtual CreateProvisioningClaimResponse EndCreateProvisioningClaim(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateProvisioningTemplate
///
/// Creates a provisioning template.
///
///
///
/// Requires permission to access the CreateProvisioningTemplate
/// action.
///
///
/// Container for the necessary parameters to execute the CreateProvisioningTemplate service method.
///
/// The response from the CreateProvisioningTemplate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateProvisioningTemplate Operation
public virtual CreateProvisioningTemplateResponse CreateProvisioningTemplate(CreateProvisioningTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProvisioningTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProvisioningTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateProvisioningTemplate operation.
///
///
/// Container for the necessary parameters to execute the CreateProvisioningTemplate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateProvisioningTemplate
/// operation.
/// REST API Reference for CreateProvisioningTemplate Operation
public virtual IAsyncResult BeginCreateProvisioningTemplate(CreateProvisioningTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProvisioningTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProvisioningTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateProvisioningTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateProvisioningTemplate.
///
/// Returns a CreateProvisioningTemplateResult from IoT.
/// REST API Reference for CreateProvisioningTemplate Operation
public virtual CreateProvisioningTemplateResponse EndCreateProvisioningTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateProvisioningTemplateVersion
///
/// Creates a new version of a provisioning template.
///
///
///
/// Requires permission to access the CreateProvisioningTemplateVersion
/// action.
///
///
/// Container for the necessary parameters to execute the CreateProvisioningTemplateVersion service method.
///
/// The response from the CreateProvisioningTemplateVersion service method, as returned by IoT.
///
/// A conflicting resource update exception. This exception is thrown when two pending
/// updates cause a conflict.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
///
/// The number of policy versions exceeds the limit.
///
/// REST API Reference for CreateProvisioningTemplateVersion Operation
public virtual CreateProvisioningTemplateVersionResponse CreateProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProvisioningTemplateVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProvisioningTemplateVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateProvisioningTemplateVersion operation.
///
///
/// Container for the necessary parameters to execute the CreateProvisioningTemplateVersion operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateProvisioningTemplateVersion
/// operation.
/// REST API Reference for CreateProvisioningTemplateVersion Operation
public virtual IAsyncResult BeginCreateProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateProvisioningTemplateVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateProvisioningTemplateVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateProvisioningTemplateVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateProvisioningTemplateVersion.
///
/// Returns a CreateProvisioningTemplateVersionResult from IoT.
/// REST API Reference for CreateProvisioningTemplateVersion Operation
public virtual CreateProvisioningTemplateVersionResponse EndCreateProvisioningTemplateVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateRoleAlias
///
/// Creates a role alias.
///
///
///
/// Requires permission to access the CreateRoleAlias
/// action.
///
///
/// Container for the necessary parameters to execute the CreateRoleAlias service method.
///
/// The response from the CreateRoleAlias service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateRoleAlias Operation
public virtual CreateRoleAliasResponse CreateRoleAlias(CreateRoleAliasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRoleAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRoleAliasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateRoleAlias operation.
///
///
/// Container for the necessary parameters to execute the CreateRoleAlias operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRoleAlias
/// operation.
/// REST API Reference for CreateRoleAlias Operation
public virtual IAsyncResult BeginCreateRoleAlias(CreateRoleAliasRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRoleAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRoleAliasResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateRoleAlias operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateRoleAlias.
///
/// Returns a CreateRoleAliasResult from IoT.
/// REST API Reference for CreateRoleAlias Operation
public virtual CreateRoleAliasResponse EndCreateRoleAlias(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateScheduledAudit
///
/// Creates a scheduled audit that is run at a specified time interval.
///
///
///
/// Requires permission to access the CreateScheduledAudit
/// action.
///
///
/// Container for the necessary parameters to execute the CreateScheduledAudit service method.
///
/// The response from the CreateScheduledAudit service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CreateScheduledAudit Operation
public virtual CreateScheduledAuditResponse CreateScheduledAudit(CreateScheduledAuditRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateScheduledAuditRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateScheduledAuditResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateScheduledAudit operation.
///
///
/// Container for the necessary parameters to execute the CreateScheduledAudit operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateScheduledAudit
/// operation.
/// REST API Reference for CreateScheduledAudit Operation
public virtual IAsyncResult BeginCreateScheduledAudit(CreateScheduledAuditRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateScheduledAuditRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateScheduledAuditResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateScheduledAudit operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateScheduledAudit.
///
/// Returns a CreateScheduledAuditResult from IoT.
/// REST API Reference for CreateScheduledAudit Operation
public virtual CreateScheduledAuditResponse EndCreateScheduledAudit(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateSecurityProfile
///
/// Creates a Device Defender security profile.
///
///
///
/// Requires permission to access the CreateSecurityProfile
/// action.
///
///
/// Container for the necessary parameters to execute the CreateSecurityProfile service method.
///
/// The response from the CreateSecurityProfile service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CreateSecurityProfile Operation
public virtual CreateSecurityProfileResponse CreateSecurityProfile(CreateSecurityProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSecurityProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSecurityProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateSecurityProfile operation.
///
///
/// Container for the necessary parameters to execute the CreateSecurityProfile operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSecurityProfile
/// operation.
/// REST API Reference for CreateSecurityProfile Operation
public virtual IAsyncResult BeginCreateSecurityProfile(CreateSecurityProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSecurityProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSecurityProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateSecurityProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateSecurityProfile.
///
/// Returns a CreateSecurityProfileResult from IoT.
/// REST API Reference for CreateSecurityProfile Operation
public virtual CreateSecurityProfileResponse EndCreateSecurityProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateStream
///
/// Creates a stream for delivering one or more large files in chunks over MQTT. A stream
/// transports data bytes in chunks or blocks packaged as MQTT messages from a source
/// like S3. You can have one or more files associated with a stream.
///
///
///
/// Requires permission to access the CreateStream
/// action.
///
///
/// Container for the necessary parameters to execute the CreateStream service method.
///
/// The response from the CreateStream service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The resource already exists.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateStream Operation
public virtual CreateStreamResponse CreateStream(CreateStreamRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStreamResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateStream operation.
///
///
/// Container for the necessary parameters to execute the CreateStream operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStream
/// operation.
/// REST API Reference for CreateStream Operation
public virtual IAsyncResult BeginCreateStream(CreateStreamRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStreamResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateStream operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateStream.
///
/// Returns a CreateStreamResult from IoT.
/// REST API Reference for CreateStream Operation
public virtual CreateStreamResponse EndCreateStream(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateThing
///
/// Creates a thing record in the registry. If this call is made multiple times using
/// the same thing name and configuration, the call will succeed. If this call is made
/// with the same thing name but different configuration a ResourceAlreadyExistsException
/// is thrown.
///
///
///
/// This is a control plane operation. See Authorization
/// for information about authorizing control plane actions.
///
///
///
/// Requires permission to access the CreateThing
/// action.
///
///
/// Container for the necessary parameters to execute the CreateThing service method.
///
/// The response from the CreateThing service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateThing Operation
public virtual CreateThingResponse CreateThing(CreateThingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateThingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateThingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateThing operation.
///
///
/// Container for the necessary parameters to execute the CreateThing operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateThing
/// operation.
/// REST API Reference for CreateThing Operation
public virtual IAsyncResult BeginCreateThing(CreateThingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateThingRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateThingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateThing operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateThing.
///
/// Returns a CreateThingResult from IoT.
/// REST API Reference for CreateThing Operation
public virtual CreateThingResponse EndCreateThing(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateThingGroup
///
/// Create a thing group.
///
///
///
/// This is a control plane operation. See Authorization
/// for information about authorizing control plane actions.
///
///
///
/// Requires permission to access the CreateThingGroup
/// action.
///
///
/// Container for the necessary parameters to execute the CreateThingGroup service method.
///
/// The response from the CreateThingGroup service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for CreateThingGroup Operation
public virtual CreateThingGroupResponse CreateThingGroup(CreateThingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateThingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateThingGroup operation.
///
///
/// Container for the necessary parameters to execute the CreateThingGroup operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateThingGroup
/// operation.
/// REST API Reference for CreateThingGroup Operation
public virtual IAsyncResult BeginCreateThingGroup(CreateThingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateThingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateThingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateThingGroup.
///
/// Returns a CreateThingGroupResult from IoT.
/// REST API Reference for CreateThingGroup Operation
public virtual CreateThingGroupResponse EndCreateThingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateThingType
///
/// Creates a new thing type.
///
///
///
/// Requires permission to access the CreateThingType
/// action.
///
///
/// Container for the necessary parameters to execute the CreateThingType service method.
///
/// The response from the CreateThingType service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for CreateThingType Operation
public virtual CreateThingTypeResponse CreateThingType(CreateThingTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateThingTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateThingTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateThingType operation.
///
///
/// Container for the necessary parameters to execute the CreateThingType operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateThingType
/// operation.
/// REST API Reference for CreateThingType Operation
public virtual IAsyncResult BeginCreateThingType(CreateThingTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateThingTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateThingTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateThingType operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateThingType.
///
/// Returns a CreateThingTypeResult from IoT.
/// REST API Reference for CreateThingType Operation
public virtual CreateThingTypeResponse EndCreateThingType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateTopicRule
///
/// Creates a rule. Creating rules is an administrator-level action. Any user who has
/// permission to create rules will be able to access data processed by the rule.
///
///
///
/// Requires permission to access the CreateTopicRule
/// action.
///
///
/// Container for the necessary parameters to execute the CreateTopicRule service method.
///
/// The response from the CreateTopicRule service method, as returned by IoT.
///
/// A conflicting resource update exception. This exception is thrown when two pending
/// updates cause a conflict.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The service is temporarily unavailable.
///
///
/// The Rule-SQL expression can't be parsed correctly.
///
/// REST API Reference for CreateTopicRule Operation
public virtual CreateTopicRuleResponse CreateTopicRule(CreateTopicRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTopicRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTopicRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateTopicRule operation.
///
///
/// Container for the necessary parameters to execute the CreateTopicRule operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateTopicRule
/// operation.
/// REST API Reference for CreateTopicRule Operation
public virtual IAsyncResult BeginCreateTopicRule(CreateTopicRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTopicRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTopicRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateTopicRule operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateTopicRule.
///
/// Returns a CreateTopicRuleResult from IoT.
/// REST API Reference for CreateTopicRule Operation
public virtual CreateTopicRuleResponse EndCreateTopicRule(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateTopicRuleDestination
///
/// Creates a topic rule destination. The destination must be confirmed prior to use.
///
///
///
/// Requires permission to access the CreateTopicRuleDestination
/// action.
///
///
/// Container for the necessary parameters to execute the CreateTopicRuleDestination service method.
///
/// The response from the CreateTopicRuleDestination service method, as returned by IoT.
///
/// A conflicting resource update exception. This exception is thrown when two pending
/// updates cause a conflict.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The resource already exists.
///
///
/// The service is temporarily unavailable.
///
/// REST API Reference for CreateTopicRuleDestination Operation
public virtual CreateTopicRuleDestinationResponse CreateTopicRuleDestination(CreateTopicRuleDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTopicRuleDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTopicRuleDestinationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateTopicRuleDestination operation.
///
///
/// Container for the necessary parameters to execute the CreateTopicRuleDestination operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateTopicRuleDestination
/// operation.
/// REST API Reference for CreateTopicRuleDestination Operation
public virtual IAsyncResult BeginCreateTopicRuleDestination(CreateTopicRuleDestinationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateTopicRuleDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateTopicRuleDestinationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateTopicRuleDestination operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateTopicRuleDestination.
///
/// Returns a CreateTopicRuleDestinationResult from IoT.
/// REST API Reference for CreateTopicRuleDestination Operation
public virtual CreateTopicRuleDestinationResponse EndCreateTopicRuleDestination(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAccountAuditConfiguration
///
/// Restores the default settings for Device Defender audits for this account. Any configuration
/// data you entered is deleted and all audit checks are reset to disabled.
///
///
///
/// Requires permission to access the DeleteAccountAuditConfiguration
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteAccountAuditConfiguration service method.
///
/// The response from the DeleteAccountAuditConfiguration service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DeleteAccountAuditConfiguration Operation
public virtual DeleteAccountAuditConfigurationResponse DeleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccountAuditConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccountAuditConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAccountAuditConfiguration operation.
///
///
/// Container for the necessary parameters to execute the DeleteAccountAuditConfiguration operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAccountAuditConfiguration
/// operation.
/// REST API Reference for DeleteAccountAuditConfiguration Operation
public virtual IAsyncResult BeginDeleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAccountAuditConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAccountAuditConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAccountAuditConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAccountAuditConfiguration.
///
/// Returns a DeleteAccountAuditConfigurationResult from IoT.
/// REST API Reference for DeleteAccountAuditConfiguration Operation
public virtual DeleteAccountAuditConfigurationResponse EndDeleteAccountAuditConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAuditSuppression
///
/// Deletes a Device Defender audit suppression.
///
///
///
/// Requires permission to access the DeleteAuditSuppression
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteAuditSuppression service method.
///
/// The response from the DeleteAuditSuppression service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DeleteAuditSuppression Operation
public virtual DeleteAuditSuppressionResponse DeleteAuditSuppression(DeleteAuditSuppressionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAuditSuppressionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAuditSuppressionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAuditSuppression operation.
///
///
/// Container for the necessary parameters to execute the DeleteAuditSuppression operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAuditSuppression
/// operation.
/// REST API Reference for DeleteAuditSuppression Operation
public virtual IAsyncResult BeginDeleteAuditSuppression(DeleteAuditSuppressionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAuditSuppressionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAuditSuppressionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAuditSuppression operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAuditSuppression.
///
/// Returns a DeleteAuditSuppressionResult from IoT.
/// REST API Reference for DeleteAuditSuppression Operation
public virtual DeleteAuditSuppressionResponse EndDeleteAuditSuppression(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteAuthorizer
///
/// Deletes an authorizer.
///
///
///
/// Requires permission to access the DeleteAuthorizer
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteAuthorizer service method.
///
/// The response from the DeleteAuthorizer service method, as returned by IoT.
///
/// You can't delete the resource because it is attached to one or more resources.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteAuthorizer Operation
public virtual DeleteAuthorizerResponse DeleteAuthorizer(DeleteAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteAuthorizer operation.
///
///
/// Container for the necessary parameters to execute the DeleteAuthorizer operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAuthorizer
/// operation.
/// REST API Reference for DeleteAuthorizer Operation
public virtual IAsyncResult BeginDeleteAuthorizer(DeleteAuthorizerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAuthorizerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteAuthorizer operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteAuthorizer.
///
/// Returns a DeleteAuthorizerResult from IoT.
/// REST API Reference for DeleteAuthorizer Operation
public virtual DeleteAuthorizerResponse EndDeleteAuthorizer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteBillingGroup
///
/// Deletes the billing group.
///
///
///
/// Requires permission to access the DeleteBillingGroup
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteBillingGroup service method.
///
/// The response from the DeleteBillingGroup service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The rate exceeds the limit.
///
///
/// An exception thrown when the version of an entity specified with the expectedVersion
/// parameter does not match the latest version in the system.
///
/// REST API Reference for DeleteBillingGroup Operation
public virtual DeleteBillingGroupResponse DeleteBillingGroup(DeleteBillingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBillingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteBillingGroup operation.
///
///
/// Container for the necessary parameters to execute the DeleteBillingGroup operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBillingGroup
/// operation.
/// REST API Reference for DeleteBillingGroup Operation
public virtual IAsyncResult BeginDeleteBillingGroup(DeleteBillingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBillingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteBillingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteBillingGroup.
///
/// Returns a DeleteBillingGroupResult from IoT.
/// REST API Reference for DeleteBillingGroup Operation
public virtual DeleteBillingGroupResponse EndDeleteBillingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteCACertificate
///
/// Deletes a registered CA certificate.
///
///
///
/// Requires permission to access the DeleteCACertificate
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteCACertificate service method.
///
/// The response from the DeleteCACertificate service method, as returned by IoT.
///
/// The certificate operation is not allowed.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteCACertificate Operation
public virtual DeleteCACertificateResponse DeleteCACertificate(DeleteCACertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCACertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCACertificateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteCACertificate operation.
///
///
/// Container for the necessary parameters to execute the DeleteCACertificate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCACertificate
/// operation.
/// REST API Reference for DeleteCACertificate Operation
public virtual IAsyncResult BeginDeleteCACertificate(DeleteCACertificateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCACertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCACertificateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteCACertificate operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteCACertificate.
///
/// Returns a DeleteCACertificateResult from IoT.
/// REST API Reference for DeleteCACertificate Operation
public virtual DeleteCACertificateResponse EndDeleteCACertificate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteCertificate
///
/// Deletes the specified certificate.
///
///
///
/// A certificate cannot be deleted if it has a policy or IoT thing attached to it or
/// if its status is set to ACTIVE. To delete a certificate, first use the DetachPolicy
/// action to detach all policies. Next, use the UpdateCertificate action to set
/// the certificate to the INACTIVE status.
///
///
///
/// Requires permission to access the DeleteCertificate
/// action.
///
///
/// The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
///
/// The response from the DeleteCertificate service method, as returned by IoT.
///
/// The certificate operation is not allowed.
///
///
/// You can't delete the resource because it is attached to one or more resources.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteCertificate Operation
public virtual DeleteCertificateResponse DeleteCertificate(string certificateId)
{
var request = new DeleteCertificateRequest();
request.CertificateId = certificateId;
return DeleteCertificate(request);
}
///
/// Deletes the specified certificate.
///
///
///
/// A certificate cannot be deleted if it has a policy or IoT thing attached to it or
/// if its status is set to ACTIVE. To delete a certificate, first use the DetachPolicy
/// action to detach all policies. Next, use the UpdateCertificate action to set
/// the certificate to the INACTIVE status.
///
///
///
/// Requires permission to access the DeleteCertificate
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteCertificate service method.
///
/// The response from the DeleteCertificate service method, as returned by IoT.
///
/// The certificate operation is not allowed.
///
///
/// You can't delete the resource because it is attached to one or more resources.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteCertificate Operation
public virtual DeleteCertificateResponse DeleteCertificate(DeleteCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCertificateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteCertificate operation.
///
///
/// Container for the necessary parameters to execute the DeleteCertificate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCertificate
/// operation.
/// REST API Reference for DeleteCertificate Operation
public virtual IAsyncResult BeginDeleteCertificate(DeleteCertificateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCertificateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteCertificate operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteCertificate.
///
/// Returns a DeleteCertificateResult from IoT.
/// REST API Reference for DeleteCertificate Operation
public virtual DeleteCertificateResponse EndDeleteCertificate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteCustomMetric
///
/// Deletes a Device Defender detect custom metric.
///
///
///
/// Requires permission to access the DeleteCustomMetric
/// action.
///
///
///
/// Before you can delete a custom metric, you must first remove the custom metric from
/// all security profiles it's a part of. The security profile associated with the custom
/// metric can be found using the ListSecurityProfiles
/// API with metricName
set to your custom metric name.
///
///
///
/// Container for the necessary parameters to execute the DeleteCustomMetric service method.
///
/// The response from the DeleteCustomMetric service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DeleteCustomMetric Operation
public virtual DeleteCustomMetricResponse DeleteCustomMetric(DeleteCustomMetricRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomMetricResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteCustomMetric operation.
///
///
/// Container for the necessary parameters to execute the DeleteCustomMetric operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCustomMetric
/// operation.
/// REST API Reference for DeleteCustomMetric Operation
public virtual IAsyncResult BeginDeleteCustomMetric(DeleteCustomMetricRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteCustomMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteCustomMetricResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteCustomMetric operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteCustomMetric.
///
/// Returns a DeleteCustomMetricResult from IoT.
/// REST API Reference for DeleteCustomMetric Operation
public virtual DeleteCustomMetricResponse EndDeleteCustomMetric(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteDimension
///
/// Removes the specified dimension from your Amazon Web Services accounts.
///
///
///
/// Requires permission to access the DeleteDimension
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteDimension service method.
///
/// The response from the DeleteDimension service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DeleteDimension Operation
public virtual DeleteDimensionResponse DeleteDimension(DeleteDimensionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDimensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDimensionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteDimension operation.
///
///
/// Container for the necessary parameters to execute the DeleteDimension operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDimension
/// operation.
/// REST API Reference for DeleteDimension Operation
public virtual IAsyncResult BeginDeleteDimension(DeleteDimensionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDimensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDimensionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteDimension operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteDimension.
///
/// Returns a DeleteDimensionResult from IoT.
/// REST API Reference for DeleteDimension Operation
public virtual DeleteDimensionResponse EndDeleteDimension(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteDomainConfiguration
///
/// Deletes the specified domain configuration.
///
///
///
/// Requires permission to access the DeleteDomainConfiguration
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteDomainConfiguration service method.
///
/// The response from the DeleteDomainConfiguration service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteDomainConfiguration Operation
public virtual DeleteDomainConfigurationResponse DeleteDomainConfiguration(DeleteDomainConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteDomainConfiguration operation.
///
///
/// Container for the necessary parameters to execute the DeleteDomainConfiguration operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDomainConfiguration
/// operation.
/// REST API Reference for DeleteDomainConfiguration Operation
public virtual IAsyncResult BeginDeleteDomainConfiguration(DeleteDomainConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDomainConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDomainConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteDomainConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteDomainConfiguration.
///
/// Returns a DeleteDomainConfigurationResult from IoT.
/// REST API Reference for DeleteDomainConfiguration Operation
public virtual DeleteDomainConfigurationResponse EndDeleteDomainConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteDynamicThingGroup
///
/// Deletes a dynamic thing group.
///
///
///
/// Requires permission to access the DeleteDynamicThingGroup
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteDynamicThingGroup service method.
///
/// The response from the DeleteDynamicThingGroup service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The rate exceeds the limit.
///
///
/// An exception thrown when the version of an entity specified with the expectedVersion
/// parameter does not match the latest version in the system.
///
/// REST API Reference for DeleteDynamicThingGroup Operation
public virtual DeleteDynamicThingGroupResponse DeleteDynamicThingGroup(DeleteDynamicThingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDynamicThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDynamicThingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteDynamicThingGroup operation.
///
///
/// Container for the necessary parameters to execute the DeleteDynamicThingGroup operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDynamicThingGroup
/// operation.
/// REST API Reference for DeleteDynamicThingGroup Operation
public virtual IAsyncResult BeginDeleteDynamicThingGroup(DeleteDynamicThingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDynamicThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDynamicThingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteDynamicThingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteDynamicThingGroup.
///
/// Returns a DeleteDynamicThingGroupResult from IoT.
/// REST API Reference for DeleteDynamicThingGroup Operation
public virtual DeleteDynamicThingGroupResponse EndDeleteDynamicThingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteFleetMetric
///
/// Deletes the specified fleet metric. Returns successfully with no error if the deletion
/// is successful or you specify a fleet metric that doesn't exist.
///
///
///
/// Requires permission to access the DeleteFleetMetric
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteFleetMetric service method.
///
/// The response from the DeleteFleetMetric service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
///
/// An exception thrown when the version of an entity specified with the expectedVersion
/// parameter does not match the latest version in the system.
///
/// REST API Reference for DeleteFleetMetric Operation
public virtual DeleteFleetMetricResponse DeleteFleetMetric(DeleteFleetMetricRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFleetMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFleetMetricResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteFleetMetric operation.
///
///
/// Container for the necessary parameters to execute the DeleteFleetMetric operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFleetMetric
/// operation.
/// REST API Reference for DeleteFleetMetric Operation
public virtual IAsyncResult BeginDeleteFleetMetric(DeleteFleetMetricRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFleetMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFleetMetricResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteFleetMetric operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteFleetMetric.
///
/// Returns a DeleteFleetMetricResult from IoT.
/// REST API Reference for DeleteFleetMetric Operation
public virtual DeleteFleetMetricResponse EndDeleteFleetMetric(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteJob
///
/// Deletes a job and its related job executions.
///
///
///
/// Deleting a job may take time, depending on the number of job executions created for
/// the job and various other factors. While the job is being deleted, the status of the
/// job will be shown as "DELETION_IN_PROGRESS". Attempting to delete or cancel a job
/// whose status is already "DELETION_IN_PROGRESS" will result in an error.
///
///
///
/// Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException
/// will occur.
///
///
///
/// Requires permission to access the DeleteJob
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteJob service method.
///
/// The response from the DeleteJob service method, as returned by IoT.
///
/// The request is not valid.
///
///
/// An attempt was made to change to an invalid state, for example by deleting a job or
/// a job execution which is "IN_PROGRESS" without setting the force
parameter.
///
///
/// A limit has been exceeded.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DeleteJob Operation
public virtual DeleteJobResponse DeleteJob(DeleteJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteJob operation.
///
///
/// Container for the necessary parameters to execute the DeleteJob operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteJob
/// operation.
/// REST API Reference for DeleteJob Operation
public virtual IAsyncResult BeginDeleteJob(DeleteJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteJob operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteJob.
///
/// Returns a DeleteJobResult from IoT.
/// REST API Reference for DeleteJob Operation
public virtual DeleteJobResponse EndDeleteJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteJobExecution
///
/// Deletes a job execution.
///
///
///
/// Requires permission to access the DeleteJobExecution
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteJobExecution service method.
///
/// The response from the DeleteJobExecution service method, as returned by IoT.
///
/// The request is not valid.
///
///
/// An attempt was made to change to an invalid state, for example by deleting a job or
/// a job execution which is "IN_PROGRESS" without setting the force
parameter.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DeleteJobExecution Operation
public virtual DeleteJobExecutionResponse DeleteJobExecution(DeleteJobExecutionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobExecutionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteJobExecution operation.
///
///
/// Container for the necessary parameters to execute the DeleteJobExecution operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteJobExecution
/// operation.
/// REST API Reference for DeleteJobExecution Operation
public virtual IAsyncResult BeginDeleteJobExecution(DeleteJobExecutionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobExecutionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteJobExecution operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteJobExecution.
///
/// Returns a DeleteJobExecutionResult from IoT.
/// REST API Reference for DeleteJobExecution Operation
public virtual DeleteJobExecutionResponse EndDeleteJobExecution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteJobTemplate
///
/// Deletes the specified job template.
///
/// Container for the necessary parameters to execute the DeleteJobTemplate service method.
///
/// The response from the DeleteJobTemplate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DeleteJobTemplate Operation
public virtual DeleteJobTemplateResponse DeleteJobTemplate(DeleteJobTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteJobTemplate operation.
///
///
/// Container for the necessary parameters to execute the DeleteJobTemplate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteJobTemplate
/// operation.
/// REST API Reference for DeleteJobTemplate Operation
public virtual IAsyncResult BeginDeleteJobTemplate(DeleteJobTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteJobTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteJobTemplate.
///
/// Returns a DeleteJobTemplateResult from IoT.
/// REST API Reference for DeleteJobTemplate Operation
public virtual DeleteJobTemplateResponse EndDeleteJobTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteMitigationAction
///
/// Deletes a defined mitigation action from your Amazon Web Services accounts.
///
///
///
/// Requires permission to access the DeleteMitigationAction
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteMitigationAction service method.
///
/// The response from the DeleteMitigationAction service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DeleteMitigationAction Operation
public virtual DeleteMitigationActionResponse DeleteMitigationAction(DeleteMitigationActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMitigationActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMitigationActionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteMitigationAction operation.
///
///
/// Container for the necessary parameters to execute the DeleteMitigationAction operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMitigationAction
/// operation.
/// REST API Reference for DeleteMitigationAction Operation
public virtual IAsyncResult BeginDeleteMitigationAction(DeleteMitigationActionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteMitigationActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteMitigationActionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteMitigationAction operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteMitigationAction.
///
/// Returns a DeleteMitigationActionResult from IoT.
/// REST API Reference for DeleteMitigationAction Operation
public virtual DeleteMitigationActionResponse EndDeleteMitigationAction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteOTAUpdate
///
/// Delete an OTA update.
///
///
///
/// Requires permission to access the DeleteOTAUpdate
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteOTAUpdate service method.
///
/// The response from the DeleteOTAUpdate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
///
/// An exception thrown when the version of an entity specified with the expectedVersion
/// parameter does not match the latest version in the system.
///
/// REST API Reference for DeleteOTAUpdate Operation
public virtual DeleteOTAUpdateResponse DeleteOTAUpdate(DeleteOTAUpdateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOTAUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOTAUpdateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteOTAUpdate operation.
///
///
/// Container for the necessary parameters to execute the DeleteOTAUpdate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteOTAUpdate
/// operation.
/// REST API Reference for DeleteOTAUpdate Operation
public virtual IAsyncResult BeginDeleteOTAUpdate(DeleteOTAUpdateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOTAUpdateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOTAUpdateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteOTAUpdate operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteOTAUpdate.
///
/// Returns a DeleteOTAUpdateResult from IoT.
/// REST API Reference for DeleteOTAUpdate Operation
public virtual DeleteOTAUpdateResponse EndDeleteOTAUpdate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeletePackage
///
/// Deletes a specific version from a software package.
///
///
///
/// Note: All package versions must be deleted before deleting the software package.
///
///
///
/// Requires permission to access the DeletePackageVersion
/// action.
///
///
/// Container for the necessary parameters to execute the DeletePackage service method.
///
/// The response from the DeletePackage service method, as returned by IoT.
///
/// Internal error from the service that indicates an unexpected error or that the service
/// is unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// The request is not valid.
///
/// REST API Reference for DeletePackage Operation
public virtual DeletePackageResponse DeletePackage(DeletePackageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePackageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeletePackage operation.
///
///
/// Container for the necessary parameters to execute the DeletePackage operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePackage
/// operation.
/// REST API Reference for DeletePackage Operation
public virtual IAsyncResult BeginDeletePackage(DeletePackageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePackageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePackageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeletePackage operation.
///
///
/// The IAsyncResult returned by the call to BeginDeletePackage.
///
/// Returns a DeletePackageResult from IoT.
/// REST API Reference for DeletePackage Operation
public virtual DeletePackageResponse EndDeletePackage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeletePackageVersion
///
/// Deletes a specific version from a software package.
///
///
///
/// Note: If a package version is designated as default, you must remove the designation
/// from the package using the UpdatePackage action.
///
///
/// Container for the necessary parameters to execute the DeletePackageVersion service method.
///
/// The response from the DeletePackageVersion service method, as returned by IoT.
///
/// Internal error from the service that indicates an unexpected error or that the service
/// is unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// The request is not valid.
///
/// REST API Reference for DeletePackageVersion Operation
public virtual DeletePackageVersionResponse DeletePackageVersion(DeletePackageVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePackageVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePackageVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeletePackageVersion operation.
///
///
/// Container for the necessary parameters to execute the DeletePackageVersion operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePackageVersion
/// operation.
/// REST API Reference for DeletePackageVersion Operation
public virtual IAsyncResult BeginDeletePackageVersion(DeletePackageVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePackageVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePackageVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeletePackageVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginDeletePackageVersion.
///
/// Returns a DeletePackageVersionResult from IoT.
/// REST API Reference for DeletePackageVersion Operation
public virtual DeletePackageVersionResponse EndDeletePackageVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeletePolicy
///
/// Deletes the specified policy.
///
///
///
/// A policy cannot be deleted if it has non-default versions or it is attached to any
/// certificate.
///
///
///
/// To delete a policy, use the DeletePolicyVersion action to delete all non-default
/// versions of the policy; use the DetachPolicy action to detach the policy from
/// any certificate; and then use the DeletePolicy action to delete the policy.
///
///
///
/// When a policy is deleted using DeletePolicy, its default version is deleted with it.
///
///
///
/// Because of the distributed nature of Amazon Web Services, it can take up to five minutes
/// after a policy is detached before it's ready to be deleted.
///
///
///
/// Requires permission to access the DeletePolicy
/// action.
///
///
/// The name of the policy to delete.
///
/// The response from the DeletePolicy service method, as returned by IoT.
///
/// You can't delete the resource because it is attached to one or more resources.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeletePolicy Operation
public virtual DeletePolicyResponse DeletePolicy(string policyName)
{
var request = new DeletePolicyRequest();
request.PolicyName = policyName;
return DeletePolicy(request);
}
///
/// Deletes the specified policy.
///
///
///
/// A policy cannot be deleted if it has non-default versions or it is attached to any
/// certificate.
///
///
///
/// To delete a policy, use the DeletePolicyVersion action to delete all non-default
/// versions of the policy; use the DetachPolicy action to detach the policy from
/// any certificate; and then use the DeletePolicy action to delete the policy.
///
///
///
/// When a policy is deleted using DeletePolicy, its default version is deleted with it.
///
///
///
/// Because of the distributed nature of Amazon Web Services, it can take up to five minutes
/// after a policy is detached before it's ready to be deleted.
///
///
///
/// Requires permission to access the DeletePolicy
/// action.
///
///
/// Container for the necessary parameters to execute the DeletePolicy service method.
///
/// The response from the DeletePolicy service method, as returned by IoT.
///
/// You can't delete the resource because it is attached to one or more resources.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeletePolicy Operation
public virtual DeletePolicyResponse DeletePolicy(DeletePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeletePolicy operation.
///
///
/// Container for the necessary parameters to execute the DeletePolicy operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePolicy
/// operation.
/// REST API Reference for DeletePolicy Operation
public virtual IAsyncResult BeginDeletePolicy(DeletePolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeletePolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDeletePolicy.
///
/// Returns a DeletePolicyResult from IoT.
/// REST API Reference for DeletePolicy Operation
public virtual DeletePolicyResponse EndDeletePolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeletePolicyVersion
///
/// Deletes the specified version of the specified policy. You cannot delete the default
/// version of a policy using this action. To delete the default version of a policy,
/// use DeletePolicy. To find out which version of a policy is marked as the default
/// version, use ListPolicyVersions.
///
///
///
/// Requires permission to access the DeletePolicyVersion
/// action.
///
///
/// The name of the policy.
/// The policy version ID.
///
/// The response from the DeletePolicyVersion service method, as returned by IoT.
///
/// You can't delete the resource because it is attached to one or more resources.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeletePolicyVersion Operation
public virtual DeletePolicyVersionResponse DeletePolicyVersion(string policyName, string policyVersionId)
{
var request = new DeletePolicyVersionRequest();
request.PolicyName = policyName;
request.PolicyVersionId = policyVersionId;
return DeletePolicyVersion(request);
}
///
/// Deletes the specified version of the specified policy. You cannot delete the default
/// version of a policy using this action. To delete the default version of a policy,
/// use DeletePolicy. To find out which version of a policy is marked as the default
/// version, use ListPolicyVersions.
///
///
///
/// Requires permission to access the DeletePolicyVersion
/// action.
///
///
/// Container for the necessary parameters to execute the DeletePolicyVersion service method.
///
/// The response from the DeletePolicyVersion service method, as returned by IoT.
///
/// You can't delete the resource because it is attached to one or more resources.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeletePolicyVersion Operation
public virtual DeletePolicyVersionResponse DeletePolicyVersion(DeletePolicyVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePolicyVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePolicyVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeletePolicyVersion operation.
///
///
/// Container for the necessary parameters to execute the DeletePolicyVersion operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePolicyVersion
/// operation.
/// REST API Reference for DeletePolicyVersion Operation
public virtual IAsyncResult BeginDeletePolicyVersion(DeletePolicyVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePolicyVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePolicyVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeletePolicyVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginDeletePolicyVersion.
///
/// Returns a DeletePolicyVersionResult from IoT.
/// REST API Reference for DeletePolicyVersion Operation
public virtual DeletePolicyVersionResponse EndDeletePolicyVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteProvisioningTemplate
///
/// Deletes a provisioning template.
///
///
///
/// Requires permission to access the DeleteProvisioningTemplate
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteProvisioningTemplate service method.
///
/// The response from the DeleteProvisioningTemplate service method, as returned by IoT.
///
/// A conflicting resource update exception. This exception is thrown when two pending
/// updates cause a conflict.
///
///
/// You can't delete the resource because it is attached to one or more resources.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteProvisioningTemplate Operation
public virtual DeleteProvisioningTemplateResponse DeleteProvisioningTemplate(DeleteProvisioningTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProvisioningTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProvisioningTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteProvisioningTemplate operation.
///
///
/// Container for the necessary parameters to execute the DeleteProvisioningTemplate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteProvisioningTemplate
/// operation.
/// REST API Reference for DeleteProvisioningTemplate Operation
public virtual IAsyncResult BeginDeleteProvisioningTemplate(DeleteProvisioningTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProvisioningTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProvisioningTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteProvisioningTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteProvisioningTemplate.
///
/// Returns a DeleteProvisioningTemplateResult from IoT.
/// REST API Reference for DeleteProvisioningTemplate Operation
public virtual DeleteProvisioningTemplateResponse EndDeleteProvisioningTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteProvisioningTemplateVersion
///
/// Deletes a provisioning template version.
///
///
///
/// Requires permission to access the DeleteProvisioningTemplateVersion
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteProvisioningTemplateVersion service method.
///
/// The response from the DeleteProvisioningTemplateVersion service method, as returned by IoT.
///
/// A conflicting resource update exception. This exception is thrown when two pending
/// updates cause a conflict.
///
///
/// You can't delete the resource because it is attached to one or more resources.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteProvisioningTemplateVersion Operation
public virtual DeleteProvisioningTemplateVersionResponse DeleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProvisioningTemplateVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProvisioningTemplateVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteProvisioningTemplateVersion operation.
///
///
/// Container for the necessary parameters to execute the DeleteProvisioningTemplateVersion operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteProvisioningTemplateVersion
/// operation.
/// REST API Reference for DeleteProvisioningTemplateVersion Operation
public virtual IAsyncResult BeginDeleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteProvisioningTemplateVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteProvisioningTemplateVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteProvisioningTemplateVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteProvisioningTemplateVersion.
///
/// Returns a DeleteProvisioningTemplateVersionResult from IoT.
/// REST API Reference for DeleteProvisioningTemplateVersion Operation
public virtual DeleteProvisioningTemplateVersionResponse EndDeleteProvisioningTemplateVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteRegistrationCode
///
/// Deletes a CA certificate registration code.
///
///
///
/// Requires permission to access the DeleteRegistrationCode
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteRegistrationCode service method.
///
/// The response from the DeleteRegistrationCode service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteRegistrationCode Operation
public virtual DeleteRegistrationCodeResponse DeleteRegistrationCode(DeleteRegistrationCodeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRegistrationCodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRegistrationCodeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteRegistrationCode operation.
///
///
/// Container for the necessary parameters to execute the DeleteRegistrationCode operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRegistrationCode
/// operation.
/// REST API Reference for DeleteRegistrationCode Operation
public virtual IAsyncResult BeginDeleteRegistrationCode(DeleteRegistrationCodeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRegistrationCodeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRegistrationCodeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteRegistrationCode operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteRegistrationCode.
///
/// Returns a DeleteRegistrationCodeResult from IoT.
/// REST API Reference for DeleteRegistrationCode Operation
public virtual DeleteRegistrationCodeResponse EndDeleteRegistrationCode(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteRoleAlias
///
/// Deletes a role alias
///
///
///
/// Requires permission to access the DeleteRoleAlias
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteRoleAlias service method.
///
/// The response from the DeleteRoleAlias service method, as returned by IoT.
///
/// You can't delete the resource because it is attached to one or more resources.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteRoleAlias Operation
public virtual DeleteRoleAliasResponse DeleteRoleAlias(DeleteRoleAliasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRoleAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRoleAliasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteRoleAlias operation.
///
///
/// Container for the necessary parameters to execute the DeleteRoleAlias operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRoleAlias
/// operation.
/// REST API Reference for DeleteRoleAlias Operation
public virtual IAsyncResult BeginDeleteRoleAlias(DeleteRoleAliasRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRoleAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRoleAliasResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteRoleAlias operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteRoleAlias.
///
/// Returns a DeleteRoleAliasResult from IoT.
/// REST API Reference for DeleteRoleAlias Operation
public virtual DeleteRoleAliasResponse EndDeleteRoleAlias(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteScheduledAudit
///
/// Deletes a scheduled audit.
///
///
///
/// Requires permission to access the DeleteScheduledAudit
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteScheduledAudit service method.
///
/// The response from the DeleteScheduledAudit service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DeleteScheduledAudit Operation
public virtual DeleteScheduledAuditResponse DeleteScheduledAudit(DeleteScheduledAuditRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteScheduledAuditRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteScheduledAuditResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteScheduledAudit operation.
///
///
/// Container for the necessary parameters to execute the DeleteScheduledAudit operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteScheduledAudit
/// operation.
/// REST API Reference for DeleteScheduledAudit Operation
public virtual IAsyncResult BeginDeleteScheduledAudit(DeleteScheduledAuditRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteScheduledAuditRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteScheduledAuditResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteScheduledAudit operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteScheduledAudit.
///
/// Returns a DeleteScheduledAuditResult from IoT.
/// REST API Reference for DeleteScheduledAudit Operation
public virtual DeleteScheduledAuditResponse EndDeleteScheduledAudit(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteSecurityProfile
///
/// Deletes a Device Defender security profile.
///
///
///
/// Requires permission to access the DeleteSecurityProfile
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteSecurityProfile service method.
///
/// The response from the DeleteSecurityProfile service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The rate exceeds the limit.
///
///
/// An exception thrown when the version of an entity specified with the expectedVersion
/// parameter does not match the latest version in the system.
///
/// REST API Reference for DeleteSecurityProfile Operation
public virtual DeleteSecurityProfileResponse DeleteSecurityProfile(DeleteSecurityProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSecurityProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSecurityProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteSecurityProfile operation.
///
///
/// Container for the necessary parameters to execute the DeleteSecurityProfile operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSecurityProfile
/// operation.
/// REST API Reference for DeleteSecurityProfile Operation
public virtual IAsyncResult BeginDeleteSecurityProfile(DeleteSecurityProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSecurityProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSecurityProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteSecurityProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteSecurityProfile.
///
/// Returns a DeleteSecurityProfileResult from IoT.
/// REST API Reference for DeleteSecurityProfile Operation
public virtual DeleteSecurityProfileResponse EndDeleteSecurityProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteStream
///
/// Deletes a stream.
///
///
///
/// Requires permission to access the DeleteStream
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteStream service method.
///
/// The response from the DeleteStream service method, as returned by IoT.
///
/// You can't delete the resource because it is attached to one or more resources.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteStream Operation
public virtual DeleteStreamResponse DeleteStream(DeleteStreamRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStreamResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteStream operation.
///
///
/// Container for the necessary parameters to execute the DeleteStream operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStream
/// operation.
/// REST API Reference for DeleteStream Operation
public virtual IAsyncResult BeginDeleteStream(DeleteStreamRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStreamResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteStream operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteStream.
///
/// Returns a DeleteStreamResult from IoT.
/// REST API Reference for DeleteStream Operation
public virtual DeleteStreamResponse EndDeleteStream(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteThing
///
/// Deletes the specified thing. Returns successfully with no error if the deletion is
/// successful or you specify a thing that doesn't exist.
///
///
///
/// Requires permission to access the DeleteThing
/// action.
///
///
/// The name of the thing to delete.
///
/// The response from the DeleteThing service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
///
/// An exception thrown when the version of an entity specified with the expectedVersion
/// parameter does not match the latest version in the system.
///
/// REST API Reference for DeleteThing Operation
public virtual DeleteThingResponse DeleteThing(string thingName)
{
var request = new DeleteThingRequest();
request.ThingName = thingName;
return DeleteThing(request);
}
///
/// Deletes the specified thing. Returns successfully with no error if the deletion is
/// successful or you specify a thing that doesn't exist.
///
///
///
/// Requires permission to access the DeleteThing
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteThing service method.
///
/// The response from the DeleteThing service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
///
/// An exception thrown when the version of an entity specified with the expectedVersion
/// parameter does not match the latest version in the system.
///
/// REST API Reference for DeleteThing Operation
public virtual DeleteThingResponse DeleteThing(DeleteThingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteThingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteThingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteThing operation.
///
///
/// Container for the necessary parameters to execute the DeleteThing operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteThing
/// operation.
/// REST API Reference for DeleteThing Operation
public virtual IAsyncResult BeginDeleteThing(DeleteThingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteThingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteThingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteThing operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteThing.
///
/// Returns a DeleteThingResult from IoT.
/// REST API Reference for DeleteThing Operation
public virtual DeleteThingResponse EndDeleteThing(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteThingGroup
///
/// Deletes a thing group.
///
///
///
/// Requires permission to access the DeleteThingGroup
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteThingGroup service method.
///
/// The response from the DeleteThingGroup service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The rate exceeds the limit.
///
///
/// An exception thrown when the version of an entity specified with the expectedVersion
/// parameter does not match the latest version in the system.
///
/// REST API Reference for DeleteThingGroup Operation
public virtual DeleteThingGroupResponse DeleteThingGroup(DeleteThingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteThingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteThingGroup operation.
///
///
/// Container for the necessary parameters to execute the DeleteThingGroup operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteThingGroup
/// operation.
/// REST API Reference for DeleteThingGroup Operation
public virtual IAsyncResult BeginDeleteThingGroup(DeleteThingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteThingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteThingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteThingGroup.
///
/// Returns a DeleteThingGroupResult from IoT.
/// REST API Reference for DeleteThingGroup Operation
public virtual DeleteThingGroupResponse EndDeleteThingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteThingType
///
/// Deletes the specified thing type. You cannot delete a thing type if it has things
/// associated with it. To delete a thing type, first mark it as deprecated by calling
/// DeprecateThingType, then remove any associated things by calling UpdateThing
/// to change the thing type on any associated thing, and finally use DeleteThingType
/// to delete the thing type.
///
///
///
/// Requires permission to access the DeleteThingType
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteThingType service method.
///
/// The response from the DeleteThingType service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteThingType Operation
public virtual DeleteThingTypeResponse DeleteThingType(DeleteThingTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteThingTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteThingTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteThingType operation.
///
///
/// Container for the necessary parameters to execute the DeleteThingType operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteThingType
/// operation.
/// REST API Reference for DeleteThingType Operation
public virtual IAsyncResult BeginDeleteThingType(DeleteThingTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteThingTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteThingTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteThingType operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteThingType.
///
/// Returns a DeleteThingTypeResult from IoT.
/// REST API Reference for DeleteThingType Operation
public virtual DeleteThingTypeResponse EndDeleteThingType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteTopicRule
///
/// Deletes the rule.
///
///
///
/// Requires permission to access the DeleteTopicRule
/// action.
///
///
/// The name of the rule.
///
/// The response from the DeleteTopicRule service method, as returned by IoT.
///
/// A conflicting resource update exception. This exception is thrown when two pending
/// updates cause a conflict.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteTopicRule Operation
public virtual DeleteTopicRuleResponse DeleteTopicRule(string ruleName)
{
var request = new DeleteTopicRuleRequest();
request.RuleName = ruleName;
return DeleteTopicRule(request);
}
///
/// Deletes the rule.
///
///
///
/// Requires permission to access the DeleteTopicRule
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteTopicRule service method.
///
/// The response from the DeleteTopicRule service method, as returned by IoT.
///
/// A conflicting resource update exception. This exception is thrown when two pending
/// updates cause a conflict.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteTopicRule Operation
public virtual DeleteTopicRuleResponse DeleteTopicRule(DeleteTopicRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTopicRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTopicRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteTopicRule operation.
///
///
/// Container for the necessary parameters to execute the DeleteTopicRule operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteTopicRule
/// operation.
/// REST API Reference for DeleteTopicRule Operation
public virtual IAsyncResult BeginDeleteTopicRule(DeleteTopicRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTopicRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTopicRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteTopicRule operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteTopicRule.
///
/// Returns a DeleteTopicRuleResult from IoT.
/// REST API Reference for DeleteTopicRule Operation
public virtual DeleteTopicRuleResponse EndDeleteTopicRule(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteTopicRuleDestination
///
/// Deletes a topic rule destination.
///
///
///
/// Requires permission to access the DeleteTopicRuleDestination
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteTopicRuleDestination service method.
///
/// The response from the DeleteTopicRuleDestination service method, as returned by IoT.
///
/// A conflicting resource update exception. This exception is thrown when two pending
/// updates cause a conflict.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeleteTopicRuleDestination Operation
public virtual DeleteTopicRuleDestinationResponse DeleteTopicRuleDestination(DeleteTopicRuleDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTopicRuleDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTopicRuleDestinationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteTopicRuleDestination operation.
///
///
/// Container for the necessary parameters to execute the DeleteTopicRuleDestination operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteTopicRuleDestination
/// operation.
/// REST API Reference for DeleteTopicRuleDestination Operation
public virtual IAsyncResult BeginDeleteTopicRuleDestination(DeleteTopicRuleDestinationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteTopicRuleDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteTopicRuleDestinationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteTopicRuleDestination operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteTopicRuleDestination.
///
/// Returns a DeleteTopicRuleDestinationResult from IoT.
/// REST API Reference for DeleteTopicRuleDestination Operation
public virtual DeleteTopicRuleDestinationResponse EndDeleteTopicRuleDestination(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteV2LoggingLevel
///
/// Deletes a logging level.
///
///
///
/// Requires permission to access the DeleteV2LoggingLevel
/// action.
///
///
/// Container for the necessary parameters to execute the DeleteV2LoggingLevel service method.
///
/// The response from the DeleteV2LoggingLevel service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
/// REST API Reference for DeleteV2LoggingLevel Operation
public virtual DeleteV2LoggingLevelResponse DeleteV2LoggingLevel(DeleteV2LoggingLevelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteV2LoggingLevelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteV2LoggingLevelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteV2LoggingLevel operation.
///
///
/// Container for the necessary parameters to execute the DeleteV2LoggingLevel operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteV2LoggingLevel
/// operation.
/// REST API Reference for DeleteV2LoggingLevel Operation
public virtual IAsyncResult BeginDeleteV2LoggingLevel(DeleteV2LoggingLevelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteV2LoggingLevelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteV2LoggingLevelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteV2LoggingLevel operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteV2LoggingLevel.
///
/// Returns a DeleteV2LoggingLevelResult from IoT.
/// REST API Reference for DeleteV2LoggingLevel Operation
public virtual DeleteV2LoggingLevelResponse EndDeleteV2LoggingLevel(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeprecateThingType
///
/// Deprecates a thing type. You can not associate new things with deprecated thing type.
///
///
///
/// Requires permission to access the DeprecateThingType
/// action.
///
///
/// Container for the necessary parameters to execute the DeprecateThingType service method.
///
/// The response from the DeprecateThingType service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DeprecateThingType Operation
public virtual DeprecateThingTypeResponse DeprecateThingType(DeprecateThingTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeprecateThingTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeprecateThingTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeprecateThingType operation.
///
///
/// Container for the necessary parameters to execute the DeprecateThingType operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeprecateThingType
/// operation.
/// REST API Reference for DeprecateThingType Operation
public virtual IAsyncResult BeginDeprecateThingType(DeprecateThingTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeprecateThingTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeprecateThingTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeprecateThingType operation.
///
///
/// The IAsyncResult returned by the call to BeginDeprecateThingType.
///
/// Returns a DeprecateThingTypeResult from IoT.
/// REST API Reference for DeprecateThingType Operation
public virtual DeprecateThingTypeResponse EndDeprecateThingType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAccountAuditConfiguration
///
/// Gets information about the Device Defender audit settings for this account. Settings
/// include how audit notifications are sent and which audit checks are enabled or disabled.
///
///
///
/// Requires permission to access the DescribeAccountAuditConfiguration
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeAccountAuditConfiguration service method.
///
/// The response from the DescribeAccountAuditConfiguration service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeAccountAuditConfiguration Operation
public virtual DescribeAccountAuditConfigurationResponse DescribeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAccountAuditConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAccountAuditConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAccountAuditConfiguration operation.
///
///
/// Container for the necessary parameters to execute the DescribeAccountAuditConfiguration operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAccountAuditConfiguration
/// operation.
/// REST API Reference for DescribeAccountAuditConfiguration Operation
public virtual IAsyncResult BeginDescribeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAccountAuditConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAccountAuditConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAccountAuditConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAccountAuditConfiguration.
///
/// Returns a DescribeAccountAuditConfigurationResult from IoT.
/// REST API Reference for DescribeAccountAuditConfiguration Operation
public virtual DescribeAccountAuditConfigurationResponse EndDescribeAccountAuditConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAuditFinding
///
/// Gets information about a single audit finding. Properties include the reason for noncompliance,
/// the severity of the issue, and the start time when the audit that returned the finding.
///
///
///
/// Requires permission to access the DescribeAuditFinding
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeAuditFinding service method.
///
/// The response from the DescribeAuditFinding service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeAuditFinding Operation
public virtual DescribeAuditFindingResponse DescribeAuditFinding(DescribeAuditFindingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuditFindingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuditFindingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAuditFinding operation.
///
///
/// Container for the necessary parameters to execute the DescribeAuditFinding operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAuditFinding
/// operation.
/// REST API Reference for DescribeAuditFinding Operation
public virtual IAsyncResult BeginDescribeAuditFinding(DescribeAuditFindingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuditFindingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuditFindingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAuditFinding operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAuditFinding.
///
/// Returns a DescribeAuditFindingResult from IoT.
/// REST API Reference for DescribeAuditFinding Operation
public virtual DescribeAuditFindingResponse EndDescribeAuditFinding(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAuditMitigationActionsTask
///
/// Gets information about an audit mitigation task that is used to apply mitigation actions
/// to a set of audit findings. Properties include the actions being applied, the audit
/// checks to which they're being applied, the task status, and aggregated task statistics.
///
/// Container for the necessary parameters to execute the DescribeAuditMitigationActionsTask service method.
///
/// The response from the DescribeAuditMitigationActionsTask service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeAuditMitigationActionsTask Operation
public virtual DescribeAuditMitigationActionsTaskResponse DescribeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuditMitigationActionsTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuditMitigationActionsTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAuditMitigationActionsTask operation.
///
///
/// Container for the necessary parameters to execute the DescribeAuditMitigationActionsTask operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAuditMitigationActionsTask
/// operation.
/// REST API Reference for DescribeAuditMitigationActionsTask Operation
public virtual IAsyncResult BeginDescribeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuditMitigationActionsTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuditMitigationActionsTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAuditMitigationActionsTask operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAuditMitigationActionsTask.
///
/// Returns a DescribeAuditMitigationActionsTaskResult from IoT.
/// REST API Reference for DescribeAuditMitigationActionsTask Operation
public virtual DescribeAuditMitigationActionsTaskResponse EndDescribeAuditMitigationActionsTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAuditSuppression
///
/// Gets information about a Device Defender audit suppression.
///
/// Container for the necessary parameters to execute the DescribeAuditSuppression service method.
///
/// The response from the DescribeAuditSuppression service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeAuditSuppression Operation
public virtual DescribeAuditSuppressionResponse DescribeAuditSuppression(DescribeAuditSuppressionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuditSuppressionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuditSuppressionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAuditSuppression operation.
///
///
/// Container for the necessary parameters to execute the DescribeAuditSuppression operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAuditSuppression
/// operation.
/// REST API Reference for DescribeAuditSuppression Operation
public virtual IAsyncResult BeginDescribeAuditSuppression(DescribeAuditSuppressionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuditSuppressionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuditSuppressionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAuditSuppression operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAuditSuppression.
///
/// Returns a DescribeAuditSuppressionResult from IoT.
/// REST API Reference for DescribeAuditSuppression Operation
public virtual DescribeAuditSuppressionResponse EndDescribeAuditSuppression(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAuditTask
///
/// Gets information about a Device Defender audit.
///
///
///
/// Requires permission to access the DescribeAuditTask
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeAuditTask service method.
///
/// The response from the DescribeAuditTask service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeAuditTask Operation
public virtual DescribeAuditTaskResponse DescribeAuditTask(DescribeAuditTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuditTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuditTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAuditTask operation.
///
///
/// Container for the necessary parameters to execute the DescribeAuditTask operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAuditTask
/// operation.
/// REST API Reference for DescribeAuditTask Operation
public virtual IAsyncResult BeginDescribeAuditTask(DescribeAuditTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuditTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuditTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAuditTask operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAuditTask.
///
/// Returns a DescribeAuditTaskResult from IoT.
/// REST API Reference for DescribeAuditTask Operation
public virtual DescribeAuditTaskResponse EndDescribeAuditTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeAuthorizer
///
/// Describes an authorizer.
///
///
///
/// Requires permission to access the DescribeAuthorizer
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeAuthorizer service method.
///
/// The response from the DescribeAuthorizer service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeAuthorizer Operation
public virtual DescribeAuthorizerResponse DescribeAuthorizer(DescribeAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuthorizerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeAuthorizer operation.
///
///
/// Container for the necessary parameters to execute the DescribeAuthorizer operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAuthorizer
/// operation.
/// REST API Reference for DescribeAuthorizer Operation
public virtual IAsyncResult BeginDescribeAuthorizer(DescribeAuthorizerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAuthorizerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeAuthorizer operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeAuthorizer.
///
/// Returns a DescribeAuthorizerResult from IoT.
/// REST API Reference for DescribeAuthorizer Operation
public virtual DescribeAuthorizerResponse EndDescribeAuthorizer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeBillingGroup
///
/// Returns information about a billing group.
///
///
///
/// Requires permission to access the DescribeBillingGroup
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeBillingGroup service method.
///
/// The response from the DescribeBillingGroup service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeBillingGroup Operation
public virtual DescribeBillingGroupResponse DescribeBillingGroup(DescribeBillingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBillingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeBillingGroup operation.
///
///
/// Container for the necessary parameters to execute the DescribeBillingGroup operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeBillingGroup
/// operation.
/// REST API Reference for DescribeBillingGroup Operation
public virtual IAsyncResult BeginDescribeBillingGroup(DescribeBillingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeBillingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeBillingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeBillingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeBillingGroup.
///
/// Returns a DescribeBillingGroupResult from IoT.
/// REST API Reference for DescribeBillingGroup Operation
public virtual DescribeBillingGroupResponse EndDescribeBillingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeCACertificate
///
/// Describes a registered CA certificate.
///
///
///
/// Requires permission to access the DescribeCACertificate
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeCACertificate service method.
///
/// The response from the DescribeCACertificate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeCACertificate Operation
public virtual DescribeCACertificateResponse DescribeCACertificate(DescribeCACertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCACertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCACertificateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeCACertificate operation.
///
///
/// Container for the necessary parameters to execute the DescribeCACertificate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeCACertificate
/// operation.
/// REST API Reference for DescribeCACertificate Operation
public virtual IAsyncResult BeginDescribeCACertificate(DescribeCACertificateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCACertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCACertificateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeCACertificate operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeCACertificate.
///
/// Returns a DescribeCACertificateResult from IoT.
/// REST API Reference for DescribeCACertificate Operation
public virtual DescribeCACertificateResponse EndDescribeCACertificate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeCertificate
///
/// Gets information about the specified certificate.
///
///
///
/// Requires permission to access the DescribeCertificate
/// action.
///
///
/// The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
///
/// The response from the DescribeCertificate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeCertificate Operation
public virtual DescribeCertificateResponse DescribeCertificate(string certificateId)
{
var request = new DescribeCertificateRequest();
request.CertificateId = certificateId;
return DescribeCertificate(request);
}
///
/// Gets information about the specified certificate.
///
///
///
/// Requires permission to access the DescribeCertificate
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeCertificate service method.
///
/// The response from the DescribeCertificate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeCertificate Operation
public virtual DescribeCertificateResponse DescribeCertificate(DescribeCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCertificateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeCertificate operation.
///
///
/// Container for the necessary parameters to execute the DescribeCertificate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeCertificate
/// operation.
/// REST API Reference for DescribeCertificate Operation
public virtual IAsyncResult BeginDescribeCertificate(DescribeCertificateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCertificateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeCertificate operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeCertificate.
///
/// Returns a DescribeCertificateResult from IoT.
/// REST API Reference for DescribeCertificate Operation
public virtual DescribeCertificateResponse EndDescribeCertificate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeCustomMetric
///
/// Gets information about a Device Defender detect custom metric.
///
///
///
/// Requires permission to access the DescribeCustomMetric
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeCustomMetric service method.
///
/// The response from the DescribeCustomMetric service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeCustomMetric Operation
public virtual DescribeCustomMetricResponse DescribeCustomMetric(DescribeCustomMetricRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomMetricResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeCustomMetric operation.
///
///
/// Container for the necessary parameters to execute the DescribeCustomMetric operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeCustomMetric
/// operation.
/// REST API Reference for DescribeCustomMetric Operation
public virtual IAsyncResult BeginDescribeCustomMetric(DescribeCustomMetricRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeCustomMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeCustomMetricResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeCustomMetric operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeCustomMetric.
///
/// Returns a DescribeCustomMetricResult from IoT.
/// REST API Reference for DescribeCustomMetric Operation
public virtual DescribeCustomMetricResponse EndDescribeCustomMetric(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeDefaultAuthorizer
///
/// Describes the default authorizer.
///
///
///
/// Requires permission to access the DescribeDefaultAuthorizer
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeDefaultAuthorizer service method.
///
/// The response from the DescribeDefaultAuthorizer service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeDefaultAuthorizer Operation
public virtual DescribeDefaultAuthorizerResponse DescribeDefaultAuthorizer(DescribeDefaultAuthorizerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDefaultAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDefaultAuthorizerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeDefaultAuthorizer operation.
///
///
/// Container for the necessary parameters to execute the DescribeDefaultAuthorizer operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDefaultAuthorizer
/// operation.
/// REST API Reference for DescribeDefaultAuthorizer Operation
public virtual IAsyncResult BeginDescribeDefaultAuthorizer(DescribeDefaultAuthorizerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDefaultAuthorizerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDefaultAuthorizerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeDefaultAuthorizer operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeDefaultAuthorizer.
///
/// Returns a DescribeDefaultAuthorizerResult from IoT.
/// REST API Reference for DescribeDefaultAuthorizer Operation
public virtual DescribeDefaultAuthorizerResponse EndDescribeDefaultAuthorizer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeDetectMitigationActionsTask
///
/// Gets information about a Device Defender ML Detect mitigation action.
///
///
///
/// Requires permission to access the DescribeDetectMitigationActionsTask
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeDetectMitigationActionsTask service method.
///
/// The response from the DescribeDetectMitigationActionsTask service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeDetectMitigationActionsTask Operation
public virtual DescribeDetectMitigationActionsTaskResponse DescribeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDetectMitigationActionsTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDetectMitigationActionsTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeDetectMitigationActionsTask operation.
///
///
/// Container for the necessary parameters to execute the DescribeDetectMitigationActionsTask operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDetectMitigationActionsTask
/// operation.
/// REST API Reference for DescribeDetectMitigationActionsTask Operation
public virtual IAsyncResult BeginDescribeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDetectMitigationActionsTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDetectMitigationActionsTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeDetectMitigationActionsTask operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeDetectMitigationActionsTask.
///
/// Returns a DescribeDetectMitigationActionsTaskResult from IoT.
/// REST API Reference for DescribeDetectMitigationActionsTask Operation
public virtual DescribeDetectMitigationActionsTaskResponse EndDescribeDetectMitigationActionsTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeDimension
///
/// Provides details about a dimension that is defined in your Amazon Web Services accounts.
///
///
///
/// Requires permission to access the DescribeDimension
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeDimension service method.
///
/// The response from the DescribeDimension service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeDimension Operation
public virtual DescribeDimensionResponse DescribeDimension(DescribeDimensionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDimensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDimensionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeDimension operation.
///
///
/// Container for the necessary parameters to execute the DescribeDimension operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDimension
/// operation.
/// REST API Reference for DescribeDimension Operation
public virtual IAsyncResult BeginDescribeDimension(DescribeDimensionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDimensionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDimensionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeDimension operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeDimension.
///
/// Returns a DescribeDimensionResult from IoT.
/// REST API Reference for DescribeDimension Operation
public virtual DescribeDimensionResponse EndDescribeDimension(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeDomainConfiguration
///
/// Gets summary information about a domain configuration.
///
///
///
/// Requires permission to access the DescribeDomainConfiguration
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeDomainConfiguration service method.
///
/// The response from the DescribeDomainConfiguration service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeDomainConfiguration Operation
public virtual DescribeDomainConfigurationResponse DescribeDomainConfiguration(DescribeDomainConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeDomainConfiguration operation.
///
///
/// Container for the necessary parameters to execute the DescribeDomainConfiguration operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDomainConfiguration
/// operation.
/// REST API Reference for DescribeDomainConfiguration Operation
public virtual IAsyncResult BeginDescribeDomainConfiguration(DescribeDomainConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDomainConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDomainConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeDomainConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeDomainConfiguration.
///
/// Returns a DescribeDomainConfigurationResult from IoT.
/// REST API Reference for DescribeDomainConfiguration Operation
public virtual DescribeDomainConfigurationResponse EndDescribeDomainConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeEndpoint
///
/// Returns a unique endpoint specific to the Amazon Web Services account making the call.
///
///
///
/// Requires permission to access the DescribeEndpoint
/// action.
///
///
///
/// The response from the DescribeEndpoint service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeEndpoint Operation
public virtual DescribeEndpointResponse DescribeEndpoint()
{
var request = new DescribeEndpointRequest();
return DescribeEndpoint(request);
}
///
/// Returns a unique endpoint specific to the Amazon Web Services account making the call.
///
///
///
/// Requires permission to access the DescribeEndpoint
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeEndpoint service method.
///
/// The response from the DescribeEndpoint service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeEndpoint Operation
public virtual DescribeEndpointResponse DescribeEndpoint(DescribeEndpointRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEndpointResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeEndpoint operation.
///
///
/// Container for the necessary parameters to execute the DescribeEndpoint operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeEndpoint
/// operation.
/// REST API Reference for DescribeEndpoint Operation
public virtual IAsyncResult BeginDescribeEndpoint(DescribeEndpointRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEndpointRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEndpointResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeEndpoint operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeEndpoint.
///
/// Returns a DescribeEndpointResult from IoT.
/// REST API Reference for DescribeEndpoint Operation
public virtual DescribeEndpointResponse EndDescribeEndpoint(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeEventConfigurations
///
/// Describes event configurations.
///
///
///
/// Requires permission to access the DescribeEventConfigurations
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeEventConfigurations service method.
///
/// The response from the DescribeEventConfigurations service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeEventConfigurations Operation
public virtual DescribeEventConfigurationsResponse DescribeEventConfigurations(DescribeEventConfigurationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEventConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEventConfigurationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeEventConfigurations operation.
///
///
/// Container for the necessary parameters to execute the DescribeEventConfigurations operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeEventConfigurations
/// operation.
/// REST API Reference for DescribeEventConfigurations Operation
public virtual IAsyncResult BeginDescribeEventConfigurations(DescribeEventConfigurationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEventConfigurationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEventConfigurationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeEventConfigurations operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeEventConfigurations.
///
/// Returns a DescribeEventConfigurationsResult from IoT.
/// REST API Reference for DescribeEventConfigurations Operation
public virtual DescribeEventConfigurationsResponse EndDescribeEventConfigurations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeFleetMetric
///
/// Gets information about the specified fleet metric.
///
///
///
/// Requires permission to access the DescribeFleetMetric
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeFleetMetric service method.
///
/// The response from the DescribeFleetMetric service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeFleetMetric Operation
public virtual DescribeFleetMetricResponse DescribeFleetMetric(DescribeFleetMetricRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFleetMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFleetMetricResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeFleetMetric operation.
///
///
/// Container for the necessary parameters to execute the DescribeFleetMetric operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeFleetMetric
/// operation.
/// REST API Reference for DescribeFleetMetric Operation
public virtual IAsyncResult BeginDescribeFleetMetric(DescribeFleetMetricRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFleetMetricRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFleetMetricResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeFleetMetric operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeFleetMetric.
///
/// Returns a DescribeFleetMetricResult from IoT.
/// REST API Reference for DescribeFleetMetric Operation
public virtual DescribeFleetMetricResponse EndDescribeFleetMetric(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeIndex
///
/// Describes a search index.
///
///
///
/// Requires permission to access the DescribeIndex
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeIndex service method.
///
/// The response from the DescribeIndex service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeIndex Operation
public virtual DescribeIndexResponse DescribeIndex(DescribeIndexRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeIndexRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeIndexResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeIndex operation.
///
///
/// Container for the necessary parameters to execute the DescribeIndex operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeIndex
/// operation.
/// REST API Reference for DescribeIndex Operation
public virtual IAsyncResult BeginDescribeIndex(DescribeIndexRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeIndexRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeIndexResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeIndex operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeIndex.
///
/// Returns a DescribeIndexResult from IoT.
/// REST API Reference for DescribeIndex Operation
public virtual DescribeIndexResponse EndDescribeIndex(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeJob
///
/// Describes a job.
///
///
///
/// Requires permission to access the DescribeJob
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeJob service method.
///
/// The response from the DescribeJob service method, as returned by IoT.
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeJob Operation
public virtual DescribeJobResponse DescribeJob(DescribeJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeJob operation.
///
///
/// Container for the necessary parameters to execute the DescribeJob operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeJob
/// operation.
/// REST API Reference for DescribeJob Operation
public virtual IAsyncResult BeginDescribeJob(DescribeJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeJob operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeJob.
///
/// Returns a DescribeJobResult from IoT.
/// REST API Reference for DescribeJob Operation
public virtual DescribeJobResponse EndDescribeJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeJobExecution
///
/// Describes a job execution.
///
///
///
/// Requires permission to access the DescribeJobExecution
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeJobExecution service method.
///
/// The response from the DescribeJobExecution service method, as returned by IoT.
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeJobExecution Operation
public virtual DescribeJobExecutionResponse DescribeJobExecution(DescribeJobExecutionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobExecutionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeJobExecution operation.
///
///
/// Container for the necessary parameters to execute the DescribeJobExecution operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeJobExecution
/// operation.
/// REST API Reference for DescribeJobExecution Operation
public virtual IAsyncResult BeginDescribeJobExecution(DescribeJobExecutionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobExecutionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobExecutionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeJobExecution operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeJobExecution.
///
/// Returns a DescribeJobExecutionResult from IoT.
/// REST API Reference for DescribeJobExecution Operation
public virtual DescribeJobExecutionResponse EndDescribeJobExecution(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeJobTemplate
///
/// Returns information about a job template.
///
/// Container for the necessary parameters to execute the DescribeJobTemplate service method.
///
/// The response from the DescribeJobTemplate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeJobTemplate Operation
public virtual DescribeJobTemplateResponse DescribeJobTemplate(DescribeJobTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeJobTemplate operation.
///
///
/// Container for the necessary parameters to execute the DescribeJobTemplate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeJobTemplate
/// operation.
/// REST API Reference for DescribeJobTemplate Operation
public virtual IAsyncResult BeginDescribeJobTemplate(DescribeJobTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeJobTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeJobTemplate.
///
/// Returns a DescribeJobTemplateResult from IoT.
/// REST API Reference for DescribeJobTemplate Operation
public virtual DescribeJobTemplateResponse EndDescribeJobTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeManagedJobTemplate
///
/// View details of a managed job template.
///
/// Container for the necessary parameters to execute the DescribeManagedJobTemplate service method.
///
/// The response from the DescribeManagedJobTemplate service method, as returned by IoT.
///
/// Internal error from the service that indicates an unexpected error or that the service
/// is unavailable.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeManagedJobTemplate Operation
public virtual DescribeManagedJobTemplateResponse DescribeManagedJobTemplate(DescribeManagedJobTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeManagedJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeManagedJobTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeManagedJobTemplate operation.
///
///
/// Container for the necessary parameters to execute the DescribeManagedJobTemplate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeManagedJobTemplate
/// operation.
/// REST API Reference for DescribeManagedJobTemplate Operation
public virtual IAsyncResult BeginDescribeManagedJobTemplate(DescribeManagedJobTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeManagedJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeManagedJobTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeManagedJobTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeManagedJobTemplate.
///
/// Returns a DescribeManagedJobTemplateResult from IoT.
/// REST API Reference for DescribeManagedJobTemplate Operation
public virtual DescribeManagedJobTemplateResponse EndDescribeManagedJobTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeMitigationAction
///
/// Gets information about a mitigation action.
///
///
///
/// Requires permission to access the DescribeMitigationAction
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeMitigationAction service method.
///
/// The response from the DescribeMitigationAction service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeMitigationAction Operation
public virtual DescribeMitigationActionResponse DescribeMitigationAction(DescribeMitigationActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMitigationActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMitigationActionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeMitigationAction operation.
///
///
/// Container for the necessary parameters to execute the DescribeMitigationAction operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeMitigationAction
/// operation.
/// REST API Reference for DescribeMitigationAction Operation
public virtual IAsyncResult BeginDescribeMitigationAction(DescribeMitigationActionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeMitigationActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeMitigationActionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeMitigationAction operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeMitigationAction.
///
/// Returns a DescribeMitigationActionResult from IoT.
/// REST API Reference for DescribeMitigationAction Operation
public virtual DescribeMitigationActionResponse EndDescribeMitigationAction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeProvisioningTemplate
///
/// Returns information about a provisioning template.
///
///
///
/// Requires permission to access the DescribeProvisioningTemplate
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeProvisioningTemplate service method.
///
/// The response from the DescribeProvisioningTemplate service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeProvisioningTemplate Operation
public virtual DescribeProvisioningTemplateResponse DescribeProvisioningTemplate(DescribeProvisioningTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeProvisioningTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeProvisioningTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeProvisioningTemplate operation.
///
///
/// Container for the necessary parameters to execute the DescribeProvisioningTemplate operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeProvisioningTemplate
/// operation.
/// REST API Reference for DescribeProvisioningTemplate Operation
public virtual IAsyncResult BeginDescribeProvisioningTemplate(DescribeProvisioningTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeProvisioningTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeProvisioningTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeProvisioningTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeProvisioningTemplate.
///
/// Returns a DescribeProvisioningTemplateResult from IoT.
/// REST API Reference for DescribeProvisioningTemplate Operation
public virtual DescribeProvisioningTemplateResponse EndDescribeProvisioningTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeProvisioningTemplateVersion
///
/// Returns information about a provisioning template version.
///
///
///
/// Requires permission to access the DescribeProvisioningTemplateVersion
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeProvisioningTemplateVersion service method.
///
/// The response from the DescribeProvisioningTemplateVersion service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeProvisioningTemplateVersion Operation
public virtual DescribeProvisioningTemplateVersionResponse DescribeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeProvisioningTemplateVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeProvisioningTemplateVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeProvisioningTemplateVersion operation.
///
///
/// Container for the necessary parameters to execute the DescribeProvisioningTemplateVersion operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeProvisioningTemplateVersion
/// operation.
/// REST API Reference for DescribeProvisioningTemplateVersion Operation
public virtual IAsyncResult BeginDescribeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeProvisioningTemplateVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeProvisioningTemplateVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeProvisioningTemplateVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeProvisioningTemplateVersion.
///
/// Returns a DescribeProvisioningTemplateVersionResult from IoT.
/// REST API Reference for DescribeProvisioningTemplateVersion Operation
public virtual DescribeProvisioningTemplateVersionResponse EndDescribeProvisioningTemplateVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeRoleAlias
///
/// Describes a role alias.
///
///
///
/// Requires permission to access the DescribeRoleAlias
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeRoleAlias service method.
///
/// The response from the DescribeRoleAlias service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeRoleAlias Operation
public virtual DescribeRoleAliasResponse DescribeRoleAlias(DescribeRoleAliasRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRoleAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRoleAliasResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeRoleAlias operation.
///
///
/// Container for the necessary parameters to execute the DescribeRoleAlias operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeRoleAlias
/// operation.
/// REST API Reference for DescribeRoleAlias Operation
public virtual IAsyncResult BeginDescribeRoleAlias(DescribeRoleAliasRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRoleAliasRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRoleAliasResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeRoleAlias operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeRoleAlias.
///
/// Returns a DescribeRoleAliasResult from IoT.
/// REST API Reference for DescribeRoleAlias Operation
public virtual DescribeRoleAliasResponse EndDescribeRoleAlias(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeScheduledAudit
///
/// Gets information about a scheduled audit.
///
///
///
/// Requires permission to access the DescribeScheduledAudit
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeScheduledAudit service method.
///
/// The response from the DescribeScheduledAudit service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeScheduledAudit Operation
public virtual DescribeScheduledAuditResponse DescribeScheduledAudit(DescribeScheduledAuditRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeScheduledAuditRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeScheduledAuditResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeScheduledAudit operation.
///
///
/// Container for the necessary parameters to execute the DescribeScheduledAudit operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeScheduledAudit
/// operation.
/// REST API Reference for DescribeScheduledAudit Operation
public virtual IAsyncResult BeginDescribeScheduledAudit(DescribeScheduledAuditRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeScheduledAuditRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeScheduledAuditResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeScheduledAudit operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeScheduledAudit.
///
/// Returns a DescribeScheduledAuditResult from IoT.
/// REST API Reference for DescribeScheduledAudit Operation
public virtual DescribeScheduledAuditResponse EndDescribeScheduledAudit(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeSecurityProfile
///
/// Gets information about a Device Defender security profile.
///
///
///
/// Requires permission to access the DescribeSecurityProfile
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeSecurityProfile service method.
///
/// The response from the DescribeSecurityProfile service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeSecurityProfile Operation
public virtual DescribeSecurityProfileResponse DescribeSecurityProfile(DescribeSecurityProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSecurityProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSecurityProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeSecurityProfile operation.
///
///
/// Container for the necessary parameters to execute the DescribeSecurityProfile operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeSecurityProfile
/// operation.
/// REST API Reference for DescribeSecurityProfile Operation
public virtual IAsyncResult BeginDescribeSecurityProfile(DescribeSecurityProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSecurityProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSecurityProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeSecurityProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeSecurityProfile.
///
/// Returns a DescribeSecurityProfileResult from IoT.
/// REST API Reference for DescribeSecurityProfile Operation
public virtual DescribeSecurityProfileResponse EndDescribeSecurityProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeStream
///
/// Gets information about a stream.
///
///
///
/// Requires permission to access the DescribeStream
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeStream service method.
///
/// The response from the DescribeStream service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeStream Operation
public virtual DescribeStreamResponse DescribeStream(DescribeStreamRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStreamResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeStream operation.
///
///
/// Container for the necessary parameters to execute the DescribeStream operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeStream
/// operation.
/// REST API Reference for DescribeStream Operation
public virtual IAsyncResult BeginDescribeStream(DescribeStreamRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStreamRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStreamResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeStream operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeStream.
///
/// Returns a DescribeStreamResult from IoT.
/// REST API Reference for DescribeStream Operation
public virtual DescribeStreamResponse EndDescribeStream(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeThing
///
/// Gets information about the specified thing.
///
///
///
/// Requires permission to access the DescribeThing
/// action.
///
///
/// The name of the thing.
///
/// The response from the DescribeThing service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeThing Operation
public virtual DescribeThingResponse DescribeThing(string thingName)
{
var request = new DescribeThingRequest();
request.ThingName = thingName;
return DescribeThing(request);
}
///
/// Gets information about the specified thing.
///
///
///
/// Requires permission to access the DescribeThing
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeThing service method.
///
/// The response from the DescribeThing service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeThing Operation
public virtual DescribeThingResponse DescribeThing(DescribeThingRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeThingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeThingResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeThing operation.
///
///
/// Container for the necessary parameters to execute the DescribeThing operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeThing
/// operation.
/// REST API Reference for DescribeThing Operation
public virtual IAsyncResult BeginDescribeThing(DescribeThingRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeThingRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeThingResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeThing operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeThing.
///
/// Returns a DescribeThingResult from IoT.
/// REST API Reference for DescribeThing Operation
public virtual DescribeThingResponse EndDescribeThing(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeThingGroup
///
/// Describe a thing group.
///
///
///
/// Requires permission to access the DescribeThingGroup
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeThingGroup service method.
///
/// The response from the DescribeThingGroup service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DescribeThingGroup Operation
public virtual DescribeThingGroupResponse DescribeThingGroup(DescribeThingGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeThingGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeThingGroup operation.
///
///
/// Container for the necessary parameters to execute the DescribeThingGroup operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeThingGroup
/// operation.
/// REST API Reference for DescribeThingGroup Operation
public virtual IAsyncResult BeginDescribeThingGroup(DescribeThingGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeThingGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeThingGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeThingGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeThingGroup.
///
/// Returns a DescribeThingGroupResult from IoT.
/// REST API Reference for DescribeThingGroup Operation
public virtual DescribeThingGroupResponse EndDescribeThingGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeThingRegistrationTask
///
/// Describes a bulk thing provisioning task.
///
///
///
/// Requires permission to access the DescribeThingRegistrationTask
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeThingRegistrationTask service method.
///
/// The response from the DescribeThingRegistrationTask service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeThingRegistrationTask Operation
public virtual DescribeThingRegistrationTaskResponse DescribeThingRegistrationTask(DescribeThingRegistrationTaskRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeThingRegistrationTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeThingRegistrationTaskResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeThingRegistrationTask operation.
///
///
/// Container for the necessary parameters to execute the DescribeThingRegistrationTask operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeThingRegistrationTask
/// operation.
/// REST API Reference for DescribeThingRegistrationTask Operation
public virtual IAsyncResult BeginDescribeThingRegistrationTask(DescribeThingRegistrationTaskRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeThingRegistrationTaskRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeThingRegistrationTaskResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeThingRegistrationTask operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeThingRegistrationTask.
///
/// Returns a DescribeThingRegistrationTaskResult from IoT.
/// REST API Reference for DescribeThingRegistrationTask Operation
public virtual DescribeThingRegistrationTaskResponse EndDescribeThingRegistrationTask(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeThingType
///
/// Gets information about the specified thing type.
///
///
///
/// Requires permission to access the DescribeThingType
/// action.
///
///
/// Container for the necessary parameters to execute the DescribeThingType service method.
///
/// The response from the DescribeThingType service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DescribeThingType Operation
public virtual DescribeThingTypeResponse DescribeThingType(DescribeThingTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeThingTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeThingTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeThingType operation.
///
///
/// Container for the necessary parameters to execute the DescribeThingType operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeThingType
/// operation.
/// REST API Reference for DescribeThingType Operation
public virtual IAsyncResult BeginDescribeThingType(DescribeThingTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeThingTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeThingTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeThingType operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeThingType.
///
/// Returns a DescribeThingTypeResult from IoT.
/// REST API Reference for DescribeThingType Operation
public virtual DescribeThingTypeResponse EndDescribeThingType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DetachPolicy
///
/// Detaches a policy from the specified target.
///
///
///
/// Because of the distributed nature of Amazon Web Services, it can take up to five minutes
/// after a policy is detached before it's ready to be deleted.
///
///
///
/// Requires permission to access the DetachPolicy
/// action.
///
///
/// Container for the necessary parameters to execute the DetachPolicy service method.
///
/// The response from the DetachPolicy service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DetachPolicy Operation
public virtual DetachPolicyResponse DetachPolicy(DetachPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DetachPolicy operation.
///
///
/// Container for the necessary parameters to execute the DetachPolicy operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDetachPolicy
/// operation.
/// REST API Reference for DetachPolicy Operation
public virtual IAsyncResult BeginDetachPolicy(DetachPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DetachPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDetachPolicy.
///
/// Returns a DetachPolicyResult from IoT.
/// REST API Reference for DetachPolicy Operation
public virtual DetachPolicyResponse EndDetachPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DetachPrincipalPolicy
///
/// Removes the specified policy from the specified certificate.
///
///
///
/// Note: This action is deprecated and works as expected for backward compatibility,
/// but we won't add enhancements. Use DetachPolicy instead.
///
///
///
/// Requires permission to access the DetachPrincipalPolicy
/// action.
///
///
/// The name of the policy to detach.
/// The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).
///
/// The response from the DetachPrincipalPolicy service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DetachPrincipalPolicy Operation
[Obsolete("Deprecated in favor of DetachPolicy.")]
public virtual DetachPrincipalPolicyResponse DetachPrincipalPolicy(string policyName, string principal)
{
var request = new DetachPrincipalPolicyRequest();
request.PolicyName = policyName;
request.Principal = principal;
return DetachPrincipalPolicy(request);
}
///
/// Removes the specified policy from the specified certificate.
///
///
///
/// Note: This action is deprecated and works as expected for backward compatibility,
/// but we won't add enhancements. Use DetachPolicy instead.
///
///
///
/// Requires permission to access the DetachPrincipalPolicy
/// action.
///
///
/// Container for the necessary parameters to execute the DetachPrincipalPolicy service method.
///
/// The response from the DetachPrincipalPolicy service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DetachPrincipalPolicy Operation
[Obsolete("Deprecated in favor of DetachPolicy.")]
public virtual DetachPrincipalPolicyResponse DetachPrincipalPolicy(DetachPrincipalPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachPrincipalPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachPrincipalPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DetachPrincipalPolicy operation.
///
///
/// Container for the necessary parameters to execute the DetachPrincipalPolicy operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDetachPrincipalPolicy
/// operation.
/// REST API Reference for DetachPrincipalPolicy Operation
[Obsolete("Deprecated in favor of DetachPolicy.")]
public virtual IAsyncResult BeginDetachPrincipalPolicy(DetachPrincipalPolicyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachPrincipalPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachPrincipalPolicyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DetachPrincipalPolicy operation.
///
///
/// The IAsyncResult returned by the call to BeginDetachPrincipalPolicy.
///
/// Returns a DetachPrincipalPolicyResult from IoT.
/// REST API Reference for DetachPrincipalPolicy Operation
[Obsolete("Deprecated in favor of DetachPolicy.")]
public virtual DetachPrincipalPolicyResponse EndDetachPrincipalPolicy(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DetachSecurityProfile
///
/// Disassociates a Device Defender security profile from a thing group or from this account.
///
///
///
/// Requires permission to access the DetachSecurityProfile
/// action.
///
///
/// Container for the necessary parameters to execute the DetachSecurityProfile service method.
///
/// The response from the DetachSecurityProfile service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for DetachSecurityProfile Operation
public virtual DetachSecurityProfileResponse DetachSecurityProfile(DetachSecurityProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachSecurityProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachSecurityProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DetachSecurityProfile operation.
///
///
/// Container for the necessary parameters to execute the DetachSecurityProfile operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDetachSecurityProfile
/// operation.
/// REST API Reference for DetachSecurityProfile Operation
public virtual IAsyncResult BeginDetachSecurityProfile(DetachSecurityProfileRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachSecurityProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachSecurityProfileResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DetachSecurityProfile operation.
///
///
/// The IAsyncResult returned by the call to BeginDetachSecurityProfile.
///
/// Returns a DetachSecurityProfileResult from IoT.
/// REST API Reference for DetachSecurityProfile Operation
public virtual DetachSecurityProfileResponse EndDetachSecurityProfile(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DetachThingPrincipal
///
/// Detaches the specified principal from the specified thing. A principal can be X.509
/// certificates, IAM users, groups, and roles, Amazon Cognito identities or federated
/// identities.
///
///
///
/// This call is asynchronous. It might take several seconds for the detachment to propagate.
///
///
///
/// Requires permission to access the DetachThingPrincipal
/// action.
///
///
/// The name of the thing.
/// If the principal is a certificate, this value must be ARN of the certificate. If the principal is an Amazon Cognito identity, this value must be the ID of the Amazon Cognito identity.
///
/// The response from the DetachThingPrincipal service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DetachThingPrincipal Operation
public virtual DetachThingPrincipalResponse DetachThingPrincipal(string thingName, string principal)
{
var request = new DetachThingPrincipalRequest();
request.ThingName = thingName;
request.Principal = principal;
return DetachThingPrincipal(request);
}
///
/// Detaches the specified principal from the specified thing. A principal can be X.509
/// certificates, IAM users, groups, and roles, Amazon Cognito identities or federated
/// identities.
///
///
///
/// This call is asynchronous. It might take several seconds for the detachment to propagate.
///
///
///
/// Requires permission to access the DetachThingPrincipal
/// action.
///
///
/// Container for the necessary parameters to execute the DetachThingPrincipal service method.
///
/// The response from the DetachThingPrincipal service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DetachThingPrincipal Operation
public virtual DetachThingPrincipalResponse DetachThingPrincipal(DetachThingPrincipalRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachThingPrincipalRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachThingPrincipalResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DetachThingPrincipal operation.
///
///
/// Container for the necessary parameters to execute the DetachThingPrincipal operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDetachThingPrincipal
/// operation.
/// REST API Reference for DetachThingPrincipal Operation
public virtual IAsyncResult BeginDetachThingPrincipal(DetachThingPrincipalRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DetachThingPrincipalRequestMarshaller.Instance;
options.ResponseUnmarshaller = DetachThingPrincipalResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DetachThingPrincipal operation.
///
///
/// The IAsyncResult returned by the call to BeginDetachThingPrincipal.
///
/// Returns a DetachThingPrincipalResult from IoT.
/// REST API Reference for DetachThingPrincipal Operation
public virtual DetachThingPrincipalResponse EndDetachThingPrincipal(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DisableTopicRule
///
/// Disables the rule.
///
///
///
/// Requires permission to access the DisableTopicRule
/// action.
///
///
/// Container for the necessary parameters to execute the DisableTopicRule service method.
///
/// The response from the DisableTopicRule service method, as returned by IoT.
///
/// A conflicting resource update exception. This exception is thrown when two pending
/// updates cause a conflict.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for DisableTopicRule Operation
public virtual DisableTopicRuleResponse DisableTopicRule(DisableTopicRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableTopicRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableTopicRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisableTopicRule operation.
///
///
/// Container for the necessary parameters to execute the DisableTopicRule operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisableTopicRule
/// operation.
/// REST API Reference for DisableTopicRule Operation
public virtual IAsyncResult BeginDisableTopicRule(DisableTopicRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableTopicRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableTopicRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisableTopicRule operation.
///
///
/// The IAsyncResult returned by the call to BeginDisableTopicRule.
///
/// Returns a DisableTopicRuleResult from IoT.
/// REST API Reference for DisableTopicRule Operation
public virtual DisableTopicRuleResponse EndDisableTopicRule(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region EnableTopicRule
///
/// Enables the rule.
///
///
///
/// Requires permission to access the EnableTopicRule
/// action.
///
///
/// Container for the necessary parameters to execute the EnableTopicRule service method.
///
/// The response from the EnableTopicRule service method, as returned by IoT.
///
/// A conflicting resource update exception. This exception is thrown when two pending
/// updates cause a conflict.
///
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for EnableTopicRule Operation
public virtual EnableTopicRuleResponse EnableTopicRule(EnableTopicRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableTopicRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableTopicRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the EnableTopicRule operation.
///
///
/// Container for the necessary parameters to execute the EnableTopicRule operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnableTopicRule
/// operation.
/// REST API Reference for EnableTopicRule Operation
public virtual IAsyncResult BeginEnableTopicRule(EnableTopicRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableTopicRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableTopicRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the EnableTopicRule operation.
///
///
/// The IAsyncResult returned by the call to BeginEnableTopicRule.
///
/// Returns a EnableTopicRuleResult from IoT.
/// REST API Reference for EnableTopicRule Operation
public virtual EnableTopicRuleResponse EndEnableTopicRule(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetBehaviorModelTrainingSummaries
///
/// Returns a Device Defender's ML Detect Security Profile training model's status.
///
///
///
/// Requires permission to access the GetBehaviorModelTrainingSummaries
/// action.
///
///
/// Container for the necessary parameters to execute the GetBehaviorModelTrainingSummaries service method.
///
/// The response from the GetBehaviorModelTrainingSummaries service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for GetBehaviorModelTrainingSummaries Operation
public virtual GetBehaviorModelTrainingSummariesResponse GetBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBehaviorModelTrainingSummariesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBehaviorModelTrainingSummariesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetBehaviorModelTrainingSummaries operation.
///
///
/// Container for the necessary parameters to execute the GetBehaviorModelTrainingSummaries operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBehaviorModelTrainingSummaries
/// operation.
/// REST API Reference for GetBehaviorModelTrainingSummaries Operation
public virtual IAsyncResult BeginGetBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBehaviorModelTrainingSummariesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBehaviorModelTrainingSummariesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetBehaviorModelTrainingSummaries operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBehaviorModelTrainingSummaries.
///
/// Returns a GetBehaviorModelTrainingSummariesResult from IoT.
/// REST API Reference for GetBehaviorModelTrainingSummaries Operation
public virtual GetBehaviorModelTrainingSummariesResponse EndGetBehaviorModelTrainingSummaries(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetBucketsAggregation
///
/// Aggregates on indexed data with search queries pertaining to particular fields.
///
///
///
/// Requires permission to access the GetBucketsAggregation
/// action.
///
///
/// Container for the necessary parameters to execute the GetBucketsAggregation service method.
///
/// The response from the GetBucketsAggregation service method, as returned by IoT.
///
/// The index is not ready.
///
///
/// An unexpected error has occurred.
///
///
/// The aggregation is invalid.
///
///
/// The query is invalid.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for GetBucketsAggregation Operation
public virtual GetBucketsAggregationResponse GetBucketsAggregation(GetBucketsAggregationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBucketsAggregationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBucketsAggregationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetBucketsAggregation operation.
///
///
/// Container for the necessary parameters to execute the GetBucketsAggregation operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBucketsAggregation
/// operation.
/// REST API Reference for GetBucketsAggregation Operation
public virtual IAsyncResult BeginGetBucketsAggregation(GetBucketsAggregationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBucketsAggregationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBucketsAggregationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetBucketsAggregation operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBucketsAggregation.
///
/// Returns a GetBucketsAggregationResult from IoT.
/// REST API Reference for GetBucketsAggregation Operation
public virtual GetBucketsAggregationResponse EndGetBucketsAggregation(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetCardinality
///
/// Returns the approximate count of unique values that match the query.
///
///
///
/// Requires permission to access the GetCardinality
/// action.
///
///
/// Container for the necessary parameters to execute the GetCardinality service method.
///
/// The response from the GetCardinality service method, as returned by IoT.
///
/// The index is not ready.
///
///
/// An unexpected error has occurred.
///
///
/// The aggregation is invalid.
///
///
/// The query is invalid.
///
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for GetCardinality Operation
public virtual GetCardinalityResponse GetCardinality(GetCardinalityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCardinalityRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCardinalityResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetCardinality operation.
///
///
/// Container for the necessary parameters to execute the GetCardinality operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCardinality
/// operation.
/// REST API Reference for GetCardinality Operation
public virtual IAsyncResult BeginGetCardinality(GetCardinalityRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetCardinalityRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetCardinalityResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetCardinality operation.
///
///
/// The IAsyncResult returned by the call to BeginGetCardinality.
///
/// Returns a GetCardinalityResult from IoT.
/// REST API Reference for GetCardinality Operation
public virtual GetCardinalityResponse EndGetCardinality(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetEffectivePolicies
///
/// Gets a list of the policies that have an effect on the authorization behavior of the
/// specified device when it connects to the IoT device gateway.
///
///
///
/// Requires permission to access the GetEffectivePolicies
/// action.
///
///
/// Container for the necessary parameters to execute the GetEffectivePolicies service method.
///
/// The response from the GetEffectivePolicies service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// A limit has been exceeded.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for GetEffectivePolicies Operation
public virtual GetEffectivePoliciesResponse GetEffectivePolicies(GetEffectivePoliciesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEffectivePoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEffectivePoliciesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetEffectivePolicies operation.
///
///
/// Container for the necessary parameters to execute the GetEffectivePolicies operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetEffectivePolicies
/// operation.
/// REST API Reference for GetEffectivePolicies Operation
public virtual IAsyncResult BeginGetEffectivePolicies(GetEffectivePoliciesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEffectivePoliciesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEffectivePoliciesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetEffectivePolicies operation.
///
///
/// The IAsyncResult returned by the call to BeginGetEffectivePolicies.
///
/// Returns a GetEffectivePoliciesResult from IoT.
/// REST API Reference for GetEffectivePolicies Operation
public virtual GetEffectivePoliciesResponse EndGetEffectivePolicies(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetIndexingConfiguration
///
/// Gets the indexing configuration.
///
///
///
/// Requires permission to access the GetIndexingConfiguration
/// action.
///
///
/// Container for the necessary parameters to execute the GetIndexingConfiguration service method.
///
/// The response from the GetIndexingConfiguration service method, as returned by IoT.
///
/// An unexpected error has occurred.
///
///
/// The request is not valid.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
///
/// You are not authorized to perform this operation.
///
/// REST API Reference for GetIndexingConfiguration Operation
public virtual GetIndexingConfigurationResponse GetIndexingConfiguration(GetIndexingConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIndexingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIndexingConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetIndexingConfiguration operation.
///
///
/// Container for the necessary parameters to execute the GetIndexingConfiguration operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetIndexingConfiguration
/// operation.
/// REST API Reference for GetIndexingConfiguration Operation
public virtual IAsyncResult BeginGetIndexingConfiguration(GetIndexingConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIndexingConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIndexingConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetIndexingConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginGetIndexingConfiguration.
///
/// Returns a GetIndexingConfigurationResult from IoT.
/// REST API Reference for GetIndexingConfiguration Operation
public virtual GetIndexingConfigurationResponse EndGetIndexingConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetJobDocument
///
/// Gets a job document.
///
///
///
/// Requires permission to access the GetJobDocument
/// action.
///
///
/// Container for the necessary parameters to execute the GetJobDocument service method.
///
/// The response from the GetJobDocument service method, as returned by IoT.
///
/// The request is not valid.
///
///
/// The specified resource does not exist.
///
///
/// The service is temporarily unavailable.
///
///
/// The rate exceeds the limit.
///
/// REST API Reference for GetJobDocument Operation
public virtual GetJobDocumentResponse GetJobDocument(GetJobDocumentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobDocumentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobDocumentResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetJobDocument operation.
///
///
/// Container for the necessary parameters to execute the GetJobDocument operation on AmazonIoTClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetJobDocument
/// operation.
/// REST API Reference for GetJobDocument Operation
public virtual IAsyncResult BeginGetJobDocument(GetJobDocumentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobDocumentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobDocumentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetJobDocument operation.
///
///
/// The IAsyncResult returned by the call to BeginGetJobDocument.
///
/// Returns a GetJobDocumentResult from IoT.
/// REST API Reference for GetJobDocument Operation
public virtual GetJobDocumentResponse EndGetJobDocument(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetLoggingOptions
///
/// Gets the logging options.
///
///
///
/// NOTE: use of this command is not recommended. Use