Class: AWS.Iot
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Iot
- Identifier:
- iot
- API Version:
- 2015-05-28
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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.
Sending a Request Using Iot
var iot = new AWS.Iot();
iot.associateTargetsWithJob(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the Iot object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var iot = new AWS.Iot({apiVersion: '2015-05-28'});
You can also set the API version globally in AWS.config.apiVersions
using
the iot service identifier:
AWS.config.apiVersions = {
iot: '2015-05-28',
// other service API versions
};
var iot = new AWS.Iot();
Constructor Summary collapse
-
new AWS.Iot(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
acceptCertificateTransfer(params = {}, callback) ⇒ AWS.Request
Accepts a pending certificate transfer.
- addThingToBillingGroup(params = {}, callback) ⇒ AWS.Request
- addThingToThingGroup(params = {}, callback) ⇒ AWS.Request
-
associateTargetsWithJob(params = {}, callback) ⇒ AWS.Request
Associates a group with a continuous job.
-
attachPolicy(params = {}, callback) ⇒ AWS.Request
Attaches the specified policy to the specified principal (certificate or other credential).
Requires permission to access the AttachPolicy action.
. -
attachPrincipalPolicy(params = {}, callback) ⇒ AWS.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.
-
attachSecurityProfile(params = {}, callback) ⇒ AWS.Request
Associates a Device Defender security profile with a thing group or this account.
-
attachThingPrincipal(params = {}, callback) ⇒ AWS.Request
Attaches the specified principal to the specified thing.
-
cancelAuditMitigationActionsTask(params = {}, callback) ⇒ AWS.Request
Cancels a mitigation action task that is in progress.
-
cancelAuditTask(params = {}, callback) ⇒ AWS.Request
Cancels an audit that is in progress.
-
cancelCertificateTransfer(params = {}, callback) ⇒ AWS.Request
Cancels a pending transfer for the specified certificate.
Note Only the transfer source account can use this operation to cancel a transfer.
-
cancelDetectMitigationActionsTask(params = {}, callback) ⇒ AWS.Request
Cancels a Device Defender ML Detect mitigation action.
- cancelJob(params = {}, callback) ⇒ AWS.Request
-
cancelJobExecution(params = {}, callback) ⇒ AWS.Request
Cancels the execution of a job for a given thing.
Requires permission to access the CancelJobExecution action.
. - clearDefaultAuthorizer(params = {}, callback) ⇒ AWS.Request
-
confirmTopicRuleDestination(params = {}, callback) ⇒ AWS.Request
Confirms a topic rule destination.
-
createAuditSuppression(params = {}, callback) ⇒ AWS.Request
Creates a Device Defender audit suppression.
- createAuthorizer(params = {}, callback) ⇒ AWS.Request
- createBillingGroup(params = {}, callback) ⇒ AWS.Request
-
createCertificateFromCsr(params = {}, callback) ⇒ AWS.Request
Creates an X.509 certificate using the specified certificate signing request.
-
createCertificateProvider(params = {}, callback) ⇒ AWS.Request
Creates an Amazon Web Services IoT Core certificate provider.
-
createCustomMetric(params = {}, callback) ⇒ AWS.Request
Use this API to define a Custom Metric published by your devices to Device Defender.
-
createDimension(params = {}, callback) ⇒ AWS.Request
Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device Defender.
-
createDomainConfiguration(params = {}, callback) ⇒ AWS.Request
Creates a domain configuration.
Requires permission to access the CreateDomainConfiguration action.
. - createDynamicThingGroup(params = {}, callback) ⇒ AWS.Request
- createFleetMetric(params = {}, callback) ⇒ AWS.Request
- createJob(params = {}, callback) ⇒ AWS.Request
- createJobTemplate(params = {}, callback) ⇒ AWS.Request
-
createKeysAndCertificate(params = {}, callback) ⇒ AWS.Request
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.
-
createMitigationAction(params = {}, callback) ⇒ AWS.Request
Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask.
-
createOTAUpdate(params = {}, callback) ⇒ AWS.Request
Creates an IoT OTA update on a target group of things or groups.
Requires permission to access the CreateOTAUpdate action.
. -
createPackage(params = {}, callback) ⇒ AWS.Request
Creates an IoT software package that can be deployed to your fleet.
Requires permission to access the CreatePackage and GetIndexingConfiguration actions.
. -
createPackageVersion(params = {}, callback) ⇒ AWS.Request
Creates a new version for an existing IoT software package.
Requires permission to access the CreatePackageVersion and GetIndexingConfiguration actions.
. -
createPolicy(params = {}, callback) ⇒ AWS.Request
Creates an IoT policy.
The created policy is the default version for the policy.
-
createPolicyVersion(params = {}, callback) ⇒ AWS.Request
Creates a new version of the specified IoT policy.
- createProvisioningClaim(params = {}, callback) ⇒ AWS.Request
-
createProvisioningTemplate(params = {}, callback) ⇒ AWS.Request
Creates a provisioning template.
Requires permission to access the CreateProvisioningTemplate action.
. -
createProvisioningTemplateVersion(params = {}, callback) ⇒ AWS.Request
Creates a new version of a provisioning template.
Requires permission to access the CreateProvisioningTemplateVersion action.
. - createRoleAlias(params = {}, callback) ⇒ AWS.Request
-
createScheduledAudit(params = {}, callback) ⇒ AWS.Request
Creates a scheduled audit that is run at a specified time interval.
Requires permission to access the CreateScheduledAudit action.
. -
createSecurityProfile(params = {}, callback) ⇒ AWS.Request
Creates a Device Defender security profile.
Requires permission to access the CreateSecurityProfile action.
. -
createStream(params = {}, callback) ⇒ AWS.Request
Creates a stream for delivering one or more large files in chunks over MQTT.
-
createThing(params = {}, callback) ⇒ AWS.Request
Creates a thing record in the registry.
-
createThingGroup(params = {}, callback) ⇒ AWS.Request
Create a thing group.
Note: This is a control plane operation.- createThingType(params = {}, callback) ⇒ AWS.Request
- createTopicRule(params = {}, callback) ⇒ AWS.Request
Creates a rule.
- createTopicRuleDestination(params = {}, callback) ⇒ AWS.Request
Creates a topic rule destination.
- deleteAccountAuditConfiguration(params = {}, callback) ⇒ AWS.Request
Restores the default settings for Device Defender audits for this account.
- deleteAuditSuppression(params = {}, callback) ⇒ AWS.Request
Deletes a Device Defender audit suppression.
- deleteAuthorizer(params = {}, callback) ⇒ AWS.Request
- deleteBillingGroup(params = {}, callback) ⇒ AWS.Request
- deleteCACertificate(params = {}, callback) ⇒ AWS.Request
- deleteCertificate(params = {}, callback) ⇒ AWS.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.
- deleteCertificateProvider(params = {}, callback) ⇒ AWS.Request
- deleteCustomMetric(params = {}, callback) ⇒ AWS.Request
Deletes a Device Defender detect custom metric.
- deleteDimension(params = {}, callback) ⇒ AWS.Request
Removes the specified dimension from your Amazon Web Services accounts.
Requires permission to access the DeleteDimension action.
.- deleteDomainConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes the specified domain configuration.
Requires permission to access the DeleteDomainConfiguration action.
.- deleteDynamicThingGroup(params = {}, callback) ⇒ AWS.Request
- deleteFleetMetric(params = {}, callback) ⇒ AWS.Request
Deletes the specified fleet metric.
- deleteJob(params = {}, callback) ⇒ AWS.Request
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.
- deleteJobExecution(params = {}, callback) ⇒ AWS.Request
- deleteJobTemplate(params = {}, callback) ⇒ AWS.Request
Deletes the specified job template.
.
- deleteMitigationAction(params = {}, callback) ⇒ AWS.Request
Deletes a defined mitigation action from your Amazon Web Services accounts.
Requires permission to access the DeleteMitigationAction action.
.- deleteOTAUpdate(params = {}, callback) ⇒ AWS.Request
- deletePackage(params = {}, callback) ⇒ AWS.Request
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.
.- deletePackageVersion(params = {}, callback) ⇒ AWS.Request
Deletes a specific version from a software package.
Note: If a package version is designated as default, you must remove the designation from the software package using the UpdatePackage action.
.- deletePolicy(params = {}, callback) ⇒ AWS.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.
Note: 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.- deletePolicyVersion(params = {}, callback) ⇒ AWS.Request
Deletes the specified version of the specified policy.
- deleteProvisioningTemplate(params = {}, callback) ⇒ AWS.Request
Deletes a provisioning template.
Requires permission to access the DeleteProvisioningTemplate action.
.- deleteProvisioningTemplateVersion(params = {}, callback) ⇒ AWS.Request
Deletes a provisioning template version.
Requires permission to access the DeleteProvisioningTemplateVersion action.
.- deleteRegistrationCode(params = {}, callback) ⇒ AWS.Request
Deletes a CA certificate registration code.
Requires permission to access the DeleteRegistrationCode action.
.- deleteRoleAlias(params = {}, callback) ⇒ AWS.Request
- deleteScheduledAudit(params = {}, callback) ⇒ AWS.Request
- deleteSecurityProfile(params = {}, callback) ⇒ AWS.Request
Deletes a Device Defender security profile.
Requires permission to access the DeleteSecurityProfile action.
.- deleteStream(params = {}, callback) ⇒ AWS.Request
- deleteThing(params = {}, callback) ⇒ AWS.Request
Deletes the specified thing.
- deleteThingGroup(params = {}, callback) ⇒ AWS.Request
- deleteThingType(params = {}, callback) ⇒ AWS.Request
Deletes the specified thing type.
- deleteTopicRule(params = {}, callback) ⇒ AWS.Request
- deleteTopicRuleDestination(params = {}, callback) ⇒ AWS.Request
Deletes a topic rule destination.
Requires permission to access the DeleteTopicRuleDestination action.
.- deleteV2LoggingLevel(params = {}, callback) ⇒ AWS.Request
- deprecateThingType(params = {}, callback) ⇒ AWS.Request
Deprecates a thing type.
- describeAccountAuditConfiguration(params = {}, callback) ⇒ AWS.Request
Gets information about the Device Defender audit settings for this account.
- describeAuditFinding(params = {}, callback) ⇒ AWS.Request
Gets information about a single audit finding.
- describeAuditMitigationActionsTask(params = {}, callback) ⇒ AWS.Request
Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings.
- describeAuditSuppression(params = {}, callback) ⇒ AWS.Request
Gets information about a Device Defender audit suppression.
- describeAuditTask(params = {}, callback) ⇒ AWS.Request
Gets information about a Device Defender audit.
Requires permission to access the DescribeAuditTask action.
.- describeAuthorizer(params = {}, callback) ⇒ AWS.Request
- describeBillingGroup(params = {}, callback) ⇒ AWS.Request
Returns information about a billing group.
Requires permission to access the DescribeBillingGroup action.
.- describeCACertificate(params = {}, callback) ⇒ AWS.Request
Describes a registered CA certificate.
Requires permission to access the DescribeCACertificate action.
.- describeCertificate(params = {}, callback) ⇒ AWS.Request
Gets information about the specified certificate.
Requires permission to access the DescribeCertificate action.
.- describeCertificateProvider(params = {}, callback) ⇒ AWS.Request
Describes a certificate provider.
Requires permission to access the DescribeCertificateProvider action.
- describeCustomMetric(params = {}, callback) ⇒ AWS.Request
Gets information about a Device Defender detect custom metric.
- describeDefaultAuthorizer(params = {}, callback) ⇒ AWS.Request
Describes the default authorizer.
Requires permission to access the DescribeDefaultAuthorizer action.
.- describeDetectMitigationActionsTask(params = {}, callback) ⇒ AWS.Request
Gets information about a Device Defender ML Detect mitigation action.
- describeDimension(params = {}, callback) ⇒ AWS.Request
Provides details about a dimension that is defined in your Amazon Web Services accounts.
Requires permission to access the DescribeDimension action.
.- describeDomainConfiguration(params = {}, callback) ⇒ AWS.Request
Gets summary information about a domain configuration.
Requires permission to access the DescribeDomainConfiguration action.
.- describeEndpoint(params = {}, callback) ⇒ AWS.Request
Returns or creates a unique endpoint specific to the Amazon Web Services account making the call.
Note: The first timeDescribeEndpoint
is called, an endpoint is created.- describeEventConfigurations(params = {}, callback) ⇒ AWS.Request
Describes event configurations.
Requires permission to access the DescribeEventConfigurations action.
.- describeFleetMetric(params = {}, callback) ⇒ AWS.Request
Gets information about the specified fleet metric.
Requires permission to access the DescribeFleetMetric action.
.- describeIndex(params = {}, callback) ⇒ AWS.Request
- describeJob(params = {}, callback) ⇒ AWS.Request
- describeJobExecution(params = {}, callback) ⇒ AWS.Request
- describeJobTemplate(params = {}, callback) ⇒ AWS.Request
Returns information about a job template.
.
- describeManagedJobTemplate(params = {}, callback) ⇒ AWS.Request
View details of a managed job template.
.
- describeMitigationAction(params = {}, callback) ⇒ AWS.Request
Gets information about a mitigation action.
Requires permission to access the DescribeMitigationAction action.
.- describeProvisioningTemplate(params = {}, callback) ⇒ AWS.Request
Returns information about a provisioning template.
Requires permission to access the DescribeProvisioningTemplate action.
.- describeProvisioningTemplateVersion(params = {}, callback) ⇒ AWS.Request
Returns information about a provisioning template version.
Requires permission to access the DescribeProvisioningTemplateVersion action.
.- describeRoleAlias(params = {}, callback) ⇒ AWS.Request
- describeScheduledAudit(params = {}, callback) ⇒ AWS.Request
Gets information about a scheduled audit.
Requires permission to access the DescribeScheduledAudit action.
.- describeSecurityProfile(params = {}, callback) ⇒ AWS.Request
Gets information about a Device Defender security profile.
Requires permission to access the DescribeSecurityProfile action.
.- describeStream(params = {}, callback) ⇒ AWS.Request
- describeThing(params = {}, callback) ⇒ AWS.Request
Gets information about the specified thing.
Requires permission to access the DescribeThing action.
.- describeThingGroup(params = {}, callback) ⇒ AWS.Request
- describeThingRegistrationTask(params = {}, callback) ⇒ AWS.Request
Describes a bulk thing provisioning task.
Requires permission to access the DescribeThingRegistrationTask action.
.- describeThingType(params = {}, callback) ⇒ AWS.Request
Gets information about the specified thing type.
Requires permission to access the DescribeThingType action.
.- detachPolicy(params = {}, callback) ⇒ AWS.Request
Detaches a policy from the specified target.
Note: 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.- detachPrincipalPolicy(params = {}, callback) ⇒ AWS.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.
- detachSecurityProfile(params = {}, callback) ⇒ AWS.Request
Disassociates a Device Defender security profile from a thing group or from this account.
Requires permission to access the DetachSecurityProfile action.
.- detachThingPrincipal(params = {}, callback) ⇒ AWS.Request
Detaches the specified principal from the specified thing.
- disableTopicRule(params = {}, callback) ⇒ AWS.Request
- enableTopicRule(params = {}, callback) ⇒ AWS.Request
- getBehaviorModelTrainingSummaries(params = {}, callback) ⇒ AWS.Request
Returns a Device Defender's ML Detect Security Profile training model's status.
- getBucketsAggregation(params = {}, callback) ⇒ AWS.Request
Aggregates on indexed data with search queries pertaining to particular fields.
- getCardinality(params = {}, callback) ⇒ AWS.Request
Returns the approximate count of unique values that match the query.
Requires permission to access the GetCardinality action.
.- getEffectivePolicies(params = {}, callback) ⇒ AWS.Request
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.
.- getIndexingConfiguration(params = {}, callback) ⇒ AWS.Request
Gets the indexing configuration.
Requires permission to access the GetIndexingConfiguration action.
.- getJobDocument(params = {}, callback) ⇒ AWS.Request
- getLoggingOptions(params = {}, callback) ⇒ AWS.Request
Gets the logging options.
NOTE: use of this command is not recommended.
- getOTAUpdate(params = {}, callback) ⇒ AWS.Request
- getPackage(params = {}, callback) ⇒ AWS.Request
Gets information about the specified software package.
Requires permission to access the GetPackage action.
.- getPackageConfiguration(params = {}, callback) ⇒ AWS.Request
Gets information about the specified software package's configuration.
Requires permission to access the GetPackageConfiguration action.
.- getPackageVersion(params = {}, callback) ⇒ AWS.Request
Gets information about the specified package version.
- getPercentiles(params = {}, callback) ⇒ AWS.Request
Groups the aggregated values that match the query into percentile groupings.
- getPolicy(params = {}, callback) ⇒ AWS.Request
Gets information about the specified policy with the policy document of the default version.
Requires permission to access the GetPolicy action.
.- getPolicyVersion(params = {}, callback) ⇒ AWS.Request
Gets information about the specified policy version.
Requires permission to access the GetPolicyVersion action.
.- getRegistrationCode(params = {}, callback) ⇒ AWS.Request
Gets a registration code used to register a CA certificate with IoT.
IoT will create a registration code as part of this API call if the registration code doesn't exist or has been deleted.
- getStatistics(params = {}, callback) ⇒ AWS.Request
Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the specified aggregated field.
- getTopicRule(params = {}, callback) ⇒ AWS.Request
- getTopicRuleDestination(params = {}, callback) ⇒ AWS.Request
Gets information about a topic rule destination.
Requires permission to access the GetTopicRuleDestination action.
.- getV2LoggingOptions(params = {}, callback) ⇒ AWS.Request
Gets the fine grained logging options.
Requires permission to access the GetV2LoggingOptions action.
.- listActiveViolations(params = {}, callback) ⇒ AWS.Request
Lists the active violations for a given Device Defender security profile.
Requires permission to access the ListActiveViolations action.
.- listAttachedPolicies(params = {}, callback) ⇒ AWS.Request
Lists the policies attached to the specified thing group.
Requires permission to access the ListAttachedPolicies action.
.- listAuditFindings(params = {}, callback) ⇒ AWS.Request
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period.
- listAuditMitigationActionsExecutions(params = {}, callback) ⇒ AWS.Request
Gets the status of audit mitigation action tasks that were executed.
Requires permission to access the ListAuditMitigationActionsExecutions action.
.- listAuditMitigationActionsTasks(params = {}, callback) ⇒ AWS.Request
Gets a list of audit mitigation action tasks that match the specified filters.
Requires permission to access the ListAuditMitigationActionsTasks action.
.- listAuditSuppressions(params = {}, callback) ⇒ AWS.Request
Lists your Device Defender audit listings.
- listAuditTasks(params = {}, callback) ⇒ AWS.Request
Lists the Device Defender audits that have been performed during a given time period.
Requires permission to access the ListAuditTasks action.
.- listAuthorizers(params = {}, callback) ⇒ AWS.Request
Lists the authorizers registered in your account.
Requires permission to access the ListAuthorizers action.
.- listBillingGroups(params = {}, callback) ⇒ AWS.Request
Lists the billing groups you have created.
Requires permission to access the ListBillingGroups action.
.- listCACertificates(params = {}, callback) ⇒ AWS.Request
Lists the CA certificates registered for your Amazon Web Services account.
The results are paginated with a default page size of 25.
- listCertificateProviders(params = {}, callback) ⇒ AWS.Request
Lists all your certificate providers in your Amazon Web Services account.
Requires permission to access the ListCertificateProviders action.
- listCertificates(params = {}, callback) ⇒ AWS.Request
Lists the certificates registered in your Amazon Web Services account.
The results are paginated with a default page size of 25.
- listCertificatesByCA(params = {}, callback) ⇒ AWS.Request
List the device certificates signed by the specified CA certificate.
Requires permission to access the ListCertificatesByCA action.
.- listCustomMetrics(params = {}, callback) ⇒ AWS.Request
Lists your Device Defender detect custom metrics.
- listDetectMitigationActionsExecutions(params = {}, callback) ⇒ AWS.Request
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
- listDetectMitigationActionsTasks(params = {}, callback) ⇒ AWS.Request
List of Device Defender ML Detect mitigation actions tasks.
- listDimensions(params = {}, callback) ⇒ AWS.Request
List the set of dimensions that are defined for your Amazon Web Services accounts.
Requires permission to access the ListDimensions action.
.- listDomainConfigurations(params = {}, callback) ⇒ AWS.Request
Gets a list of domain configurations for the user.
- listFleetMetrics(params = {}, callback) ⇒ AWS.Request
Lists all your fleet metrics.
- listIndices(params = {}, callback) ⇒ AWS.Request
- listJobExecutionsForJob(params = {}, callback) ⇒ AWS.Request
Lists the job executions for a job.
Requires permission to access the ListJobExecutionsForJob action.
.- listJobExecutionsForThing(params = {}, callback) ⇒ AWS.Request
Lists the job executions for the specified thing.
Requires permission to access the ListJobExecutionsForThing action.
.- listJobs(params = {}, callback) ⇒ AWS.Request
- listJobTemplates(params = {}, callback) ⇒ AWS.Request
- listManagedJobTemplates(params = {}, callback) ⇒ AWS.Request
Returns a list of managed job templates.
.
- listMetricValues(params = {}, callback) ⇒ AWS.Request
Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom metric) by the given thing during the specified time period.
.
- listMitigationActions(params = {}, callback) ⇒ AWS.Request
Gets a list of all mitigation actions that match the specified filter criteria.
Requires permission to access the ListMitigationActions action.
.- listOTAUpdates(params = {}, callback) ⇒ AWS.Request
- listOutgoingCertificates(params = {}, callback) ⇒ AWS.Request
Lists certificates that are being transferred but not yet accepted.
Requires permission to access the ListOutgoingCertificates action.
.- listPackages(params = {}, callback) ⇒ AWS.Request
Lists the software packages associated to the account.
Requires permission to access the ListPackages action.
.- listPackageVersions(params = {}, callback) ⇒ AWS.Request
Lists the software package versions associated to the account.
Requires permission to access the ListPackageVersions action.
.- listPolicies(params = {}, callback) ⇒ AWS.Request
- listPolicyPrincipals(params = {}, callback) ⇒ AWS.Request
Lists the principals associated with the specified policy.
Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements.
- listPolicyVersions(params = {}, callback) ⇒ AWS.Request
Lists the versions of the specified policy and identifies the default version.
Requires permission to access the ListPolicyVersions action.
.- listPrincipalPolicies(params = {}, callback) ⇒ AWS.Request
Lists the policies attached to the specified principal.
- listPrincipalThings(params = {}, callback) ⇒ AWS.Request
Lists the things associated with the specified principal.
- listProvisioningTemplates(params = {}, callback) ⇒ AWS.Request
Lists the provisioning templates in your Amazon Web Services account.
Requires permission to access the ListProvisioningTemplates action.
.- listProvisioningTemplateVersions(params = {}, callback) ⇒ AWS.Request
A list of provisioning template versions.
Requires permission to access the ListProvisioningTemplateVersions action.
.- listRelatedResourcesForAuditFinding(params = {}, callback) ⇒ AWS.Request
The related resources of an Audit finding.
- listRoleAliases(params = {}, callback) ⇒ AWS.Request
Lists the role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
.- listScheduledAudits(params = {}, callback) ⇒ AWS.Request
- listSecurityProfiles(params = {}, callback) ⇒ AWS.Request
Lists the Device Defender security profiles you've created.
- listSecurityProfilesForTarget(params = {}, callback) ⇒ AWS.Request
Lists the Device Defender security profiles attached to a target (thing group).
Requires permission to access the ListSecurityProfilesForTarget action.
.- listStreams(params = {}, callback) ⇒ AWS.Request
Lists all of the streams in your Amazon Web Services account.
Requires permission to access the ListStreams action.
.- listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists the tags (metadata) you have assigned to the resource.
Requires permission to access the ListTagsForResource action.
.- listTargetsForPolicy(params = {}, callback) ⇒ AWS.Request
List targets for the specified policy.
Requires permission to access the ListTargetsForPolicy action.
.- listTargetsForSecurityProfile(params = {}, callback) ⇒ AWS.Request
Lists the targets (thing groups) associated with a given Device Defender security profile.
Requires permission to access the ListTargetsForSecurityProfile action.
.- listThingGroups(params = {}, callback) ⇒ AWS.Request
- listThingGroupsForThing(params = {}, callback) ⇒ AWS.Request
List the thing groups to which the specified thing belongs.
Requires permission to access the ListThingGroupsForThing action.
.- listThingPrincipals(params = {}, callback) ⇒ AWS.Request
Lists the principals associated with the specified thing.
- listThingRegistrationTaskReports(params = {}, callback) ⇒ AWS.Request
Information about the thing registration tasks.
.
- listThingRegistrationTasks(params = {}, callback) ⇒ AWS.Request
List bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
.- listThings(params = {}, callback) ⇒ AWS.Request
Lists your things.
- listThingsInBillingGroup(params = {}, callback) ⇒ AWS.Request
Lists the things you have added to the given billing group.
Requires permission to access the ListThingsInBillingGroup action.
.- listThingsInThingGroup(params = {}, callback) ⇒ AWS.Request
Lists the things in the specified group.
Requires permission to access the ListThingsInThingGroup action.
.- listThingTypes(params = {}, callback) ⇒ AWS.Request
- listTopicRuleDestinations(params = {}, callback) ⇒ AWS.Request
Lists all the topic rule destinations in your Amazon Web Services account.
Requires permission to access the ListTopicRuleDestinations action.
.- listTopicRules(params = {}, callback) ⇒ AWS.Request
- listV2LoggingLevels(params = {}, callback) ⇒ AWS.Request
- listViolationEvents(params = {}, callback) ⇒ AWS.Request
Lists the Device Defender security profile violations discovered during the given time period.
- putVerificationStateOnViolation(params = {}, callback) ⇒ AWS.Request
Set a verification state and provide a description of that verification state on a violation (detect alarm).
.
- registerCACertificate(params = {}, callback) ⇒ AWS.Request
Registers a CA certificate with Amazon Web Services IoT Core.
- registerCertificate(params = {}, callback) ⇒ AWS.Request
Registers a device certificate with IoT in the same certificate mode as the signing CA.
- registerCertificateWithoutCA(params = {}, callback) ⇒ AWS.Request
Register a certificate that does not have a certificate authority (CA).
- registerThing(params = {}, callback) ⇒ AWS.Request
Provisions a thing in the device registry.
- rejectCertificateTransfer(params = {}, callback) ⇒ AWS.Request
Rejects a pending certificate transfer.
- removeThingFromBillingGroup(params = {}, callback) ⇒ AWS.Request
Removes the given thing from the billing group.
Requires permission to access the RemoveThingFromBillingGroup action.
Note: This call is asynchronous.- removeThingFromThingGroup(params = {}, callback) ⇒ AWS.Request
Remove the specified thing from the specified group.
You must specify either a
thingGroupArn
or athingGroupName
to identify the thing group and either athingArn
or athingName
to identify the thing to remove from the thing group.- replaceTopicRule(params = {}, callback) ⇒ AWS.Request
Replaces the rule.
- searchIndex(params = {}, callback) ⇒ AWS.Request
- setDefaultAuthorizer(params = {}, callback) ⇒ AWS.Request
Sets the default authorizer.
- setDefaultPolicyVersion(params = {}, callback) ⇒ AWS.Request
Sets the specified version of the specified policy as the policy's default (operative) version.
- setLoggingOptions(params = {}, callback) ⇒ AWS.Request
Sets the logging options.
NOTE: use of this command is not recommended.
- setV2LoggingLevel(params = {}, callback) ⇒ AWS.Request
- setV2LoggingOptions(params = {}, callback) ⇒ AWS.Request
Sets the logging options for the V2 logging service.
Requires permission to access the SetV2LoggingOptions action.
.- startAuditMitigationActionsTask(params = {}, callback) ⇒ AWS.Request
Starts a task that applies a set of mitigation actions to the specified target.
Requires permission to access the StartAuditMitigationActionsTask action.
.- startDetectMitigationActionsTask(params = {}, callback) ⇒ AWS.Request
Starts a Device Defender ML Detect mitigation actions task.
- startOnDemandAuditTask(params = {}, callback) ⇒ AWS.Request
Starts an on-demand Device Defender audit.
Requires permission to access the StartOnDemandAuditTask action.
.- startThingRegistrationTask(params = {}, callback) ⇒ AWS.Request
Creates a bulk thing provisioning task.
Requires permission to access the StartThingRegistrationTask action.
.- stopThingRegistrationTask(params = {}, callback) ⇒ AWS.Request
Cancels a bulk thing provisioning task.
Requires permission to access the StopThingRegistrationTask action.
.- tagResource(params = {}, callback) ⇒ AWS.Request
Adds to or modifies the tags of the given resource.
- testAuthorization(params = {}, callback) ⇒ AWS.Request
Tests if a specified principal is authorized to perform an IoT action on a specified resource.
- testInvokeAuthorizer(params = {}, callback) ⇒ AWS.Request
Tests a custom authorization behavior by invoking a specified custom authorizer.
- transferCertificate(params = {}, callback) ⇒ AWS.Request
Transfers the specified certificate to the specified Amazon Web Services account.
Requires permission to access the TransferCertificate action.
You can cancel the transfer until it is acknowledged by the recipient.
No notification is sent to the transfer destination's account.
- untagResource(params = {}, callback) ⇒ AWS.Request
Removes the given tags (metadata) from the resource.
Requires permission to access the UntagResource action.
.- updateAccountAuditConfiguration(params = {}, callback) ⇒ AWS.Request
Configures or reconfigures the Device Defender audit settings for this account.
- updateAuditSuppression(params = {}, callback) ⇒ AWS.Request
Updates a Device Defender audit suppression.
- updateAuthorizer(params = {}, callback) ⇒ AWS.Request
- updateBillingGroup(params = {}, callback) ⇒ AWS.Request
Updates information about the billing group.
Requires permission to access the UpdateBillingGroup action.
.- updateCACertificate(params = {}, callback) ⇒ AWS.Request
- updateCertificate(params = {}, callback) ⇒ AWS.Request
Updates the status of the specified certificate.
- updateCertificateProvider(params = {}, callback) ⇒ AWS.Request
- updateCustomMetric(params = {}, callback) ⇒ AWS.Request
Updates a Device Defender detect custom metric.
- updateDimension(params = {}, callback) ⇒ AWS.Request
Updates the definition for a dimension.
- updateDomainConfiguration(params = {}, callback) ⇒ AWS.Request
Updates values stored in the domain configuration.
- updateDynamicThingGroup(params = {}, callback) ⇒ AWS.Request
- updateEventConfigurations(params = {}, callback) ⇒ AWS.Request
Updates the event configurations.
Requires permission to access the UpdateEventConfigurations action.
.- updateFleetMetric(params = {}, callback) ⇒ AWS.Request
- updateIndexingConfiguration(params = {}, callback) ⇒ AWS.Request
Updates the search configuration.
Requires permission to access the UpdateIndexingConfiguration action.
.- updateJob(params = {}, callback) ⇒ AWS.Request
- updateMitigationAction(params = {}, callback) ⇒ AWS.Request
Updates the definition for the specified mitigation action.
Requires permission to access the UpdateMitigationAction action.
.- updatePackage(params = {}, callback) ⇒ AWS.Request
Updates the supported fields for a specific software package.
Requires permission to access the UpdatePackage and GetIndexingConfiguration actions.
.- updatePackageConfiguration(params = {}, callback) ⇒ AWS.Request
Updates the software package configuration.
Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions.
.- updatePackageVersion(params = {}, callback) ⇒ AWS.Request
Updates the supported fields for a specific package version.
Requires permission to access the UpdatePackageVersion and GetIndexingConfiguration actions.
.- updateProvisioningTemplate(params = {}, callback) ⇒ AWS.Request
Updates a provisioning template.
Requires permission to access the UpdateProvisioningTemplate action.
.- updateRoleAlias(params = {}, callback) ⇒ AWS.Request
- updateScheduledAudit(params = {}, callback) ⇒ AWS.Request
Updates a scheduled audit, including which checks are performed and how often the audit takes place.
Requires permission to access the UpdateScheduledAudit action.
.- updateSecurityProfile(params = {}, callback) ⇒ AWS.Request
Updates a Device Defender security profile.
Requires permission to access the UpdateSecurityProfile action.
.- updateStream(params = {}, callback) ⇒ AWS.Request
Updates an existing stream.
- updateThing(params = {}, callback) ⇒ AWS.Request
- updateThingGroup(params = {}, callback) ⇒ AWS.Request
- updateThingGroupsForThing(params = {}, callback) ⇒ AWS.Request
Updates the groups to which the thing belongs.
Requires permission to access the UpdateThingGroupsForThing action.
.- updateTopicRuleDestination(params = {}, callback) ⇒ AWS.Request
Updates a topic rule destination.
- validateSecurityProfileBehaviors(params = {}, callback) ⇒ AWS.Request
Validates a Device Defender security profile behaviors specification.
Requires permission to access the ValidateSecurityProfileBehaviors action.
.Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.Iot(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
acceptCertificateTransfer(params = {}, callback) ⇒ AWS.Request
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.
associateTargetsWithJob(params = {}, callback) ⇒ AWS.Request
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.
attachPolicy(params = {}, callback) ⇒ AWS.Request
Attaches the specified policy to the specified principal (certificate or other credential).
Requires permission to access the AttachPolicy action.
attachPrincipalPolicy(params = {}, callback) ⇒ AWS.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.
attachSecurityProfile(params = {}, callback) ⇒ AWS.Request
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.
attachThingPrincipal(params = {}, callback) ⇒ AWS.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.
cancelAuditMitigationActionsTask(params = {}, callback) ⇒ AWS.Request
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.
cancelAuditTask(params = {}, callback) ⇒ AWS.Request
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.
cancelCertificateTransfer(params = {}, callback) ⇒ AWS.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.
cancelDetectMitigationActionsTask(params = {}, callback) ⇒ AWS.Request
Cancels a Device Defender ML Detect mitigation action.
Requires permission to access the CancelDetectMitigationActionsTask action.
cancelJobExecution(params = {}, callback) ⇒ AWS.Request
Cancels the execution of a job for a given thing.
Requires permission to access the CancelJobExecution action.
confirmTopicRuleDestination(params = {}, callback) ⇒ AWS.Request
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.
createAuditSuppression(params = {}, callback) ⇒ AWS.Request
Creates a Device Defender audit suppression.
Requires permission to access the CreateAuditSuppression action.
createCertificateFromCsr(params = {}, callback) ⇒ AWS.Request
Creates an X.509 certificate using the specified certificate signing request.
Requires permission to access the CreateCertificateFromCsr action.
Note: 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.Note: 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"
createCertificateProvider(params = {}, callback) ⇒ AWS.Request
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 toCreateCertificateFromCsr
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.createCustomMetric(params = {}, callback) ⇒ AWS.Request
Use this API to define a Custom Metric published by your devices to Device Defender.
Requires permission to access the CreateCustomMetric action.
createDimension(params = {}, callback) ⇒ AWS.Request
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.
createKeysAndCertificate(params = {}, callback) ⇒ AWS.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.
createMitigationAction(params = {}, callback) ⇒ AWS.Request
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.
createOTAUpdate(params = {}, callback) ⇒ AWS.Request
Creates an IoT OTA update on a target group of things or groups.
Requires permission to access the CreateOTAUpdate action.
createPackage(params = {}, callback) ⇒ AWS.Request
Creates an IoT software package that can be deployed to your fleet.
Requires permission to access the CreatePackage and GetIndexingConfiguration actions.
createPackageVersion(params = {}, callback) ⇒ AWS.Request
Creates a new version for an existing IoT software package.
Requires permission to access the CreatePackageVersion and GetIndexingConfiguration actions.
createPolicy(params = {}, callback) ⇒ AWS.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.
createPolicyVersion(params = {}, callback) ⇒ AWS.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.
createProvisioningTemplate(params = {}, callback) ⇒ AWS.Request
Creates a provisioning template.
Requires permission to access the CreateProvisioningTemplate action.
createProvisioningTemplateVersion(params = {}, callback) ⇒ AWS.Request
Creates a new version of a provisioning template.
Requires permission to access the CreateProvisioningTemplateVersion action.
createScheduledAudit(params = {}, callback) ⇒ AWS.Request
Creates a scheduled audit that is run at a specified time interval.
Requires permission to access the CreateScheduledAudit action.
createSecurityProfile(params = {}, callback) ⇒ AWS.Request
Creates a Device Defender security profile.
Requires permission to access the CreateSecurityProfile action.
createStream(params = {}, callback) ⇒ AWS.Request
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.
createThing(params = {}, callback) ⇒ AWS.Request
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.Note: This is a control plane operation. See Authorization for information about authorizing control plane actions.Requires permission to access the CreateThing action.
createThingGroup(params = {}, callback) ⇒ AWS.Request
Create a thing group.
Note: This is a control plane operation. See Authorization for information about authorizing control plane actions. If theThingGroup
that you create has the exact same attributes as an existingThingGroup
, you will get a 200 success response.Requires permission to access the CreateThingGroup action.
createTopicRule(params = {}, callback) ⇒ AWS.Request
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.
createTopicRuleDestination(params = {}, callback) ⇒ AWS.Request
Creates a topic rule destination. The destination must be confirmed prior to use.
Requires permission to access the CreateTopicRuleDestination action.
deleteAccountAuditConfiguration(params = {}, callback) ⇒ AWS.Request
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.
deleteAuditSuppression(params = {}, callback) ⇒ AWS.Request
Deletes a Device Defender audit suppression.
Requires permission to access the DeleteAuditSuppression action.
deleteCertificate(params = {}, callback) ⇒ AWS.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.
deleteCertificateProvider(params = {}, callback) ⇒ AWS.Request
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).deleteCustomMetric(params = {}, callback) ⇒ AWS.Request
Deletes a Device Defender detect custom metric.
Requires permission to access the DeleteCustomMetric action.
Note: 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 withmetricName
set to your custom metric name.deleteDimension(params = {}, callback) ⇒ AWS.Request
Removes the specified dimension from your Amazon Web Services accounts.
Requires permission to access the DeleteDimension action.
deleteDomainConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes the specified domain configuration.
Requires permission to access the DeleteDomainConfiguration action.
deleteFleetMetric(params = {}, callback) ⇒ AWS.Request
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.
deleteJob(params = {}, callback) ⇒ AWS.Request
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.
deleteMitigationAction(params = {}, callback) ⇒ AWS.Request
Deletes a defined mitigation action from your Amazon Web Services accounts.
Requires permission to access the DeleteMitigationAction action.
deletePackage(params = {}, callback) ⇒ AWS.Request
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.
deletePackageVersion(params = {}, callback) ⇒ AWS.Request
Deletes a specific version from a software package.
Note: If a package version is designated as default, you must remove the designation from the software package using the UpdatePackage action.
deletePolicy(params = {}, callback) ⇒ AWS.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.
Note: 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.
deletePolicyVersion(params = {}, callback) ⇒ AWS.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.
deleteProvisioningTemplate(params = {}, callback) ⇒ AWS.Request
Deletes a provisioning template.
Requires permission to access the DeleteProvisioningTemplate action.
deleteProvisioningTemplateVersion(params = {}, callback) ⇒ AWS.Request
Deletes a provisioning template version.
Requires permission to access the DeleteProvisioningTemplateVersion action.
deleteRegistrationCode(params = {}, callback) ⇒ AWS.Request
Deletes a CA certificate registration code.
Requires permission to access the DeleteRegistrationCode action.
deleteSecurityProfile(params = {}, callback) ⇒ AWS.Request
Deletes a Device Defender security profile.
Requires permission to access the DeleteSecurityProfile action.
deleteThing(params = {}, callback) ⇒ AWS.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.
deleteThingType(params = {}, callback) ⇒ AWS.Request
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.
deleteTopicRuleDestination(params = {}, callback) ⇒ AWS.Request
Deletes a topic rule destination.
Requires permission to access the DeleteTopicRuleDestination action.
deprecateThingType(params = {}, callback) ⇒ AWS.Request
Deprecates a thing type. You can not associate new things with deprecated thing type.
Requires permission to access the DeprecateThingType action.
describeAccountAuditConfiguration(params = {}, callback) ⇒ AWS.Request
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.
describeAuditFinding(params = {}, callback) ⇒ AWS.Request
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.
describeAuditMitigationActionsTask(params = {}, callback) ⇒ AWS.Request
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.
describeAuditSuppression(params = {}, callback) ⇒ AWS.Request
Gets information about a Device Defender audit suppression.
describeAuditTask(params = {}, callback) ⇒ AWS.Request
Gets information about a Device Defender audit.
Requires permission to access the DescribeAuditTask action.
describeBillingGroup(params = {}, callback) ⇒ AWS.Request
Returns information about a billing group.
Requires permission to access the DescribeBillingGroup action.
describeCACertificate(params = {}, callback) ⇒ AWS.Request
Describes a registered CA certificate.
Requires permission to access the DescribeCACertificate action.
describeCertificate(params = {}, callback) ⇒ AWS.Request
Gets information about the specified certificate.
Requires permission to access the DescribeCertificate action.
describeCertificateProvider(params = {}, callback) ⇒ AWS.Request
Describes a certificate provider.
Requires permission to access the DescribeCertificateProvider action.
describeCustomMetric(params = {}, callback) ⇒ AWS.Request
Gets information about a Device Defender detect custom metric.
Requires permission to access the DescribeCustomMetric action.
describeDefaultAuthorizer(params = {}, callback) ⇒ AWS.Request
Describes the default authorizer.
Requires permission to access the DescribeDefaultAuthorizer action.
describeDetectMitigationActionsTask(params = {}, callback) ⇒ AWS.Request
Gets information about a Device Defender ML Detect mitigation action.
Requires permission to access the DescribeDetectMitigationActionsTask action.
describeDimension(params = {}, callback) ⇒ AWS.Request
Provides details about a dimension that is defined in your Amazon Web Services accounts.
Requires permission to access the DescribeDimension action.
describeDomainConfiguration(params = {}, callback) ⇒ AWS.Request
Gets summary information about a domain configuration.
Requires permission to access the DescribeDomainConfiguration action.
describeEndpoint(params = {}, callback) ⇒ AWS.Request
Returns or creates a unique endpoint specific to the Amazon Web Services account making the call.
Note: The first timeDescribeEndpoint
is called, an endpoint is created. All subsequent calls toDescribeEndpoint
return the same endpoint.Requires permission to access the DescribeEndpoint action.
describeEventConfigurations(params = {}, callback) ⇒ AWS.Request
Describes event configurations.
Requires permission to access the DescribeEventConfigurations action.
describeFleetMetric(params = {}, callback) ⇒ AWS.Request
Gets information about the specified fleet metric.
Requires permission to access the DescribeFleetMetric action.
describeManagedJobTemplate(params = {}, callback) ⇒ AWS.Request
View details of a managed job template.
describeMitigationAction(params = {}, callback) ⇒ AWS.Request
Gets information about a mitigation action.
Requires permission to access the DescribeMitigationAction action.
describeProvisioningTemplate(params = {}, callback) ⇒ AWS.Request
Returns information about a provisioning template.
Requires permission to access the DescribeProvisioningTemplate action.
describeProvisioningTemplateVersion(params = {}, callback) ⇒ AWS.Request
Returns information about a provisioning template version.
Requires permission to access the DescribeProvisioningTemplateVersion action.
describeScheduledAudit(params = {}, callback) ⇒ AWS.Request
Gets information about a scheduled audit.
Requires permission to access the DescribeScheduledAudit action.
describeSecurityProfile(params = {}, callback) ⇒ AWS.Request
Gets information about a Device Defender security profile.
Requires permission to access the DescribeSecurityProfile action.
describeThingRegistrationTask(params = {}, callback) ⇒ AWS.Request
Describes a bulk thing provisioning task.
Requires permission to access the DescribeThingRegistrationTask action.
describeThingType(params = {}, callback) ⇒ AWS.Request
Gets information about the specified thing type.
Requires permission to access the DescribeThingType action.
detachPolicy(params = {}, callback) ⇒ AWS.Request
Detaches a policy from the specified target.
Note: 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.
detachPrincipalPolicy(params = {}, callback) ⇒ AWS.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.
detachSecurityProfile(params = {}, callback) ⇒ AWS.Request
Disassociates a Device Defender security profile from a thing group or from this account.
Requires permission to access the DetachSecurityProfile action.
detachThingPrincipal(params = {}, callback) ⇒ AWS.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.
Note: This call is asynchronous. It might take several seconds for the detachment to propagate.Requires permission to access the DetachThingPrincipal action.
getBehaviorModelTrainingSummaries(params = {}, callback) ⇒ AWS.Request
Returns a Device Defender's ML Detect Security Profile training model's status.
Requires permission to access the GetBehaviorModelTrainingSummaries action.
getBucketsAggregation(params = {}, callback) ⇒ AWS.Request
Aggregates on indexed data with search queries pertaining to particular fields.
Requires permission to access the GetBucketsAggregation action.