@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
|
@@ -27,6 +27,103 @@ export interface CreateOTAUpdateCommandOutput extends CreateOTAUpdateResponse, _
|
|
|
27
27
|
* import { IoTClient, CreateOTAUpdateCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateOTAUpdateCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* otaUpdateId: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* targets: [ // required
|
|
34
|
+
* "STRING_VALUE",
|
|
35
|
+
* ],
|
|
36
|
+
* protocols: [
|
|
37
|
+
* "MQTT" || "HTTP",
|
|
38
|
+
* ],
|
|
39
|
+
* targetSelection: "CONTINUOUS" || "SNAPSHOT",
|
|
40
|
+
* awsJobExecutionsRolloutConfig: {
|
|
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
|
+
* awsJobPresignedUrlConfig: {
|
|
52
|
+
* expiresInSec: Number("long"),
|
|
53
|
+
* },
|
|
54
|
+
* awsJobAbortConfig: {
|
|
55
|
+
* abortCriteriaList: [ // 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
|
+
* awsJobTimeoutConfig: {
|
|
65
|
+
* inProgressTimeoutInMinutes: Number("long"),
|
|
66
|
+
* },
|
|
67
|
+
* files: [ // required
|
|
68
|
+
* {
|
|
69
|
+
* fileName: "STRING_VALUE",
|
|
70
|
+
* fileType: Number("int"),
|
|
71
|
+
* fileVersion: "STRING_VALUE",
|
|
72
|
+
* fileLocation: {
|
|
73
|
+
* stream: {
|
|
74
|
+
* streamId: "STRING_VALUE",
|
|
75
|
+
* fileId: Number("int"),
|
|
76
|
+
* },
|
|
77
|
+
* s3Location: {
|
|
78
|
+
* bucket: "STRING_VALUE",
|
|
79
|
+
* key: "STRING_VALUE",
|
|
80
|
+
* version: "STRING_VALUE",
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* codeSigning: {
|
|
84
|
+
* awsSignerJobId: "STRING_VALUE",
|
|
85
|
+
* startSigningJobParameter: {
|
|
86
|
+
* signingProfileParameter: {
|
|
87
|
+
* certificateArn: "STRING_VALUE",
|
|
88
|
+
* platform: "STRING_VALUE",
|
|
89
|
+
* certificatePathOnDevice: "STRING_VALUE",
|
|
90
|
+
* },
|
|
91
|
+
* signingProfileName: "STRING_VALUE",
|
|
92
|
+
* destination: {
|
|
93
|
+
* s3Destination: {
|
|
94
|
+
* bucket: "STRING_VALUE",
|
|
95
|
+
* prefix: "STRING_VALUE",
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* customCodeSigning: {
|
|
100
|
+
* signature: {
|
|
101
|
+
* inlineDocument: "BLOB_VALUE",
|
|
102
|
+
* },
|
|
103
|
+
* certificateChain: {
|
|
104
|
+
* certificateName: "STRING_VALUE",
|
|
105
|
+
* inlineDocument: "STRING_VALUE",
|
|
106
|
+
* },
|
|
107
|
+
* hashAlgorithm: "STRING_VALUE",
|
|
108
|
+
* signatureAlgorithm: "STRING_VALUE",
|
|
109
|
+
* },
|
|
110
|
+
* },
|
|
111
|
+
* attributes: {
|
|
112
|
+
* "<keys>": "STRING_VALUE",
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* roleArn: "STRING_VALUE", // required
|
|
117
|
+
* additionalParameters: {
|
|
118
|
+
* "<keys>": "STRING_VALUE",
|
|
119
|
+
* },
|
|
120
|
+
* tags: [
|
|
121
|
+
* {
|
|
122
|
+
* Key: "STRING_VALUE", // required
|
|
123
|
+
* Value: "STRING_VALUE",
|
|
124
|
+
* },
|
|
125
|
+
* ],
|
|
126
|
+
* };
|
|
30
127
|
* const command = new CreateOTAUpdateCommand(input);
|
|
31
128
|
* const response = await client.send(command);
|
|
32
129
|
* ```
|
|
@@ -30,6 +30,16 @@ export interface CreatePolicyCommandOutput extends CreatePolicyResponse, __Metad
|
|
|
30
30
|
* import { IoTClient, CreatePolicyCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
31
31
|
* // const { IoTClient, CreatePolicyCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
32
32
|
* const client = new IoTClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* policyName: "STRING_VALUE", // required
|
|
35
|
+
* policyDocument: "STRING_VALUE", // required
|
|
36
|
+
* tags: [
|
|
37
|
+
* {
|
|
38
|
+
* Key: "STRING_VALUE", // required
|
|
39
|
+
* Value: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
33
43
|
* const command = new CreatePolicyCommand(input);
|
|
34
44
|
* const response = await client.send(command);
|
|
35
45
|
* ```
|
|
@@ -33,6 +33,11 @@ export interface CreatePolicyVersionCommandOutput extends CreatePolicyVersionRes
|
|
|
33
33
|
* import { IoTClient, CreatePolicyVersionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
34
34
|
* // const { IoTClient, CreatePolicyVersionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
35
35
|
* const client = new IoTClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* policyName: "STRING_VALUE", // required
|
|
38
|
+
* policyDocument: "STRING_VALUE", // required
|
|
39
|
+
* setAsDefault: true || false,
|
|
40
|
+
* };
|
|
36
41
|
* const command = new CreatePolicyVersionCommand(input);
|
|
37
42
|
* const response = await client.send(command);
|
|
38
43
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface CreateProvisioningClaimCommandOutput extends CreateProvisioning
|
|
|
27
27
|
* import { IoTClient, CreateProvisioningClaimCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateProvisioningClaimCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* templateName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new CreateProvisioningClaimCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,24 @@ export interface CreateProvisioningTemplateCommandOutput extends CreateProvision
|
|
|
27
27
|
* import { IoTClient, CreateProvisioningTemplateCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateProvisioningTemplateCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* templateName: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* templateBody: "STRING_VALUE", // required
|
|
34
|
+
* enabled: true || false,
|
|
35
|
+
* provisioningRoleArn: "STRING_VALUE", // required
|
|
36
|
+
* preProvisioningHook: {
|
|
37
|
+
* payloadVersion: "STRING_VALUE",
|
|
38
|
+
* targetArn: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* tags: [
|
|
41
|
+
* {
|
|
42
|
+
* Key: "STRING_VALUE", // required
|
|
43
|
+
* Value: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* type: "FLEET_PROVISIONING" || "JITP",
|
|
47
|
+
* };
|
|
30
48
|
* const command = new CreateProvisioningTemplateCommand(input);
|
|
31
49
|
* const response = await client.send(command);
|
|
32
50
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface CreateProvisioningTemplateVersionCommandOutput extends CreatePr
|
|
|
27
27
|
* import { IoTClient, CreateProvisioningTemplateVersionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateProvisioningTemplateVersionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* templateName: "STRING_VALUE", // required
|
|
32
|
+
* templateBody: "STRING_VALUE", // required
|
|
33
|
+
* setAsDefault: true || false,
|
|
34
|
+
* };
|
|
30
35
|
* const command = new CreateProvisioningTemplateVersionCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,17 @@ export interface CreateRoleAliasCommandOutput extends CreateRoleAliasResponse, _
|
|
|
27
27
|
* import { IoTClient, CreateRoleAliasCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateRoleAliasCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* roleAlias: "STRING_VALUE", // required
|
|
32
|
+
* roleArn: "STRING_VALUE", // required
|
|
33
|
+
* credentialDurationSeconds: Number("int"),
|
|
34
|
+
* tags: [
|
|
35
|
+
* {
|
|
36
|
+
* Key: "STRING_VALUE", // required
|
|
37
|
+
* Value: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
30
41
|
* const command = new CreateRoleAliasCommand(input);
|
|
31
42
|
* const response = await client.send(command);
|
|
32
43
|
* ```
|
|
@@ -28,6 +28,21 @@ export interface CreateScheduledAuditCommandOutput extends CreateScheduledAuditR
|
|
|
28
28
|
* import { IoTClient, CreateScheduledAuditCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, CreateScheduledAuditCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* frequency: "DAILY" || "WEEKLY" || "BIWEEKLY" || "MONTHLY", // required
|
|
33
|
+
* dayOfMonth: "STRING_VALUE",
|
|
34
|
+
* dayOfWeek: "SUN" || "MON" || "TUE" || "WED" || "THU" || "FRI" || "SAT",
|
|
35
|
+
* targetCheckNames: [ // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* scheduledAuditName: "STRING_VALUE", // required
|
|
39
|
+
* tags: [
|
|
40
|
+
* {
|
|
41
|
+
* Key: "STRING_VALUE", // required
|
|
42
|
+
* Value: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
31
46
|
* const command = new CreateScheduledAuditCommand(input);
|
|
32
47
|
* const response = await client.send(command);
|
|
33
48
|
* ```
|
|
@@ -27,6 +27,73 @@ export interface CreateSecurityProfileCommandOutput extends CreateSecurityProfil
|
|
|
27
27
|
* import { IoTClient, CreateSecurityProfileCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateSecurityProfileCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* securityProfileName: "STRING_VALUE", // required
|
|
32
|
+
* securityProfileDescription: "STRING_VALUE",
|
|
33
|
+
* behaviors: [
|
|
34
|
+
* {
|
|
35
|
+
* name: "STRING_VALUE", // required
|
|
36
|
+
* metric: "STRING_VALUE",
|
|
37
|
+
* metricDimension: {
|
|
38
|
+
* dimensionName: "STRING_VALUE", // required
|
|
39
|
+
* operator: "IN" || "NOT_IN",
|
|
40
|
+
* },
|
|
41
|
+
* criteria: {
|
|
42
|
+
* comparisonOperator: "less-than" || "less-than-equals" || "greater-than" || "greater-than-equals" || "in-cidr-set" || "not-in-cidr-set" || "in-port-set" || "not-in-port-set" || "in-set" || "not-in-set",
|
|
43
|
+
* value: {
|
|
44
|
+
* count: Number("long"),
|
|
45
|
+
* cidrs: [
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* ports: [
|
|
49
|
+
* Number("int"),
|
|
50
|
+
* ],
|
|
51
|
+
* number: Number("double"),
|
|
52
|
+
* numbers: [
|
|
53
|
+
* Number("double"),
|
|
54
|
+
* ],
|
|
55
|
+
* strings: [
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* durationSeconds: Number("int"),
|
|
60
|
+
* consecutiveDatapointsToAlarm: Number("int"),
|
|
61
|
+
* consecutiveDatapointsToClear: Number("int"),
|
|
62
|
+
* statisticalThreshold: {
|
|
63
|
+
* statistic: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* mlDetectionConfig: {
|
|
66
|
+
* confidenceLevel: "LOW" || "MEDIUM" || "HIGH", // required
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* suppressAlerts: true || false,
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* alertTargets: {
|
|
73
|
+
* "<keys>": {
|
|
74
|
+
* alertTargetArn: "STRING_VALUE", // required
|
|
75
|
+
* roleArn: "STRING_VALUE", // required
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* additionalMetricsToRetain: [
|
|
79
|
+
* "STRING_VALUE",
|
|
80
|
+
* ],
|
|
81
|
+
* additionalMetricsToRetainV2: [
|
|
82
|
+
* {
|
|
83
|
+
* metric: "STRING_VALUE", // required
|
|
84
|
+
* metricDimension: {
|
|
85
|
+
* dimensionName: "STRING_VALUE", // required
|
|
86
|
+
* operator: "IN" || "NOT_IN",
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* tags: [
|
|
91
|
+
* {
|
|
92
|
+
* Key: "STRING_VALUE", // required
|
|
93
|
+
* Value: "STRING_VALUE",
|
|
94
|
+
* },
|
|
95
|
+
* ],
|
|
96
|
+
* };
|
|
30
97
|
* const command = new CreateSecurityProfileCommand(input);
|
|
31
98
|
* const response = await client.send(command);
|
|
32
99
|
* ```
|
|
@@ -29,6 +29,27 @@ export interface CreateStreamCommandOutput extends CreateStreamResponse, __Metad
|
|
|
29
29
|
* import { IoTClient, CreateStreamCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, CreateStreamCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* streamId: "STRING_VALUE", // required
|
|
34
|
+
* description: "STRING_VALUE",
|
|
35
|
+
* files: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* fileId: Number("int"),
|
|
38
|
+
* s3Location: {
|
|
39
|
+
* bucket: "STRING_VALUE",
|
|
40
|
+
* key: "STRING_VALUE",
|
|
41
|
+
* version: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* roleArn: "STRING_VALUE", // required
|
|
46
|
+
* tags: [
|
|
47
|
+
* {
|
|
48
|
+
* Key: "STRING_VALUE", // required
|
|
49
|
+
* Value: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* };
|
|
32
53
|
* const command = new CreateStreamCommand(input);
|
|
33
54
|
* const response = await client.send(command);
|
|
34
55
|
* ```
|
|
@@ -34,6 +34,17 @@ export interface CreateThingCommandOutput extends CreateThingResponse, __Metadat
|
|
|
34
34
|
* import { IoTClient, CreateThingCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
35
35
|
* // const { IoTClient, CreateThingCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
36
36
|
* const client = new IoTClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* thingName: "STRING_VALUE", // required
|
|
39
|
+
* thingTypeName: "STRING_VALUE",
|
|
40
|
+
* attributePayload: {
|
|
41
|
+
* attributes: {
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* merge: true || false,
|
|
45
|
+
* },
|
|
46
|
+
* billingGroupName: "STRING_VALUE",
|
|
47
|
+
* };
|
|
37
48
|
* const command = new CreateThingCommand(input);
|
|
38
49
|
* const response = await client.send(command);
|
|
39
50
|
* ```
|
|
@@ -31,6 +31,25 @@ export interface CreateThingGroupCommandOutput extends CreateThingGroupResponse,
|
|
|
31
31
|
* import { IoTClient, CreateThingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
32
32
|
* // const { IoTClient, CreateThingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
33
33
|
* const client = new IoTClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* thingGroupName: "STRING_VALUE", // required
|
|
36
|
+
* parentGroupName: "STRING_VALUE",
|
|
37
|
+
* thingGroupProperties: {
|
|
38
|
+
* thingGroupDescription: "STRING_VALUE",
|
|
39
|
+
* attributePayload: {
|
|
40
|
+
* attributes: {
|
|
41
|
+
* "<keys>": "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* merge: true || false,
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* tags: [
|
|
47
|
+
* {
|
|
48
|
+
* Key: "STRING_VALUE", // required
|
|
49
|
+
* Value: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* };
|
|
34
53
|
* const command = new CreateThingGroupCommand(input);
|
|
35
54
|
* const response = await client.send(command);
|
|
36
55
|
* ```
|
|
@@ -27,6 +27,21 @@ export interface CreateThingTypeCommandOutput extends CreateThingTypeResponse, _
|
|
|
27
27
|
* import { IoTClient, CreateThingTypeCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, CreateThingTypeCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* thingTypeName: "STRING_VALUE", // required
|
|
32
|
+
* thingTypeProperties: {
|
|
33
|
+
* thingTypeDescription: "STRING_VALUE",
|
|
34
|
+
* searchableAttributes: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* },
|
|
38
|
+
* tags: [
|
|
39
|
+
* {
|
|
40
|
+
* Key: "STRING_VALUE", // required
|
|
41
|
+
* Value: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
30
45
|
* const command = new CreateThingTypeCommand(input);
|
|
31
46
|
* const response = await client.send(command);
|
|
32
47
|
* ```
|