@aws-sdk/client-iot 3.299.0 → 3.301.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 +8 -8
|
@@ -34,6 +34,11 @@ export interface TransferCertificateCommandOutput extends TransferCertificateRes
|
|
|
34
34
|
* import { IoTClient, TransferCertificateCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
35
35
|
* // const { IoTClient, TransferCertificateCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
36
36
|
* const client = new IoTClient(config);
|
|
37
|
+
* const input = { // TransferCertificateRequest
|
|
38
|
+
* certificateId: "STRING_VALUE", // required
|
|
39
|
+
* targetAwsAccount: "STRING_VALUE", // required
|
|
40
|
+
* transferMessage: "STRING_VALUE",
|
|
41
|
+
* };
|
|
37
42
|
* const command = new TransferCertificateCommand(input);
|
|
38
43
|
* const response = await client.send(command);
|
|
39
44
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
27
27
|
* import { IoTClient, UntagResourceCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UntagResourceCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UntagResourceRequest
|
|
31
|
+
* resourceArn: "STRING_VALUE", // required
|
|
32
|
+
* tagKeys: [ // TagKeyList // required
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
30
36
|
* const command = new UntagResourceCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -29,6 +29,21 @@ export interface UpdateAccountAuditConfigurationCommandOutput extends UpdateAcco
|
|
|
29
29
|
* import { IoTClient, UpdateAccountAuditConfigurationCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, UpdateAccountAuditConfigurationCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = { // UpdateAccountAuditConfigurationRequest
|
|
33
|
+
* roleArn: "STRING_VALUE",
|
|
34
|
+
* auditNotificationTargetConfigurations: { // AuditNotificationTargetConfigurations
|
|
35
|
+
* "<keys>": { // AuditNotificationTarget
|
|
36
|
+
* targetArn: "STRING_VALUE",
|
|
37
|
+
* roleArn: "STRING_VALUE",
|
|
38
|
+
* enabled: true || false,
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* auditCheckConfigurations: { // AuditCheckConfigurations
|
|
42
|
+
* "<keys>": { // AuditCheckConfiguration
|
|
43
|
+
* enabled: true || false,
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
32
47
|
* const command = new UpdateAccountAuditConfigurationCommand(input);
|
|
33
48
|
* const response = await client.send(command);
|
|
34
49
|
* ```
|
|
@@ -28,6 +28,31 @@ export interface UpdateAuditSuppressionCommandOutput extends UpdateAuditSuppress
|
|
|
28
28
|
* import { IoTClient, UpdateAuditSuppressionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, UpdateAuditSuppressionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = { // UpdateAuditSuppressionRequest
|
|
32
|
+
* checkName: "STRING_VALUE", // required
|
|
33
|
+
* resourceIdentifier: { // ResourceIdentifier
|
|
34
|
+
* deviceCertificateId: "STRING_VALUE",
|
|
35
|
+
* caCertificateId: "STRING_VALUE",
|
|
36
|
+
* cognitoIdentityPoolId: "STRING_VALUE",
|
|
37
|
+
* clientId: "STRING_VALUE",
|
|
38
|
+
* policyVersionIdentifier: { // PolicyVersionIdentifier
|
|
39
|
+
* policyName: "STRING_VALUE",
|
|
40
|
+
* policyVersionId: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* account: "STRING_VALUE",
|
|
43
|
+
* iamRoleArn: "STRING_VALUE",
|
|
44
|
+
* roleAliasArn: "STRING_VALUE",
|
|
45
|
+
* issuerCertificateIdentifier: { // IssuerCertificateIdentifier
|
|
46
|
+
* issuerCertificateSubject: "STRING_VALUE",
|
|
47
|
+
* issuerId: "STRING_VALUE",
|
|
48
|
+
* issuerCertificateSerialNumber: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* deviceCertificateArn: "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* expirationDate: new Date("TIMESTAMP"),
|
|
53
|
+
* suppressIndefinitely: true || false,
|
|
54
|
+
* description: "STRING_VALUE",
|
|
55
|
+
* };
|
|
31
56
|
* const command = new UpdateAuditSuppressionCommand(input);
|
|
32
57
|
* const response = await client.send(command);
|
|
33
58
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface UpdateAuthorizerCommandOutput extends UpdateAuthorizerResponse,
|
|
|
27
27
|
* import { IoTClient, UpdateAuthorizerCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateAuthorizerCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateAuthorizerRequest
|
|
31
|
+
* authorizerName: "STRING_VALUE", // required
|
|
32
|
+
* authorizerFunctionArn: "STRING_VALUE",
|
|
33
|
+
* tokenKeyName: "STRING_VALUE",
|
|
34
|
+
* tokenSigningPublicKeys: { // PublicKeyMap
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* status: "ACTIVE" || "INACTIVE",
|
|
38
|
+
* enableCachingForHttp: true || false,
|
|
39
|
+
* };
|
|
30
40
|
* const command = new UpdateAuthorizerCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface UpdateBillingGroupCommandOutput extends UpdateBillingGroupRespo
|
|
|
27
27
|
* import { IoTClient, UpdateBillingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateBillingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateBillingGroupRequest
|
|
31
|
+
* billingGroupName: "STRING_VALUE", // required
|
|
32
|
+
* billingGroupProperties: { // BillingGroupProperties
|
|
33
|
+
* billingGroupDescription: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* expectedVersion: Number("long"),
|
|
36
|
+
* };
|
|
30
37
|
* const command = new UpdateBillingGroupCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -27,6 +27,17 @@ export interface UpdateCACertificateCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { IoTClient, UpdateCACertificateCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateCACertificateCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateCACertificateRequest
|
|
31
|
+
* certificateId: "STRING_VALUE", // required
|
|
32
|
+
* newStatus: "ACTIVE" || "INACTIVE",
|
|
33
|
+
* newAutoRegistrationStatus: "ENABLE" || "DISABLE",
|
|
34
|
+
* registrationConfig: { // RegistrationConfig
|
|
35
|
+
* templateBody: "STRING_VALUE",
|
|
36
|
+
* roleArn: "STRING_VALUE",
|
|
37
|
+
* templateName: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* removeAutoRegistration: true || false,
|
|
40
|
+
* };
|
|
30
41
|
* const command = new UpdateCACertificateCommand(input);
|
|
31
42
|
* const response = await client.send(command);
|
|
32
43
|
* ```
|
|
@@ -33,6 +33,10 @@ export interface UpdateCertificateCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* import { IoTClient, UpdateCertificateCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
34
34
|
* // const { IoTClient, UpdateCertificateCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
35
35
|
* const client = new IoTClient(config);
|
|
36
|
+
* const input = { // UpdateCertificateRequest
|
|
37
|
+
* certificateId: "STRING_VALUE", // required
|
|
38
|
+
* newStatus: "ACTIVE" || "INACTIVE" || "REVOKED" || "PENDING_TRANSFER" || "REGISTER_INACTIVE" || "PENDING_ACTIVATION", // required
|
|
39
|
+
* };
|
|
36
40
|
* const command = new UpdateCertificateCommand(input);
|
|
37
41
|
* const response = await client.send(command);
|
|
38
42
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface UpdateCustomMetricCommandOutput extends UpdateCustomMetricRespo
|
|
|
28
28
|
* import { IoTClient, UpdateCustomMetricCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, UpdateCustomMetricCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = { // UpdateCustomMetricRequest
|
|
32
|
+
* metricName: "STRING_VALUE", // required
|
|
33
|
+
* displayName: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new UpdateCustomMetricCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -32,6 +32,12 @@ export interface UpdateDimensionCommandOutput extends UpdateDimensionResponse, _
|
|
|
32
32
|
* import { IoTClient, UpdateDimensionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
33
33
|
* // const { IoTClient, UpdateDimensionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
34
34
|
* const client = new IoTClient(config);
|
|
35
|
+
* const input = { // UpdateDimensionRequest
|
|
36
|
+
* name: "STRING_VALUE", // required
|
|
37
|
+
* stringValues: [ // DimensionStringValues // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
35
41
|
* const command = new UpdateDimensionCommand(input);
|
|
36
42
|
* const response = await client.send(command);
|
|
37
43
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface UpdateDomainConfigurationCommandOutput extends UpdateDomainConf
|
|
|
28
28
|
* import { IoTClient, UpdateDomainConfigurationCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, UpdateDomainConfigurationCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = { // UpdateDomainConfigurationRequest
|
|
32
|
+
* domainConfigurationName: "STRING_VALUE", // required
|
|
33
|
+
* authorizerConfig: { // AuthorizerConfig
|
|
34
|
+
* defaultAuthorizerName: "STRING_VALUE",
|
|
35
|
+
* allowAuthorizerOverride: true || false,
|
|
36
|
+
* },
|
|
37
|
+
* domainConfigurationStatus: "ENABLED" || "DISABLED",
|
|
38
|
+
* removeAuthorizerConfig: true || false,
|
|
39
|
+
* };
|
|
31
40
|
* const command = new UpdateDomainConfigurationCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -27,6 +27,22 @@ export interface UpdateDynamicThingGroupCommandOutput extends UpdateDynamicThing
|
|
|
27
27
|
* import { IoTClient, UpdateDynamicThingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateDynamicThingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateDynamicThingGroupRequest
|
|
31
|
+
* thingGroupName: "STRING_VALUE", // required
|
|
32
|
+
* thingGroupProperties: { // ThingGroupProperties
|
|
33
|
+
* thingGroupDescription: "STRING_VALUE",
|
|
34
|
+
* attributePayload: { // AttributePayload
|
|
35
|
+
* attributes: { // Attributes
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* merge: true || false,
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* expectedVersion: Number("long"),
|
|
42
|
+
* indexName: "STRING_VALUE",
|
|
43
|
+
* queryString: "STRING_VALUE",
|
|
44
|
+
* queryVersion: "STRING_VALUE",
|
|
45
|
+
* };
|
|
30
46
|
* const command = new UpdateDynamicThingGroupCommand(input);
|
|
31
47
|
* const response = await client.send(command);
|
|
32
48
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface UpdateEventConfigurationsCommandOutput extends UpdateEventConfi
|
|
|
27
27
|
* import { IoTClient, UpdateEventConfigurationsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateEventConfigurationsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateEventConfigurationsRequest
|
|
31
|
+
* eventConfigurations: { // EventConfigurations
|
|
32
|
+
* "<keys>": { // Configuration
|
|
33
|
+
* Enabled: true || false,
|
|
34
|
+
* },
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
30
37
|
* const command = new UpdateEventConfigurationsCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -27,6 +27,23 @@ export interface UpdateFleetMetricCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { IoTClient, UpdateFleetMetricCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateFleetMetricCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateFleetMetricRequest
|
|
31
|
+
* metricName: "STRING_VALUE", // required
|
|
32
|
+
* queryString: "STRING_VALUE",
|
|
33
|
+
* aggregationType: { // AggregationType
|
|
34
|
+
* name: "Statistics" || "Percentiles" || "Cardinality", // required
|
|
35
|
+
* values: [ // AggregationTypeValues
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* period: Number("int"),
|
|
40
|
+
* aggregationField: "STRING_VALUE",
|
|
41
|
+
* description: "STRING_VALUE",
|
|
42
|
+
* queryVersion: "STRING_VALUE",
|
|
43
|
+
* indexName: "STRING_VALUE", // required
|
|
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
|
+
* expectedVersion: Number("long"),
|
|
46
|
+
* };
|
|
30
47
|
* const command = new UpdateFleetMetricCommand(input);
|
|
31
48
|
* const response = await client.send(command);
|
|
32
49
|
* ```
|
|
@@ -27,6 +27,46 @@ export interface UpdateIndexingConfigurationCommandOutput extends UpdateIndexing
|
|
|
27
27
|
* import { IoTClient, UpdateIndexingConfigurationCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateIndexingConfigurationCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateIndexingConfigurationRequest
|
|
31
|
+
* thingIndexingConfiguration: { // ThingIndexingConfiguration
|
|
32
|
+
* thingIndexingMode: "OFF" || "REGISTRY" || "REGISTRY_AND_SHADOW", // required
|
|
33
|
+
* thingConnectivityIndexingMode: "OFF" || "STATUS",
|
|
34
|
+
* deviceDefenderIndexingMode: "OFF" || "VIOLATIONS",
|
|
35
|
+
* namedShadowIndexingMode: "OFF" || "ON",
|
|
36
|
+
* managedFields: [ // Fields
|
|
37
|
+
* { // Field
|
|
38
|
+
* name: "STRING_VALUE",
|
|
39
|
+
* type: "Number" || "String" || "Boolean",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* customFields: [
|
|
43
|
+
* {
|
|
44
|
+
* name: "STRING_VALUE",
|
|
45
|
+
* type: "Number" || "String" || "Boolean",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* filter: { // IndexingFilter
|
|
49
|
+
* namedShadowNames: [ // NamedShadowNamesFilter
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* thingGroupIndexingConfiguration: { // ThingGroupIndexingConfiguration
|
|
55
|
+
* thingGroupIndexingMode: "OFF" || "ON", // required
|
|
56
|
+
* managedFields: [
|
|
57
|
+
* {
|
|
58
|
+
* name: "STRING_VALUE",
|
|
59
|
+
* type: "Number" || "String" || "Boolean",
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* customFields: [
|
|
63
|
+
* {
|
|
64
|
+
* name: "STRING_VALUE",
|
|
65
|
+
* type: "Number" || "String" || "Boolean",
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* };
|
|
30
70
|
* const command = new UpdateIndexingConfigurationCommand(input);
|
|
31
71
|
* const response = await client.send(command);
|
|
32
72
|
* ```
|
|
@@ -27,6 +27,47 @@ export interface UpdateJobCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { IoTClient, UpdateJobCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateJobCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateJobRequest
|
|
31
|
+
* jobId: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* presignedUrlConfig: { // PresignedUrlConfig
|
|
34
|
+
* roleArn: "STRING_VALUE",
|
|
35
|
+
* expiresInSec: Number("long"),
|
|
36
|
+
* },
|
|
37
|
+
* jobExecutionsRolloutConfig: { // JobExecutionsRolloutConfig
|
|
38
|
+
* maximumPerMinute: Number("int"),
|
|
39
|
+
* exponentialRate: { // ExponentialRolloutRate
|
|
40
|
+
* baseRatePerMinute: Number("int"), // required
|
|
41
|
+
* incrementFactor: Number("double"), // required
|
|
42
|
+
* rateIncreaseCriteria: { // RateIncreaseCriteria
|
|
43
|
+
* numberOfNotifiedThings: Number("int"),
|
|
44
|
+
* numberOfSucceededThings: Number("int"),
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* abortConfig: { // AbortConfig
|
|
49
|
+
* criteriaList: [ // AbortCriteriaList // required
|
|
50
|
+
* { // AbortCriteria
|
|
51
|
+
* failureType: "FAILED" || "REJECTED" || "TIMED_OUT" || "ALL", // required
|
|
52
|
+
* action: "CANCEL", // required
|
|
53
|
+
* thresholdPercentage: Number("double"), // required
|
|
54
|
+
* minNumberOfExecutedThings: Number("int"), // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* },
|
|
58
|
+
* timeoutConfig: { // TimeoutConfig
|
|
59
|
+
* inProgressTimeoutInMinutes: Number("long"),
|
|
60
|
+
* },
|
|
61
|
+
* namespaceId: "STRING_VALUE",
|
|
62
|
+
* jobExecutionsRetryConfig: { // JobExecutionsRetryConfig
|
|
63
|
+
* criteriaList: [ // RetryCriteriaList // required
|
|
64
|
+
* { // RetryCriteria
|
|
65
|
+
* failureType: "FAILED" || "TIMED_OUT" || "ALL", // required
|
|
66
|
+
* numberOfRetries: Number("int"), // required
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* },
|
|
70
|
+
* };
|
|
30
71
|
* const command = new UpdateJobCommand(input);
|
|
31
72
|
* const response = await client.send(command);
|
|
32
73
|
* ```
|
|
@@ -27,6 +27,34 @@ export interface UpdateMitigationActionCommandOutput extends UpdateMitigationAct
|
|
|
27
27
|
* import { IoTClient, UpdateMitigationActionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateMitigationActionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateMitigationActionRequest
|
|
31
|
+
* actionName: "STRING_VALUE", // required
|
|
32
|
+
* roleArn: "STRING_VALUE",
|
|
33
|
+
* actionParams: { // MitigationActionParams
|
|
34
|
+
* updateDeviceCertificateParams: { // UpdateDeviceCertificateParams
|
|
35
|
+
* action: "DEACTIVATE", // required
|
|
36
|
+
* },
|
|
37
|
+
* updateCACertificateParams: { // UpdateCACertificateParams
|
|
38
|
+
* action: "DEACTIVATE", // required
|
|
39
|
+
* },
|
|
40
|
+
* addThingsToThingGroupParams: { // AddThingsToThingGroupParams
|
|
41
|
+
* thingGroupNames: [ // ThingGroupNames // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* overrideDynamicGroups: true || false,
|
|
45
|
+
* },
|
|
46
|
+
* replaceDefaultPolicyVersionParams: { // ReplaceDefaultPolicyVersionParams
|
|
47
|
+
* templateName: "BLANK_POLICY", // required
|
|
48
|
+
* },
|
|
49
|
+
* enableIoTLoggingParams: { // EnableIoTLoggingParams
|
|
50
|
+
* roleArnForLogging: "STRING_VALUE", // required
|
|
51
|
+
* logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED", // required
|
|
52
|
+
* },
|
|
53
|
+
* publishFindingToSnsParams: { // PublishFindingToSnsParams
|
|
54
|
+
* topicArn: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* };
|
|
30
58
|
* const command = new UpdateMitigationActionCommand(input);
|
|
31
59
|
* const response = await client.send(command);
|
|
32
60
|
* ```
|
|
@@ -27,6 +27,18 @@ export interface UpdateProvisioningTemplateCommandOutput extends UpdateProvision
|
|
|
27
27
|
* import { IoTClient, UpdateProvisioningTemplateCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateProvisioningTemplateCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateProvisioningTemplateRequest
|
|
31
|
+
* templateName: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* enabled: true || false,
|
|
34
|
+
* defaultVersionId: Number("int"),
|
|
35
|
+
* provisioningRoleArn: "STRING_VALUE",
|
|
36
|
+
* preProvisioningHook: { // ProvisioningHook
|
|
37
|
+
* payloadVersion: "STRING_VALUE",
|
|
38
|
+
* targetArn: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* removePreProvisioningHook: true || false,
|
|
41
|
+
* };
|
|
30
42
|
* const command = new UpdateProvisioningTemplateCommand(input);
|
|
31
43
|
* const response = await client.send(command);
|
|
32
44
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface UpdateRoleAliasCommandOutput extends UpdateRoleAliasResponse, _
|
|
|
27
27
|
* import { IoTClient, UpdateRoleAliasCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateRoleAliasCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateRoleAliasRequest
|
|
31
|
+
* roleAlias: "STRING_VALUE", // required
|
|
32
|
+
* roleArn: "STRING_VALUE",
|
|
33
|
+
* credentialDurationSeconds: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new UpdateRoleAliasCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface UpdateScheduledAuditCommandOutput extends UpdateScheduledAuditR
|
|
|
28
28
|
* import { IoTClient, UpdateScheduledAuditCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, UpdateScheduledAuditCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = { // UpdateScheduledAuditRequest
|
|
32
|
+
* frequency: "DAILY" || "WEEKLY" || "BIWEEKLY" || "MONTHLY",
|
|
33
|
+
* dayOfMonth: "STRING_VALUE",
|
|
34
|
+
* dayOfWeek: "SUN" || "MON" || "TUE" || "WED" || "THU" || "FRI" || "SAT",
|
|
35
|
+
* targetCheckNames: [ // TargetAuditCheckNames
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* scheduledAuditName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
31
40
|
* const command = new UpdateScheduledAuditCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -27,6 +27,71 @@ export interface UpdateSecurityProfileCommandOutput extends UpdateSecurityProfil
|
|
|
27
27
|
* import { IoTClient, UpdateSecurityProfileCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateSecurityProfileCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateSecurityProfileRequest
|
|
31
|
+
* securityProfileName: "STRING_VALUE", // required
|
|
32
|
+
* securityProfileDescription: "STRING_VALUE",
|
|
33
|
+
* behaviors: [ // Behaviors
|
|
34
|
+
* { // Behavior
|
|
35
|
+
* name: "STRING_VALUE", // required
|
|
36
|
+
* metric: "STRING_VALUE",
|
|
37
|
+
* metricDimension: { // MetricDimension
|
|
38
|
+
* dimensionName: "STRING_VALUE", // required
|
|
39
|
+
* operator: "IN" || "NOT_IN",
|
|
40
|
+
* },
|
|
41
|
+
* criteria: { // BehaviorCriteria
|
|
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: { // MetricValue
|
|
44
|
+
* count: Number("long"),
|
|
45
|
+
* cidrs: [ // Cidrs
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* ports: [ // Ports
|
|
49
|
+
* Number("int"),
|
|
50
|
+
* ],
|
|
51
|
+
* number: Number("double"),
|
|
52
|
+
* numbers: [ // NumberList
|
|
53
|
+
* Number("double"),
|
|
54
|
+
* ],
|
|
55
|
+
* strings: [ // StringList
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* durationSeconds: Number("int"),
|
|
60
|
+
* consecutiveDatapointsToAlarm: Number("int"),
|
|
61
|
+
* consecutiveDatapointsToClear: Number("int"),
|
|
62
|
+
* statisticalThreshold: { // StatisticalThreshold
|
|
63
|
+
* statistic: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* mlDetectionConfig: { // MachineLearningDetectionConfig
|
|
66
|
+
* confidenceLevel: "LOW" || "MEDIUM" || "HIGH", // required
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* suppressAlerts: true || false,
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* alertTargets: { // AlertTargets
|
|
73
|
+
* "<keys>": { // AlertTarget
|
|
74
|
+
* alertTargetArn: "STRING_VALUE", // required
|
|
75
|
+
* roleArn: "STRING_VALUE", // required
|
|
76
|
+
* },
|
|
77
|
+
* },
|
|
78
|
+
* additionalMetricsToRetain: [ // AdditionalMetricsToRetainList
|
|
79
|
+
* "STRING_VALUE",
|
|
80
|
+
* ],
|
|
81
|
+
* additionalMetricsToRetainV2: [ // AdditionalMetricsToRetainV2List
|
|
82
|
+
* { // MetricToRetain
|
|
83
|
+
* metric: "STRING_VALUE", // required
|
|
84
|
+
* metricDimension: {
|
|
85
|
+
* dimensionName: "STRING_VALUE", // required
|
|
86
|
+
* operator: "IN" || "NOT_IN",
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* deleteBehaviors: true || false,
|
|
91
|
+
* deleteAlertTargets: true || false,
|
|
92
|
+
* deleteAdditionalMetricsToRetain: true || false,
|
|
93
|
+
* expectedVersion: Number("long"),
|
|
94
|
+
* };
|
|
30
95
|
* const command = new UpdateSecurityProfileCommand(input);
|
|
31
96
|
* const response = await client.send(command);
|
|
32
97
|
* ```
|
|
@@ -27,6 +27,21 @@ export interface UpdateStreamCommandOutput extends UpdateStreamResponse, __Metad
|
|
|
27
27
|
* import { IoTClient, UpdateStreamCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateStreamCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateStreamRequest
|
|
31
|
+
* streamId: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* files: [ // StreamFiles
|
|
34
|
+
* { // StreamFile
|
|
35
|
+
* fileId: Number("int"),
|
|
36
|
+
* s3Location: { // S3Location
|
|
37
|
+
* bucket: "STRING_VALUE",
|
|
38
|
+
* key: "STRING_VALUE",
|
|
39
|
+
* version: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* roleArn: "STRING_VALUE",
|
|
44
|
+
* };
|
|
30
45
|
* const command = new UpdateStreamCommand(input);
|
|
31
46
|
* const response = await client.send(command);
|
|
32
47
|
* ```
|
|
@@ -27,6 +27,18 @@ export interface UpdateThingCommandOutput extends UpdateThingResponse, __Metadat
|
|
|
27
27
|
* import { IoTClient, UpdateThingCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateThingCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateThingRequest
|
|
31
|
+
* thingName: "STRING_VALUE", // required
|
|
32
|
+
* thingTypeName: "STRING_VALUE",
|
|
33
|
+
* attributePayload: { // AttributePayload
|
|
34
|
+
* attributes: { // Attributes
|
|
35
|
+
* "<keys>": "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* merge: true || false,
|
|
38
|
+
* },
|
|
39
|
+
* expectedVersion: Number("long"),
|
|
40
|
+
* removeThingType: true || false,
|
|
41
|
+
* };
|
|
30
42
|
* const command = new UpdateThingCommand(input);
|
|
31
43
|
* const response = await client.send(command);
|
|
32
44
|
* ```
|
|
@@ -27,6 +27,19 @@ export interface UpdateThingGroupCommandOutput extends UpdateThingGroupResponse,
|
|
|
27
27
|
* import { IoTClient, UpdateThingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateThingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateThingGroupRequest
|
|
31
|
+
* thingGroupName: "STRING_VALUE", // required
|
|
32
|
+
* thingGroupProperties: { // ThingGroupProperties
|
|
33
|
+
* thingGroupDescription: "STRING_VALUE",
|
|
34
|
+
* attributePayload: { // AttributePayload
|
|
35
|
+
* attributes: { // Attributes
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* merge: true || false,
|
|
39
|
+
* },
|
|
40
|
+
* },
|
|
41
|
+
* expectedVersion: Number("long"),
|
|
42
|
+
* };
|
|
30
43
|
* const command = new UpdateThingGroupCommand(input);
|
|
31
44
|
* const response = await client.send(command);
|
|
32
45
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface UpdateThingGroupsForThingCommandOutput extends UpdateThingGroup
|
|
|
27
27
|
* import { IoTClient, UpdateThingGroupsForThingCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, UpdateThingGroupsForThingCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // UpdateThingGroupsForThingRequest
|
|
31
|
+
* thingName: "STRING_VALUE",
|
|
32
|
+
* thingGroupsToAdd: [ // ThingGroupList
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* thingGroupsToRemove: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* overrideDynamicGroups: true || false,
|
|
39
|
+
* };
|
|
30
40
|
* const command = new UpdateThingGroupsForThingCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface UpdateTopicRuleDestinationCommandOutput extends UpdateTopicRule
|
|
|
28
28
|
* import { IoTClient, UpdateTopicRuleDestinationCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, UpdateTopicRuleDestinationCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = { // UpdateTopicRuleDestinationRequest
|
|
32
|
+
* arn: "STRING_VALUE", // required
|
|
33
|
+
* status: "ENABLED" || "IN_PROGRESS" || "DISABLED" || "ERROR" || "DELETING", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new UpdateTopicRuleDestinationCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|