@aws-sdk/client-iot 3.299.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/AcceptCertificateTransferCommand.d.ts +4 -0
- package/dist-types/commands/AddThingToBillingGroupCommand.d.ts +6 -0
- package/dist-types/commands/AddThingToThingGroupCommand.d.ts +7 -0
- package/dist-types/commands/AssociateTargetsWithJobCommand.d.ts +8 -0
- package/dist-types/commands/AttachPolicyCommand.d.ts +4 -0
- package/dist-types/commands/AttachPrincipalPolicyCommand.d.ts +4 -0
- package/dist-types/commands/AttachSecurityProfileCommand.d.ts +4 -0
- package/dist-types/commands/AttachThingPrincipalCommand.d.ts +4 -0
- package/dist-types/commands/CancelAuditMitigationActionsTaskCommand.d.ts +3 -0
- package/dist-types/commands/CancelAuditTaskCommand.d.ts +3 -0
- package/dist-types/commands/CancelCertificateTransferCommand.d.ts +3 -0
- package/dist-types/commands/CancelDetectMitigationActionsTaskCommand.d.ts +3 -0
- package/dist-types/commands/CancelJobCommand.d.ts +6 -0
- package/dist-types/commands/CancelJobExecutionCommand.d.ts +9 -0
- package/dist-types/commands/ClearDefaultAuthorizerCommand.d.ts +1 -0
- package/dist-types/commands/ConfirmTopicRuleDestinationCommand.d.ts +3 -0
- package/dist-types/commands/CreateAuditSuppressionCommand.d.ts +26 -0
- package/dist-types/commands/CreateAuthorizerCommand.d.ts +17 -0
- package/dist-types/commands/CreateBillingGroupCommand.d.ts +12 -0
- package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +4 -0
- package/dist-types/commands/CreateCustomMetricCommand.d.ts +12 -0
- package/dist-types/commands/CreateDimensionCommand.d.ts +14 -0
- package/dist-types/commands/CreateDomainConfigurationCommand.d.ts +19 -0
- package/dist-types/commands/CreateDynamicThingGroupCommand.d.ts +21 -0
- package/dist-types/commands/CreateFleetMetricCommand.d.ts +22 -0
- package/dist-types/commands/CreateJobCommand.d.ts +68 -0
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +55 -0
- package/dist-types/commands/CreateKeysAndCertificateCommand.d.ts +3 -0
- package/dist-types/commands/CreateMitigationActionCommand.d.ts +34 -0
- package/dist-types/commands/CreateOTAUpdateCommand.d.ts +97 -0
- package/dist-types/commands/CreatePolicyCommand.d.ts +10 -0
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +5 -0
- package/dist-types/commands/CreateProvisioningClaimCommand.d.ts +3 -0
- package/dist-types/commands/CreateProvisioningTemplateCommand.d.ts +18 -0
- package/dist-types/commands/CreateProvisioningTemplateVersionCommand.d.ts +5 -0
- package/dist-types/commands/CreateRoleAliasCommand.d.ts +11 -0
- package/dist-types/commands/CreateScheduledAuditCommand.d.ts +15 -0
- package/dist-types/commands/CreateSecurityProfileCommand.d.ts +67 -0
- package/dist-types/commands/CreateStreamCommand.d.ts +21 -0
- package/dist-types/commands/CreateThingCommand.d.ts +11 -0
- package/dist-types/commands/CreateThingGroupCommand.d.ts +19 -0
- package/dist-types/commands/CreateThingTypeCommand.d.ts +15 -0
- package/dist-types/commands/CreateTopicRuleCommand.d.ts +412 -0
- package/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +17 -0
- package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteAuditSuppressionCommand.d.ts +22 -0
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBillingGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCACertificateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCustomMetricCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDimensionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDomainConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDynamicThingGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFleetMetricCommand.d.ts +4 -0
- package/dist-types/commands/DeleteJobCommand.d.ts +5 -0
- package/dist-types/commands/DeleteJobExecutionCommand.d.ts +7 -0
- package/dist-types/commands/DeleteJobTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteMitigationActionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOTAUpdateCommand.d.ts +5 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteProvisioningTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DeleteProvisioningTemplateVersionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRegistrationCodeCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRoleAliasCommand.d.ts +3 -0
- package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +3 -0
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -0
- package/dist-types/commands/DeleteStreamCommand.d.ts +3 -0
- package/dist-types/commands/DeleteThingCommand.d.ts +4 -0
- package/dist-types/commands/DeleteThingGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteThingTypeCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTopicRuleCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTopicRuleDestinationCommand.d.ts +3 -0
- package/dist-types/commands/DeleteV2LoggingLevelCommand.d.ts +4 -0
- package/dist-types/commands/DeprecateThingTypeCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccountAuditConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAuditFindingCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAuditMitigationActionsTaskCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAuditSuppressionCommand.d.ts +22 -0
- package/dist-types/commands/DescribeAuditTaskCommand.d.ts +3 -0
- package/dist-types/commands/DescribeAuthorizerCommand.d.ts +3 -0
- package/dist-types/commands/DescribeBillingGroupCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCACertificateCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCertificateCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCustomMetricCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDefaultAuthorizerCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDetectMitigationActionsTaskCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDimensionCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDomainConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +3 -0
- package/dist-types/commands/DescribeEventConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeFleetMetricCommand.d.ts +3 -0
- package/dist-types/commands/DescribeIndexCommand.d.ts +3 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeJobExecutionCommand.d.ts +5 -0
- package/dist-types/commands/DescribeJobTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DescribeManagedJobTemplateCommand.d.ts +4 -0
- package/dist-types/commands/DescribeMitigationActionCommand.d.ts +3 -0
- package/dist-types/commands/DescribeProvisioningTemplateCommand.d.ts +3 -0
- package/dist-types/commands/DescribeProvisioningTemplateVersionCommand.d.ts +4 -0
- package/dist-types/commands/DescribeRoleAliasCommand.d.ts +3 -0
- package/dist-types/commands/DescribeScheduledAuditCommand.d.ts +3 -0
- package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStreamCommand.d.ts +3 -0
- package/dist-types/commands/DescribeThingCommand.d.ts +3 -0
- package/dist-types/commands/DescribeThingGroupCommand.d.ts +3 -0
- package/dist-types/commands/DescribeThingRegistrationTaskCommand.d.ts +3 -0
- package/dist-types/commands/DescribeThingTypeCommand.d.ts +3 -0
- package/dist-types/commands/DetachPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DetachPrincipalPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DetachSecurityProfileCommand.d.ts +4 -0
- package/dist-types/commands/DetachThingPrincipalCommand.d.ts +4 -0
- package/dist-types/commands/DisableTopicRuleCommand.d.ts +3 -0
- package/dist-types/commands/EnableTopicRuleCommand.d.ts +3 -0
- package/dist-types/commands/GetBehaviorModelTrainingSummariesCommand.d.ts +5 -0
- package/dist-types/commands/GetBucketsAggregationCommand.d.ts +11 -0
- package/dist-types/commands/GetCardinalityCommand.d.ts +6 -0
- package/dist-types/commands/GetEffectivePoliciesCommand.d.ts +5 -0
- package/dist-types/commands/GetIndexingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetJobDocumentCommand.d.ts +3 -0
- package/dist-types/commands/GetLoggingOptionsCommand.d.ts +1 -0
- package/dist-types/commands/GetOTAUpdateCommand.d.ts +3 -0
- package/dist-types/commands/GetPercentilesCommand.d.ts +9 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +4 -0
- package/dist-types/commands/GetRegistrationCodeCommand.d.ts +1 -0
- package/dist-types/commands/GetStatisticsCommand.d.ts +6 -0
- package/dist-types/commands/GetTopicRuleCommand.d.ts +3 -0
- package/dist-types/commands/GetTopicRuleDestinationCommand.d.ts +3 -0
- package/dist-types/commands/GetV2LoggingOptionsCommand.d.ts +1 -0
- package/dist-types/commands/ListActiveViolationsCommand.d.ts +9 -0
- package/dist-types/commands/ListAttachedPoliciesCommand.d.ts +6 -0
- package/dist-types/commands/ListAuditFindingsCommand.d.ts +28 -0
- package/dist-types/commands/ListAuditMitigationActionsExecutionsCommand.d.ts +7 -0
- package/dist-types/commands/ListAuditMitigationActionsTasksCommand.d.ts +9 -0
- package/dist-types/commands/ListAuditSuppressionsCommand.d.ts +25 -0
- package/dist-types/commands/ListAuditTasksCommand.d.ts +8 -0
- package/dist-types/commands/ListAuthorizersCommand.d.ts +6 -0
- package/dist-types/commands/ListBillingGroupsCommand.d.ts +5 -0
- package/dist-types/commands/ListCACertificatesCommand.d.ts +6 -0
- package/dist-types/commands/ListCertificatesByCACommand.d.ts +6 -0
- package/dist-types/commands/ListCertificatesCommand.d.ts +5 -0
- package/dist-types/commands/ListCustomMetricsCommand.d.ts +4 -0
- package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +9 -0
- package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +6 -0
- package/dist-types/commands/ListDimensionsCommand.d.ts +4 -0
- package/dist-types/commands/ListDomainConfigurationsCommand.d.ts +5 -0
- package/dist-types/commands/ListFleetMetricsCommand.d.ts +4 -0
- package/dist-types/commands/ListIndicesCommand.d.ts +4 -0
- package/dist-types/commands/ListJobExecutionsForJobCommand.d.ts +6 -0
- package/dist-types/commands/ListJobExecutionsForThingCommand.d.ts +8 -0
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +4 -0
- package/dist-types/commands/ListJobsCommand.d.ts +9 -0
- package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +5 -0
- package/dist-types/commands/ListMetricValuesCommand.d.ts +10 -0
- package/dist-types/commands/ListMitigationActionsCommand.d.ts +5 -0
- package/dist-types/commands/ListOTAUpdatesCommand.d.ts +5 -0
- package/dist-types/commands/ListOutgoingCertificatesCommand.d.ts +5 -0
- package/dist-types/commands/ListPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListPolicyPrincipalsCommand.d.ts +6 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +3 -0
- package/dist-types/commands/ListPrincipalPoliciesCommand.d.ts +6 -0
- package/dist-types/commands/ListPrincipalThingsCommand.d.ts +5 -0
- package/dist-types/commands/ListProvisioningTemplateVersionsCommand.d.ts +5 -0
- package/dist-types/commands/ListProvisioningTemplatesCommand.d.ts +4 -0
- package/dist-types/commands/ListRelatedResourcesForAuditFindingCommand.d.ts +5 -0
- package/dist-types/commands/ListRoleAliasesCommand.d.ts +5 -0
- package/dist-types/commands/ListScheduledAuditsCommand.d.ts +4 -0
- package/dist-types/commands/ListSecurityProfilesCommand.d.ts +6 -0
- package/dist-types/commands/ListSecurityProfilesForTargetCommand.d.ts +6 -0
- package/dist-types/commands/ListStreamsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -0
- package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +5 -0
- package/dist-types/commands/ListTargetsForSecurityProfileCommand.d.ts +5 -0
- package/dist-types/commands/ListThingGroupsCommand.d.ts +7 -0
- package/dist-types/commands/ListThingGroupsForThingCommand.d.ts +5 -0
- package/dist-types/commands/ListThingPrincipalsCommand.d.ts +5 -0
- package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +6 -0
- package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +5 -0
- package/dist-types/commands/ListThingTypesCommand.d.ts +5 -0
- package/dist-types/commands/ListThingsCommand.d.ts +8 -0
- package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +5 -0
- package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +6 -0
- package/dist-types/commands/ListTopicRuleDestinationsCommand.d.ts +4 -0
- package/dist-types/commands/ListTopicRulesCommand.d.ts +6 -0
- package/dist-types/commands/ListV2LoggingLevelsCommand.d.ts +5 -0
- package/dist-types/commands/ListViolationEventsCommand.d.ts +11 -0
- package/dist-types/commands/PutVerificationStateOnViolationCommand.d.ts +5 -0
- package/dist-types/commands/RegisterCACertificateCommand.d.ts +18 -0
- package/dist-types/commands/RegisterCertificateCommand.d.ts +6 -0
- package/dist-types/commands/RegisterCertificateWithoutCACommand.d.ts +4 -0
- package/dist-types/commands/RegisterThingCommand.d.ts +6 -0
- package/dist-types/commands/RejectCertificateTransferCommand.d.ts +4 -0
- package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +6 -0
- package/dist-types/commands/RemoveThingFromThingGroupCommand.d.ts +6 -0
- package/dist-types/commands/ReplaceTopicRuleCommand.d.ts +411 -0
- package/dist-types/commands/SearchIndexCommand.d.ts +7 -0
- package/dist-types/commands/SetDefaultAuthorizerCommand.d.ts +3 -0
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +4 -0
- package/dist-types/commands/SetLoggingOptionsCommand.d.ts +6 -0
- package/dist-types/commands/SetV2LoggingLevelCommand.d.ts +7 -0
- package/dist-types/commands/SetV2LoggingOptionsCommand.d.ts +5 -0
- package/dist-types/commands/StartAuditMitigationActionsTaskCommand.d.ts +20 -0
- package/dist-types/commands/StartDetectMitigationActionsTaskCommand.d.ts +20 -0
- package/dist-types/commands/StartOnDemandAuditTaskCommand.d.ts +5 -0
- package/dist-types/commands/StartThingRegistrationTaskCommand.d.ts +6 -0
- package/dist-types/commands/StopThingRegistrationTaskCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/TestAuthorizationCommand.d.ts +19 -0
- package/dist-types/commands/TestInvokeAuthorizerCommand.d.ts +19 -0
- package/dist-types/commands/TransferCertificateCommand.d.ts +5 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAccountAuditConfigurationCommand.d.ts +15 -0
- package/dist-types/commands/UpdateAuditSuppressionCommand.d.ts +25 -0
- package/dist-types/commands/UpdateAuthorizerCommand.d.ts +10 -0
- package/dist-types/commands/UpdateBillingGroupCommand.d.ts +7 -0
- package/dist-types/commands/UpdateCACertificateCommand.d.ts +11 -0
- package/dist-types/commands/UpdateCertificateCommand.d.ts +4 -0
- package/dist-types/commands/UpdateCustomMetricCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDimensionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDomainConfigurationCommand.d.ts +9 -0
- package/dist-types/commands/UpdateDynamicThingGroupCommand.d.ts +16 -0
- package/dist-types/commands/UpdateEventConfigurationsCommand.d.ts +7 -0
- package/dist-types/commands/UpdateFleetMetricCommand.d.ts +17 -0
- package/dist-types/commands/UpdateIndexingConfigurationCommand.d.ts +40 -0
- package/dist-types/commands/UpdateJobCommand.d.ts +41 -0
- package/dist-types/commands/UpdateMitigationActionCommand.d.ts +28 -0
- package/dist-types/commands/UpdateProvisioningTemplateCommand.d.ts +12 -0
- package/dist-types/commands/UpdateRoleAliasCommand.d.ts +5 -0
- package/dist-types/commands/UpdateScheduledAuditCommand.d.ts +9 -0
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +65 -0
- package/dist-types/commands/UpdateStreamCommand.d.ts +15 -0
- package/dist-types/commands/UpdateThingCommand.d.ts +12 -0
- package/dist-types/commands/UpdateThingGroupCommand.d.ts +13 -0
- package/dist-types/commands/UpdateThingGroupsForThingCommand.d.ts +10 -0
- package/dist-types/commands/UpdateTopicRuleDestinationCommand.d.ts +4 -0
- package/dist-types/commands/ValidateSecurityProfileBehaviorsCommand.d.ts +41 -0
- package/package.json +8 -8
|
@@ -27,6 +27,11 @@ export interface ListMitigationActionsCommandOutput extends ListMitigationAction
|
|
|
27
27
|
* import { IoTClient, ListMitigationActionsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListMitigationActionsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListMitigationActionsRequest
|
|
31
|
+
* actionType: "UPDATE_DEVICE_CERTIFICATE" || "UPDATE_CA_CERTIFICATE" || "ADD_THINGS_TO_THING_GROUP" || "REPLACE_DEFAULT_POLICY_VERSION" || "ENABLE_IOT_LOGGING" || "PUBLISH_FINDING_TO_SNS",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListMitigationActionsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListOTAUpdatesCommandOutput extends ListOTAUpdatesResponse, __M
|
|
|
27
27
|
* import { IoTClient, ListOTAUpdatesCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListOTAUpdatesCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListOTAUpdatesRequest
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* otaUpdateStatus: "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListOTAUpdatesCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListOutgoingCertificatesCommandOutput extends ListOutgoingCerti
|
|
|
27
27
|
* import { IoTClient, ListOutgoingCertificatesCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListOutgoingCertificatesCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListOutgoingCertificatesRequest
|
|
31
|
+
* pageSize: Number("int"),
|
|
32
|
+
* marker: "STRING_VALUE",
|
|
33
|
+
* ascendingOrder: true || false,
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListOutgoingCertificatesCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListPoliciesCommandOutput extends ListPoliciesResponse, __Metad
|
|
|
27
27
|
* import { IoTClient, ListPoliciesCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListPoliciesCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListPoliciesRequest
|
|
31
|
+
* marker: "STRING_VALUE",
|
|
32
|
+
* pageSize: Number("int"),
|
|
33
|
+
* ascendingOrder: true || false,
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListPoliciesCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -32,6 +32,12 @@ export interface ListPolicyPrincipalsCommandOutput extends ListPolicyPrincipalsR
|
|
|
32
32
|
* import { IoTClient, ListPolicyPrincipalsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
33
33
|
* // const { IoTClient, ListPolicyPrincipalsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
34
34
|
* const client = new IoTClient(config);
|
|
35
|
+
* const input = { // ListPolicyPrincipalsRequest
|
|
36
|
+
* policyName: "STRING_VALUE", // required
|
|
37
|
+
* marker: "STRING_VALUE",
|
|
38
|
+
* pageSize: Number("int"),
|
|
39
|
+
* ascendingOrder: true || false,
|
|
40
|
+
* };
|
|
35
41
|
* const command = new ListPolicyPrincipalsCommand(input);
|
|
36
42
|
* const response = await client.send(command);
|
|
37
43
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface ListPolicyVersionsCommandOutput extends ListPolicyVersionsRespo
|
|
|
28
28
|
* import { IoTClient, ListPolicyVersionsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
29
29
|
* // const { IoTClient, ListPolicyVersionsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
30
30
|
* const client = new IoTClient(config);
|
|
31
|
+
* const input = { // ListPolicyVersionsRequest
|
|
32
|
+
* policyName: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new ListPolicyVersionsCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -33,6 +33,12 @@ export interface ListPrincipalPoliciesCommandOutput extends ListPrincipalPolicie
|
|
|
33
33
|
* import { IoTClient, ListPrincipalPoliciesCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
34
34
|
* // const { IoTClient, ListPrincipalPoliciesCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
35
35
|
* const client = new IoTClient(config);
|
|
36
|
+
* const input = { // ListPrincipalPoliciesRequest
|
|
37
|
+
* principal: "STRING_VALUE", // required
|
|
38
|
+
* marker: "STRING_VALUE",
|
|
39
|
+
* pageSize: Number("int"),
|
|
40
|
+
* ascendingOrder: true || false,
|
|
41
|
+
* };
|
|
36
42
|
* const command = new ListPrincipalPoliciesCommand(input);
|
|
37
43
|
* const response = await client.send(command);
|
|
38
44
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListPrincipalThingsCommandOutput extends ListPrincipalThingsRes
|
|
|
29
29
|
* import { IoTClient, ListPrincipalThingsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, ListPrincipalThingsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = { // ListPrincipalThingsRequest
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* principal: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListPrincipalThingsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListProvisioningTemplateVersionsCommandOutput extends ListProvi
|
|
|
27
27
|
* import { IoTClient, ListProvisioningTemplateVersionsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListProvisioningTemplateVersionsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListProvisioningTemplateVersionsRequest
|
|
31
|
+
* templateName: "STRING_VALUE", // required
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListProvisioningTemplateVersionsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListProvisioningTemplatesCommandOutput extends ListProvisioning
|
|
|
27
27
|
* import { IoTClient, ListProvisioningTemplatesCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListProvisioningTemplatesCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListProvisioningTemplatesRequest
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListProvisioningTemplatesCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -62,6 +62,11 @@ export interface ListRelatedResourcesForAuditFindingCommandOutput extends ListRe
|
|
|
62
62
|
* import { IoTClient, ListRelatedResourcesForAuditFindingCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
63
63
|
* // const { IoTClient, ListRelatedResourcesForAuditFindingCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
64
64
|
* const client = new IoTClient(config);
|
|
65
|
+
* const input = { // ListRelatedResourcesForAuditFindingRequest
|
|
66
|
+
* findingId: "STRING_VALUE", // required
|
|
67
|
+
* nextToken: "STRING_VALUE",
|
|
68
|
+
* maxResults: Number("int"),
|
|
69
|
+
* };
|
|
65
70
|
* const command = new ListRelatedResourcesForAuditFindingCommand(input);
|
|
66
71
|
* const response = await client.send(command);
|
|
67
72
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListRoleAliasesCommandOutput extends ListRoleAliasesResponse, _
|
|
|
27
27
|
* import { IoTClient, ListRoleAliasesCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListRoleAliasesCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListRoleAliasesRequest
|
|
31
|
+
* pageSize: Number("int"),
|
|
32
|
+
* marker: "STRING_VALUE",
|
|
33
|
+
* ascendingOrder: true || false,
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListRoleAliasesCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListScheduledAuditsCommandOutput extends ListScheduledAuditsRes
|
|
|
27
27
|
* import { IoTClient, ListScheduledAuditsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListScheduledAuditsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListScheduledAuditsRequest
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListScheduledAuditsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -33,6 +33,12 @@ export interface ListSecurityProfilesCommandOutput extends ListSecurityProfilesR
|
|
|
33
33
|
* import { IoTClient, ListSecurityProfilesCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
34
34
|
* // const { IoTClient, ListSecurityProfilesCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
35
35
|
* const client = new IoTClient(config);
|
|
36
|
+
* const input = { // ListSecurityProfilesRequest
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* dimensionName: "STRING_VALUE",
|
|
40
|
+
* metricName: "STRING_VALUE",
|
|
41
|
+
* };
|
|
36
42
|
* const command = new ListSecurityProfilesCommand(input);
|
|
37
43
|
* const response = await client.send(command);
|
|
38
44
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListSecurityProfilesForTargetCommandOutput extends ListSecurity
|
|
|
27
27
|
* import { IoTClient, ListSecurityProfilesForTargetCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListSecurityProfilesForTargetCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListSecurityProfilesForTargetRequest
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* recursive: true || false,
|
|
34
|
+
* securityProfileTargetArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListSecurityProfilesForTargetCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListStreamsCommandOutput extends ListStreamsResponse, __Metadat
|
|
|
27
27
|
* import { IoTClient, ListStreamsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListStreamsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListStreamsRequest
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* ascendingOrder: true || false,
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListStreamsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
27
27
|
* import { IoTClient, ListTagsForResourceCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListTagsForResourceCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListTagsForResourceRequest
|
|
31
|
+
* resourceArn: "STRING_VALUE", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListTagsForResourceCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListTargetsForPolicyCommandOutput extends ListTargetsForPolicyR
|
|
|
27
27
|
* import { IoTClient, ListTargetsForPolicyCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListTargetsForPolicyCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListTargetsForPolicyRequest
|
|
31
|
+
* policyName: "STRING_VALUE", // required
|
|
32
|
+
* marker: "STRING_VALUE",
|
|
33
|
+
* pageSize: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListTargetsForPolicyCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListTargetsForSecurityProfileCommandOutput extends ListTargetsF
|
|
|
27
27
|
* import { IoTClient, ListTargetsForSecurityProfileCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListTargetsForSecurityProfileCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListTargetsForSecurityProfileRequest
|
|
31
|
+
* securityProfileName: "STRING_VALUE", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListTargetsForSecurityProfileCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface ListThingGroupsCommandOutput extends ListThingGroupsResponse, _
|
|
|
27
27
|
* import { IoTClient, ListThingGroupsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListThingGroupsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListThingGroupsRequest
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* parentGroup: "STRING_VALUE",
|
|
34
|
+
* namePrefixFilter: "STRING_VALUE",
|
|
35
|
+
* recursive: true || false,
|
|
36
|
+
* };
|
|
30
37
|
* const command = new ListThingGroupsCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListThingGroupsForThingCommandOutput extends ListThingGroupsFor
|
|
|
27
27
|
* import { IoTClient, ListThingGroupsForThingCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListThingGroupsForThingCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListThingGroupsForThingRequest
|
|
31
|
+
* thingName: "STRING_VALUE", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListThingGroupsForThingCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListThingPrincipalsCommandOutput extends ListThingPrincipalsRes
|
|
|
29
29
|
* import { IoTClient, ListThingPrincipalsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
30
30
|
* // const { IoTClient, ListThingPrincipalsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
31
31
|
* const client = new IoTClient(config);
|
|
32
|
+
* const input = { // ListThingPrincipalsRequest
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* thingName: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListThingPrincipalsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface ListThingRegistrationTaskReportsCommandOutput extends ListThing
|
|
|
26
26
|
* import { IoTClient, ListThingRegistrationTaskReportsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
27
27
|
* // const { IoTClient, ListThingRegistrationTaskReportsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
28
28
|
* const client = new IoTClient(config);
|
|
29
|
+
* const input = { // ListThingRegistrationTaskReportsRequest
|
|
30
|
+
* taskId: "STRING_VALUE", // required
|
|
31
|
+
* reportType: "ERRORS" || "RESULTS", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
29
35
|
* const command = new ListThingRegistrationTaskReportsCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListThingRegistrationTasksCommandOutput extends ListThingRegist
|
|
|
27
27
|
* import { IoTClient, ListThingRegistrationTasksCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListThingRegistrationTasksCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListThingRegistrationTasksRequest
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* status: "InProgress" || "Completed" || "Failed" || "Cancelled" || "Cancelling",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListThingRegistrationTasksCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListThingTypesCommandOutput extends ListThingTypesResponse, __M
|
|
|
27
27
|
* import { IoTClient, ListThingTypesCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListThingTypesCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListThingTypesRequest
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* thingTypeName: "STRING_VALUE",
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListThingTypesCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -34,6 +34,14 @@ export interface ListThingsCommandOutput extends ListThingsResponse, __MetadataB
|
|
|
34
34
|
* import { IoTClient, ListThingsCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
35
35
|
* // const { IoTClient, ListThingsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
36
36
|
* const client = new IoTClient(config);
|
|
37
|
+
* const input = { // ListThingsRequest
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* attributeName: "STRING_VALUE",
|
|
41
|
+
* attributeValue: "STRING_VALUE",
|
|
42
|
+
* thingTypeName: "STRING_VALUE",
|
|
43
|
+
* usePrefixAttributeValue: true || false,
|
|
44
|
+
* };
|
|
37
45
|
* const command = new ListThingsCommand(input);
|
|
38
46
|
* const response = await client.send(command);
|
|
39
47
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface ListThingsInBillingGroupCommandOutput extends ListThingsInBilli
|
|
|
27
27
|
* import { IoTClient, ListThingsInBillingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListThingsInBillingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListThingsInBillingGroupRequest
|
|
31
|
+
* billingGroupName: "STRING_VALUE", // required
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListThingsInBillingGroupCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListThingsInThingGroupCommandOutput extends ListThingsInThingGr
|
|
|
27
27
|
* import { IoTClient, ListThingsInThingGroupCommand } from "@aws-sdk/client-iot"; // ES Modules import
|
|
28
28
|
* // const { IoTClient, ListThingsInThingGroupCommand } = require("@aws-sdk/client-iot"); // CommonJS import
|
|
29
29
|
* const client = new IoTClient(config);
|
|
30
|
+
* const input = { // ListThingsInThingGroupRequest
|
|
31
|
+
* thingGroupName: "STRING_VALUE", // required
|
|
32
|
+
* recursive: true || false,
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListThingsInThingGroupCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,10 @@ 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 = { // ListTopicRuleDestinationsRequest
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new ListTopicRuleDestinationsCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -27,6 +27,12 @@ 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 = { // ListTopicRulesRequest
|
|
31
|
+
* topic: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* ruleDisabled: true || false,
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListTopicRulesCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,11 @@ 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 = { // ListV2LoggingLevelsRequest
|
|
31
|
+
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID",
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* maxResults: Number("int"),
|
|
34
|
+
* };
|
|
30
35
|
* const command = new ListV2LoggingLevelsCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -29,6 +29,17 @@ 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 = { // ListViolationEventsRequest
|
|
33
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
34
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
35
|
+
* thingName: "STRING_VALUE",
|
|
36
|
+
* securityProfileName: "STRING_VALUE",
|
|
37
|
+
* behaviorCriteriaType: "STATIC" || "STATISTICAL" || "MACHINE_LEARNING",
|
|
38
|
+
* listSuppressedAlerts: true || false,
|
|
39
|
+
* verificationState: "FALSE_POSITIVE" || "BENIGN_POSITIVE" || "TRUE_POSITIVE" || "UNKNOWN",
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* };
|
|
32
43
|
* const command = new ListViolationEventsCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -26,6 +26,11 @@ 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 = { // PutVerificationStateOnViolationRequest
|
|
30
|
+
* violationId: "STRING_VALUE", // required
|
|
31
|
+
* verificationState: "FALSE_POSITIVE" || "BENIGN_POSITIVE" || "TRUE_POSITIVE" || "UNKNOWN", // required
|
|
32
|
+
* verificationStateDescription: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new PutVerificationStateOnViolationCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -29,6 +29,24 @@ 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 = { // RegisterCACertificateRequest
|
|
33
|
+
* caCertificate: "STRING_VALUE", // required
|
|
34
|
+
* verificationCertificate: "STRING_VALUE",
|
|
35
|
+
* setAsActive: true || false,
|
|
36
|
+
* allowAutoRegistration: true || false,
|
|
37
|
+
* registrationConfig: { // RegistrationConfig
|
|
38
|
+
* templateBody: "STRING_VALUE",
|
|
39
|
+
* roleArn: "STRING_VALUE",
|
|
40
|
+
* templateName: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* tags: [ // TagList
|
|
43
|
+
* { // Tag
|
|
44
|
+
* Key: "STRING_VALUE", // required
|
|
45
|
+
* Value: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* certificateMode: "DEFAULT" || "SNI_ONLY",
|
|
49
|
+
* };
|
|
32
50
|
* const command = new RegisterCACertificateCommand(input);
|
|
33
51
|
* const response = await client.send(command);
|
|
34
52
|
* ```
|
|
@@ -29,6 +29,12 @@ 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 = { // RegisterCertificateRequest
|
|
33
|
+
* certificatePem: "STRING_VALUE", // required
|
|
34
|
+
* caCertificatePem: "STRING_VALUE",
|
|
35
|
+
* setAsActive: true || false,
|
|
36
|
+
* status: "ACTIVE" || "INACTIVE" || "REVOKED" || "PENDING_TRANSFER" || "REGISTER_INACTIVE" || "PENDING_ACTIVATION",
|
|
37
|
+
* };
|
|
32
38
|
* const command = new RegisterCertificateCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -29,6 +29,10 @@ 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 = { // RegisterCertificateWithoutCARequest
|
|
33
|
+
* certificatePem: "STRING_VALUE", // required
|
|
34
|
+
* status: "ACTIVE" || "INACTIVE" || "REVOKED" || "PENDING_TRANSFER" || "REGISTER_INACTIVE" || "PENDING_ACTIVATION",
|
|
35
|
+
* };
|
|
32
36
|
* const command = new RegisterCertificateWithoutCACommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -30,6 +30,12 @@ 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 = { // RegisterThingRequest
|
|
34
|
+
* templateBody: "STRING_VALUE", // required
|
|
35
|
+
* parameters: { // Parameters
|
|
36
|
+
* "<keys>": "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* };
|
|
33
39
|
* const command = new RegisterThingCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -33,6 +33,10 @@ 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 = { // RejectCertificateTransferRequest
|
|
37
|
+
* certificateId: "STRING_VALUE", // required
|
|
38
|
+
* rejectReason: "STRING_VALUE",
|
|
39
|
+
* };
|
|
36
40
|
* const command = new RejectCertificateTransferCommand(input);
|
|
37
41
|
* const response = await client.send(command);
|
|
38
42
|
* ```
|
|
@@ -30,6 +30,12 @@ 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 = { // RemoveThingFromBillingGroupRequest
|
|
34
|
+
* billingGroupName: "STRING_VALUE",
|
|
35
|
+
* billingGroupArn: "STRING_VALUE",
|
|
36
|
+
* thingName: "STRING_VALUE",
|
|
37
|
+
* thingArn: "STRING_VALUE",
|
|
38
|
+
* };
|
|
33
39
|
* const command = new RemoveThingFromBillingGroupCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -32,6 +32,12 @@ 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 = { // RemoveThingFromThingGroupRequest
|
|
36
|
+
* thingGroupName: "STRING_VALUE",
|
|
37
|
+
* thingGroupArn: "STRING_VALUE",
|
|
38
|
+
* thingName: "STRING_VALUE",
|
|
39
|
+
* thingArn: "STRING_VALUE",
|
|
40
|
+
* };
|
|
35
41
|
* const command = new RemoveThingFromThingGroupCommand(input);
|
|
36
42
|
* const response = await client.send(command);
|
|
37
43
|
* ```
|