@aws-sdk/client-iot 3.299.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 +8 -8
|
@@ -29,6 +29,417 @@ export interface ReplaceTopicRuleCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { IoTClient, ReplaceTopicRuleCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, ReplaceTopicRuleCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* ruleName: "STRING_VALUE", // required
|
|
34
|
+
* topicRulePayload: {
|
|
35
|
+
* sql: "STRING_VALUE", // required
|
|
36
|
+
* description: "STRING_VALUE",
|
|
37
|
+
* actions: [ // required
|
|
38
|
+
* {
|
|
39
|
+
* dynamoDB: {
|
|
40
|
+
* tableName: "STRING_VALUE", // required
|
|
41
|
+
* roleArn: "STRING_VALUE", // required
|
|
42
|
+
* operation: "STRING_VALUE",
|
|
43
|
+
* hashKeyField: "STRING_VALUE", // required
|
|
44
|
+
* hashKeyValue: "STRING_VALUE", // required
|
|
45
|
+
* hashKeyType: "STRING" || "NUMBER",
|
|
46
|
+
* rangeKeyField: "STRING_VALUE",
|
|
47
|
+
* rangeKeyValue: "STRING_VALUE",
|
|
48
|
+
* rangeKeyType: "STRING" || "NUMBER",
|
|
49
|
+
* payloadField: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* dynamoDBv2: {
|
|
52
|
+
* roleArn: "STRING_VALUE", // required
|
|
53
|
+
* putItem: {
|
|
54
|
+
* tableName: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* lambda: {
|
|
58
|
+
* functionArn: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* sns: {
|
|
61
|
+
* targetArn: "STRING_VALUE", // required
|
|
62
|
+
* roleArn: "STRING_VALUE", // required
|
|
63
|
+
* messageFormat: "RAW" || "JSON",
|
|
64
|
+
* },
|
|
65
|
+
* sqs: {
|
|
66
|
+
* roleArn: "STRING_VALUE", // required
|
|
67
|
+
* queueUrl: "STRING_VALUE", // required
|
|
68
|
+
* useBase64: true || false,
|
|
69
|
+
* },
|
|
70
|
+
* kinesis: {
|
|
71
|
+
* roleArn: "STRING_VALUE", // required
|
|
72
|
+
* streamName: "STRING_VALUE", // required
|
|
73
|
+
* partitionKey: "STRING_VALUE",
|
|
74
|
+
* },
|
|
75
|
+
* republish: {
|
|
76
|
+
* roleArn: "STRING_VALUE", // required
|
|
77
|
+
* topic: "STRING_VALUE", // required
|
|
78
|
+
* qos: Number("int"),
|
|
79
|
+
* headers: {
|
|
80
|
+
* payloadFormatIndicator: "STRING_VALUE",
|
|
81
|
+
* contentType: "STRING_VALUE",
|
|
82
|
+
* responseTopic: "STRING_VALUE",
|
|
83
|
+
* correlationData: "STRING_VALUE",
|
|
84
|
+
* messageExpiry: "STRING_VALUE",
|
|
85
|
+
* userProperties: [
|
|
86
|
+
* {
|
|
87
|
+
* key: "STRING_VALUE", // required
|
|
88
|
+
* value: "STRING_VALUE", // required
|
|
89
|
+
* },
|
|
90
|
+
* ],
|
|
91
|
+
* },
|
|
92
|
+
* },
|
|
93
|
+
* s3: {
|
|
94
|
+
* roleArn: "STRING_VALUE", // required
|
|
95
|
+
* bucketName: "STRING_VALUE", // required
|
|
96
|
+
* key: "STRING_VALUE", // required
|
|
97
|
+
* cannedAcl: "private" || "public-read" || "public-read-write" || "aws-exec-read" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control" || "log-delivery-write",
|
|
98
|
+
* },
|
|
99
|
+
* firehose: {
|
|
100
|
+
* roleArn: "STRING_VALUE", // required
|
|
101
|
+
* deliveryStreamName: "STRING_VALUE", // required
|
|
102
|
+
* separator: "STRING_VALUE",
|
|
103
|
+
* batchMode: true || false,
|
|
104
|
+
* },
|
|
105
|
+
* cloudwatchMetric: {
|
|
106
|
+
* roleArn: "STRING_VALUE", // required
|
|
107
|
+
* metricNamespace: "STRING_VALUE", // required
|
|
108
|
+
* metricName: "STRING_VALUE", // required
|
|
109
|
+
* metricValue: "STRING_VALUE", // required
|
|
110
|
+
* metricUnit: "STRING_VALUE", // required
|
|
111
|
+
* metricTimestamp: "STRING_VALUE",
|
|
112
|
+
* },
|
|
113
|
+
* cloudwatchAlarm: {
|
|
114
|
+
* roleArn: "STRING_VALUE", // required
|
|
115
|
+
* alarmName: "STRING_VALUE", // required
|
|
116
|
+
* stateReason: "STRING_VALUE", // required
|
|
117
|
+
* stateValue: "STRING_VALUE", // required
|
|
118
|
+
* },
|
|
119
|
+
* cloudwatchLogs: {
|
|
120
|
+
* roleArn: "STRING_VALUE", // required
|
|
121
|
+
* logGroupName: "STRING_VALUE", // required
|
|
122
|
+
* batchMode: true || false,
|
|
123
|
+
* },
|
|
124
|
+
* elasticsearch: {
|
|
125
|
+
* roleArn: "STRING_VALUE", // required
|
|
126
|
+
* endpoint: "STRING_VALUE", // required
|
|
127
|
+
* index: "STRING_VALUE", // required
|
|
128
|
+
* type: "STRING_VALUE", // required
|
|
129
|
+
* id: "STRING_VALUE", // required
|
|
130
|
+
* },
|
|
131
|
+
* salesforce: {
|
|
132
|
+
* token: "STRING_VALUE", // required
|
|
133
|
+
* url: "STRING_VALUE", // required
|
|
134
|
+
* },
|
|
135
|
+
* iotAnalytics: {
|
|
136
|
+
* channelArn: "STRING_VALUE",
|
|
137
|
+
* channelName: "STRING_VALUE",
|
|
138
|
+
* batchMode: true || false,
|
|
139
|
+
* roleArn: "STRING_VALUE",
|
|
140
|
+
* },
|
|
141
|
+
* iotEvents: {
|
|
142
|
+
* inputName: "STRING_VALUE", // required
|
|
143
|
+
* messageId: "STRING_VALUE",
|
|
144
|
+
* batchMode: true || false,
|
|
145
|
+
* roleArn: "STRING_VALUE", // required
|
|
146
|
+
* },
|
|
147
|
+
* iotSiteWise: {
|
|
148
|
+
* putAssetPropertyValueEntries: [ // required
|
|
149
|
+
* {
|
|
150
|
+
* entryId: "STRING_VALUE",
|
|
151
|
+
* assetId: "STRING_VALUE",
|
|
152
|
+
* propertyId: "STRING_VALUE",
|
|
153
|
+
* propertyAlias: "STRING_VALUE",
|
|
154
|
+
* propertyValues: [ // required
|
|
155
|
+
* {
|
|
156
|
+
* value: { // Union: only one key present
|
|
157
|
+
* stringValue: "STRING_VALUE",
|
|
158
|
+
* integerValue: "STRING_VALUE",
|
|
159
|
+
* doubleValue: "STRING_VALUE",
|
|
160
|
+
* booleanValue: "STRING_VALUE",
|
|
161
|
+
* },
|
|
162
|
+
* timestamp: {
|
|
163
|
+
* timeInSeconds: "STRING_VALUE", // required
|
|
164
|
+
* offsetInNanos: "STRING_VALUE",
|
|
165
|
+
* },
|
|
166
|
+
* quality: "STRING_VALUE",
|
|
167
|
+
* },
|
|
168
|
+
* ],
|
|
169
|
+
* },
|
|
170
|
+
* ],
|
|
171
|
+
* roleArn: "STRING_VALUE", // required
|
|
172
|
+
* },
|
|
173
|
+
* stepFunctions: {
|
|
174
|
+
* executionNamePrefix: "STRING_VALUE",
|
|
175
|
+
* stateMachineName: "STRING_VALUE", // required
|
|
176
|
+
* roleArn: "STRING_VALUE", // required
|
|
177
|
+
* },
|
|
178
|
+
* timestream: {
|
|
179
|
+
* roleArn: "STRING_VALUE", // required
|
|
180
|
+
* databaseName: "STRING_VALUE", // required
|
|
181
|
+
* tableName: "STRING_VALUE", // required
|
|
182
|
+
* dimensions: [ // required
|
|
183
|
+
* {
|
|
184
|
+
* name: "STRING_VALUE", // required
|
|
185
|
+
* value: "STRING_VALUE", // required
|
|
186
|
+
* },
|
|
187
|
+
* ],
|
|
188
|
+
* timestamp: {
|
|
189
|
+
* value: "STRING_VALUE", // required
|
|
190
|
+
* unit: "STRING_VALUE", // required
|
|
191
|
+
* },
|
|
192
|
+
* },
|
|
193
|
+
* http: {
|
|
194
|
+
* url: "STRING_VALUE", // required
|
|
195
|
+
* confirmationUrl: "STRING_VALUE",
|
|
196
|
+
* headers: [
|
|
197
|
+
* {
|
|
198
|
+
* key: "STRING_VALUE", // required
|
|
199
|
+
* value: "STRING_VALUE", // required
|
|
200
|
+
* },
|
|
201
|
+
* ],
|
|
202
|
+
* auth: {
|
|
203
|
+
* sigv4: {
|
|
204
|
+
* signingRegion: "STRING_VALUE", // required
|
|
205
|
+
* serviceName: "STRING_VALUE", // required
|
|
206
|
+
* roleArn: "STRING_VALUE", // required
|
|
207
|
+
* },
|
|
208
|
+
* },
|
|
209
|
+
* },
|
|
210
|
+
* kafka: {
|
|
211
|
+
* destinationArn: "STRING_VALUE", // required
|
|
212
|
+
* topic: "STRING_VALUE", // required
|
|
213
|
+
* key: "STRING_VALUE",
|
|
214
|
+
* partition: "STRING_VALUE",
|
|
215
|
+
* clientProperties: { // required
|
|
216
|
+
* "<keys>": "STRING_VALUE",
|
|
217
|
+
* },
|
|
218
|
+
* },
|
|
219
|
+
* openSearch: {
|
|
220
|
+
* roleArn: "STRING_VALUE", // required
|
|
221
|
+
* endpoint: "STRING_VALUE", // required
|
|
222
|
+
* index: "STRING_VALUE", // required
|
|
223
|
+
* type: "STRING_VALUE", // required
|
|
224
|
+
* id: "STRING_VALUE", // required
|
|
225
|
+
* },
|
|
226
|
+
* location: {
|
|
227
|
+
* roleArn: "STRING_VALUE", // required
|
|
228
|
+
* trackerName: "STRING_VALUE", // required
|
|
229
|
+
* deviceId: "STRING_VALUE", // required
|
|
230
|
+
* timestamp: {
|
|
231
|
+
* value: "STRING_VALUE", // required
|
|
232
|
+
* unit: "STRING_VALUE",
|
|
233
|
+
* },
|
|
234
|
+
* latitude: "STRING_VALUE", // required
|
|
235
|
+
* longitude: "STRING_VALUE", // required
|
|
236
|
+
* },
|
|
237
|
+
* },
|
|
238
|
+
* ],
|
|
239
|
+
* ruleDisabled: true || false,
|
|
240
|
+
* awsIotSqlVersion: "STRING_VALUE",
|
|
241
|
+
* errorAction: {
|
|
242
|
+
* dynamoDB: {
|
|
243
|
+
* tableName: "STRING_VALUE", // required
|
|
244
|
+
* roleArn: "STRING_VALUE", // required
|
|
245
|
+
* operation: "STRING_VALUE",
|
|
246
|
+
* hashKeyField: "STRING_VALUE", // required
|
|
247
|
+
* hashKeyValue: "STRING_VALUE", // required
|
|
248
|
+
* hashKeyType: "STRING" || "NUMBER",
|
|
249
|
+
* rangeKeyField: "STRING_VALUE",
|
|
250
|
+
* rangeKeyValue: "STRING_VALUE",
|
|
251
|
+
* rangeKeyType: "STRING" || "NUMBER",
|
|
252
|
+
* payloadField: "STRING_VALUE",
|
|
253
|
+
* },
|
|
254
|
+
* dynamoDBv2: {
|
|
255
|
+
* roleArn: "STRING_VALUE", // required
|
|
256
|
+
* putItem: {
|
|
257
|
+
* tableName: "STRING_VALUE", // required
|
|
258
|
+
* },
|
|
259
|
+
* },
|
|
260
|
+
* lambda: {
|
|
261
|
+
* functionArn: "STRING_VALUE", // required
|
|
262
|
+
* },
|
|
263
|
+
* sns: {
|
|
264
|
+
* targetArn: "STRING_VALUE", // required
|
|
265
|
+
* roleArn: "STRING_VALUE", // required
|
|
266
|
+
* messageFormat: "RAW" || "JSON",
|
|
267
|
+
* },
|
|
268
|
+
* sqs: {
|
|
269
|
+
* roleArn: "STRING_VALUE", // required
|
|
270
|
+
* queueUrl: "STRING_VALUE", // required
|
|
271
|
+
* useBase64: true || false,
|
|
272
|
+
* },
|
|
273
|
+
* kinesis: {
|
|
274
|
+
* roleArn: "STRING_VALUE", // required
|
|
275
|
+
* streamName: "STRING_VALUE", // required
|
|
276
|
+
* partitionKey: "STRING_VALUE",
|
|
277
|
+
* },
|
|
278
|
+
* republish: {
|
|
279
|
+
* roleArn: "STRING_VALUE", // required
|
|
280
|
+
* topic: "STRING_VALUE", // required
|
|
281
|
+
* qos: Number("int"),
|
|
282
|
+
* headers: {
|
|
283
|
+
* payloadFormatIndicator: "STRING_VALUE",
|
|
284
|
+
* contentType: "STRING_VALUE",
|
|
285
|
+
* responseTopic: "STRING_VALUE",
|
|
286
|
+
* correlationData: "STRING_VALUE",
|
|
287
|
+
* messageExpiry: "STRING_VALUE",
|
|
288
|
+
* userProperties: [
|
|
289
|
+
* {
|
|
290
|
+
* key: "STRING_VALUE", // required
|
|
291
|
+
* value: "STRING_VALUE", // required
|
|
292
|
+
* },
|
|
293
|
+
* ],
|
|
294
|
+
* },
|
|
295
|
+
* },
|
|
296
|
+
* s3: {
|
|
297
|
+
* roleArn: "STRING_VALUE", // required
|
|
298
|
+
* bucketName: "STRING_VALUE", // required
|
|
299
|
+
* key: "STRING_VALUE", // required
|
|
300
|
+
* cannedAcl: "private" || "public-read" || "public-read-write" || "aws-exec-read" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control" || "log-delivery-write",
|
|
301
|
+
* },
|
|
302
|
+
* firehose: {
|
|
303
|
+
* roleArn: "STRING_VALUE", // required
|
|
304
|
+
* deliveryStreamName: "STRING_VALUE", // required
|
|
305
|
+
* separator: "STRING_VALUE",
|
|
306
|
+
* batchMode: true || false,
|
|
307
|
+
* },
|
|
308
|
+
* cloudwatchMetric: {
|
|
309
|
+
* roleArn: "STRING_VALUE", // required
|
|
310
|
+
* metricNamespace: "STRING_VALUE", // required
|
|
311
|
+
* metricName: "STRING_VALUE", // required
|
|
312
|
+
* metricValue: "STRING_VALUE", // required
|
|
313
|
+
* metricUnit: "STRING_VALUE", // required
|
|
314
|
+
* metricTimestamp: "STRING_VALUE",
|
|
315
|
+
* },
|
|
316
|
+
* cloudwatchAlarm: {
|
|
317
|
+
* roleArn: "STRING_VALUE", // required
|
|
318
|
+
* alarmName: "STRING_VALUE", // required
|
|
319
|
+
* stateReason: "STRING_VALUE", // required
|
|
320
|
+
* stateValue: "STRING_VALUE", // required
|
|
321
|
+
* },
|
|
322
|
+
* cloudwatchLogs: {
|
|
323
|
+
* roleArn: "STRING_VALUE", // required
|
|
324
|
+
* logGroupName: "STRING_VALUE", // required
|
|
325
|
+
* batchMode: true || false,
|
|
326
|
+
* },
|
|
327
|
+
* elasticsearch: {
|
|
328
|
+
* roleArn: "STRING_VALUE", // required
|
|
329
|
+
* endpoint: "STRING_VALUE", // required
|
|
330
|
+
* index: "STRING_VALUE", // required
|
|
331
|
+
* type: "STRING_VALUE", // required
|
|
332
|
+
* id: "STRING_VALUE", // required
|
|
333
|
+
* },
|
|
334
|
+
* salesforce: {
|
|
335
|
+
* token: "STRING_VALUE", // required
|
|
336
|
+
* url: "STRING_VALUE", // required
|
|
337
|
+
* },
|
|
338
|
+
* iotAnalytics: {
|
|
339
|
+
* channelArn: "STRING_VALUE",
|
|
340
|
+
* channelName: "STRING_VALUE",
|
|
341
|
+
* batchMode: true || false,
|
|
342
|
+
* roleArn: "STRING_VALUE",
|
|
343
|
+
* },
|
|
344
|
+
* iotEvents: {
|
|
345
|
+
* inputName: "STRING_VALUE", // required
|
|
346
|
+
* messageId: "STRING_VALUE",
|
|
347
|
+
* batchMode: true || false,
|
|
348
|
+
* roleArn: "STRING_VALUE", // required
|
|
349
|
+
* },
|
|
350
|
+
* iotSiteWise: {
|
|
351
|
+
* putAssetPropertyValueEntries: [ // required
|
|
352
|
+
* {
|
|
353
|
+
* entryId: "STRING_VALUE",
|
|
354
|
+
* assetId: "STRING_VALUE",
|
|
355
|
+
* propertyId: "STRING_VALUE",
|
|
356
|
+
* propertyAlias: "STRING_VALUE",
|
|
357
|
+
* propertyValues: [ // required
|
|
358
|
+
* {
|
|
359
|
+
* value: { // Union: only one key present
|
|
360
|
+
* stringValue: "STRING_VALUE",
|
|
361
|
+
* integerValue: "STRING_VALUE",
|
|
362
|
+
* doubleValue: "STRING_VALUE",
|
|
363
|
+
* booleanValue: "STRING_VALUE",
|
|
364
|
+
* },
|
|
365
|
+
* timestamp: {
|
|
366
|
+
* timeInSeconds: "STRING_VALUE", // required
|
|
367
|
+
* offsetInNanos: "STRING_VALUE",
|
|
368
|
+
* },
|
|
369
|
+
* quality: "STRING_VALUE",
|
|
370
|
+
* },
|
|
371
|
+
* ],
|
|
372
|
+
* },
|
|
373
|
+
* ],
|
|
374
|
+
* roleArn: "STRING_VALUE", // required
|
|
375
|
+
* },
|
|
376
|
+
* stepFunctions: {
|
|
377
|
+
* executionNamePrefix: "STRING_VALUE",
|
|
378
|
+
* stateMachineName: "STRING_VALUE", // required
|
|
379
|
+
* roleArn: "STRING_VALUE", // required
|
|
380
|
+
* },
|
|
381
|
+
* timestream: {
|
|
382
|
+
* roleArn: "STRING_VALUE", // required
|
|
383
|
+
* databaseName: "STRING_VALUE", // required
|
|
384
|
+
* tableName: "STRING_VALUE", // required
|
|
385
|
+
* dimensions: [ // required
|
|
386
|
+
* {
|
|
387
|
+
* name: "STRING_VALUE", // required
|
|
388
|
+
* value: "STRING_VALUE", // required
|
|
389
|
+
* },
|
|
390
|
+
* ],
|
|
391
|
+
* timestamp: {
|
|
392
|
+
* value: "STRING_VALUE", // required
|
|
393
|
+
* unit: "STRING_VALUE", // required
|
|
394
|
+
* },
|
|
395
|
+
* },
|
|
396
|
+
* http: {
|
|
397
|
+
* url: "STRING_VALUE", // required
|
|
398
|
+
* confirmationUrl: "STRING_VALUE",
|
|
399
|
+
* headers: [
|
|
400
|
+
* {
|
|
401
|
+
* key: "STRING_VALUE", // required
|
|
402
|
+
* value: "STRING_VALUE", // required
|
|
403
|
+
* },
|
|
404
|
+
* ],
|
|
405
|
+
* auth: {
|
|
406
|
+
* sigv4: {
|
|
407
|
+
* signingRegion: "STRING_VALUE", // required
|
|
408
|
+
* serviceName: "STRING_VALUE", // required
|
|
409
|
+
* roleArn: "STRING_VALUE", // required
|
|
410
|
+
* },
|
|
411
|
+
* },
|
|
412
|
+
* },
|
|
413
|
+
* kafka: {
|
|
414
|
+
* destinationArn: "STRING_VALUE", // required
|
|
415
|
+
* topic: "STRING_VALUE", // required
|
|
416
|
+
* key: "STRING_VALUE",
|
|
417
|
+
* partition: "STRING_VALUE",
|
|
418
|
+
* clientProperties: { // required
|
|
419
|
+
* "<keys>": "STRING_VALUE",
|
|
420
|
+
* },
|
|
421
|
+
* },
|
|
422
|
+
* openSearch: {
|
|
423
|
+
* roleArn: "STRING_VALUE", // required
|
|
424
|
+
* endpoint: "STRING_VALUE", // required
|
|
425
|
+
* index: "STRING_VALUE", // required
|
|
426
|
+
* type: "STRING_VALUE", // required
|
|
427
|
+
* id: "STRING_VALUE", // required
|
|
428
|
+
* },
|
|
429
|
+
* location: {
|
|
430
|
+
* roleArn: "STRING_VALUE", // required
|
|
431
|
+
* trackerName: "STRING_VALUE", // required
|
|
432
|
+
* deviceId: "STRING_VALUE", // required
|
|
433
|
+
* timestamp: {
|
|
434
|
+
* value: "STRING_VALUE", // required
|
|
435
|
+
* unit: "STRING_VALUE",
|
|
436
|
+
* },
|
|
437
|
+
* latitude: "STRING_VALUE", // required
|
|
438
|
+
* longitude: "STRING_VALUE", // required
|
|
439
|
+
* },
|
|
440
|
+
* },
|
|
441
|
+
* },
|
|
442
|
+
* };
|
|
32
443
|
* const command = new ReplaceTopicRuleCommand(input);
|
|
33
444
|
* const response = await client.send(command);
|
|
34
445
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface SearchIndexCommandOutput extends SearchIndexResponse, __Metadat
|
|
|
27
27
|
* import { IoTClient, SearchIndexCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, SearchIndexCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* indexName: "STRING_VALUE",
|
|
32
|
+
* queryString: "STRING_VALUE", // required
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* queryVersion: "STRING_VALUE",
|
|
36
|
+
* };
|
|
30
37
|
* const command = new SearchIndexCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface SetDefaultAuthorizerCommandOutput extends SetDefaultAuthorizerR
|
|
|
28
28
|
* import { IoTClient, SetDefaultAuthorizerCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, SetDefaultAuthorizerCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* authorizerName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new SetDefaultAuthorizerCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface SetDefaultPolicyVersionCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* import { IoTClient, SetDefaultPolicyVersionCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
31
31
|
* // const { IoTClient, SetDefaultPolicyVersionCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
32
32
|
* const client = new IoTClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* policyName: "STRING_VALUE", // required
|
|
35
|
+
* policyVersionId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
33
37
|
* const command = new SetDefaultPolicyVersionCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface SetLoggingOptionsCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { IoTClient, SetLoggingOptionsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, SetLoggingOptionsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* loggingOptionsPayload: {
|
|
34
|
+
* roleArn: "STRING_VALUE", // required
|
|
35
|
+
* logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED",
|
|
36
|
+
* },
|
|
37
|
+
* };
|
|
32
38
|
* const command = new SetLoggingOptionsCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface SetV2LoggingLevelCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { IoTClient, SetV2LoggingLevelCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, SetV2LoggingLevelCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* logTarget: {
|
|
32
|
+
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required
|
|
33
|
+
* targetName: "STRING_VALUE",
|
|
34
|
+
* },
|
|
35
|
+
* logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED", // required
|
|
36
|
+
* };
|
|
30
37
|
* const command = new SetV2LoggingLevelCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface SetV2LoggingOptionsCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { IoTClient, SetV2LoggingOptionsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, SetV2LoggingOptionsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* roleArn: "STRING_VALUE",
|
|
32
|
+
* defaultLogLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED",
|
|
33
|
+
* disableAllLogs: true || false,
|
|
34
|
+
* };
|
|
30
35
|
* const command = new SetV2LoggingOptionsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,26 @@ export interface StartAuditMitigationActionsTaskCommandOutput extends StartAudit
|
|
|
27
27
|
* import { IoTClient, StartAuditMitigationActionsTaskCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, StartAuditMitigationActionsTaskCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* taskId: "STRING_VALUE", // required
|
|
32
|
+
* target: {
|
|
33
|
+
* auditTaskId: "STRING_VALUE",
|
|
34
|
+
* findingIds: [
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* auditCheckToReasonCodeFilter: {
|
|
38
|
+
* "<keys>": [
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* auditCheckToActionsMapping: { // required
|
|
44
|
+
* "<keys>": [
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* clientRequestToken: "STRING_VALUE", // required
|
|
49
|
+
* };
|
|
30
50
|
* const command = new StartAuditMitigationActionsTaskCommand(input);
|
|
31
51
|
* const response = await client.send(command);
|
|
32
52
|
* ```
|
|
@@ -29,6 +29,26 @@ export interface StartDetectMitigationActionsTaskCommandOutput extends StartDete
|
|
|
29
29
|
* import { IoTClient, StartDetectMitigationActionsTaskCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, StartDetectMitigationActionsTaskCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* taskId: "STRING_VALUE", // required
|
|
34
|
+
* target: {
|
|
35
|
+
* violationIds: [
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* securityProfileName: "STRING_VALUE",
|
|
39
|
+
* behaviorName: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* actions: [ // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* violationEventOccurrenceRange: {
|
|
45
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
46
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
47
|
+
* },
|
|
48
|
+
* includeOnlyActiveViolations: true || false,
|
|
49
|
+
* includeSuppressedAlerts: true || false,
|
|
50
|
+
* clientRequestToken: "STRING_VALUE", // required
|
|
51
|
+
* };
|
|
32
52
|
* const command = new StartDetectMitigationActionsTaskCommand(input);
|
|
33
53
|
* const response = await client.send(command);
|
|
34
54
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface StartOnDemandAuditTaskCommandOutput extends StartOnDemandAuditT
|
|
|
27
27
|
* import { IoTClient, StartOnDemandAuditTaskCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, StartOnDemandAuditTaskCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* targetCheckNames: [ // required
|
|
32
|
+
* "STRING_VALUE",
|
|
33
|
+
* ],
|
|
34
|
+
* };
|
|
30
35
|
* const command = new StartOnDemandAuditTaskCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface StartThingRegistrationTaskCommandOutput extends StartThingRegis
|
|
|
27
27
|
* import { IoTClient, StartThingRegistrationTaskCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, StartThingRegistrationTaskCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* templateBody: "STRING_VALUE", // required
|
|
32
|
+
* inputFileBucket: "STRING_VALUE", // required
|
|
33
|
+
* inputFileKey: "STRING_VALUE", // required
|
|
34
|
+
* roleArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
30
36
|
* const command = new StartThingRegistrationTaskCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface StopThingRegistrationTaskCommandOutput extends StopThingRegistr
|
|
|
27
27
|
* import { IoTClient, StopThingRegistrationTaskCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, StopThingRegistrationTaskCommand } = 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 StopThingRegistrationTaskCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
28
28
|
* import { IoTClient, TagResourceCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, TagResourceCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* resourceArn: "STRING_VALUE", // required
|
|
33
|
+
* tags: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* Key: "STRING_VALUE", // required
|
|
36
|
+
* Value: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
31
40
|
* const command = new TagResourceCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -29,6 +29,25 @@ export interface TestAuthorizationCommandOutput extends TestAuthorizationRespons
|
|
|
29
29
|
* import { IoTClient, TestAuthorizationCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, TestAuthorizationCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* principal: "STRING_VALUE",
|
|
34
|
+
* cognitoIdentityPoolId: "STRING_VALUE",
|
|
35
|
+
* authInfos: [ // required
|
|
36
|
+
* {
|
|
37
|
+
* actionType: "PUBLISH" || "SUBSCRIBE" || "RECEIVE" || "CONNECT",
|
|
38
|
+
* resources: [ // required
|
|
39
|
+
* "STRING_VALUE",
|
|
40
|
+
* ],
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* clientId: "STRING_VALUE",
|
|
44
|
+
* policyNamesToAdd: [
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* policyNamesToSkip: [
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* };
|
|
32
51
|
* const command = new TestAuthorizationCommand(input);
|
|
33
52
|
* const response = await client.send(command);
|
|
34
53
|
* ```
|
|
@@ -29,6 +29,25 @@ export interface TestInvokeAuthorizerCommandOutput extends TestInvokeAuthorizerR
|
|
|
29
29
|
* import { IoTClient, TestInvokeAuthorizerCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, TestInvokeAuthorizerCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* authorizerName: "STRING_VALUE", // required
|
|
34
|
+
* token: "STRING_VALUE",
|
|
35
|
+
* tokenSignature: "STRING_VALUE",
|
|
36
|
+
* httpContext: {
|
|
37
|
+
* headers: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* queryString: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* mqttContext: {
|
|
43
|
+
* username: "STRING_VALUE",
|
|
44
|
+
* password: "BLOB_VALUE",
|
|
45
|
+
* clientId: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* tlsContext: {
|
|
48
|
+
* serverName: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
32
51
|
* const command = new TestInvokeAuthorizerCommand(input);
|
|
33
52
|
* const response = await client.send(command);
|
|
34
53
|
* ```
|