@aws-sdk/client-iot 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/IoT.js +957 -950
- package/dist-es/IoTClient.js +29 -23
- package/dist-es/commands/AcceptCertificateTransferCommand.js +29 -22
- package/dist-es/commands/AddThingToBillingGroupCommand.js +28 -21
- package/dist-es/commands/AddThingToThingGroupCommand.js +28 -21
- package/dist-es/commands/AssociateTargetsWithJobCommand.js +28 -21
- package/dist-es/commands/AttachPolicyCommand.js +29 -22
- package/dist-es/commands/AttachPrincipalPolicyCommand.js +29 -22
- package/dist-es/commands/AttachSecurityProfileCommand.js +28 -21
- package/dist-es/commands/AttachThingPrincipalCommand.js +28 -21
- package/dist-es/commands/CancelAuditMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/CancelAuditTaskCommand.js +28 -21
- package/dist-es/commands/CancelCertificateTransferCommand.js +29 -22
- package/dist-es/commands/CancelDetectMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/CancelJobCommand.js +28 -21
- package/dist-es/commands/CancelJobExecutionCommand.js +29 -22
- package/dist-es/commands/ClearDefaultAuthorizerCommand.js +28 -21
- package/dist-es/commands/ConfirmTopicRuleDestinationCommand.js +28 -21
- package/dist-es/commands/CreateAuditSuppressionCommand.js +28 -21
- package/dist-es/commands/CreateAuthorizerCommand.js +28 -21
- package/dist-es/commands/CreateBillingGroupCommand.js +28 -21
- package/dist-es/commands/CreateCertificateFromCsrCommand.js +28 -21
- package/dist-es/commands/CreateCustomMetricCommand.js +28 -21
- package/dist-es/commands/CreateDimensionCommand.js +28 -21
- package/dist-es/commands/CreateDomainConfigurationCommand.js +28 -21
- package/dist-es/commands/CreateDynamicThingGroupCommand.js +28 -21
- package/dist-es/commands/CreateFleetMetricCommand.js +28 -21
- package/dist-es/commands/CreateJobCommand.js +28 -21
- package/dist-es/commands/CreateJobTemplateCommand.js +28 -21
- package/dist-es/commands/CreateKeysAndCertificateCommand.js +28 -21
- package/dist-es/commands/CreateMitigationActionCommand.js +28 -21
- package/dist-es/commands/CreateOTAUpdateCommand.js +28 -21
- package/dist-es/commands/CreatePolicyCommand.js +28 -21
- package/dist-es/commands/CreatePolicyVersionCommand.js +28 -21
- package/dist-es/commands/CreateProvisioningClaimCommand.js +28 -21
- package/dist-es/commands/CreateProvisioningTemplateCommand.js +28 -21
- package/dist-es/commands/CreateProvisioningTemplateVersionCommand.js +28 -21
- package/dist-es/commands/CreateRoleAliasCommand.js +28 -21
- package/dist-es/commands/CreateScheduledAuditCommand.js +28 -21
- package/dist-es/commands/CreateSecurityProfileCommand.js +28 -21
- package/dist-es/commands/CreateStreamCommand.js +28 -21
- package/dist-es/commands/CreateThingCommand.js +28 -21
- package/dist-es/commands/CreateThingGroupCommand.js +28 -21
- package/dist-es/commands/CreateThingTypeCommand.js +28 -21
- package/dist-es/commands/CreateTopicRuleCommand.js +29 -22
- package/dist-es/commands/CreateTopicRuleDestinationCommand.js +28 -21
- package/dist-es/commands/DeleteAccountAuditConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteAuditSuppressionCommand.js +28 -21
- package/dist-es/commands/DeleteAuthorizerCommand.js +28 -21
- package/dist-es/commands/DeleteBillingGroupCommand.js +28 -21
- package/dist-es/commands/DeleteCACertificateCommand.js +28 -21
- package/dist-es/commands/DeleteCertificateCommand.js +29 -22
- package/dist-es/commands/DeleteCustomMetricCommand.js +28 -21
- package/dist-es/commands/DeleteDimensionCommand.js +28 -21
- package/dist-es/commands/DeleteDomainConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteDynamicThingGroupCommand.js +28 -21
- package/dist-es/commands/DeleteFleetMetricCommand.js +29 -22
- package/dist-es/commands/DeleteJobCommand.js +29 -22
- package/dist-es/commands/DeleteJobExecutionCommand.js +29 -22
- package/dist-es/commands/DeleteJobTemplateCommand.js +29 -22
- package/dist-es/commands/DeleteMitigationActionCommand.js +28 -21
- package/dist-es/commands/DeleteOTAUpdateCommand.js +28 -21
- package/dist-es/commands/DeletePolicyCommand.js +29 -22
- package/dist-es/commands/DeletePolicyVersionCommand.js +29 -22
- package/dist-es/commands/DeleteProvisioningTemplateCommand.js +28 -21
- package/dist-es/commands/DeleteProvisioningTemplateVersionCommand.js +28 -21
- package/dist-es/commands/DeleteRegistrationCodeCommand.js +28 -21
- package/dist-es/commands/DeleteRoleAliasCommand.js +28 -21
- package/dist-es/commands/DeleteScheduledAuditCommand.js +28 -21
- package/dist-es/commands/DeleteSecurityProfileCommand.js +28 -21
- package/dist-es/commands/DeleteStreamCommand.js +28 -21
- package/dist-es/commands/DeleteThingCommand.js +28 -21
- package/dist-es/commands/DeleteThingGroupCommand.js +28 -21
- package/dist-es/commands/DeleteThingTypeCommand.js +28 -21
- package/dist-es/commands/DeleteTopicRuleCommand.js +29 -22
- package/dist-es/commands/DeleteTopicRuleDestinationCommand.js +28 -21
- package/dist-es/commands/DeleteV2LoggingLevelCommand.js +29 -22
- package/dist-es/commands/DeprecateThingTypeCommand.js +28 -21
- package/dist-es/commands/DescribeAccountAuditConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeAuditFindingCommand.js +28 -21
- package/dist-es/commands/DescribeAuditMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/DescribeAuditSuppressionCommand.js +28 -21
- package/dist-es/commands/DescribeAuditTaskCommand.js +28 -21
- package/dist-es/commands/DescribeAuthorizerCommand.js +28 -21
- package/dist-es/commands/DescribeBillingGroupCommand.js +28 -21
- package/dist-es/commands/DescribeCACertificateCommand.js +28 -21
- package/dist-es/commands/DescribeCertificateCommand.js +28 -21
- package/dist-es/commands/DescribeCustomMetricCommand.js +28 -21
- package/dist-es/commands/DescribeDefaultAuthorizerCommand.js +28 -21
- package/dist-es/commands/DescribeDetectMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/DescribeDimensionCommand.js +28 -21
- package/dist-es/commands/DescribeDomainConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeEndpointCommand.js +28 -21
- package/dist-es/commands/DescribeEventConfigurationsCommand.js +28 -21
- package/dist-es/commands/DescribeFleetMetricCommand.js +28 -21
- package/dist-es/commands/DescribeIndexCommand.js +28 -21
- package/dist-es/commands/DescribeJobCommand.js +28 -21
- package/dist-es/commands/DescribeJobExecutionCommand.js +28 -21
- package/dist-es/commands/DescribeJobTemplateCommand.js +28 -21
- package/dist-es/commands/DescribeManagedJobTemplateCommand.js +28 -21
- package/dist-es/commands/DescribeMitigationActionCommand.js +28 -21
- package/dist-es/commands/DescribeProvisioningTemplateCommand.js +28 -21
- package/dist-es/commands/DescribeProvisioningTemplateVersionCommand.js +28 -21
- package/dist-es/commands/DescribeRoleAliasCommand.js +28 -21
- package/dist-es/commands/DescribeScheduledAuditCommand.js +28 -21
- package/dist-es/commands/DescribeSecurityProfileCommand.js +28 -21
- package/dist-es/commands/DescribeStreamCommand.js +28 -21
- package/dist-es/commands/DescribeThingCommand.js +28 -21
- package/dist-es/commands/DescribeThingGroupCommand.js +28 -21
- package/dist-es/commands/DescribeThingRegistrationTaskCommand.js +28 -21
- package/dist-es/commands/DescribeThingTypeCommand.js +28 -21
- package/dist-es/commands/DetachPolicyCommand.js +29 -22
- package/dist-es/commands/DetachPrincipalPolicyCommand.js +29 -22
- package/dist-es/commands/DetachSecurityProfileCommand.js +28 -21
- package/dist-es/commands/DetachThingPrincipalCommand.js +28 -21
- package/dist-es/commands/DisableTopicRuleCommand.js +29 -22
- package/dist-es/commands/EnableTopicRuleCommand.js +29 -22
- package/dist-es/commands/GetBehaviorModelTrainingSummariesCommand.js +28 -21
- package/dist-es/commands/GetBucketsAggregationCommand.js +28 -21
- package/dist-es/commands/GetCardinalityCommand.js +28 -21
- package/dist-es/commands/GetEffectivePoliciesCommand.js +28 -21
- package/dist-es/commands/GetIndexingConfigurationCommand.js +28 -21
- package/dist-es/commands/GetJobDocumentCommand.js +28 -21
- package/dist-es/commands/GetLoggingOptionsCommand.js +28 -21
- package/dist-es/commands/GetOTAUpdateCommand.js +28 -21
- package/dist-es/commands/GetPercentilesCommand.js +28 -21
- package/dist-es/commands/GetPolicyCommand.js +28 -21
- package/dist-es/commands/GetPolicyVersionCommand.js +28 -21
- package/dist-es/commands/GetRegistrationCodeCommand.js +28 -21
- package/dist-es/commands/GetStatisticsCommand.js +28 -21
- package/dist-es/commands/GetTopicRuleCommand.js +28 -21
- package/dist-es/commands/GetTopicRuleDestinationCommand.js +28 -21
- package/dist-es/commands/GetV2LoggingOptionsCommand.js +28 -21
- package/dist-es/commands/ListActiveViolationsCommand.js +28 -21
- package/dist-es/commands/ListAttachedPoliciesCommand.js +28 -21
- package/dist-es/commands/ListAuditFindingsCommand.js +28 -21
- package/dist-es/commands/ListAuditMitigationActionsExecutionsCommand.js +28 -21
- package/dist-es/commands/ListAuditMitigationActionsTasksCommand.js +28 -21
- package/dist-es/commands/ListAuditSuppressionsCommand.js +28 -21
- package/dist-es/commands/ListAuditTasksCommand.js +28 -21
- package/dist-es/commands/ListAuthorizersCommand.js +28 -21
- package/dist-es/commands/ListBillingGroupsCommand.js +28 -21
- package/dist-es/commands/ListCACertificatesCommand.js +28 -21
- package/dist-es/commands/ListCertificatesByCACommand.js +28 -21
- package/dist-es/commands/ListCertificatesCommand.js +28 -21
- package/dist-es/commands/ListCustomMetricsCommand.js +28 -21
- package/dist-es/commands/ListDetectMitigationActionsExecutionsCommand.js +28 -21
- package/dist-es/commands/ListDetectMitigationActionsTasksCommand.js +28 -21
- package/dist-es/commands/ListDimensionsCommand.js +28 -21
- package/dist-es/commands/ListDomainConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListFleetMetricsCommand.js +28 -21
- package/dist-es/commands/ListIndicesCommand.js +28 -21
- package/dist-es/commands/ListJobExecutionsForJobCommand.js +28 -21
- package/dist-es/commands/ListJobExecutionsForThingCommand.js +28 -21
- package/dist-es/commands/ListJobTemplatesCommand.js +28 -21
- package/dist-es/commands/ListJobsCommand.js +28 -21
- package/dist-es/commands/ListManagedJobTemplatesCommand.js +28 -21
- package/dist-es/commands/ListMetricValuesCommand.js +28 -21
- package/dist-es/commands/ListMitigationActionsCommand.js +28 -21
- package/dist-es/commands/ListOTAUpdatesCommand.js +28 -21
- package/dist-es/commands/ListOutgoingCertificatesCommand.js +28 -21
- package/dist-es/commands/ListPoliciesCommand.js +28 -21
- package/dist-es/commands/ListPolicyPrincipalsCommand.js +28 -21
- package/dist-es/commands/ListPolicyVersionsCommand.js +28 -21
- package/dist-es/commands/ListPrincipalPoliciesCommand.js +28 -21
- package/dist-es/commands/ListPrincipalThingsCommand.js +28 -21
- package/dist-es/commands/ListProvisioningTemplateVersionsCommand.js +28 -21
- package/dist-es/commands/ListProvisioningTemplatesCommand.js +28 -21
- package/dist-es/commands/ListRoleAliasesCommand.js +28 -21
- package/dist-es/commands/ListScheduledAuditsCommand.js +28 -21
- package/dist-es/commands/ListSecurityProfilesCommand.js +28 -21
- package/dist-es/commands/ListSecurityProfilesForTargetCommand.js +28 -21
- package/dist-es/commands/ListStreamsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTargetsForPolicyCommand.js +28 -21
- package/dist-es/commands/ListTargetsForSecurityProfileCommand.js +28 -21
- package/dist-es/commands/ListThingGroupsCommand.js +28 -21
- package/dist-es/commands/ListThingGroupsForThingCommand.js +28 -21
- package/dist-es/commands/ListThingPrincipalsCommand.js +28 -21
- package/dist-es/commands/ListThingRegistrationTaskReportsCommand.js +28 -21
- package/dist-es/commands/ListThingRegistrationTasksCommand.js +28 -21
- package/dist-es/commands/ListThingTypesCommand.js +28 -21
- package/dist-es/commands/ListThingsCommand.js +28 -21
- package/dist-es/commands/ListThingsInBillingGroupCommand.js +28 -21
- package/dist-es/commands/ListThingsInThingGroupCommand.js +28 -21
- package/dist-es/commands/ListTopicRuleDestinationsCommand.js +28 -21
- package/dist-es/commands/ListTopicRulesCommand.js +28 -21
- package/dist-es/commands/ListV2LoggingLevelsCommand.js +28 -21
- package/dist-es/commands/ListViolationEventsCommand.js +28 -21
- package/dist-es/commands/PutVerificationStateOnViolationCommand.js +28 -21
- package/dist-es/commands/RegisterCACertificateCommand.js +28 -21
- package/dist-es/commands/RegisterCertificateCommand.js +28 -21
- package/dist-es/commands/RegisterCertificateWithoutCACommand.js +28 -21
- package/dist-es/commands/RegisterThingCommand.js +28 -21
- package/dist-es/commands/RejectCertificateTransferCommand.js +29 -22
- package/dist-es/commands/RemoveThingFromBillingGroupCommand.js +28 -21
- package/dist-es/commands/RemoveThingFromThingGroupCommand.js +28 -21
- package/dist-es/commands/ReplaceTopicRuleCommand.js +29 -22
- package/dist-es/commands/SearchIndexCommand.js +28 -21
- package/dist-es/commands/SetDefaultAuthorizerCommand.js +28 -21
- package/dist-es/commands/SetDefaultPolicyVersionCommand.js +29 -22
- package/dist-es/commands/SetLoggingOptionsCommand.js +29 -22
- package/dist-es/commands/SetV2LoggingLevelCommand.js +29 -22
- package/dist-es/commands/SetV2LoggingOptionsCommand.js +29 -22
- package/dist-es/commands/StartAuditMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/StartDetectMitigationActionsTaskCommand.js +28 -21
- package/dist-es/commands/StartOnDemandAuditTaskCommand.js +28 -21
- package/dist-es/commands/StartThingRegistrationTaskCommand.js +28 -21
- package/dist-es/commands/StopThingRegistrationTaskCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/TestAuthorizationCommand.js +28 -21
- package/dist-es/commands/TestInvokeAuthorizerCommand.js +28 -21
- package/dist-es/commands/TransferCertificateCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAccountAuditConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateAuditSuppressionCommand.js +28 -21
- package/dist-es/commands/UpdateAuthorizerCommand.js +28 -21
- package/dist-es/commands/UpdateBillingGroupCommand.js +28 -21
- package/dist-es/commands/UpdateCACertificateCommand.js +29 -22
- package/dist-es/commands/UpdateCertificateCommand.js +29 -22
- package/dist-es/commands/UpdateCustomMetricCommand.js +28 -21
- package/dist-es/commands/UpdateDimensionCommand.js +28 -21
- package/dist-es/commands/UpdateDomainConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateDynamicThingGroupCommand.js +28 -21
- package/dist-es/commands/UpdateEventConfigurationsCommand.js +28 -21
- package/dist-es/commands/UpdateFleetMetricCommand.js +29 -22
- package/dist-es/commands/UpdateIndexingConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateJobCommand.js +29 -22
- package/dist-es/commands/UpdateMitigationActionCommand.js +28 -21
- package/dist-es/commands/UpdateProvisioningTemplateCommand.js +28 -21
- package/dist-es/commands/UpdateRoleAliasCommand.js +28 -21
- package/dist-es/commands/UpdateScheduledAuditCommand.js +28 -21
- package/dist-es/commands/UpdateSecurityProfileCommand.js +28 -21
- package/dist-es/commands/UpdateStreamCommand.js +28 -21
- package/dist-es/commands/UpdateThingCommand.js +28 -21
- package/dist-es/commands/UpdateThingGroupCommand.js +28 -21
- package/dist-es/commands/UpdateThingGroupsForThingCommand.js +28 -21
- package/dist-es/commands/UpdateTopicRuleDestinationCommand.js +28 -21
- package/dist-es/commands/ValidateSecurityProfileBehaviorsCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/IoTServiceException.js +10 -5
- package/dist-es/models/models_0.js +497 -970
- package/dist-es/models/models_1.js +297 -844
- package/dist-es/models/models_2.js +198 -459
- package/dist-es/pagination/GetBehaviorModelTrainingSummariesPaginator.js +68 -25
- package/dist-es/pagination/ListActiveViolationsPaginator.js +68 -25
- package/dist-es/pagination/ListAttachedPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListAuditFindingsPaginator.js +68 -25
- package/dist-es/pagination/ListAuditMitigationActionsExecutionsPaginator.js +68 -25
- package/dist-es/pagination/ListAuditMitigationActionsTasksPaginator.js +68 -25
- package/dist-es/pagination/ListAuditSuppressionsPaginator.js +68 -25
- package/dist-es/pagination/ListAuditTasksPaginator.js +68 -25
- package/dist-es/pagination/ListAuthorizersPaginator.js +68 -25
- package/dist-es/pagination/ListBillingGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListCACertificatesPaginator.js +68 -25
- package/dist-es/pagination/ListCertificatesByCAPaginator.js +68 -25
- package/dist-es/pagination/ListCertificatesPaginator.js +68 -25
- package/dist-es/pagination/ListCustomMetricsPaginator.js +68 -25
- package/dist-es/pagination/ListDetectMitigationActionsExecutionsPaginator.js +68 -25
- package/dist-es/pagination/ListDetectMitigationActionsTasksPaginator.js +68 -25
- package/dist-es/pagination/ListDimensionsPaginator.js +68 -25
- package/dist-es/pagination/ListDomainConfigurationsPaginator.js +68 -25
- package/dist-es/pagination/ListFleetMetricsPaginator.js +68 -25
- package/dist-es/pagination/ListIndicesPaginator.js +68 -25
- package/dist-es/pagination/ListJobExecutionsForJobPaginator.js +68 -25
- package/dist-es/pagination/ListJobExecutionsForThingPaginator.js +68 -25
- package/dist-es/pagination/ListJobTemplatesPaginator.js +68 -25
- package/dist-es/pagination/ListJobsPaginator.js +68 -25
- package/dist-es/pagination/ListMetricValuesPaginator.js +68 -25
- package/dist-es/pagination/ListMitigationActionsPaginator.js +68 -25
- package/dist-es/pagination/ListOTAUpdatesPaginator.js +68 -25
- package/dist-es/pagination/ListOutgoingCertificatesPaginator.js +68 -25
- package/dist-es/pagination/ListPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListPolicyPrincipalsPaginator.js +68 -25
- package/dist-es/pagination/ListPrincipalPoliciesPaginator.js +68 -25
- package/dist-es/pagination/ListPrincipalThingsPaginator.js +68 -25
- package/dist-es/pagination/ListProvisioningTemplateVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListProvisioningTemplatesPaginator.js +68 -25
- package/dist-es/pagination/ListRoleAliasesPaginator.js +68 -25
- package/dist-es/pagination/ListScheduledAuditsPaginator.js +68 -25
- package/dist-es/pagination/ListSecurityProfilesForTargetPaginator.js +68 -25
- package/dist-es/pagination/ListSecurityProfilesPaginator.js +68 -25
- package/dist-es/pagination/ListStreamsPaginator.js +68 -25
- package/dist-es/pagination/ListTagsForResourcePaginator.js +67 -24
- package/dist-es/pagination/ListTargetsForPolicyPaginator.js +68 -25
- package/dist-es/pagination/ListTargetsForSecurityProfilePaginator.js +68 -25
- package/dist-es/pagination/ListThingGroupsForThingPaginator.js +68 -25
- package/dist-es/pagination/ListThingGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListThingPrincipalsPaginator.js +68 -25
- package/dist-es/pagination/ListThingRegistrationTaskReportsPaginator.js +68 -25
- package/dist-es/pagination/ListThingRegistrationTasksPaginator.js +68 -25
- package/dist-es/pagination/ListThingTypesPaginator.js +68 -25
- package/dist-es/pagination/ListThingsInBillingGroupPaginator.js +68 -25
- package/dist-es/pagination/ListThingsInThingGroupPaginator.js +68 -25
- package/dist-es/pagination/ListThingsPaginator.js +68 -25
- package/dist-es/pagination/ListTopicRuleDestinationsPaginator.js +68 -25
- package/dist-es/pagination/ListTopicRulesPaginator.js +68 -25
- package/dist-es/pagination/ListV2LoggingLevelsPaginator.js +68 -25
- package/dist-es/pagination/ListViolationEventsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +25265 -18403
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
package/dist-es/IoTClient.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,27 +9,32 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
12
|
+
var IoTClient = (function (_super) {
|
|
13
|
+
__extends(IoTClient, _super);
|
|
14
|
+
function IoTClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
_this.middlewareStack.use(getOmitRetryHeadersPlugin(_this.config));
|
|
33
|
+
return _this;
|
|
30
34
|
}
|
|
31
|
-
destroy() {
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
+
IoTClient.prototype.destroy = function () {
|
|
36
|
+
_super.prototype.destroy.call(this);
|
|
37
|
+
};
|
|
38
|
+
return IoTClient;
|
|
39
|
+
}(__Client));
|
|
40
|
+
export { IoTClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AcceptCertificateTransferRequestFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AcceptCertificateTransferCommand, serializeAws_restJson1AcceptCertificateTransferCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AcceptCertificateTransferCommand = (function (_super) {
|
|
7
|
+
__extends(AcceptCertificateTransferCommand, _super);
|
|
8
|
+
function AcceptCertificateTransferCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AcceptCertificateTransferCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTClient";
|
|
18
|
+
var commandName = "AcceptCertificateTransferCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AcceptCertificateTransferRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AcceptCertificateTransferCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AcceptCertificateTransferCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AcceptCertificateTransferCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AcceptCertificateTransferCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AcceptCertificateTransferCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AcceptCertificateTransferCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AddThingToBillingGroupRequestFilterSensitiveLog, AddThingToBillingGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AddThingToBillingGroupCommand, serializeAws_restJson1AddThingToBillingGroupCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AddThingToBillingGroupCommand = (function (_super) {
|
|
7
|
+
__extends(AddThingToBillingGroupCommand, _super);
|
|
8
|
+
function AddThingToBillingGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AddThingToBillingGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTClient";
|
|
18
|
+
var commandName = "AddThingToBillingGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AddThingToBillingGroupRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AddThingToBillingGroupResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AddThingToBillingGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AddThingToBillingGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AddThingToBillingGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AddThingToBillingGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AddThingToBillingGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AddThingToBillingGroupCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AddThingToThingGroupRequestFilterSensitiveLog, AddThingToThingGroupResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AddThingToThingGroupCommand, serializeAws_restJson1AddThingToThingGroupCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AddThingToThingGroupCommand = (function (_super) {
|
|
7
|
+
__extends(AddThingToThingGroupCommand, _super);
|
|
8
|
+
function AddThingToThingGroupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AddThingToThingGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTClient";
|
|
18
|
+
var commandName = "AddThingToThingGroupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AddThingToThingGroupRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AddThingToThingGroupResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AddThingToThingGroupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AddThingToThingGroupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AddThingToThingGroupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AddThingToThingGroupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AddThingToThingGroupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AddThingToThingGroupCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AssociateTargetsWithJobRequestFilterSensitiveLog, AssociateTargetsWithJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AssociateTargetsWithJobCommand, serializeAws_restJson1AssociateTargetsWithJobCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AssociateTargetsWithJobCommand = (function (_super) {
|
|
7
|
+
__extends(AssociateTargetsWithJobCommand, _super);
|
|
8
|
+
function AssociateTargetsWithJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AssociateTargetsWithJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTClient";
|
|
18
|
+
var commandName = "AssociateTargetsWithJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AssociateTargetsWithJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AssociateTargetsWithJobResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AssociateTargetsWithJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AssociateTargetsWithJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AssociateTargetsWithJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AssociateTargetsWithJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AssociateTargetsWithJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AssociateTargetsWithJobCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AttachPolicyRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AttachPolicyCommand, serializeAws_restJson1AttachPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AttachPolicyCommand = (function (_super) {
|
|
7
|
+
__extends(AttachPolicyCommand, _super);
|
|
8
|
+
function AttachPolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AttachPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTClient";
|
|
18
|
+
var commandName = "AttachPolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AttachPolicyRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AttachPolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AttachPolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AttachPolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AttachPolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AttachPolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AttachPolicyCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AttachPrincipalPolicyRequestFilterSensitiveLog } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AttachPrincipalPolicyCommand, serializeAws_restJson1AttachPrincipalPolicyCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AttachPrincipalPolicyCommand = (function (_super) {
|
|
7
|
+
__extends(AttachPrincipalPolicyCommand, _super);
|
|
8
|
+
function AttachPrincipalPolicyCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AttachPrincipalPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTClient";
|
|
18
|
+
var commandName = "AttachPrincipalPolicyCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AttachPrincipalPolicyRequestFilterSensitiveLog,
|
|
21
|
-
outputFilterSensitiveLog: (output)
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AttachPrincipalPolicyCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AttachPrincipalPolicyCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AttachPrincipalPolicyCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AttachPrincipalPolicyCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AttachPrincipalPolicyCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AttachPrincipalPolicyCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AttachSecurityProfileRequestFilterSensitiveLog, AttachSecurityProfileResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AttachSecurityProfileCommand, serializeAws_restJson1AttachSecurityProfileCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AttachSecurityProfileCommand = (function (_super) {
|
|
7
|
+
__extends(AttachSecurityProfileCommand, _super);
|
|
8
|
+
function AttachSecurityProfileCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AttachSecurityProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTClient";
|
|
18
|
+
var commandName = "AttachSecurityProfileCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AttachSecurityProfileRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AttachSecurityProfileResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AttachSecurityProfileCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AttachSecurityProfileCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AttachSecurityProfileCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AttachSecurityProfileCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AttachSecurityProfileCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AttachSecurityProfileCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { AttachThingPrincipalRequestFilterSensitiveLog, AttachThingPrincipalResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1AttachThingPrincipalCommand, serializeAws_restJson1AttachThingPrincipalCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var AttachThingPrincipalCommand = (function (_super) {
|
|
7
|
+
__extends(AttachThingPrincipalCommand, _super);
|
|
8
|
+
function AttachThingPrincipalCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
AttachThingPrincipalCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTClient";
|
|
18
|
+
var commandName = "AttachThingPrincipalCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: AttachThingPrincipalRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: AttachThingPrincipalResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
AttachThingPrincipalCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1AttachThingPrincipalCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
AttachThingPrincipalCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1AttachThingPrincipalCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return AttachThingPrincipalCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { AttachThingPrincipalCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { CancelAuditMitigationActionsTaskRequestFilterSensitiveLog, CancelAuditMitigationActionsTaskResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1CancelAuditMitigationActionsTaskCommand, serializeAws_restJson1CancelAuditMitigationActionsTaskCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CancelAuditMitigationActionsTaskCommand = (function (_super) {
|
|
7
|
+
__extends(CancelAuditMitigationActionsTaskCommand, _super);
|
|
8
|
+
function CancelAuditMitigationActionsTaskCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CancelAuditMitigationActionsTaskCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "IoTClient";
|
|
18
|
+
var commandName = "CancelAuditMitigationActionsTaskCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CancelAuditMitigationActionsTaskRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CancelAuditMitigationActionsTaskResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CancelAuditMitigationActionsTaskCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1CancelAuditMitigationActionsTaskCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CancelAuditMitigationActionsTaskCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1CancelAuditMitigationActionsTaskCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CancelAuditMitigationActionsTaskCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CancelAuditMitigationActionsTaskCommand };
|