@aws-sdk/client-iot 3.298.0 → 3.300.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AcceptCertificateTransferCommand.d.ts +4 -0
- package/dist-types/commands/AddThingToBillingGroupCommand.d.ts +6 -0
- package/dist-types/commands/AddThingToThingGroupCommand.d.ts +7 -0
- package/dist-types/commands/AssociateTargetsWithJobCommand.d.ts +8 -0
- package/dist-types/commands/AttachPolicyCommand.d.ts +4 -0
- package/dist-types/commands/AttachPrincipalPolicyCommand.d.ts +4 -0
- package/dist-types/commands/AttachSecurityProfileCommand.d.ts +4 -0
- package/dist-types/commands/AttachThingPrincipalCommand.d.ts +4 -0
- package/dist-types/commands/CancelAuditMitigationActionsTaskCommand.d.ts +3 -0
- package/dist-types/commands/CancelAuditTaskCommand.d.ts +3 -0
- package/dist-types/commands/CancelCertificateTransferCommand.d.ts +3 -0
- package/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +3 -0
- package/dist-types/commands/CancelJobCommand.d.ts +6 -0
- package/dist-types/commands/CancelJobExecutionCommand.d.ts +9 -0
- package/dist-types/commands/ClearDefaultAuthorizerCommand.d.ts +1 -0
- package/dist-types/commands/ConfirmTopicRuleDestinationCommand.d.ts +3 -0
- package/dist-types/commands/CreateAuditSuppressionCommand.d.ts +26 -0
- package/dist-types/commands/CreateAuthorizerCommand.d.ts +17 -0
- package/dist-types/commands/CreateBillingGroupCommand.d.ts +12 -0
- package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +4 -0
- package/dist-types/commands/CreateCustomMetricCommand.d.ts +12 -0
- package/dist-types/commands/CreateDimensionCommand.d.ts +14 -0
- package/dist-types/commands/CreateDomainConfigurationCommand.d.ts +19 -0
- package/dist-types/commands/CreateDynamicThingGroupCommand.d.ts +21 -0
- package/dist-types/commands/CreateFleetMetricCommand.d.ts +22 -0
- package/dist-types/commands/CreateJobCommand.d.ts +68 -0
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +55 -0
- package/dist-types/commands/CreateKeysAndCertificateCommand.d.ts +3 -0
- package/dist-types/commands/CreateMitigationActionCommand.d.ts +34 -0
- package/dist-types/commands/CreateOTAUpdateCommand.d.ts +97 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +10 -0
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +5 -0
- package/dist-types/commands/CreateProvisioningClaimCommand.d.ts +3 -0
- package/dist-types/commands/CreateProvisioningTemplateCommand.d.ts +18 -0
- package/dist-types/commands/CreateProvisioningTemplateVersionCommand.d.ts +5 -0
- package/dist-types/commands/CreateRoleAliasCommand.d.ts +11 -0
- package/dist-types/commands/CreateScheduledAuditCommand.d.ts +15 -0
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +67 -0
- package/dist-types/commands/CreateStreamCommand.d.ts +21 -0
- package/dist-types/commands/CreateThingCommand.d.ts +11 -0
- package/dist-types/commands/CreateThingGroupCommand.d.ts +19 -0
- package/dist-types/commands/CreateThingTypeCommand.d.ts +15 -0
- package/dist-types/commands/CreateTopicRuleCommand.d.ts +412 -0
- package/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +17 -0
- package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAuditSuppressionCommand.d.ts +22 -0
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBillingGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCACertificateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCustomMetricCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDimensionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDomainConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDynamicThingGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFleetMetricCommand.d.ts +4 -0
- package/dist-types/commands/DeleteJobCommand.d.ts +5 -0
- package/dist-types/commands/DeleteJobExecutionCommand.d.ts +7 -0
- package/dist-types/commands/DeleteJobTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMitigationActionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOTAUpdateCommand.d.ts +5 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteProvisioningTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteProvisioningTemplateVersionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRegistrationCodeCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRoleAliasCommand.d.ts +3 -0
- package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +3 -0
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -0
- package/dist-types/commands/DeleteStreamCommand.d.ts +3 -0
- package/dist-types/commands/DeleteThingCommand.d.ts +4 -0
- package/dist-types/commands/DeleteThingGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteThingTypeCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTopicRuleCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTopicRuleDestinationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteV2LoggingLevelCommand.d.ts +4 -0
- package/dist-types/commands/DeprecateThingTypeCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccountAuditConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAuditFindingCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAuditMitigationActionsTaskCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAuditSuppressionCommand.d.ts +22 -0
- package/dist-types/commands/DescribeAuditTaskCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAuthorizerCommand.d.ts +3 -0
- package/dist-types/commands/DescribeBillingGroupCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCACertificateCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCertificateCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCustomMetricCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDefaultAuthorizerCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDimensionCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDomainConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEventConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeFleetMetricCommand.d.ts +3 -0
- package/dist-types/commands/DescribeIndexCommand.d.ts +3 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeJobExecutionCommand.d.ts +5 -0
- package/dist-types/commands/DescribeJobTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DescribeManagedJobTemplateCommand.d.ts +4 -0
- package/dist-types/commands/DescribeMitigationActionCommand.d.ts +3 -0
- package/dist-types/commands/DescribeProvisioningTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DescribeProvisioningTemplateVersionCommand.d.ts +4 -0
- package/dist-types/commands/DescribeRoleAliasCommand.d.ts +3 -0
- package/dist-types/commands/DescribeScheduledAuditCommand.d.ts +3 -0
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStreamCommand.d.ts +3 -0
- package/dist-types/commands/DescribeThingCommand.d.ts +3 -0
- package/dist-types/commands/DescribeThingGroupCommand.d.ts +3 -0
- package/dist-types/commands/DescribeThingRegistrationTaskCommand.d.ts +3 -0
- package/dist-types/commands/DescribeThingTypeCommand.d.ts +3 -0
- package/dist-types/commands/DetachPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DetachPrincipalPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DetachSecurityProfileCommand.d.ts +4 -0
- package/dist-types/commands/DetachThingPrincipalCommand.d.ts +4 -0
- package/dist-types/commands/DisableTopicRuleCommand.d.ts +3 -0
- package/dist-types/commands/EnableTopicRuleCommand.d.ts +3 -0
- package/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +5 -0
- package/dist-types/commands/GetBucketsAggregationCommand.d.ts +11 -0
- package/dist-types/commands/GetCardinalityCommand.d.ts +6 -0
- package/dist-types/commands/GetEffectivePoliciesCommand.d.ts +5 -0
- package/dist-types/commands/GetIndexingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetJobDocumentCommand.d.ts +3 -0
- package/dist-types/commands/GetLoggingOptionsCommand.d.ts +1 -0
- package/dist-types/commands/GetOTAUpdateCommand.d.ts +3 -0
- package/dist-types/commands/GetPercentilesCommand.d.ts +9 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +4 -0
- package/dist-types/commands/GetRegistrationCodeCommand.d.ts +1 -0
- package/dist-types/commands/GetStatisticsCommand.d.ts +6 -0
- package/dist-types/commands/GetTopicRuleCommand.d.ts +3 -0
- package/dist-types/commands/GetTopicRuleDestinationCommand.d.ts +3 -0
- package/dist-types/commands/GetV2LoggingOptionsCommand.d.ts +1 -0
- package/dist-types/commands/ListActiveViolationsCommand.d.ts +9 -0
- package/dist-types/commands/ListAttachedPoliciesCommand.d.ts +6 -0
- package/dist-types/commands/ListAuditFindingsCommand.d.ts +28 -0
- package/dist-types/commands/ListAuditMitigationActionsExecutionsCommand.d.ts +7 -0
- package/dist-types/commands/ListAuditMitigationActionsTasksCommand.d.ts +9 -0
- package/dist-types/commands/ListAuditSuppressionsCommand.d.ts +25 -0
- package/dist-types/commands/ListAuditTasksCommand.d.ts +8 -0
- package/dist-types/commands/ListAuthorizersCommand.d.ts +6 -0
- package/dist-types/commands/ListBillingGroupsCommand.d.ts +5 -0
- package/dist-types/commands/ListCACertificatesCommand.d.ts +6 -0
- package/dist-types/commands/ListCertificatesByCACommand.d.ts +6 -0
- package/dist-types/commands/ListCertificatesCommand.d.ts +5 -0
- package/dist-types/commands/ListCustomMetricsCommand.d.ts +4 -0
- package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +9 -0
- package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +6 -0
- package/dist-types/commands/ListDimensionsCommand.d.ts +4 -0
- package/dist-types/commands/ListDomainConfigurationsCommand.d.ts +5 -0
- package/dist-types/commands/ListFleetMetricsCommand.d.ts +4 -0
- package/dist-types/commands/ListIndicesCommand.d.ts +4 -0
- package/dist-types/commands/ListJobExecutionsForJobCommand.d.ts +6 -0
- package/dist-types/commands/ListJobExecutionsForThingCommand.d.ts +8 -0
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +4 -0
- package/dist-types/commands/ListJobsCommand.d.ts +9 -0
- package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +5 -0
- package/dist-types/commands/ListMetricValuesCommand.d.ts +10 -0
- package/dist-types/commands/ListMitigationActionsCommand.d.ts +5 -0
- package/dist-types/commands/ListOTAUpdatesCommand.d.ts +5 -0
- package/dist-types/commands/ListOutgoingCertificatesCommand.d.ts +5 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListPolicyPrincipalsCommand.d.ts +6 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +3 -0
- package/dist-types/commands/ListPrincipalPoliciesCommand.d.ts +6 -0
- package/dist-types/commands/ListPrincipalThingsCommand.d.ts +5 -0
- package/dist-types/commands/ListProvisioningTemplateVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListProvisioningTemplatesCommand.d.ts +4 -0
- package/dist-types/commands/ListRelatedResourcesForAuditFindingCommand.d.ts +5 -0
- package/dist-types/commands/ListRoleAliasesCommand.d.ts +5 -0
- package/dist-types/commands/ListScheduledAuditsCommand.d.ts +4 -0
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +6 -0
- package/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +6 -0
- package/dist-types/commands/ListStreamsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +5 -0
- package/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +5 -0
- package/dist-types/commands/ListThingGroupsCommand.d.ts +7 -0
- package/dist-types/commands/ListThingGroupsForThingCommand.d.ts +5 -0
- package/dist-types/commands/ListThingPrincipalsCommand.d.ts +5 -0
- package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +6 -0
- package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +5 -0
- package/dist-types/commands/ListThingTypesCommand.d.ts +5 -0
- package/dist-types/commands/ListThingsCommand.d.ts +8 -0
- package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +5 -0
- package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +6 -0
- package/dist-types/commands/ListTopicRuleDestinationsCommand.d.ts +4 -0
- package/dist-types/commands/ListTopicRulesCommand.d.ts +6 -0
- package/dist-types/commands/ListV2LoggingLevelsCommand.d.ts +5 -0
- package/dist-types/commands/ListViolationEventsCommand.d.ts +11 -0
- package/dist-types/commands/PutVerificationStateOnViolationCommand.d.ts +5 -0
- package/dist-types/commands/RegisterCACertificateCommand.d.ts +18 -0
- package/dist-types/commands/RegisterCertificateCommand.d.ts +6 -0
- package/dist-types/commands/RegisterCertificateWithoutCACommand.d.ts +4 -0
- package/dist-types/commands/RegisterThingCommand.d.ts +6 -0
- package/dist-types/commands/RejectCertificateTransferCommand.d.ts +4 -0
- package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +6 -0
- package/dist-types/commands/RemoveThingFromThingGroupCommand.d.ts +6 -0
- package/dist-types/commands/ReplaceTopicRuleCommand.d.ts +411 -0
- package/dist-types/commands/SearchIndexCommand.d.ts +7 -0
- package/dist-types/commands/SetDefaultAuthorizerCommand.d.ts +3 -0
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +4 -0
- package/dist-types/commands/SetLoggingOptionsCommand.d.ts +6 -0
- package/dist-types/commands/SetV2LoggingLevelCommand.d.ts +7 -0
- package/dist-types/commands/SetV2LoggingOptionsCommand.d.ts +5 -0
- package/dist-types/commands/StartAuditMitigationActionsTaskCommand.d.ts +20 -0
- package/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +20 -0
- package/dist-types/commands/StartOnDemandAuditTaskCommand.d.ts +5 -0
- package/dist-types/commands/StartThingRegistrationTaskCommand.d.ts +6 -0
- package/dist-types/commands/StopThingRegistrationTaskCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/TestAuthorizationCommand.d.ts +19 -0
- package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +19 -0
- package/dist-types/commands/TransferCertificateCommand.d.ts +5 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAccountAuditConfigurationCommand.d.ts +15 -0
- package/dist-types/commands/UpdateAuditSuppressionCommand.d.ts +25 -0
- package/dist-types/commands/UpdateAuthorizerCommand.d.ts +10 -0
- package/dist-types/commands/UpdateBillingGroupCommand.d.ts +7 -0
- package/dist-types/commands/UpdateCACertificateCommand.d.ts +11 -0
- package/dist-types/commands/UpdateCertificateCommand.d.ts +4 -0
- package/dist-types/commands/UpdateCustomMetricCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDimensionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDomainConfigurationCommand.d.ts +9 -0
- package/dist-types/commands/UpdateDynamicThingGroupCommand.d.ts +16 -0
- package/dist-types/commands/UpdateEventConfigurationsCommand.d.ts +7 -0
- package/dist-types/commands/UpdateFleetMetricCommand.d.ts +17 -0
- package/dist-types/commands/UpdateIndexingConfigurationCommand.d.ts +40 -0
- package/dist-types/commands/UpdateJobCommand.d.ts +41 -0
- package/dist-types/commands/UpdateMitigationActionCommand.d.ts +28 -0
- package/dist-types/commands/UpdateProvisioningTemplateCommand.d.ts +12 -0
- package/dist-types/commands/UpdateRoleAliasCommand.d.ts +5 -0
- package/dist-types/commands/UpdateScheduledAuditCommand.d.ts +9 -0
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +65 -0
- package/dist-types/commands/UpdateStreamCommand.d.ts +15 -0
- package/dist-types/commands/UpdateThingCommand.d.ts +12 -0
- package/dist-types/commands/UpdateThingGroupCommand.d.ts +13 -0
- package/dist-types/commands/UpdateThingGroupsForThingCommand.d.ts +10 -0
- package/dist-types/commands/UpdateTopicRuleDestinationCommand.d.ts +4 -0
- package/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +41 -0
- package/package.json +12 -12
|
@@ -30,6 +30,10 @@ export interface AcceptCertificateTransferCommandOutput extends __MetadataBearer
|
|
|
30
30
|
* import { IoTClient, AcceptCertificateTransferCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
31
31
|
* // const { IoTClient, AcceptCertificateTransferCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
32
32
|
* const client = new IoTClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* certificateId: "STRING_VALUE", // required
|
|
35
|
+
* setAsActive: true || false,
|
|
36
|
+
* };
|
|
33
37
|
* const command = new AcceptCertificateTransferCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface AddThingToBillingGroupCommandOutput extends AddThingToBillingGr
|
|
|
27
27
|
* import { IoTClient, AddThingToBillingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, AddThingToBillingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* billingGroupName: "STRING_VALUE",
|
|
32
|
+
* billingGroupArn: "STRING_VALUE",
|
|
33
|
+
* thingName: "STRING_VALUE",
|
|
34
|
+
* thingArn: "STRING_VALUE",
|
|
35
|
+
* };
|
|
30
36
|
* const command = new AddThingToBillingGroupCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface AddThingToThingGroupCommandOutput extends AddThingToThingGroupR
|
|
|
27
27
|
* import { IoTClient, AddThingToThingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, AddThingToThingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* thingGroupName: "STRING_VALUE",
|
|
32
|
+
* thingGroupArn: "STRING_VALUE",
|
|
33
|
+
* thingName: "STRING_VALUE",
|
|
34
|
+
* thingArn: "STRING_VALUE",
|
|
35
|
+
* overrideDynamicGroups: true || false,
|
|
36
|
+
* };
|
|
30
37
|
* const command = new AddThingToThingGroupCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -39,6 +39,14 @@ export interface AssociateTargetsWithJobCommandOutput extends AssociateTargetsWi
|
|
|
39
39
|
* import { IoTClient, AssociateTargetsWithJobCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
40
40
|
* // const { IoTClient, AssociateTargetsWithJobCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
41
41
|
* const client = new IoTClient(config);
|
|
42
|
+
* const input = {
|
|
43
|
+
* targets: [ // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* jobId: "STRING_VALUE", // required
|
|
47
|
+
* comment: "STRING_VALUE",
|
|
48
|
+
* namespaceId: "STRING_VALUE",
|
|
49
|
+
* };
|
|
42
50
|
* const command = new AssociateTargetsWithJobCommand(input);
|
|
43
51
|
* const response = await client.send(command);
|
|
44
52
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface AttachPolicyCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { IoTClient, AttachPolicyCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, AttachPolicyCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* policyName: "STRING_VALUE", // required
|
|
33
|
+
* target: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new AttachPolicyCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -33,6 +33,10 @@ export interface AttachPrincipalPolicyCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* import { IoTClient, AttachPrincipalPolicyCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
34
34
|
* // const { IoTClient, AttachPrincipalPolicyCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
35
35
|
* const client = new IoTClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* policyName: "STRING_VALUE", // required
|
|
38
|
+
* principal: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
36
40
|
* const command = new AttachPrincipalPolicyCommand(input);
|
|
37
41
|
* const response = await client.send(command);
|
|
38
42
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface AttachSecurityProfileCommandOutput extends AttachSecurityProfil
|
|
|
28
28
|
* import { IoTClient, AttachSecurityProfileCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, AttachSecurityProfileCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* securityProfileName: "STRING_VALUE", // required
|
|
33
|
+
* securityProfileTargetArn: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new AttachSecurityProfileCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface AttachThingPrincipalCommandOutput extends AttachThingPrincipalR
|
|
|
28
28
|
* import { IoTClient, AttachThingPrincipalCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, AttachThingPrincipalCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* thingName: "STRING_VALUE", // required
|
|
33
|
+
* principal: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new AttachThingPrincipalCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface CancelAuditMitigationActionsTaskCommandOutput extends CancelAud
|
|
|
29
29
|
* import { IoTClient, CancelAuditMitigationActionsTaskCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, CancelAuditMitigationActionsTaskCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* taskId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new CancelAuditMitigationActionsTaskCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface CancelAuditTaskCommandOutput extends CancelAuditTaskResponse, _
|
|
|
27
27
|
* import { IoTClient, CancelAuditTaskCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CancelAuditTaskCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* taskId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new CancelAuditTaskCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface CancelCertificateTransferCommandOutput extends __MetadataBearer
|
|
|
34
34
|
* import { IoTClient, CancelCertificateTransferCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
35
35
|
* // const { IoTClient, CancelCertificateTransferCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
36
36
|
* const client = new IoTClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* certificateId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new CancelCertificateTransferCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface CancelDetectMitigationActionsTaskCommandOutput extends CancelDe
|
|
|
29
29
|
* import { IoTClient, CancelDetectMitigationActionsTaskCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, CancelDetectMitigationActionsTaskCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* taskId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new CancelDetectMitigationActionsTaskCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
|
|
|
27
27
|
* import { IoTClient, CancelJobCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CancelJobCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* jobId: "STRING_VALUE", // required
|
|
32
|
+
* reasonCode: "STRING_VALUE",
|
|
33
|
+
* comment: "STRING_VALUE",
|
|
34
|
+
* force: true || false,
|
|
35
|
+
* };
|
|
30
36
|
* const command = new CancelJobCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface CancelJobExecutionCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { IoTClient, CancelJobExecutionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CancelJobExecutionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* jobId: "STRING_VALUE", // required
|
|
32
|
+
* thingName: "STRING_VALUE", // required
|
|
33
|
+
* force: true || false,
|
|
34
|
+
* expectedVersion: Number("long"),
|
|
35
|
+
* statusDetails: {
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
30
39
|
* const command = new CancelJobExecutionCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -27,6 +27,7 @@ export interface ClearDefaultAuthorizerCommandOutput extends ClearDefaultAuthori
|
|
|
27
27
|
* import { IoTClient, ClearDefaultAuthorizerCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ClearDefaultAuthorizerCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {};
|
|
30
31
|
* const command = new ClearDefaultAuthorizerCommand(input);
|
|
31
32
|
* const response = await client.send(command);
|
|
32
33
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface ConfirmTopicRuleDestinationCommandOutput extends ConfirmTopicRu
|
|
|
30
30
|
* import { IoTClient, ConfirmTopicRuleDestinationCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
31
31
|
* // const { IoTClient, ConfirmTopicRuleDestinationCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
32
32
|
* const client = new IoTClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* confirmationToken: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new ConfirmTopicRuleDestinationCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -29,6 +29,32 @@ export interface CreateAuditSuppressionCommandOutput extends CreateAuditSuppress
|
|
|
29
29
|
* import { IoTClient, CreateAuditSuppressionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, CreateAuditSuppressionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* checkName: "STRING_VALUE", // required
|
|
34
|
+
* resourceIdentifier: {
|
|
35
|
+
* deviceCertificateId: "STRING_VALUE",
|
|
36
|
+
* caCertificateId: "STRING_VALUE",
|
|
37
|
+
* cognitoIdentityPoolId: "STRING_VALUE",
|
|
38
|
+
* clientId: "STRING_VALUE",
|
|
39
|
+
* policyVersionIdentifier: {
|
|
40
|
+
* policyName: "STRING_VALUE",
|
|
41
|
+
* policyVersionId: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* account: "STRING_VALUE",
|
|
44
|
+
* iamRoleArn: "STRING_VALUE",
|
|
45
|
+
* roleAliasArn: "STRING_VALUE",
|
|
46
|
+
* issuerCertificateIdentifier: {
|
|
47
|
+
* issuerCertificateSubject: "STRING_VALUE",
|
|
48
|
+
* issuerId: "STRING_VALUE",
|
|
49
|
+
* issuerCertificateSerialNumber: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* deviceCertificateArn: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* expirationDate: new Date("TIMESTAMP"),
|
|
54
|
+
* suppressIndefinitely: true || false,
|
|
55
|
+
* description: "STRING_VALUE",
|
|
56
|
+
* clientRequestToken: "STRING_VALUE", // required
|
|
57
|
+
* };
|
|
32
58
|
* const command = new CreateAuditSuppressionCommand(input);
|
|
33
59
|
* const response = await client.send(command);
|
|
34
60
|
* ```
|
|
@@ -27,6 +27,23 @@ export interface CreateAuthorizerCommandOutput extends CreateAuthorizerResponse,
|
|
|
27
27
|
* import { IoTClient, CreateAuthorizerCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateAuthorizerCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* authorizerName: "STRING_VALUE", // required
|
|
32
|
+
* authorizerFunctionArn: "STRING_VALUE", // required
|
|
33
|
+
* tokenKeyName: "STRING_VALUE",
|
|
34
|
+
* tokenSigningPublicKeys: {
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* status: "ACTIVE" || "INACTIVE",
|
|
38
|
+
* tags: [
|
|
39
|
+
* {
|
|
40
|
+
* Key: "STRING_VALUE", // required
|
|
41
|
+
* Value: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* signingDisabled: true || false,
|
|
45
|
+
* enableCachingForHttp: true || false,
|
|
46
|
+
* };
|
|
30
47
|
* const command = new CreateAuthorizerCommand(input);
|
|
31
48
|
* const response = await client.send(command);
|
|
32
49
|
* ```
|
|
@@ -27,6 +27,18 @@ export interface CreateBillingGroupCommandOutput extends CreateBillingGroupRespo
|
|
|
27
27
|
* import { IoTClient, CreateBillingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateBillingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* billingGroupName: "STRING_VALUE", // required
|
|
32
|
+
* billingGroupProperties: {
|
|
33
|
+
* billingGroupDescription: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* tags: [
|
|
36
|
+
* {
|
|
37
|
+
* Key: "STRING_VALUE", // required
|
|
38
|
+
* Value: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
30
42
|
* const command = new CreateBillingGroupCommand(input);
|
|
31
43
|
* const response = await client.send(command);
|
|
32
44
|
* ```
|
|
@@ -75,6 +75,10 @@ export interface CreateCertificateFromCsrCommandOutput extends CreateCertificate
|
|
|
75
75
|
* import { IoTClient, CreateCertificateFromCsrCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
76
76
|
* // const { IoTClient, CreateCertificateFromCsrCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
77
77
|
* const client = new IoTClient(config);
|
|
78
|
+
* const input = {
|
|
79
|
+
* certificateSigningRequest: "STRING_VALUE", // required
|
|
80
|
+
* setAsActive: true || false,
|
|
81
|
+
* };
|
|
78
82
|
* const command = new CreateCertificateFromCsrCommand(input);
|
|
79
83
|
* const response = await client.send(command);
|
|
80
84
|
* ```
|
|
@@ -30,6 +30,18 @@ export interface CreateCustomMetricCommandOutput extends CreateCustomMetricRespo
|
|
|
30
30
|
* import { IoTClient, CreateCustomMetricCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
31
31
|
* // const { IoTClient, CreateCustomMetricCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
32
32
|
* const client = new IoTClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* metricName: "STRING_VALUE", // required
|
|
35
|
+
* displayName: "STRING_VALUE",
|
|
36
|
+
* metricType: "string-list" || "ip-address-list" || "number-list" || "number", // required
|
|
37
|
+
* tags: [
|
|
38
|
+
* {
|
|
39
|
+
* Key: "STRING_VALUE", // required
|
|
40
|
+
* Value: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* clientRequestToken: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
33
45
|
* const command = new CreateCustomMetricCommand(input);
|
|
34
46
|
* const response = await client.send(command);
|
|
35
47
|
* ```
|
|
@@ -28,6 +28,20 @@ export interface CreateDimensionCommandOutput extends CreateDimensionResponse, _
|
|
|
28
28
|
* import { IoTClient, CreateDimensionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, CreateDimensionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* name: "STRING_VALUE", // required
|
|
33
|
+
* type: "TOPIC_FILTER", // required
|
|
34
|
+
* stringValues: [ // required
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* tags: [
|
|
38
|
+
* {
|
|
39
|
+
* Key: "STRING_VALUE", // required
|
|
40
|
+
* Value: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* clientRequestToken: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
31
45
|
* const command = new CreateDimensionCommand(input);
|
|
32
46
|
* const response = await client.send(command);
|
|
33
47
|
* ```
|
|
@@ -27,6 +27,25 @@ export interface CreateDomainConfigurationCommandOutput extends CreateDomainConf
|
|
|
27
27
|
* import { IoTClient, CreateDomainConfigurationCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateDomainConfigurationCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* domainConfigurationName: "STRING_VALUE", // required
|
|
32
|
+
* domainName: "STRING_VALUE",
|
|
33
|
+
* serverCertificateArns: [
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* validationCertificateArn: "STRING_VALUE",
|
|
37
|
+
* authorizerConfig: {
|
|
38
|
+
* defaultAuthorizerName: "STRING_VALUE",
|
|
39
|
+
* allowAuthorizerOverride: true || false,
|
|
40
|
+
* },
|
|
41
|
+
* serviceType: "DATA" || "CREDENTIAL_PROVIDER" || "JOBS",
|
|
42
|
+
* tags: [
|
|
43
|
+
* {
|
|
44
|
+
* Key: "STRING_VALUE", // required
|
|
45
|
+
* Value: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
30
49
|
* const command = new CreateDomainConfigurationCommand(input);
|
|
31
50
|
* const response = await client.send(command);
|
|
32
51
|
* ```
|
|
@@ -27,6 +27,27 @@ export interface CreateDynamicThingGroupCommandOutput extends CreateDynamicThing
|
|
|
27
27
|
* import { IoTClient, CreateDynamicThingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateDynamicThingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* thingGroupName: "STRING_VALUE", // required
|
|
32
|
+
* thingGroupProperties: {
|
|
33
|
+
* thingGroupDescription: "STRING_VALUE",
|
|
34
|
+
* attributePayload: {
|
|
35
|
+
* attributes: {
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* merge: true || false,
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* indexName: "STRING_VALUE",
|
|
42
|
+
* queryString: "STRING_VALUE", // required
|
|
43
|
+
* queryVersion: "STRING_VALUE",
|
|
44
|
+
* tags: [
|
|
45
|
+
* {
|
|
46
|
+
* Key: "STRING_VALUE", // required
|
|
47
|
+
* Value: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* };
|
|
30
51
|
* const command = new CreateDynamicThingGroupCommand(input);
|
|
31
52
|
* const response = await client.send(command);
|
|
32
53
|
* ```
|
|
@@ -27,6 +27,28 @@ export interface CreateFleetMetricCommandOutput extends CreateFleetMetricRespons
|
|
|
27
27
|
* import { IoTClient, CreateFleetMetricCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateFleetMetricCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* metricName: "STRING_VALUE", // required
|
|
32
|
+
* queryString: "STRING_VALUE", // required
|
|
33
|
+
* aggregationType: {
|
|
34
|
+
* name: "Statistics" || "Percentiles" || "Cardinality", // required
|
|
35
|
+
* values: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* period: Number("int"), // required
|
|
40
|
+
* aggregationField: "STRING_VALUE", // required
|
|
41
|
+
* description: "STRING_VALUE",
|
|
42
|
+
* queryVersion: "STRING_VALUE",
|
|
43
|
+
* indexName: "STRING_VALUE",
|
|
44
|
+
* unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
45
|
+
* tags: [
|
|
46
|
+
* {
|
|
47
|
+
* Key: "STRING_VALUE", // required
|
|
48
|
+
* Value: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* };
|
|
30
52
|
* const command = new CreateFleetMetricCommand(input);
|
|
31
53
|
* const response = await client.send(command);
|
|
32
54
|
* ```
|
|
@@ -27,6 +27,74 @@ export interface CreateJobCommandOutput extends CreateJobResponse, __MetadataBea
|
|
|
27
27
|
* import { IoTClient, CreateJobCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateJobCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* jobId: "STRING_VALUE", // required
|
|
32
|
+
* targets: [ // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* documentSource: "STRING_VALUE",
|
|
36
|
+
* document: "STRING_VALUE",
|
|
37
|
+
* description: "STRING_VALUE",
|
|
38
|
+
* presignedUrlConfig: {
|
|
39
|
+
* roleArn: "STRING_VALUE",
|
|
40
|
+
* expiresInSec: Number("long"),
|
|
41
|
+
* },
|
|
42
|
+
* targetSelection: "CONTINUOUS" || "SNAPSHOT",
|
|
43
|
+
* jobExecutionsRolloutConfig: {
|
|
44
|
+
* maximumPerMinute: Number("int"),
|
|
45
|
+
* exponentialRate: {
|
|
46
|
+
* baseRatePerMinute: Number("int"), // required
|
|
47
|
+
* incrementFactor: Number("double"), // required
|
|
48
|
+
* rateIncreaseCriteria: {
|
|
49
|
+
* numberOfNotifiedThings: Number("int"),
|
|
50
|
+
* numberOfSucceededThings: Number("int"),
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* abortConfig: {
|
|
55
|
+
* criteriaList: [ // required
|
|
56
|
+
* {
|
|
57
|
+
* failureType: "FAILED" || "REJECTED" || "TIMED_OUT" || "ALL", // required
|
|
58
|
+
* action: "CANCEL", // required
|
|
59
|
+
* thresholdPercentage: Number("double"), // required
|
|
60
|
+
* minNumberOfExecutedThings: Number("int"), // required
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* timeoutConfig: {
|
|
65
|
+
* inProgressTimeoutInMinutes: Number("long"),
|
|
66
|
+
* },
|
|
67
|
+
* tags: [
|
|
68
|
+
* {
|
|
69
|
+
* Key: "STRING_VALUE", // required
|
|
70
|
+
* Value: "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* ],
|
|
73
|
+
* namespaceId: "STRING_VALUE",
|
|
74
|
+
* jobTemplateArn: "STRING_VALUE",
|
|
75
|
+
* jobExecutionsRetryConfig: {
|
|
76
|
+
* criteriaList: [ // required
|
|
77
|
+
* {
|
|
78
|
+
* failureType: "FAILED" || "TIMED_OUT" || "ALL", // required
|
|
79
|
+
* numberOfRetries: Number("int"), // required
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* },
|
|
83
|
+
* documentParameters: {
|
|
84
|
+
* "<keys>": "STRING_VALUE",
|
|
85
|
+
* },
|
|
86
|
+
* schedulingConfig: {
|
|
87
|
+
* startTime: "STRING_VALUE",
|
|
88
|
+
* endTime: "STRING_VALUE",
|
|
89
|
+
* endBehavior: "STOP_ROLLOUT" || "CANCEL" || "FORCE_CANCEL",
|
|
90
|
+
* maintenanceWindows: [
|
|
91
|
+
* {
|
|
92
|
+
* startTime: "STRING_VALUE", // required
|
|
93
|
+
* durationInMinutes: Number("int"), // required
|
|
94
|
+
* },
|
|
95
|
+
* ],
|
|
96
|
+
* },
|
|
97
|
+
* };
|
|
30
98
|
* const command = new CreateJobCommand(input);
|
|
31
99
|
* const response = await client.send(command);
|
|
32
100
|
* ```
|
|
@@ -27,6 +27,61 @@ export interface CreateJobTemplateCommandOutput extends CreateJobTemplateRespons
|
|
|
27
27
|
* import { IoTClient, CreateJobTemplateCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateJobTemplateCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* jobTemplateId: "STRING_VALUE", // required
|
|
32
|
+
* jobArn: "STRING_VALUE",
|
|
33
|
+
* documentSource: "STRING_VALUE",
|
|
34
|
+
* document: "STRING_VALUE",
|
|
35
|
+
* description: "STRING_VALUE", // required
|
|
36
|
+
* presignedUrlConfig: {
|
|
37
|
+
* roleArn: "STRING_VALUE",
|
|
38
|
+
* expiresInSec: Number("long"),
|
|
39
|
+
* },
|
|
40
|
+
* jobExecutionsRolloutConfig: {
|
|
41
|
+
* maximumPerMinute: Number("int"),
|
|
42
|
+
* exponentialRate: {
|
|
43
|
+
* baseRatePerMinute: Number("int"), // required
|
|
44
|
+
* incrementFactor: Number("double"), // required
|
|
45
|
+
* rateIncreaseCriteria: {
|
|
46
|
+
* numberOfNotifiedThings: Number("int"),
|
|
47
|
+
* numberOfSucceededThings: Number("int"),
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* abortConfig: {
|
|
52
|
+
* criteriaList: [ // required
|
|
53
|
+
* {
|
|
54
|
+
* failureType: "FAILED" || "REJECTED" || "TIMED_OUT" || "ALL", // required
|
|
55
|
+
* action: "CANCEL", // required
|
|
56
|
+
* thresholdPercentage: Number("double"), // required
|
|
57
|
+
* minNumberOfExecutedThings: Number("int"), // required
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* timeoutConfig: {
|
|
62
|
+
* inProgressTimeoutInMinutes: Number("long"),
|
|
63
|
+
* },
|
|
64
|
+
* tags: [
|
|
65
|
+
* {
|
|
66
|
+
* Key: "STRING_VALUE", // required
|
|
67
|
+
* Value: "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* jobExecutionsRetryConfig: {
|
|
71
|
+
* criteriaList: [ // required
|
|
72
|
+
* {
|
|
73
|
+
* failureType: "FAILED" || "TIMED_OUT" || "ALL", // required
|
|
74
|
+
* numberOfRetries: Number("int"), // required
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
78
|
+
* maintenanceWindows: [
|
|
79
|
+
* {
|
|
80
|
+
* startTime: "STRING_VALUE", // required
|
|
81
|
+
* durationInMinutes: Number("int"), // required
|
|
82
|
+
* },
|
|
83
|
+
* ],
|
|
84
|
+
* };
|
|
30
85
|
* const command = new CreateJobTemplateCommand(input);
|
|
31
86
|
* const response = await client.send(command);
|
|
32
87
|
* ```
|
|
@@ -32,6 +32,9 @@ export interface CreateKeysAndCertificateCommandOutput extends CreateKeysAndCert
|
|
|
32
32
|
* import { IoTClient, CreateKeysAndCertificateCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
33
33
|
* // const { IoTClient, CreateKeysAndCertificateCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
34
34
|
* const client = new IoTClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* setAsActive: true || false,
|
|
37
|
+
* };
|
|
35
38
|
* const command = new CreateKeysAndCertificateCommand(input);
|
|
36
39
|
* const response = await client.send(command);
|
|
37
40
|
* ```
|
|
@@ -28,6 +28,40 @@ export interface CreateMitigationActionCommandOutput extends CreateMitigationAct
|
|
|
28
28
|
* import { IoTClient, CreateMitigationActionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, CreateMitigationActionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* actionName: "STRING_VALUE", // required
|
|
33
|
+
* roleArn: "STRING_VALUE", // required
|
|
34
|
+
* actionParams: {
|
|
35
|
+
* updateDeviceCertificateParams: {
|
|
36
|
+
* action: "DEACTIVATE", // required
|
|
37
|
+
* },
|
|
38
|
+
* updateCACertificateParams: {
|
|
39
|
+
* action: "DEACTIVATE", // required
|
|
40
|
+
* },
|
|
41
|
+
* addThingsToThingGroupParams: {
|
|
42
|
+
* thingGroupNames: [ // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* overrideDynamicGroups: true || false,
|
|
46
|
+
* },
|
|
47
|
+
* replaceDefaultPolicyVersionParams: {
|
|
48
|
+
* templateName: "BLANK_POLICY", // required
|
|
49
|
+
* },
|
|
50
|
+
* enableIoTLoggingParams: {
|
|
51
|
+
* roleArnForLogging: "STRING_VALUE", // required
|
|
52
|
+
* logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED", // required
|
|
53
|
+
* },
|
|
54
|
+
* publishFindingToSnsParams: {
|
|
55
|
+
* topicArn: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* tags: [
|
|
59
|
+
* {
|
|
60
|
+
* Key: "STRING_VALUE", // required
|
|
61
|
+
* Value: "STRING_VALUE",
|
|
62
|
+
* },
|
|
63
|
+
* ],
|
|
64
|
+
* };
|
|
31
65
|
* const command = new CreateMitigationActionCommand(input);
|
|
32
66
|
* const response = await client.send(command);
|
|
33
67
|
* ```
|