@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSIotAsync extends AbstractAWSIot implements AWSIotAsync
AWSIotAsync
. Convenient method forms pass through to the corresponding overload
that takes a request object and an AsyncHandler
, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
acceptCertificateTransfer, addThingToBillingGroup, addThingToThingGroup, associateTargetsWithJob, attachPolicy, attachPrincipalPolicy, attachSecurityProfile, attachThingPrincipal, cancelAuditMitigationActionsTask, cancelAuditTask, cancelCertificateTransfer, cancelDetectMitigationActionsTask, cancelJob, cancelJobExecution, clearDefaultAuthorizer, confirmTopicRuleDestination, createAuditSuppression, createAuthorizer, createBillingGroup, createCertificateFromCsr, createCertificateProvider, createCustomMetric, createDimension, createDomainConfiguration, createDynamicThingGroup, createFleetMetric, createJob, createJobTemplate, createKeysAndCertificate, createMitigationAction, createOTAUpdate, createPackage, createPackageVersion, createPolicy, createPolicyVersion, createProvisioningClaim, createProvisioningTemplate, createProvisioningTemplateVersion, createRoleAlias, createScheduledAudit, createSecurityProfile, createStream, createThing, createThingGroup, createThingType, createTopicRule, createTopicRuleDestination, deleteAccountAuditConfiguration, deleteAuditSuppression, deleteAuthorizer, deleteBillingGroup, deleteCACertificate, deleteCertificate, deleteCertificateProvider, deleteCustomMetric, deleteDimension, deleteDomainConfiguration, deleteDynamicThingGroup, deleteFleetMetric, deleteJob, deleteJobExecution, deleteJobTemplate, deleteMitigationAction, deleteOTAUpdate, deletePackage, deletePackageVersion, deletePolicy, deletePolicyVersion, deleteProvisioningTemplate, deleteProvisioningTemplateVersion, deleteRegistrationCode, deleteRoleAlias, deleteScheduledAudit, deleteSecurityProfile, deleteStream, deleteThing, deleteThingGroup, deleteThingType, deleteTopicRule, deleteTopicRuleDestination, deleteV2LoggingLevel, deprecateThingType, describeAccountAuditConfiguration, describeAuditFinding, describeAuditMitigationActionsTask, describeAuditSuppression, describeAuditTask, describeAuthorizer, describeBillingGroup, describeCACertificate, describeCertificate, describeCertificateProvider, describeCustomMetric, describeDefaultAuthorizer, describeDetectMitigationActionsTask, describeDimension, describeDomainConfiguration, describeEndpoint, describeEventConfigurations, describeFleetMetric, describeIndex, describeJob, describeJobExecution, describeJobTemplate, describeManagedJobTemplate, describeMitigationAction, describeProvisioningTemplate, describeProvisioningTemplateVersion, describeRoleAlias, describeScheduledAudit, describeSecurityProfile, describeStream, describeThing, describeThingGroup, describeThingRegistrationTask, describeThingType, detachPolicy, detachPrincipalPolicy, detachSecurityProfile, detachThingPrincipal, disableTopicRule, enableTopicRule, getBehaviorModelTrainingSummaries, getBucketsAggregation, getCachedResponseMetadata, getCardinality, getEffectivePolicies, getIndexingConfiguration, getJobDocument, getLoggingOptions, getOTAUpdate, getPackage, getPackageConfiguration, getPackageVersion, getPercentiles, getPolicy, getPolicyVersion, getRegistrationCode, getStatistics, getTopicRule, getTopicRuleDestination, getV2LoggingOptions, listActiveViolations, listAttachedPolicies, listAuditFindings, listAuditMitigationActionsExecutions, listAuditMitigationActionsTasks, listAuditSuppressions, listAuditTasks, listAuthorizers, listBillingGroups, listCACertificates, listCertificateProviders, listCertificates, listCertificatesByCA, listCustomMetrics, listDetectMitigationActionsExecutions, listDetectMitigationActionsTasks, listDimensions, listDomainConfigurations, listFleetMetrics, listIndices, listJobExecutionsForJob, listJobExecutionsForThing, listJobs, listJobTemplates, listManagedJobTemplates, listMetricValues, listMitigationActions, listOTAUpdates, listOutgoingCertificates, listPackages, listPackageVersions, listPolicies, listPolicyPrincipals, listPolicyVersions, listPrincipalPolicies, listPrincipalThings, listProvisioningTemplates, listProvisioningTemplateVersions, listRelatedResourcesForAuditFinding, listRoleAliases, listScheduledAudits, listSecurityProfiles, listSecurityProfilesForTarget, listStreams, listTagsForResource, listTargetsForPolicy, listTargetsForSecurityProfile, listThingGroups, listThingGroupsForThing, listThingPrincipals, listThingRegistrationTaskReports, listThingRegistrationTasks, listThings, listThingsInBillingGroup, listThingsInThingGroup, listThingTypes, listTopicRuleDestinations, listTopicRules, listV2LoggingLevels, listViolationEvents, putVerificationStateOnViolation, registerCACertificate, registerCertificate, registerCertificateWithoutCA, registerThing, rejectCertificateTransfer, removeThingFromBillingGroup, removeThingFromThingGroup, replaceTopicRule, searchIndex, setDefaultAuthorizer, setDefaultPolicyVersion, setEndpoint, setLoggingOptions, setRegion, setV2LoggingLevel, setV2LoggingOptions, shutdown, startAuditMitigationActionsTask, startDetectMitigationActionsTask, startOnDemandAuditTask, startThingRegistrationTask, stopThingRegistrationTask, tagResource, testAuthorization, testInvokeAuthorizer, transferCertificate, untagResource, updateAccountAuditConfiguration, updateAuditSuppression, updateAuthorizer, updateBillingGroup, updateCACertificate, updateCertificate, updateCertificateProvider, updateCustomMetric, updateDimension, updateDomainConfiguration, updateDynamicThingGroup, updateEventConfigurations, updateFleetMetric, updateIndexingConfiguration, updateJob, updateMitigationAction, updatePackage, updatePackageConfiguration, updatePackageVersion, updateProvisioningTemplate, updateRoleAlias, updateScheduledAudit, updateSecurityProfile, updateStream, updateThing, updateThingGroup, updateThingGroupsForThing, updateTopicRuleDestination, validateSecurityProfileBehaviors
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceptCertificateTransfer, addThingToBillingGroup, addThingToThingGroup, associateTargetsWithJob, attachPolicy, attachPrincipalPolicy, attachSecurityProfile, attachThingPrincipal, cancelAuditMitigationActionsTask, cancelAuditTask, cancelCertificateTransfer, cancelDetectMitigationActionsTask, cancelJob, cancelJobExecution, clearDefaultAuthorizer, confirmTopicRuleDestination, createAuditSuppression, createAuthorizer, createBillingGroup, createCertificateFromCsr, createCertificateProvider, createCustomMetric, createDimension, createDomainConfiguration, createDynamicThingGroup, createFleetMetric, createJob, createJobTemplate, createKeysAndCertificate, createMitigationAction, createOTAUpdate, createPackage, createPackageVersion, createPolicy, createPolicyVersion, createProvisioningClaim, createProvisioningTemplate, createProvisioningTemplateVersion, createRoleAlias, createScheduledAudit, createSecurityProfile, createStream, createThing, createThingGroup, createThingType, createTopicRule, createTopicRuleDestination, deleteAccountAuditConfiguration, deleteAuditSuppression, deleteAuthorizer, deleteBillingGroup, deleteCACertificate, deleteCertificate, deleteCertificateProvider, deleteCustomMetric, deleteDimension, deleteDomainConfiguration, deleteDynamicThingGroup, deleteFleetMetric, deleteJob, deleteJobExecution, deleteJobTemplate, deleteMitigationAction, deleteOTAUpdate, deletePackage, deletePackageVersion, deletePolicy, deletePolicyVersion, deleteProvisioningTemplate, deleteProvisioningTemplateVersion, deleteRegistrationCode, deleteRoleAlias, deleteScheduledAudit, deleteSecurityProfile, deleteStream, deleteThing, deleteThingGroup, deleteThingType, deleteTopicRule, deleteTopicRuleDestination, deleteV2LoggingLevel, deprecateThingType, describeAccountAuditConfiguration, describeAuditFinding, describeAuditMitigationActionsTask, describeAuditSuppression, describeAuditTask, describeAuthorizer, describeBillingGroup, describeCACertificate, describeCertificate, describeCertificateProvider, describeCustomMetric, describeDefaultAuthorizer, describeDetectMitigationActionsTask, describeDimension, describeDomainConfiguration, describeEndpoint, describeEventConfigurations, describeFleetMetric, describeIndex, describeJob, describeJobExecution, describeJobTemplate, describeManagedJobTemplate, describeMitigationAction, describeProvisioningTemplate, describeProvisioningTemplateVersion, describeRoleAlias, describeScheduledAudit, describeSecurityProfile, describeStream, describeThing, describeThingGroup, describeThingRegistrationTask, describeThingType, detachPolicy, detachPrincipalPolicy, detachSecurityProfile, detachThingPrincipal, disableTopicRule, enableTopicRule, getBehaviorModelTrainingSummaries, getBucketsAggregation, getCachedResponseMetadata, getCardinality, getEffectivePolicies, getIndexingConfiguration, getJobDocument, getLoggingOptions, getOTAUpdate, getPackage, getPackageConfiguration, getPackageVersion, getPercentiles, getPolicy, getPolicyVersion, getRegistrationCode, getStatistics, getTopicRule, getTopicRuleDestination, getV2LoggingOptions, listActiveViolations, listAttachedPolicies, listAuditFindings, listAuditMitigationActionsExecutions, listAuditMitigationActionsTasks, listAuditSuppressions, listAuditTasks, listAuthorizers, listBillingGroups, listCACertificates, listCertificateProviders, listCertificates, listCertificatesByCA, listCustomMetrics, listDetectMitigationActionsExecutions, listDetectMitigationActionsTasks, listDimensions, listDomainConfigurations, listFleetMetrics, listIndices, listJobExecutionsForJob, listJobExecutionsForThing, listJobs, listJobTemplates, listManagedJobTemplates, listMetricValues, listMitigationActions, listOTAUpdates, listOutgoingCertificates, listPackages, listPackageVersions, listPolicies, listPolicyPrincipals, listPolicyVersions, listPrincipalPolicies, listPrincipalThings, listProvisioningTemplates, listProvisioningTemplateVersions, listRelatedResourcesForAuditFinding, listRoleAliases, listScheduledAudits, listSecurityProfiles, listSecurityProfilesForTarget, listStreams, listTagsForResource, listTargetsForPolicy, listTargetsForSecurityProfile, listThingGroups, listThingGroupsForThing, listThingPrincipals, listThingRegistrationTaskReports, listThingRegistrationTasks, listThings, listThingsInBillingGroup, listThingsInThingGroup, listThingTypes, listTopicRuleDestinations, listTopicRules, listV2LoggingLevels, listViolationEvents, putVerificationStateOnViolation, registerCACertificate, registerCertificate, registerCertificateWithoutCA, registerThing, rejectCertificateTransfer, removeThingFromBillingGroup, removeThingFromThingGroup, replaceTopicRule, searchIndex, setDefaultAuthorizer, setDefaultPolicyVersion, setEndpoint, setLoggingOptions, setRegion, setV2LoggingLevel, setV2LoggingOptions, shutdown, startAuditMitigationActionsTask, startDetectMitigationActionsTask, startOnDemandAuditTask, startThingRegistrationTask, stopThingRegistrationTask, tagResource, testAuthorization, testInvokeAuthorizer, transferCertificate, untagResource, updateAccountAuditConfiguration, updateAuditSuppression, updateAuthorizer, updateBillingGroup, updateCACertificate, updateCertificate, updateCertificateProvider, updateCustomMetric, updateDimension, updateDomainConfiguration, updateDynamicThingGroup, updateEventConfigurations, updateFleetMetric, updateIndexingConfiguration, updateJob, updateMitigationAction, updatePackage, updatePackageConfiguration, updatePackageVersion, updateProvisioningTemplate, updateRoleAlias, updateScheduledAudit, updateSecurityProfile, updateStream, updateThing, updateThingGroup, updateThingGroupsForThing, updateTopicRuleDestination, validateSecurityProfileBehaviors
public Future<AcceptCertificateTransferResult> acceptCertificateTransferAsync(AcceptCertificateTransferRequest request)
AWSIotAsync
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.
acceptCertificateTransferAsync
in interface AWSIotAsync
request
- The input for the AcceptCertificateTransfer operation.public Future<AcceptCertificateTransferResult> acceptCertificateTransferAsync(AcceptCertificateTransferRequest request, AsyncHandler<AcceptCertificateTransferRequest,AcceptCertificateTransferResult> asyncHandler)
AWSIotAsync
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.
acceptCertificateTransferAsync
in interface AWSIotAsync
request
- The input for the AcceptCertificateTransfer operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AddThingToBillingGroupResult> addThingToBillingGroupAsync(AddThingToBillingGroupRequest request)
AWSIotAsync
Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
addThingToBillingGroupAsync
in interface AWSIotAsync
public Future<AddThingToBillingGroupResult> addThingToBillingGroupAsync(AddThingToBillingGroupRequest request, AsyncHandler<AddThingToBillingGroupRequest,AddThingToBillingGroupResult> asyncHandler)
AWSIotAsync
Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
addThingToBillingGroupAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AddThingToThingGroupResult> addThingToThingGroupAsync(AddThingToThingGroupRequest request)
AWSIotAsync
Adds a thing to a thing group.
Requires permission to access the AddThingToThingGroup action.
addThingToThingGroupAsync
in interface AWSIotAsync
public Future<AddThingToThingGroupResult> addThingToThingGroupAsync(AddThingToThingGroupRequest request, AsyncHandler<AddThingToThingGroupRequest,AddThingToThingGroupResult> asyncHandler)
AWSIotAsync
Adds a thing to a thing group.
Requires permission to access the AddThingToThingGroup action.
addThingToThingGroupAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AssociateTargetsWithJobResult> associateTargetsWithJobAsync(AssociateTargetsWithJobRequest request)
AWSIotAsync
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.
associateTargetsWithJobAsync
in interface AWSIotAsync
public Future<AssociateTargetsWithJobResult> associateTargetsWithJobAsync(AssociateTargetsWithJobRequest request, AsyncHandler<AssociateTargetsWithJobRequest,AssociateTargetsWithJobResult> asyncHandler)
AWSIotAsync
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.
associateTargetsWithJobAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AttachPolicyResult> attachPolicyAsync(AttachPolicyRequest request)
AWSIotAsync
Attaches the specified policy to the specified principal (certificate or other credential).
Requires permission to access the AttachPolicy action.
attachPolicyAsync
in interface AWSIotAsync
public Future<AttachPolicyResult> attachPolicyAsync(AttachPolicyRequest request, AsyncHandler<AttachPolicyRequest,AttachPolicyResult> asyncHandler)
AWSIotAsync
Attaches the specified policy to the specified principal (certificate or other credential).
Requires permission to access the AttachPolicy action.
attachPolicyAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.@Deprecated public Future<AttachPrincipalPolicyResult> attachPrincipalPolicyAsync(AttachPrincipalPolicyRequest request)
AWSIotAsync
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.
attachPrincipalPolicyAsync
in interface AWSIotAsync
request
- The input for the AttachPrincipalPolicy operation.@Deprecated public Future<AttachPrincipalPolicyResult> attachPrincipalPolicyAsync(AttachPrincipalPolicyRequest request, AsyncHandler<AttachPrincipalPolicyRequest,AttachPrincipalPolicyResult> asyncHandler)
AWSIotAsync
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.
attachPrincipalPolicyAsync
in interface AWSIotAsync
request
- The input for the AttachPrincipalPolicy operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AttachSecurityProfileResult> attachSecurityProfileAsync(AttachSecurityProfileRequest request)
AWSIotAsync
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.
attachSecurityProfileAsync
in interface AWSIotAsync
public Future<AttachSecurityProfileResult> attachSecurityProfileAsync(AttachSecurityProfileRequest request, AsyncHandler<AttachSecurityProfileRequest,AttachSecurityProfileResult> asyncHandler)
AWSIotAsync
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.
attachSecurityProfileAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<AttachThingPrincipalResult> attachThingPrincipalAsync(AttachThingPrincipalRequest request)
AWSIotAsync
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.
attachThingPrincipalAsync
in interface AWSIotAsync
request
- The input for the AttachThingPrincipal operation.public Future<AttachThingPrincipalResult> attachThingPrincipalAsync(AttachThingPrincipalRequest request, AsyncHandler<AttachThingPrincipalRequest,AttachThingPrincipalResult> asyncHandler)
AWSIotAsync
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.
attachThingPrincipalAsync
in interface AWSIotAsync
request
- The input for the AttachThingPrincipal operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelAuditMitigationActionsTaskResult> cancelAuditMitigationActionsTaskAsync(CancelAuditMitigationActionsTaskRequest request)
AWSIotAsync
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.
cancelAuditMitigationActionsTaskAsync
in interface AWSIotAsync
public Future<CancelAuditMitigationActionsTaskResult> cancelAuditMitigationActionsTaskAsync(CancelAuditMitigationActionsTaskRequest request, AsyncHandler<CancelAuditMitigationActionsTaskRequest,CancelAuditMitigationActionsTaskResult> asyncHandler)
AWSIotAsync
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.
cancelAuditMitigationActionsTaskAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelAuditTaskResult> cancelAuditTaskAsync(CancelAuditTaskRequest request)
AWSIotAsync
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.
cancelAuditTaskAsync
in interface AWSIotAsync
public Future<CancelAuditTaskResult> cancelAuditTaskAsync(CancelAuditTaskRequest request, AsyncHandler<CancelAuditTaskRequest,CancelAuditTaskResult> asyncHandler)
AWSIotAsync
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.
cancelAuditTaskAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelCertificateTransferResult> cancelCertificateTransferAsync(CancelCertificateTransferRequest request)
AWSIotAsync
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.
cancelCertificateTransferAsync
in interface AWSIotAsync
request
- The input for the CancelCertificateTransfer operation.public Future<CancelCertificateTransferResult> cancelCertificateTransferAsync(CancelCertificateTransferRequest request, AsyncHandler<CancelCertificateTransferRequest,CancelCertificateTransferResult> asyncHandler)
AWSIotAsync
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.
cancelCertificateTransferAsync
in interface AWSIotAsync
request
- The input for the CancelCertificateTransfer operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelDetectMitigationActionsTaskResult> cancelDetectMitigationActionsTaskAsync(CancelDetectMitigationActionsTaskRequest request)
AWSIotAsync
Cancels a Device Defender ML Detect mitigation action.
Requires permission to access the CancelDetectMitigationActionsTask action.
cancelDetectMitigationActionsTaskAsync
in interface AWSIotAsync
public Future<CancelDetectMitigationActionsTaskResult> cancelDetectMitigationActionsTaskAsync(CancelDetectMitigationActionsTaskRequest request, AsyncHandler<CancelDetectMitigationActionsTaskRequest,CancelDetectMitigationActionsTaskResult> asyncHandler)
AWSIotAsync
Cancels a Device Defender ML Detect mitigation action.
Requires permission to access the CancelDetectMitigationActionsTask action.
cancelDetectMitigationActionsTaskAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelJobResult> cancelJobAsync(CancelJobRequest request)
AWSIotAsync
Cancels a job.
Requires permission to access the CancelJob action.
cancelJobAsync
in interface AWSIotAsync
public Future<CancelJobResult> cancelJobAsync(CancelJobRequest request, AsyncHandler<CancelJobRequest,CancelJobResult> asyncHandler)
AWSIotAsync
Cancels a job.
Requires permission to access the CancelJob action.
cancelJobAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelJobExecutionResult> cancelJobExecutionAsync(CancelJobExecutionRequest request)
AWSIotAsync
Cancels the execution of a job for a given thing.
Requires permission to access the CancelJobExecution action.
cancelJobExecutionAsync
in interface AWSIotAsync
public Future<CancelJobExecutionResult> cancelJobExecutionAsync(CancelJobExecutionRequest request, AsyncHandler<CancelJobExecutionRequest,CancelJobExecutionResult> asyncHandler)
AWSIotAsync
Cancels the execution of a job for a given thing.
Requires permission to access the CancelJobExecution action.
cancelJobExecutionAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ClearDefaultAuthorizerResult> clearDefaultAuthorizerAsync(ClearDefaultAuthorizerRequest request)
AWSIotAsync
Clears the default authorizer.
Requires permission to access the ClearDefaultAuthorizer action.
clearDefaultAuthorizerAsync
in interface AWSIotAsync
public Future<ClearDefaultAuthorizerResult> clearDefaultAuthorizerAsync(ClearDefaultAuthorizerRequest request, AsyncHandler<ClearDefaultAuthorizerRequest,ClearDefaultAuthorizerResult> asyncHandler)
AWSIotAsync
Clears the default authorizer.
Requires permission to access the ClearDefaultAuthorizer action.
clearDefaultAuthorizerAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ConfirmTopicRuleDestinationResult> confirmTopicRuleDestinationAsync(ConfirmTopicRuleDestinationRequest request)
AWSIotAsync
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.
confirmTopicRuleDestinationAsync
in interface AWSIotAsync
public Future<ConfirmTopicRuleDestinationResult> confirmTopicRuleDestinationAsync(ConfirmTopicRuleDestinationRequest request, AsyncHandler<ConfirmTopicRuleDestinationRequest,ConfirmTopicRuleDestinationResult> asyncHandler)
AWSIotAsync
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.
confirmTopicRuleDestinationAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateAuditSuppressionResult> createAuditSuppressionAsync(CreateAuditSuppressionRequest request)
AWSIotAsync
Creates a Device Defender audit suppression.
Requires permission to access the CreateAuditSuppression action.
createAuditSuppressionAsync
in interface AWSIotAsync
public Future<CreateAuditSuppressionResult> createAuditSuppressionAsync(CreateAuditSuppressionRequest request, AsyncHandler<CreateAuditSuppressionRequest,CreateAuditSuppressionResult> asyncHandler)
AWSIotAsync
Creates a Device Defender audit suppression.
Requires permission to access the CreateAuditSuppression action.
createAuditSuppressionAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateAuthorizerResult> createAuthorizerAsync(CreateAuthorizerRequest request)
AWSIotAsync
Creates an authorizer.
Requires permission to access the CreateAuthorizer action.
createAuthorizerAsync
in interface AWSIotAsync
public Future<CreateAuthorizerResult> createAuthorizerAsync(CreateAuthorizerRequest request, AsyncHandler<CreateAuthorizerRequest,CreateAuthorizerResult> asyncHandler)
AWSIotAsync
Creates an authorizer.
Requires permission to access the CreateAuthorizer action.
createAuthorizerAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateBillingGroupResult> createBillingGroupAsync(CreateBillingGroupRequest request)
AWSIotAsync
Creates a billing group.
Requires permission to access the CreateBillingGroup action.
createBillingGroupAsync
in interface AWSIotAsync
public Future<CreateBillingGroupResult> createBillingGroupAsync(CreateBillingGroupRequest request, AsyncHandler<CreateBillingGroupRequest,CreateBillingGroupResult> asyncHandler)
AWSIotAsync
Creates a billing group.
Requires permission to access the CreateBillingGroup action.
createBillingGroupAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateCertificateFromCsrResult> createCertificateFromCsrAsync(CreateCertificateFromCsrRequest request)
AWSIotAsync
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, NIST P-384, or NIST P-521 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"
createCertificateFromCsrAsync
in interface AWSIotAsync
request
- The input for the CreateCertificateFromCsr operation.public Future<CreateCertificateFromCsrResult> createCertificateFromCsrAsync(CreateCertificateFromCsrRequest request, AsyncHandler<CreateCertificateFromCsrRequest,CreateCertificateFromCsrResult> asyncHandler)
AWSIotAsync
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, NIST P-384, or NIST P-521 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"
createCertificateFromCsrAsync
in interface AWSIotAsync
request
- The input for the CreateCertificateFromCsr operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateCertificateProviderResult> createCertificateProviderAsync(CreateCertificateProviderRequest request)
AWSIotAsync
Creates an Amazon Web Services IoT Core certificate provider. You can use Amazon Web Services IoT Core certificate provider to customize how to sign a certificate signing request (CSR) in IoT fleet provisioning. For more information, see Customizing certificate signing using Amazon Web Services IoT Core certificate provider from Amazon Web Services IoT Core Developer Guide.
Requires permission to access the CreateCertificateProvider action.
After you create a certificate provider, the behavior of
CreateCertificateFromCsr
API for fleet provisioning will change and all API calls to
CreateCertificateFromCsr
will invoke the certificate provider to create the certificates. It can
take up to a few minutes for this behavior to change after a certificate provider is created.
createCertificateProviderAsync
in interface AWSIotAsync
public Future<CreateCertificateProviderResult> createCertificateProviderAsync(CreateCertificateProviderRequest request, AsyncHandler<CreateCertificateProviderRequest,CreateCertificateProviderResult> asyncHandler)
AWSIotAsync
Creates an Amazon Web Services IoT Core certificate provider. You can use Amazon Web Services IoT Core certificate provider to customize how to sign a certificate signing request (CSR) in IoT fleet provisioning. For more information, see Customizing certificate signing using Amazon Web Services IoT Core certificate provider from Amazon Web Services IoT Core Developer Guide.
Requires permission to access the CreateCertificateProvider action.
After you create a certificate provider, the behavior of
CreateCertificateFromCsr
API for fleet provisioning will change and all API calls to
CreateCertificateFromCsr
will invoke the certificate provider to create the certificates. It can
take up to a few minutes for this behavior to change after a certificate provider is created.
createCertificateProviderAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateCustomMetricResult> createCustomMetricAsync(CreateCustomMetricRequest request)
AWSIotAsync
Use this API to define a Custom Metric published by your devices to Device Defender.
Requires permission to access the CreateCustomMetric action.
createCustomMetricAsync
in interface AWSIotAsync
public Future<CreateCustomMetricResult> createCustomMetricAsync(CreateCustomMetricRequest request, AsyncHandler<CreateCustomMetricRequest,CreateCustomMetricResult> asyncHandler)
AWSIotAsync
Use this API to define a Custom Metric published by your devices to Device Defender.
Requires permission to access the CreateCustomMetric action.
createCustomMetricAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDimensionResult> createDimensionAsync(CreateDimensionRequest request)
AWSIotAsync
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.
createDimensionAsync
in interface AWSIotAsync
public Future<CreateDimensionResult> createDimensionAsync(CreateDimensionRequest request, AsyncHandler<CreateDimensionRequest,CreateDimensionResult> asyncHandler)
AWSIotAsync
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.
createDimensionAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDomainConfigurationResult> createDomainConfigurationAsync(CreateDomainConfigurationRequest request)
AWSIotAsync
Creates a domain configuration.
Requires permission to access the CreateDomainConfiguration action.
createDomainConfigurationAsync
in interface AWSIotAsync
public Future<CreateDomainConfigurationResult> createDomainConfigurationAsync(CreateDomainConfigurationRequest request, AsyncHandler<CreateDomainConfigurationRequest,CreateDomainConfigurationResult> asyncHandler)
AWSIotAsync
Creates a domain configuration.
Requires permission to access the CreateDomainConfiguration action.
createDomainConfigurationAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateDynamicThingGroupResult> createDynamicThingGroupAsync(CreateDynamicThingGroupRequest request)
AWSIotAsync
Creates a dynamic thing group.
Requires permission to access the CreateDynamicThingGroup action.
createDynamicThingGroupAsync
in interface AWSIotAsync
public Future<CreateDynamicThingGroupResult> createDynamicThingGroupAsync(CreateDynamicThingGroupRequest request, AsyncHandler<CreateDynamicThingGroupRequest,CreateDynamicThingGroupResult> asyncHandler)
AWSIotAsync
Creates a dynamic thing group.
Requires permission to access the CreateDynamicThingGroup action.
createDynamicThingGroupAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateFleetMetricResult> createFleetMetricAsync(CreateFleetMetricRequest request)
AWSIotAsync
Creates a fleet metric.
Requires permission to access the CreateFleetMetric action.
createFleetMetricAsync
in interface AWSIotAsync
public Future<CreateFleetMetricResult> createFleetMetricAsync(CreateFleetMetricRequest request, AsyncHandler<CreateFleetMetricRequest,CreateFleetMetricResult> asyncHandler)
AWSIotAsync
Creates a fleet metric.
Requires permission to access the CreateFleetMetric action.
createFleetMetricAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateJobResult> createJobAsync(CreateJobRequest request)
AWSIotAsync
Creates a job.
Requires permission to access the CreateJob action.
createJobAsync
in interface AWSIotAsync
public Future<CreateJobResult> createJobAsync(CreateJobRequest request, AsyncHandler<CreateJobRequest,CreateJobResult> asyncHandler)
AWSIotAsync
Creates a job.
Requires permission to access the CreateJob action.
createJobAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateJobTemplateResult> createJobTemplateAsync(CreateJobTemplateRequest request)
AWSIotAsync
Creates a job template.
Requires permission to access the CreateJobTemplate action.
createJobTemplateAsync
in interface AWSIotAsync
public Future<CreateJobTemplateResult> createJobTemplateAsync(CreateJobTemplateRequest request, AsyncHandler<CreateJobTemplateRequest,CreateJobTemplateResult> asyncHandler)
AWSIotAsync
Creates a job template.
Requires permission to access the CreateJobTemplate action.
createJobTemplateAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateKeysAndCertificateResult> createKeysAndCertificateAsync(CreateKeysAndCertificateRequest request)
AWSIotAsync
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.
createKeysAndCertificateAsync
in interface AWSIotAsync
request
- The input for the CreateKeysAndCertificate operation.
Requires permission to access the CreateKeysAndCertificateRequest action.
public Future<CreateKeysAndCertificateResult> createKeysAndCertificateAsync(CreateKeysAndCertificateRequest request, AsyncHandler<CreateKeysAndCertificateRequest,CreateKeysAndCertificateResult> asyncHandler)
AWSIotAsync
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.
createKeysAndCertificateAsync
in interface AWSIotAsync
request
- The input for the CreateKeysAndCertificate operation.
Requires permission to access the CreateKeysAndCertificateRequest action.
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateMitigationActionResult> createMitigationActionAsync(CreateMitigationActionRequest request)
AWSIotAsync
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.
createMitigationActionAsync
in interface AWSIotAsync
public Future<CreateMitigationActionResult> createMitigationActionAsync(CreateMitigationActionRequest request, AsyncHandler<CreateMitigationActionRequest,CreateMitigationActionResult> asyncHandler)
AWSIotAsync
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.
createMitigationActionAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateOTAUpdateResult> createOTAUpdateAsync(CreateOTAUpdateRequest request)
AWSIotAsync
Creates an IoT OTA update on a target group of things or groups.
Requires permission to access the CreateOTAUpdate action.
createOTAUpdateAsync
in interface AWSIotAsync
public Future<CreateOTAUpdateResult> createOTAUpdateAsync(CreateOTAUpdateRequest request, AsyncHandler<CreateOTAUpdateRequest,CreateOTAUpdateResult> asyncHandler)
AWSIotAsync
Creates an IoT OTA update on a target group of things or groups.
Requires permission to access the CreateOTAUpdate action.
createOTAUpdateAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreatePackageResult> createPackageAsync(CreatePackageRequest request)
AWSIotAsync
Creates an IoT software package that can be deployed to your fleet.
Requires permission to access the CreatePackage and GetIndexingConfiguration actions.
createPackageAsync
in interface AWSIotAsync
public Future<CreatePackageResult> createPackageAsync(CreatePackageRequest request, AsyncHandler<CreatePackageRequest,CreatePackageResult> asyncHandler)
AWSIotAsync
Creates an IoT software package that can be deployed to your fleet.
Requires permission to access the CreatePackage and GetIndexingConfiguration actions.
createPackageAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreatePackageVersionResult> createPackageVersionAsync(CreatePackageVersionRequest request)
AWSIotAsync
Creates a new version for an existing IoT software package.
Requires permission to access the CreatePackageVersion and GetIndexingConfiguration actions.
createPackageVersionAsync
in interface AWSIotAsync
public Future<CreatePackageVersionResult> createPackageVersionAsync(CreatePackageVersionRequest request, AsyncHandler<CreatePackageVersionRequest,CreatePackageVersionResult> asyncHandler)
AWSIotAsync
Creates a new version for an existing IoT software package.
Requires permission to access the CreatePackageVersion and GetIndexingConfiguration actions.
createPackageVersionAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreatePolicyResult> createPolicyAsync(CreatePolicyRequest request)
AWSIotAsync
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.
createPolicyAsync
in interface AWSIotAsync
request
- The input for the CreatePolicy operation.public Future<CreatePolicyResult> createPolicyAsync(CreatePolicyRequest request, AsyncHandler<CreatePolicyRequest,CreatePolicyResult> asyncHandler)
AWSIotAsync
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.
createPolicyAsync
in interface AWSIotAsync
request
- The input for the CreatePolicy operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreatePolicyVersionResult> createPolicyVersionAsync(CreatePolicyVersionRequest request)
AWSIotAsync
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.
createPolicyVersionAsync
in interface AWSIotAsync
request
- The input for the CreatePolicyVersion operation.public Future<CreatePolicyVersionResult> createPolicyVersionAsync(CreatePolicyVersionRequest request, AsyncHandler<CreatePolicyVersionRequest,CreatePolicyVersionResult> asyncHandler)
AWSIotAsync
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.
createPolicyVersionAsync
in interface AWSIotAsync
request
- The input for the CreatePolicyVersion operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateProvisioningClaimResult> createProvisioningClaimAsync(CreateProvisioningClaimRequest request)
AWSIotAsync
Creates a provisioning claim.
Requires permission to access the CreateProvisioningClaim action.
createProvisioningClaimAsync
in interface AWSIotAsync
public Future<CreateProvisioningClaimResult> createProvisioningClaimAsync(CreateProvisioningClaimRequest request, AsyncHandler<CreateProvisioningClaimRequest,CreateProvisioningClaimResult> asyncHandler)
AWSIotAsync
Creates a provisioning claim.
Requires permission to access the CreateProvisioningClaim action.
createProvisioningClaimAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateProvisioningTemplateResult> createProvisioningTemplateAsync(CreateProvisioningTemplateRequest request)
AWSIotAsync
Creates a provisioning template.
Requires permission to access the CreateProvisioningTemplate action.
createProvisioningTemplateAsync
in interface AWSIotAsync
public Future<CreateProvisioningTemplateResult> createProvisioningTemplateAsync(CreateProvisioningTemplateRequest request, AsyncHandler<CreateProvisioningTemplateRequest,CreateProvisioningTemplateResult> asyncHandler)
AWSIotAsync
Creates a provisioning template.
Requires permission to access the CreateProvisioningTemplate action.
createProvisioningTemplateAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateProvisioningTemplateVersionResult> createProvisioningTemplateVersionAsync(CreateProvisioningTemplateVersionRequest request)
AWSIotAsync
Creates a new version of a provisioning template.
Requires permission to access the CreateProvisioningTemplateVersion action.
createProvisioningTemplateVersionAsync
in interface AWSIotAsync
public Future<CreateProvisioningTemplateVersionResult> createProvisioningTemplateVersionAsync(CreateProvisioningTemplateVersionRequest request, AsyncHandler<CreateProvisioningTemplateVersionRequest,CreateProvisioningTemplateVersionResult> asyncHandler)
AWSIotAsync
Creates a new version of a provisioning template.
Requires permission to access the CreateProvisioningTemplateVersion action.
createProvisioningTemplateVersionAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRoleAliasResult> createRoleAliasAsync(CreateRoleAliasRequest request)
AWSIotAsync
Creates a role alias.
Requires permission to access the CreateRoleAlias action.
createRoleAliasAsync
in interface AWSIotAsync
public Future<CreateRoleAliasResult> createRoleAliasAsync(CreateRoleAliasRequest request, AsyncHandler<CreateRoleAliasRequest,CreateRoleAliasResult> asyncHandler)
AWSIotAsync
Creates a role alias.
Requires permission to access the CreateRoleAlias action.
createRoleAliasAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateScheduledAuditResult> createScheduledAuditAsync(CreateScheduledAuditRequest request)
AWSIotAsync
Creates a scheduled audit that is run at a specified time interval.
Requires permission to access the CreateScheduledAudit action.
createScheduledAuditAsync
in interface AWSIotAsync
public Future<CreateScheduledAuditResult> createScheduledAuditAsync(CreateScheduledAuditRequest request, AsyncHandler<CreateScheduledAuditRequest,CreateScheduledAuditResult> asyncHandler)
AWSIotAsync
Creates a scheduled audit that is run at a specified time interval.
Requires permission to access the CreateScheduledAudit action.
createScheduledAuditAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateSecurityProfileResult> createSecurityProfileAsync(CreateSecurityProfileRequest request)
AWSIotAsync
Creates a Device Defender security profile.
Requires permission to access the CreateSecurityProfile action.
createSecurityProfileAsync
in interface AWSIotAsync
public Future<CreateSecurityProfileResult> createSecurityProfileAsync(CreateSecurityProfileRequest request, AsyncHandler<CreateSecurityProfileRequest,CreateSecurityProfileResult> asyncHandler)
AWSIotAsync
Creates a Device Defender security profile.
Requires permission to access the CreateSecurityProfile action.
createSecurityProfileAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateStreamResult> createStreamAsync(CreateStreamRequest request)
AWSIotAsync
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.
createStreamAsync
in interface AWSIotAsync
public Future<CreateStreamResult> createStreamAsync(CreateStreamRequest request, AsyncHandler<CreateStreamRequest,CreateStreamResult> asyncHandler)
AWSIotAsync
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.
createStreamAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateThingResult> createThingAsync(CreateThingRequest request)
AWSIotAsync
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.
createThingAsync
in interface AWSIotAsync
request
- The input for the CreateThing operation.public Future<CreateThingResult> createThingAsync(CreateThingRequest request, AsyncHandler<CreateThingRequest,CreateThingResult> asyncHandler)
AWSIotAsync
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.
createThingAsync
in interface AWSIotAsync
request
- The input for the CreateThing operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateThingGroupResult> createThingGroupAsync(CreateThingGroupRequest request)
AWSIotAsync
Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
If the ThingGroup
that you create has the exact same attributes as an existing
ThingGroup
, you will get a 200 success response.
Requires permission to access the CreateThingGroup action.
createThingGroupAsync
in interface AWSIotAsync
public Future<CreateThingGroupResult> createThingGroupAsync(CreateThingGroupRequest request, AsyncHandler<CreateThingGroupRequest,CreateThingGroupResult> asyncHandler)
AWSIotAsync
Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
If the ThingGroup
that you create has the exact same attributes as an existing
ThingGroup
, you will get a 200 success response.
Requires permission to access the CreateThingGroup action.
createThingGroupAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateThingTypeResult> createThingTypeAsync(CreateThingTypeRequest request)
AWSIotAsync
Creates a new thing type.
Requires permission to access the CreateThingType action.
createThingTypeAsync
in interface AWSIotAsync
request
- The input for the CreateThingType operation.public Future<CreateThingTypeResult> createThingTypeAsync(CreateThingTypeRequest request, AsyncHandler<CreateThingTypeRequest,CreateThingTypeResult> asyncHandler)
AWSIotAsync
Creates a new thing type.
Requires permission to access the CreateThingType action.
createThingTypeAsync
in interface AWSIotAsync
request
- The input for the CreateThingType operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateTopicRuleResult> createTopicRuleAsync(CreateTopicRuleRequest request)
AWSIotAsync
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.
createTopicRuleAsync
in interface AWSIotAsync
request
- The input for the CreateTopicRule operation.public Future<CreateTopicRuleResult> createTopicRuleAsync(CreateTopicRuleRequest request, AsyncHandler<CreateTopicRuleRequest,CreateTopicRuleResult> asyncHandler)
AWSIotAsync
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.
createTopicRuleAsync
in interface AWSIotAsync
request
- The input for the CreateTopicRule operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateTopicRuleDestinationResult> createTopicRuleDestinationAsync(CreateTopicRuleDestinationRequest request)
AWSIotAsync
Creates a topic rule destination. The destination must be confirmed prior to use.
Requires permission to access the CreateTopicRuleDestination action.
createTopicRuleDestinationAsync
in interface AWSIotAsync
public Future<CreateTopicRuleDestinationResult> createTopicRuleDestinationAsync(CreateTopicRuleDestinationRequest request, AsyncHandler<CreateTopicRuleDestinationRequest,CreateTopicRuleDestinationResult> asyncHandler)
AWSIotAsync
Creates a topic rule destination. The destination must be confirmed prior to use.
Requires permission to access the CreateTopicRuleDestination action.
createTopicRuleDestinationAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAccountAuditConfigurationResult> deleteAccountAuditConfigurationAsync(DeleteAccountAuditConfigurationRequest request)
AWSIotAsync
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.
deleteAccountAuditConfigurationAsync
in interface AWSIotAsync
public Future<DeleteAccountAuditConfigurationResult> deleteAccountAuditConfigurationAsync(DeleteAccountAuditConfigurationRequest request, AsyncHandler<DeleteAccountAuditConfigurationRequest,DeleteAccountAuditConfigurationResult> asyncHandler)
AWSIotAsync
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.
deleteAccountAuditConfigurationAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAuditSuppressionResult> deleteAuditSuppressionAsync(DeleteAuditSuppressionRequest request)
AWSIotAsync
Deletes a Device Defender audit suppression.
Requires permission to access the DeleteAuditSuppression action.
deleteAuditSuppressionAsync
in interface AWSIotAsync
public Future<DeleteAuditSuppressionResult> deleteAuditSuppressionAsync(DeleteAuditSuppressionRequest request, AsyncHandler<DeleteAuditSuppressionRequest,DeleteAuditSuppressionResult> asyncHandler)
AWSIotAsync
Deletes a Device Defender audit suppression.
Requires permission to access the DeleteAuditSuppression action.
deleteAuditSuppressionAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAuthorizerResult> deleteAuthorizerAsync(DeleteAuthorizerRequest request)
AWSIotAsync
Deletes an authorizer.
Requires permission to access the DeleteAuthorizer action.
deleteAuthorizerAsync
in interface AWSIotAsync
public Future<DeleteAuthorizerResult> deleteAuthorizerAsync(DeleteAuthorizerRequest request, AsyncHandler<DeleteAuthorizerRequest,DeleteAuthorizerResult> asyncHandler)
AWSIotAsync
Deletes an authorizer.
Requires permission to access the DeleteAuthorizer action.
deleteAuthorizerAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteBillingGroupResult> deleteBillingGroupAsync(DeleteBillingGroupRequest request)
AWSIotAsync
Deletes the billing group.
Requires permission to access the DeleteBillingGroup action.
deleteBillingGroupAsync
in interface AWSIotAsync
public Future<DeleteBillingGroupResult> deleteBillingGroupAsync(DeleteBillingGroupRequest request, AsyncHandler<DeleteBillingGroupRequest,DeleteBillingGroupResult> asyncHandler)
AWSIotAsync
Deletes the billing group.
Requires permission to access the DeleteBillingGroup action.
deleteBillingGroupAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCACertificateResult> deleteCACertificateAsync(DeleteCACertificateRequest request)
AWSIotAsync
Deletes a registered CA certificate.
Requires permission to access the DeleteCACertificate action.
deleteCACertificateAsync
in interface AWSIotAsync
request
- Input for the DeleteCACertificate operation.public Future<DeleteCACertificateResult> deleteCACertificateAsync(DeleteCACertificateRequest request, AsyncHandler<DeleteCACertificateRequest,DeleteCACertificateResult> asyncHandler)
AWSIotAsync
Deletes a registered CA certificate.
Requires permission to access the DeleteCACertificate action.
deleteCACertificateAsync
in interface AWSIotAsync
request
- Input for the DeleteCACertificate operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCertificateResult> deleteCertificateAsync(DeleteCertificateRequest request)
AWSIotAsync
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.
deleteCertificateAsync
in interface AWSIotAsync
request
- The input for the DeleteCertificate operation.public Future<DeleteCertificateResult> deleteCertificateAsync(DeleteCertificateRequest request, AsyncHandler<DeleteCertificateRequest,DeleteCertificateResult> asyncHandler)
AWSIotAsync
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.
deleteCertificateAsync
in interface AWSIotAsync
request
- The input for the DeleteCertificate operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCertificateProviderResult> deleteCertificateProviderAsync(DeleteCertificateProviderRequest request)
AWSIotAsync
Deletes a certificate provider.
Requires permission to access the DeleteCertificateProvider action.
If you delete the certificate provider resource, the behavior of CreateCertificateFromCsr
will
resume, and IoT will create certificates signed by IoT from a certificate signing request (CSR).
deleteCertificateProviderAsync
in interface AWSIotAsync
public Future<DeleteCertificateProviderResult> deleteCertificateProviderAsync(DeleteCertificateProviderRequest request, AsyncHandler<DeleteCertificateProviderRequest,DeleteCertificateProviderResult> asyncHandler)
AWSIotAsync
Deletes a certificate provider.
Requires permission to access the DeleteCertificateProvider action.
If you delete the certificate provider resource, the behavior of CreateCertificateFromCsr
will
resume, and IoT will create certificates signed by IoT from a certificate signing request (CSR).
deleteCertificateProviderAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteCustomMetricResult> deleteCustomMetricAsync(DeleteCustomMetricRequest request)
AWSIotAsync
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.
deleteCustomMetricAsync
in interface AWSIotAsync
public Future<DeleteCustomMetricResult> deleteCustomMetricAsync(DeleteCustomMetricRequest request, AsyncHandler<DeleteCustomMetricRequest,DeleteCustomMetricResult> asyncHandler)
AWSIotAsync
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.
deleteCustomMetricAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDimensionResult> deleteDimensionAsync(DeleteDimensionRequest request)
AWSIotAsync
Removes the specified dimension from your Amazon Web Services accounts.
Requires permission to access the DeleteDimension action.
deleteDimensionAsync
in interface AWSIotAsync
public Future<DeleteDimensionResult> deleteDimensionAsync(DeleteDimensionRequest request, AsyncHandler<DeleteDimensionRequest,DeleteDimensionResult> asyncHandler)
AWSIotAsync
Removes the specified dimension from your Amazon Web Services accounts.
Requires permission to access the DeleteDimension action.
deleteDimensionAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDomainConfigurationResult> deleteDomainConfigurationAsync(DeleteDomainConfigurationRequest request)
AWSIotAsync
Deletes the specified domain configuration.
Requires permission to access the DeleteDomainConfiguration action.
deleteDomainConfigurationAsync
in interface AWSIotAsync
public Future<DeleteDomainConfigurationResult> deleteDomainConfigurationAsync(DeleteDomainConfigurationRequest request, AsyncHandler<DeleteDomainConfigurationRequest,DeleteDomainConfigurationResult> asyncHandler)
AWSIotAsync
Deletes the specified domain configuration.
Requires permission to access the DeleteDomainConfiguration action.
deleteDomainConfigurationAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteDynamicThingGroupResult> deleteDynamicThingGroupAsync(DeleteDynamicThingGroupRequest request)
AWSIotAsync
Deletes a dynamic thing group.
Requires permission to access the DeleteDynamicThingGroup action.
deleteDynamicThingGroupAsync
in interface AWSIotAsync
public Future<DeleteDynamicThingGroupResult> deleteDynamicThingGroupAsync(DeleteDynamicThingGroupRequest request, AsyncHandler<DeleteDynamicThingGroupRequest,DeleteDynamicThingGroupResult> asyncHandler)
AWSIotAsync
Deletes a dynamic thing group.
Requires permission to access the DeleteDynamicThingGroup action.
deleteDynamicThingGroupAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteFleetMetricResult> deleteFleetMetricAsync(DeleteFleetMetricRequest request)
AWSIotAsync
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.
deleteFleetMetricAsync
in interface AWSIotAsync
public Future<DeleteFleetMetricResult> deleteFleetMetricAsync(DeleteFleetMetricRequest request, AsyncHandler<DeleteFleetMetricRequest,DeleteFleetMetricResult> asyncHandler)
AWSIotAsync
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.
deleteFleetMetricAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteJobResult> deleteJobAsync(DeleteJobRequest request)
AWSIotAsync
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.
deleteJobAsync
in interface AWSIotAsync
public Future<DeleteJobResult> deleteJobAsync(DeleteJobRequest request, AsyncHandler<DeleteJobRequest,DeleteJobResult> asyncHandler)
AWSIotAsync
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.
deleteJobAsync
in interface AWSIotAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteJobExecutionResult> deleteJobExecutionAsync(DeleteJobExecutionRequest request)
AWSIotAsync