@aws-sdk/client-iot 3.300.0 → 3.303.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-cjs/models/models_0.js +251 -293
- package/dist-cjs/models/models_1.js +139 -163
- package/dist-cjs/models/models_2.js +9 -11
- package/dist-es/models/models_0.js +251 -293
- package/dist-es/models/models_1.js +139 -163
- package/dist-es/models/models_2.js +9 -11
- package/dist-types/commands/AcceptCertificateTransferCommand.d.ts +1 -1
- package/dist-types/commands/AddThingToBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/AddThingToThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTargetsWithJobCommand.d.ts +2 -2
- package/dist-types/commands/AttachPolicyCommand.d.ts +1 -1
- package/dist-types/commands/AttachPrincipalPolicyCommand.d.ts +1 -1
- package/dist-types/commands/AttachSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/AttachThingPrincipalCommand.d.ts +1 -1
- package/dist-types/commands/CancelAuditMitigationActionsTaskCommand.d.ts +1 -1
- package/dist-types/commands/CancelAuditTaskCommand.d.ts +1 -1
- package/dist-types/commands/CancelCertificateTransferCommand.d.ts +1 -1
- package/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +1 -1
- package/dist-types/commands/CancelJobCommand.d.ts +1 -1
- package/dist-types/commands/CancelJobExecutionCommand.d.ts +2 -2
- package/dist-types/commands/ConfirmTopicRuleDestinationCommand.d.ts +1 -1
- package/dist-types/commands/CreateAuditSuppressionCommand.d.ts +4 -4
- package/dist-types/commands/CreateAuthorizerCommand.d.ts +4 -4
- package/dist-types/commands/CreateBillingGroupCommand.d.ts +4 -4
- package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +1 -1
- package/dist-types/commands/CreateCustomMetricCommand.d.ts +3 -3
- package/dist-types/commands/CreateDimensionCommand.d.ts +4 -4
- package/dist-types/commands/CreateDomainConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/CreateDynamicThingGroupCommand.d.ts +6 -6
- package/dist-types/commands/CreateFleetMetricCommand.d.ts +5 -5
- package/dist-types/commands/CreateJobCommand.d.ts +19 -19
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +16 -16
- package/dist-types/commands/CreateKeysAndCertificateCommand.d.ts +1 -1
- package/dist-types/commands/CreateMitigationActionCommand.d.ts +11 -11
- package/dist-types/commands/CreateOTAUpdateCommand.d.ts +28 -28
- package/dist-types/commands/CreatePolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateProvisioningClaimCommand.d.ts +1 -1
- package/dist-types/commands/CreateProvisioningTemplateCommand.d.ts +4 -4
- package/dist-types/commands/CreateProvisioningTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateRoleAliasCommand.d.ts +3 -3
- package/dist-types/commands/CreateScheduledAuditCommand.d.ts +4 -4
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +19 -19
- package/dist-types/commands/CreateStreamCommand.d.ts +6 -6
- package/dist-types/commands/CreateThingCommand.d.ts +3 -3
- package/dist-types/commands/CreateThingGroupCommand.d.ts +6 -6
- package/dist-types/commands/CreateThingTypeCommand.d.ts +5 -5
- package/dist-types/commands/CreateTopicRuleCommand.d.ts +47 -47
- package/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +6 -6
- package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAuditSuppressionCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCACertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCustomMetricCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDimensionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDynamicThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFleetMetricCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMitigationActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOTAUpdateCommand.d.ts +1 -1
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisioningTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRoleAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStreamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteThingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteThingTypeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTopicRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTopicRuleDestinationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteV2LoggingLevelCommand.d.ts +1 -1
- package/dist-types/commands/DeprecateThingTypeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuditFindingCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuditMitigationActionsTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuditSuppressionCommand.d.ts +4 -4
- package/dist-types/commands/DescribeAuditTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCACertificateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCustomMetricCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDimensionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFleetMetricCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeManagedJobTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMitigationActionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProvisioningTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProvisioningTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRoleAliasCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScheduledAuditCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeStreamCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingRegistrationTaskCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThingTypeCommand.d.ts +1 -1
- package/dist-types/commands/DetachPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DetachPrincipalPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DetachSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/DetachThingPrincipalCommand.d.ts +1 -1
- package/dist-types/commands/DisableTopicRuleCommand.d.ts +1 -1
- package/dist-types/commands/EnableTopicRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketsAggregationCommand.d.ts +3 -3
- package/dist-types/commands/GetCardinalityCommand.d.ts +1 -1
- package/dist-types/commands/GetEffectivePoliciesCommand.d.ts +1 -1
- package/dist-types/commands/GetJobDocumentCommand.d.ts +1 -1
- package/dist-types/commands/GetOTAUpdateCommand.d.ts +1 -1
- package/dist-types/commands/GetPercentilesCommand.d.ts +2 -2
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetTopicRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetTopicRuleDestinationCommand.d.ts +1 -1
- package/dist-types/commands/ListActiveViolationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAttachedPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListAuditFindingsCommand.d.ts +4 -4
- package/dist-types/commands/ListAuditMitigationActionsExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListAuditMitigationActionsTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListAuditSuppressionsCommand.d.ts +4 -4
- package/dist-types/commands/ListAuditTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListAuthorizersCommand.d.ts +1 -1
- package/dist-types/commands/ListBillingGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListCACertificatesCommand.d.ts +1 -1
- package/dist-types/commands/ListCertificatesByCACommand.d.ts +1 -1
- package/dist-types/commands/ListCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/ListCustomMetricsCommand.d.ts +1 -1
- package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListDimensionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListFleetMetricsCommand.d.ts +1 -1
- package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
- package/dist-types/commands/ListJobExecutionsForJobCommand.d.ts +1 -1
- package/dist-types/commands/ListJobExecutionsForThingCommand.d.ts +1 -1
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListMetricValuesCommand.d.ts +1 -1
- package/dist-types/commands/ListMitigationActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListOTAUpdatesCommand.d.ts +1 -1
- package/dist-types/commands/ListOutgoingCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPolicyPrincipalsCommand.d.ts +1 -1
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListPrincipalPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPrincipalThingsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisioningTemplateVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisioningTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListRelatedResourcesForAuditFindingCommand.d.ts +1 -1
- package/dist-types/commands/ListRoleAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListScheduledAuditsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +1 -1
- package/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/ListThingGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingGroupsForThingCommand.d.ts +1 -1
- package/dist-types/commands/ListThingPrincipalsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListThingTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListThingsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListTopicRuleDestinationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTopicRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListV2LoggingLevelsCommand.d.ts +1 -1
- package/dist-types/commands/ListViolationEventsCommand.d.ts +1 -1
- package/dist-types/commands/PutVerificationStateOnViolationCommand.d.ts +1 -1
- package/dist-types/commands/RegisterCACertificateCommand.d.ts +4 -4
- package/dist-types/commands/RegisterCertificateCommand.d.ts +1 -1
- package/dist-types/commands/RegisterCertificateWithoutCACommand.d.ts +1 -1
- package/dist-types/commands/RegisterThingCommand.d.ts +2 -2
- package/dist-types/commands/RejectCertificateTransferCommand.d.ts +1 -1
- package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/RemoveThingFromThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceTopicRuleCommand.d.ts +47 -47
- package/dist-types/commands/SearchIndexCommand.d.ts +1 -1
- package/dist-types/commands/SetDefaultAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -1
- package/dist-types/commands/SetLoggingOptionsCommand.d.ts +2 -2
- package/dist-types/commands/SetV2LoggingLevelCommand.d.ts +2 -2
- package/dist-types/commands/SetV2LoggingOptionsCommand.d.ts +1 -1
- package/dist-types/commands/StartAuditMitigationActionsTaskCommand.d.ts +7 -7
- package/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +5 -5
- package/dist-types/commands/StartOnDemandAuditTaskCommand.d.ts +2 -2
- package/dist-types/commands/StartThingRegistrationTaskCommand.d.ts +1 -1
- package/dist-types/commands/StopThingRegistrationTaskCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/TestAuthorizationCommand.d.ts +5 -5
- package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +5 -5
- package/dist-types/commands/TransferCertificateCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAccountAuditConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/UpdateAuditSuppressionCommand.d.ts +4 -4
- package/dist-types/commands/UpdateAuthorizerCommand.d.ts +2 -2
- package/dist-types/commands/UpdateBillingGroupCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCACertificateCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCertificateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCustomMetricCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDimensionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDomainConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDynamicThingGroupCommand.d.ts +4 -4
- package/dist-types/commands/UpdateEventConfigurationsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateFleetMetricCommand.d.ts +3 -3
- package/dist-types/commands/UpdateIndexingConfigurationCommand.d.ts +7 -7
- package/dist-types/commands/UpdateJobCommand.d.ts +12 -12
- package/dist-types/commands/UpdateMitigationActionCommand.d.ts +9 -9
- package/dist-types/commands/UpdateProvisioningTemplateCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRoleAliasCommand.d.ts +1 -1
- package/dist-types/commands/UpdateScheduledAuditCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +17 -17
- package/dist-types/commands/UpdateStreamCommand.d.ts +4 -4
- package/dist-types/commands/UpdateThingCommand.d.ts +3 -3
- package/dist-types/commands/UpdateThingGroupCommand.d.ts +4 -4
- package/dist-types/commands/UpdateThingGroupsForThingCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTopicRuleDestinationCommand.d.ts +1 -1
- package/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +12 -12
- package/dist-types/models/models_0.d.ts +461 -251
- package/dist-types/models/models_1.d.ts +259 -139
- package/dist-types/models/models_2.d.ts +19 -9
- package/dist-types/ts3.4/models/models_0.d.ts +322 -251
- package/dist-types/ts3.4/models/models_1.d.ts +179 -139
- package/dist-types/ts3.4/models/models_2.d.ts +12 -9
- package/package.json +34 -34
|
@@ -27,7 +27,7 @@ export interface ListTopicRuleDestinationsCommandOutput extends ListTopicRuleDes
|
|
|
27
27
|
* import { IoTClient, ListTopicRuleDestinationsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListTopicRuleDestinationsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListTopicRuleDestinationsRequest
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
33
33
|
* };
|
|
@@ -27,7 +27,7 @@ export interface ListTopicRulesCommandOutput extends ListTopicRulesResponse, __M
|
|
|
27
27
|
* import { IoTClient, ListTopicRulesCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListTopicRulesCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListTopicRulesRequest
|
|
31
31
|
* topic: "STRING_VALUE",
|
|
32
32
|
* maxResults: Number("int"),
|
|
33
33
|
* nextToken: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ export interface ListV2LoggingLevelsCommandOutput extends ListV2LoggingLevelsRes
|
|
|
27
27
|
* import { IoTClient, ListV2LoggingLevelsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListV2LoggingLevelsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListV2LoggingLevelsRequest
|
|
31
31
|
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID",
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
33
33
|
* maxResults: Number("int"),
|
|
@@ -29,7 +29,7 @@ export interface ListViolationEventsCommandOutput extends ListViolationEventsRes
|
|
|
29
29
|
* import { IoTClient, ListViolationEventsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, ListViolationEventsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // ListViolationEventsRequest
|
|
33
33
|
* startTime: new Date("TIMESTAMP"), // required
|
|
34
34
|
* endTime: new Date("TIMESTAMP"), // required
|
|
35
35
|
* thingName: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface PutVerificationStateOnViolationCommandOutput extends PutVerific
|
|
|
26
26
|
* import { IoTClient, PutVerificationStateOnViolationCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
27
27
|
* // const { IoTClient, PutVerificationStateOnViolationCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
28
28
|
* const client = new IoTClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // PutVerificationStateOnViolationRequest
|
|
30
30
|
* violationId: "STRING_VALUE", // required
|
|
31
31
|
* verificationState: "FALSE_POSITIVE" || "BENIGN_POSITIVE" || "TRUE_POSITIVE" || "UNKNOWN", // required
|
|
32
32
|
* verificationStateDescription: "STRING_VALUE",
|
|
@@ -29,18 +29,18 @@ export interface RegisterCACertificateCommandOutput extends RegisterCACertificat
|
|
|
29
29
|
* import { IoTClient, RegisterCACertificateCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, RegisterCACertificateCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // RegisterCACertificateRequest
|
|
33
33
|
* caCertificate: "STRING_VALUE", // required
|
|
34
34
|
* verificationCertificate: "STRING_VALUE",
|
|
35
35
|
* setAsActive: true || false,
|
|
36
36
|
* allowAutoRegistration: true || false,
|
|
37
|
-
* registrationConfig: {
|
|
37
|
+
* registrationConfig: { // RegistrationConfig
|
|
38
38
|
* templateBody: "STRING_VALUE",
|
|
39
39
|
* roleArn: "STRING_VALUE",
|
|
40
40
|
* templateName: "STRING_VALUE",
|
|
41
41
|
* },
|
|
42
|
-
* tags: [
|
|
43
|
-
* {
|
|
42
|
+
* tags: [ // TagList
|
|
43
|
+
* { // Tag
|
|
44
44
|
* Key: "STRING_VALUE", // required
|
|
45
45
|
* Value: "STRING_VALUE",
|
|
46
46
|
* },
|
|
@@ -29,7 +29,7 @@ export interface RegisterCertificateCommandOutput extends RegisterCertificateRes
|
|
|
29
29
|
* import { IoTClient, RegisterCertificateCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, RegisterCertificateCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // RegisterCertificateRequest
|
|
33
33
|
* certificatePem: "STRING_VALUE", // required
|
|
34
34
|
* caCertificatePem: "STRING_VALUE",
|
|
35
35
|
* setAsActive: true || false,
|
|
@@ -29,7 +29,7 @@ export interface RegisterCertificateWithoutCACommandOutput extends RegisterCerti
|
|
|
29
29
|
* import { IoTClient, RegisterCertificateWithoutCACommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, RegisterCertificateWithoutCACommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // RegisterCertificateWithoutCARequest
|
|
33
33
|
* certificatePem: "STRING_VALUE", // required
|
|
34
34
|
* status: "ACTIVE" || "INACTIVE" || "REVOKED" || "PENDING_TRANSFER" || "REGISTER_INACTIVE" || "PENDING_ACTIVATION",
|
|
35
35
|
* };
|
|
@@ -30,9 +30,9 @@ export interface RegisterThingCommandOutput extends RegisterThingResponse, __Met
|
|
|
30
30
|
* import { IoTClient, RegisterThingCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
31
31
|
* // const { IoTClient, RegisterThingCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
32
32
|
* const client = new IoTClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // RegisterThingRequest
|
|
34
34
|
* templateBody: "STRING_VALUE", // required
|
|
35
|
-
* parameters: {
|
|
35
|
+
* parameters: { // Parameters
|
|
36
36
|
* "<keys>": "STRING_VALUE",
|
|
37
37
|
* },
|
|
38
38
|
* };
|
|
@@ -33,7 +33,7 @@ export interface RejectCertificateTransferCommandOutput extends __MetadataBearer
|
|
|
33
33
|
* import { IoTClient, RejectCertificateTransferCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
34
34
|
* // const { IoTClient, RejectCertificateTransferCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
35
35
|
* const client = new IoTClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // RejectCertificateTransferRequest
|
|
37
37
|
* certificateId: "STRING_VALUE", // required
|
|
38
38
|
* rejectReason: "STRING_VALUE",
|
|
39
39
|
* };
|
|
@@ -30,7 +30,7 @@ export interface RemoveThingFromBillingGroupCommandOutput extends RemoveThingFro
|
|
|
30
30
|
* import { IoTClient, RemoveThingFromBillingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
31
31
|
* // const { IoTClient, RemoveThingFromBillingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
32
32
|
* const client = new IoTClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // RemoveThingFromBillingGroupRequest
|
|
34
34
|
* billingGroupName: "STRING_VALUE",
|
|
35
35
|
* billingGroupArn: "STRING_VALUE",
|
|
36
36
|
* thingName: "STRING_VALUE",
|
|
@@ -32,7 +32,7 @@ export interface RemoveThingFromThingGroupCommandOutput extends RemoveThingFromT
|
|
|
32
32
|
* import { IoTClient, RemoveThingFromThingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
33
33
|
* // const { IoTClient, RemoveThingFromThingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
34
34
|
* const client = new IoTClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // RemoveThingFromThingGroupRequest
|
|
36
36
|
* thingGroupName: "STRING_VALUE",
|
|
37
37
|
* thingGroupArn: "STRING_VALUE",
|
|
38
38
|
* thingName: "STRING_VALUE",
|
|
@@ -29,14 +29,14 @@ 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 = {
|
|
32
|
+
* const input = { // ReplaceTopicRuleRequest
|
|
33
33
|
* ruleName: "STRING_VALUE", // required
|
|
34
|
-
* topicRulePayload: {
|
|
34
|
+
* topicRulePayload: { // TopicRulePayload
|
|
35
35
|
* sql: "STRING_VALUE", // required
|
|
36
36
|
* description: "STRING_VALUE",
|
|
37
|
-
* actions: [ // required
|
|
38
|
-
* {
|
|
39
|
-
* dynamoDB: {
|
|
37
|
+
* actions: [ // ActionList // required
|
|
38
|
+
* { // Action
|
|
39
|
+
* dynamoDB: { // DynamoDBAction
|
|
40
40
|
* tableName: "STRING_VALUE", // required
|
|
41
41
|
* roleArn: "STRING_VALUE", // required
|
|
42
42
|
* operation: "STRING_VALUE",
|
|
@@ -48,61 +48,61 @@ export interface ReplaceTopicRuleCommandOutput extends __MetadataBearer {
|
|
|
48
48
|
* rangeKeyType: "STRING" || "NUMBER",
|
|
49
49
|
* payloadField: "STRING_VALUE",
|
|
50
50
|
* },
|
|
51
|
-
* dynamoDBv2: {
|
|
51
|
+
* dynamoDBv2: { // DynamoDBv2Action
|
|
52
52
|
* roleArn: "STRING_VALUE", // required
|
|
53
|
-
* putItem: {
|
|
53
|
+
* putItem: { // PutItemInput
|
|
54
54
|
* tableName: "STRING_VALUE", // required
|
|
55
55
|
* },
|
|
56
56
|
* },
|
|
57
|
-
* lambda: {
|
|
57
|
+
* lambda: { // LambdaAction
|
|
58
58
|
* functionArn: "STRING_VALUE", // required
|
|
59
59
|
* },
|
|
60
|
-
* sns: {
|
|
60
|
+
* sns: { // SnsAction
|
|
61
61
|
* targetArn: "STRING_VALUE", // required
|
|
62
62
|
* roleArn: "STRING_VALUE", // required
|
|
63
63
|
* messageFormat: "RAW" || "JSON",
|
|
64
64
|
* },
|
|
65
|
-
* sqs: {
|
|
65
|
+
* sqs: { // SqsAction
|
|
66
66
|
* roleArn: "STRING_VALUE", // required
|
|
67
67
|
* queueUrl: "STRING_VALUE", // required
|
|
68
68
|
* useBase64: true || false,
|
|
69
69
|
* },
|
|
70
|
-
* kinesis: {
|
|
70
|
+
* kinesis: { // KinesisAction
|
|
71
71
|
* roleArn: "STRING_VALUE", // required
|
|
72
72
|
* streamName: "STRING_VALUE", // required
|
|
73
73
|
* partitionKey: "STRING_VALUE",
|
|
74
74
|
* },
|
|
75
|
-
* republish: {
|
|
75
|
+
* republish: { // RepublishAction
|
|
76
76
|
* roleArn: "STRING_VALUE", // required
|
|
77
77
|
* topic: "STRING_VALUE", // required
|
|
78
78
|
* qos: Number("int"),
|
|
79
|
-
* headers: {
|
|
79
|
+
* headers: { // MqttHeaders
|
|
80
80
|
* payloadFormatIndicator: "STRING_VALUE",
|
|
81
81
|
* contentType: "STRING_VALUE",
|
|
82
82
|
* responseTopic: "STRING_VALUE",
|
|
83
83
|
* correlationData: "STRING_VALUE",
|
|
84
84
|
* messageExpiry: "STRING_VALUE",
|
|
85
|
-
* userProperties: [
|
|
86
|
-
* {
|
|
85
|
+
* userProperties: [ // UserProperties
|
|
86
|
+
* { // UserProperty
|
|
87
87
|
* key: "STRING_VALUE", // required
|
|
88
88
|
* value: "STRING_VALUE", // required
|
|
89
89
|
* },
|
|
90
90
|
* ],
|
|
91
91
|
* },
|
|
92
92
|
* },
|
|
93
|
-
* s3: {
|
|
93
|
+
* s3: { // S3Action
|
|
94
94
|
* roleArn: "STRING_VALUE", // required
|
|
95
95
|
* bucketName: "STRING_VALUE", // required
|
|
96
96
|
* key: "STRING_VALUE", // required
|
|
97
97
|
* cannedAcl: "private" || "public-read" || "public-read-write" || "aws-exec-read" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control" || "log-delivery-write",
|
|
98
98
|
* },
|
|
99
|
-
* firehose: {
|
|
99
|
+
* firehose: { // FirehoseAction
|
|
100
100
|
* roleArn: "STRING_VALUE", // required
|
|
101
101
|
* deliveryStreamName: "STRING_VALUE", // required
|
|
102
102
|
* separator: "STRING_VALUE",
|
|
103
103
|
* batchMode: true || false,
|
|
104
104
|
* },
|
|
105
|
-
* cloudwatchMetric: {
|
|
105
|
+
* cloudwatchMetric: { // CloudwatchMetricAction
|
|
106
106
|
* roleArn: "STRING_VALUE", // required
|
|
107
107
|
* metricNamespace: "STRING_VALUE", // required
|
|
108
108
|
* metricName: "STRING_VALUE", // required
|
|
@@ -110,56 +110,56 @@ export interface ReplaceTopicRuleCommandOutput extends __MetadataBearer {
|
|
|
110
110
|
* metricUnit: "STRING_VALUE", // required
|
|
111
111
|
* metricTimestamp: "STRING_VALUE",
|
|
112
112
|
* },
|
|
113
|
-
* cloudwatchAlarm: {
|
|
113
|
+
* cloudwatchAlarm: { // CloudwatchAlarmAction
|
|
114
114
|
* roleArn: "STRING_VALUE", // required
|
|
115
115
|
* alarmName: "STRING_VALUE", // required
|
|
116
116
|
* stateReason: "STRING_VALUE", // required
|
|
117
117
|
* stateValue: "STRING_VALUE", // required
|
|
118
118
|
* },
|
|
119
|
-
* cloudwatchLogs: {
|
|
119
|
+
* cloudwatchLogs: { // CloudwatchLogsAction
|
|
120
120
|
* roleArn: "STRING_VALUE", // required
|
|
121
121
|
* logGroupName: "STRING_VALUE", // required
|
|
122
122
|
* batchMode: true || false,
|
|
123
123
|
* },
|
|
124
|
-
* elasticsearch: {
|
|
124
|
+
* elasticsearch: { // ElasticsearchAction
|
|
125
125
|
* roleArn: "STRING_VALUE", // required
|
|
126
126
|
* endpoint: "STRING_VALUE", // required
|
|
127
127
|
* index: "STRING_VALUE", // required
|
|
128
128
|
* type: "STRING_VALUE", // required
|
|
129
129
|
* id: "STRING_VALUE", // required
|
|
130
130
|
* },
|
|
131
|
-
* salesforce: {
|
|
131
|
+
* salesforce: { // SalesforceAction
|
|
132
132
|
* token: "STRING_VALUE", // required
|
|
133
133
|
* url: "STRING_VALUE", // required
|
|
134
134
|
* },
|
|
135
|
-
* iotAnalytics: {
|
|
135
|
+
* iotAnalytics: { // IotAnalyticsAction
|
|
136
136
|
* channelArn: "STRING_VALUE",
|
|
137
137
|
* channelName: "STRING_VALUE",
|
|
138
138
|
* batchMode: true || false,
|
|
139
139
|
* roleArn: "STRING_VALUE",
|
|
140
140
|
* },
|
|
141
|
-
* iotEvents: {
|
|
141
|
+
* iotEvents: { // IotEventsAction
|
|
142
142
|
* inputName: "STRING_VALUE", // required
|
|
143
143
|
* messageId: "STRING_VALUE",
|
|
144
144
|
* batchMode: true || false,
|
|
145
145
|
* roleArn: "STRING_VALUE", // required
|
|
146
146
|
* },
|
|
147
|
-
* iotSiteWise: {
|
|
148
|
-
* putAssetPropertyValueEntries: [ // required
|
|
149
|
-
* {
|
|
147
|
+
* iotSiteWise: { // IotSiteWiseAction
|
|
148
|
+
* putAssetPropertyValueEntries: [ // PutAssetPropertyValueEntryList // required
|
|
149
|
+
* { // PutAssetPropertyValueEntry
|
|
150
150
|
* entryId: "STRING_VALUE",
|
|
151
151
|
* assetId: "STRING_VALUE",
|
|
152
152
|
* propertyId: "STRING_VALUE",
|
|
153
153
|
* propertyAlias: "STRING_VALUE",
|
|
154
|
-
* propertyValues: [ // required
|
|
155
|
-
* {
|
|
156
|
-
* value: { // Union: only one key present
|
|
154
|
+
* propertyValues: [ // AssetPropertyValueList // required
|
|
155
|
+
* { // AssetPropertyValue
|
|
156
|
+
* value: { // AssetPropertyVariant Union: only one key present
|
|
157
157
|
* stringValue: "STRING_VALUE",
|
|
158
158
|
* integerValue: "STRING_VALUE",
|
|
159
159
|
* doubleValue: "STRING_VALUE",
|
|
160
160
|
* booleanValue: "STRING_VALUE",
|
|
161
161
|
* },
|
|
162
|
-
* timestamp: {
|
|
162
|
+
* timestamp: { // AssetPropertyTimestamp
|
|
163
163
|
* timeInSeconds: "STRING_VALUE", // required
|
|
164
164
|
* offsetInNanos: "STRING_VALUE",
|
|
165
165
|
* },
|
|
@@ -170,64 +170,64 @@ export interface ReplaceTopicRuleCommandOutput extends __MetadataBearer {
|
|
|
170
170
|
* ],
|
|
171
171
|
* roleArn: "STRING_VALUE", // required
|
|
172
172
|
* },
|
|
173
|
-
* stepFunctions: {
|
|
173
|
+
* stepFunctions: { // StepFunctionsAction
|
|
174
174
|
* executionNamePrefix: "STRING_VALUE",
|
|
175
175
|
* stateMachineName: "STRING_VALUE", // required
|
|
176
176
|
* roleArn: "STRING_VALUE", // required
|
|
177
177
|
* },
|
|
178
|
-
* timestream: {
|
|
178
|
+
* timestream: { // TimestreamAction
|
|
179
179
|
* roleArn: "STRING_VALUE", // required
|
|
180
180
|
* databaseName: "STRING_VALUE", // required
|
|
181
181
|
* tableName: "STRING_VALUE", // required
|
|
182
|
-
* dimensions: [ // required
|
|
183
|
-
* {
|
|
182
|
+
* dimensions: [ // TimestreamDimensionList // required
|
|
183
|
+
* { // TimestreamDimension
|
|
184
184
|
* name: "STRING_VALUE", // required
|
|
185
185
|
* value: "STRING_VALUE", // required
|
|
186
186
|
* },
|
|
187
187
|
* ],
|
|
188
|
-
* timestamp: {
|
|
188
|
+
* timestamp: { // TimestreamTimestamp
|
|
189
189
|
* value: "STRING_VALUE", // required
|
|
190
190
|
* unit: "STRING_VALUE", // required
|
|
191
191
|
* },
|
|
192
192
|
* },
|
|
193
|
-
* http: {
|
|
193
|
+
* http: { // HttpAction
|
|
194
194
|
* url: "STRING_VALUE", // required
|
|
195
195
|
* confirmationUrl: "STRING_VALUE",
|
|
196
|
-
* headers: [
|
|
197
|
-
* {
|
|
196
|
+
* headers: [ // HeaderList
|
|
197
|
+
* { // HttpActionHeader
|
|
198
198
|
* key: "STRING_VALUE", // required
|
|
199
199
|
* value: "STRING_VALUE", // required
|
|
200
200
|
* },
|
|
201
201
|
* ],
|
|
202
|
-
* auth: {
|
|
203
|
-
* sigv4: {
|
|
202
|
+
* auth: { // HttpAuthorization
|
|
203
|
+
* sigv4: { // SigV4Authorization
|
|
204
204
|
* signingRegion: "STRING_VALUE", // required
|
|
205
205
|
* serviceName: "STRING_VALUE", // required
|
|
206
206
|
* roleArn: "STRING_VALUE", // required
|
|
207
207
|
* },
|
|
208
208
|
* },
|
|
209
209
|
* },
|
|
210
|
-
* kafka: {
|
|
210
|
+
* kafka: { // KafkaAction
|
|
211
211
|
* destinationArn: "STRING_VALUE", // required
|
|
212
212
|
* topic: "STRING_VALUE", // required
|
|
213
213
|
* key: "STRING_VALUE",
|
|
214
214
|
* partition: "STRING_VALUE",
|
|
215
|
-
* clientProperties: { // required
|
|
215
|
+
* clientProperties: { // ClientProperties // required
|
|
216
216
|
* "<keys>": "STRING_VALUE",
|
|
217
217
|
* },
|
|
218
218
|
* },
|
|
219
|
-
* openSearch: {
|
|
219
|
+
* openSearch: { // OpenSearchAction
|
|
220
220
|
* roleArn: "STRING_VALUE", // required
|
|
221
221
|
* endpoint: "STRING_VALUE", // required
|
|
222
222
|
* index: "STRING_VALUE", // required
|
|
223
223
|
* type: "STRING_VALUE", // required
|
|
224
224
|
* id: "STRING_VALUE", // required
|
|
225
225
|
* },
|
|
226
|
-
* location: {
|
|
226
|
+
* location: { // LocationAction
|
|
227
227
|
* roleArn: "STRING_VALUE", // required
|
|
228
228
|
* trackerName: "STRING_VALUE", // required
|
|
229
229
|
* deviceId: "STRING_VALUE", // required
|
|
230
|
-
* timestamp: {
|
|
230
|
+
* timestamp: { // LocationTimestamp
|
|
231
231
|
* value: "STRING_VALUE", // required
|
|
232
232
|
* unit: "STRING_VALUE",
|
|
233
233
|
* },
|
|
@@ -356,7 +356,7 @@ export interface ReplaceTopicRuleCommandOutput extends __MetadataBearer {
|
|
|
356
356
|
* propertyAlias: "STRING_VALUE",
|
|
357
357
|
* propertyValues: [ // required
|
|
358
358
|
* {
|
|
359
|
-
* value: {
|
|
359
|
+
* value: {// Union: only one key present
|
|
360
360
|
* stringValue: "STRING_VALUE",
|
|
361
361
|
* integerValue: "STRING_VALUE",
|
|
362
362
|
* doubleValue: "STRING_VALUE",
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // SearchIndexRequest
|
|
31
31
|
* indexName: "STRING_VALUE",
|
|
32
32
|
* queryString: "STRING_VALUE", // required
|
|
33
33
|
* nextToken: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // SetDefaultAuthorizerRequest
|
|
32
32
|
* authorizerName: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new SetDefaultAuthorizerCommand(input);
|
|
@@ -30,7 +30,7 @@ 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 = {
|
|
33
|
+
* const input = { // SetDefaultPolicyVersionRequest
|
|
34
34
|
* policyName: "STRING_VALUE", // required
|
|
35
35
|
* policyVersionId: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
@@ -29,8 +29,8 @@ 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: {
|
|
32
|
+
* const input = { // SetLoggingOptionsRequest
|
|
33
|
+
* loggingOptionsPayload: { // LoggingOptionsPayload
|
|
34
34
|
* roleArn: "STRING_VALUE", // required
|
|
35
35
|
* logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED",
|
|
36
36
|
* },
|
|
@@ -27,8 +27,8 @@ 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: {
|
|
30
|
+
* const input = { // SetV2LoggingLevelRequest
|
|
31
|
+
* logTarget: { // LogTarget
|
|
32
32
|
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required
|
|
33
33
|
* targetName: "STRING_VALUE",
|
|
34
34
|
* },
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // SetV2LoggingOptionsRequest
|
|
31
31
|
* roleArn: "STRING_VALUE",
|
|
32
32
|
* defaultLogLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED",
|
|
33
33
|
* disableAllLogs: true || false,
|
|
@@ -27,21 +27,21 @@ 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 = {
|
|
30
|
+
* const input = { // StartAuditMitigationActionsTaskRequest
|
|
31
31
|
* taskId: "STRING_VALUE", // required
|
|
32
|
-
* target: {
|
|
32
|
+
* target: { // AuditMitigationActionsTaskTarget
|
|
33
33
|
* auditTaskId: "STRING_VALUE",
|
|
34
|
-
* findingIds: [
|
|
34
|
+
* findingIds: [ // FindingIds
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
|
-
* auditCheckToReasonCodeFilter: {
|
|
38
|
-
* "<keys>": [
|
|
37
|
+
* auditCheckToReasonCodeFilter: { // AuditCheckToReasonCodeFilter
|
|
38
|
+
* "<keys>": [ // ReasonForNonComplianceCodes
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* },
|
|
42
42
|
* },
|
|
43
|
-
* auditCheckToActionsMapping: { // required
|
|
44
|
-
* "<keys>": [
|
|
43
|
+
* auditCheckToActionsMapping: { // AuditCheckToActionsMapping // required
|
|
44
|
+
* "<keys>": [ // MitigationActionNameList
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
47
|
* },
|
|
@@ -29,19 +29,19 @@ 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 = {
|
|
32
|
+
* const input = { // StartDetectMitigationActionsTaskRequest
|
|
33
33
|
* taskId: "STRING_VALUE", // required
|
|
34
|
-
* target: {
|
|
35
|
-
* violationIds: [
|
|
34
|
+
* target: { // DetectMitigationActionsTaskTarget
|
|
35
|
+
* violationIds: [ // TargetViolationIdsForDetectMitigationActions
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
38
|
* securityProfileName: "STRING_VALUE",
|
|
39
39
|
* behaviorName: "STRING_VALUE",
|
|
40
40
|
* },
|
|
41
|
-
* actions: [ // required
|
|
41
|
+
* actions: [ // DetectMitigationActionsToExecuteList // required
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
|
-
* violationEventOccurrenceRange: {
|
|
44
|
+
* violationEventOccurrenceRange: { // ViolationEventOccurrenceRange
|
|
45
45
|
* startTime: new Date("TIMESTAMP"), // required
|
|
46
46
|
* endTime: new Date("TIMESTAMP"), // required
|
|
47
47
|
* },
|
|
@@ -27,8 +27,8 @@ 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
|
|
30
|
+
* const input = { // StartOnDemandAuditTaskRequest
|
|
31
|
+
* targetCheckNames: [ // TargetAuditCheckNames // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // StartThingRegistrationTaskRequest
|
|
31
31
|
* templateBody: "STRING_VALUE", // required
|
|
32
32
|
* inputFileBucket: "STRING_VALUE", // required
|
|
33
33
|
* inputFileKey: "STRING_VALUE", // required
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // StopThingRegistrationTaskRequest
|
|
31
31
|
* taskId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new StopThingRegistrationTaskCommand(input);
|
|
@@ -28,10 +28,10 @@ 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 = {
|
|
31
|
+
* const input = { // TagResourceRequest
|
|
32
32
|
* resourceArn: "STRING_VALUE", // required
|
|
33
|
-
* tags: [ // required
|
|
34
|
-
* {
|
|
33
|
+
* tags: [ // TagList // required
|
|
34
|
+
* { // Tag
|
|
35
35
|
* Key: "STRING_VALUE", // required
|
|
36
36
|
* Value: "STRING_VALUE",
|
|
37
37
|
* },
|
|
@@ -29,19 +29,19 @@ 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 = {
|
|
32
|
+
* const input = { // TestAuthorizationRequest
|
|
33
33
|
* principal: "STRING_VALUE",
|
|
34
34
|
* cognitoIdentityPoolId: "STRING_VALUE",
|
|
35
|
-
* authInfos: [ // required
|
|
36
|
-
* {
|
|
35
|
+
* authInfos: [ // AuthInfos // required
|
|
36
|
+
* { // AuthInfo
|
|
37
37
|
* actionType: "PUBLISH" || "SUBSCRIBE" || "RECEIVE" || "CONNECT",
|
|
38
|
-
* resources: [ // required
|
|
38
|
+
* resources: [ // Resources // required
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* },
|
|
42
42
|
* ],
|
|
43
43
|
* clientId: "STRING_VALUE",
|
|
44
|
-
* policyNamesToAdd: [
|
|
44
|
+
* policyNamesToAdd: [ // PolicyNames
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
47
|
* policyNamesToSkip: [
|
|
@@ -29,22 +29,22 @@ 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 = {
|
|
32
|
+
* const input = { // TestInvokeAuthorizerRequest
|
|
33
33
|
* authorizerName: "STRING_VALUE", // required
|
|
34
34
|
* token: "STRING_VALUE",
|
|
35
35
|
* tokenSignature: "STRING_VALUE",
|
|
36
|
-
* httpContext: {
|
|
37
|
-
* headers: {
|
|
36
|
+
* httpContext: { // HttpContext
|
|
37
|
+
* headers: { // HttpHeaders
|
|
38
38
|
* "<keys>": "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
40
|
* queryString: "STRING_VALUE",
|
|
41
41
|
* },
|
|
42
|
-
* mqttContext: {
|
|
42
|
+
* mqttContext: { // MqttContext
|
|
43
43
|
* username: "STRING_VALUE",
|
|
44
44
|
* password: "BLOB_VALUE",
|
|
45
45
|
* clientId: "STRING_VALUE",
|
|
46
46
|
* },
|
|
47
|
-
* tlsContext: {
|
|
47
|
+
* tlsContext: { // TlsContext
|
|
48
48
|
* serverName: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* };
|
|
@@ -34,7 +34,7 @@ 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 = {
|
|
37
|
+
* const input = { // TransferCertificateRequest
|
|
38
38
|
* certificateId: "STRING_VALUE", // required
|
|
39
39
|
* targetAwsAccount: "STRING_VALUE", // required
|
|
40
40
|
* transferMessage: "STRING_VALUE",
|