@aws-sdk/client-iotsitewise 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/IoTSiteWise.js +0 -5
- package/dist-cjs/IoTSiteWiseClient.js +0 -10
- package/dist-cjs/commands/AssociateAssetsCommand.js +0 -27
- package/dist-cjs/commands/BatchAssociateProjectAssetsCommand.js +0 -25
- package/dist-cjs/commands/BatchDisassociateProjectAssetsCommand.js +0 -25
- package/dist-cjs/commands/BatchPutAssetPropertyValueCommand.js +0 -49
- package/dist-cjs/commands/CreateAccessPolicyCommand.js +0 -26
- package/dist-cjs/commands/CreateAssetCommand.js +0 -26
- package/dist-cjs/commands/CreateAssetModelCommand.js +0 -29
- package/dist-cjs/commands/CreateDashboardCommand.js +0 -25
- package/dist-cjs/commands/CreateGatewayCommand.js +0 -27
- package/dist-cjs/commands/CreatePortalCommand.js +0 -31
- package/dist-cjs/commands/CreateProjectCommand.js +0 -25
- package/dist-cjs/commands/DeleteAccessPolicyCommand.js +0 -27
- package/dist-cjs/commands/DeleteAssetCommand.js +0 -30
- package/dist-cjs/commands/DeleteAssetModelCommand.js +0 -29
- package/dist-cjs/commands/DeleteDashboardCommand.js +0 -25
- package/dist-cjs/commands/DeleteGatewayCommand.js +0 -26
- package/dist-cjs/commands/DeletePortalCommand.js +0 -25
- package/dist-cjs/commands/DeleteProjectCommand.js +0 -25
- package/dist-cjs/commands/DescribeAccessPolicyCommand.js +0 -26
- package/dist-cjs/commands/DescribeAssetCommand.js +0 -25
- package/dist-cjs/commands/DescribeAssetModelCommand.js +0 -25
- package/dist-cjs/commands/DescribeAssetPropertyCommand.js +0 -32
- package/dist-cjs/commands/DescribeDashboardCommand.js +0 -25
- package/dist-cjs/commands/DescribeDefaultEncryptionConfigurationCommand.js +0 -27
- package/dist-cjs/commands/DescribeGatewayCapabilityConfigurationCommand.js +0 -29
- package/dist-cjs/commands/DescribeGatewayCommand.js +0 -25
- package/dist-cjs/commands/DescribeLoggingOptionsCommand.js +0 -25
- package/dist-cjs/commands/DescribePortalCommand.js +0 -25
- package/dist-cjs/commands/DescribeProjectCommand.js +0 -25
- package/dist-cjs/commands/DescribeStorageConfigurationCommand.js +0 -25
- package/dist-cjs/commands/DisassociateAssetsCommand.js +0 -26
- package/dist-cjs/commands/GetAssetPropertyAggregatesCommand.js +0 -36
- package/dist-cjs/commands/GetAssetPropertyValueCommand.js +0 -36
- package/dist-cjs/commands/GetAssetPropertyValueHistoryCommand.js +0 -36
- package/dist-cjs/commands/GetInterpolatedAssetPropertyValuesCommand.js +0 -39
- package/dist-cjs/commands/ListAccessPoliciesCommand.js +0 -26
- package/dist-cjs/commands/ListAssetModelsCommand.js +0 -25
- package/dist-cjs/commands/ListAssetRelationshipsCommand.js +0 -27
- package/dist-cjs/commands/ListAssetsCommand.js +0 -37
- package/dist-cjs/commands/ListAssociatedAssetsCommand.js +0 -34
- package/dist-cjs/commands/ListDashboardsCommand.js +0 -25
- package/dist-cjs/commands/ListGatewaysCommand.js +0 -25
- package/dist-cjs/commands/ListPortalsCommand.js +0 -25
- package/dist-cjs/commands/ListProjectAssetsCommand.js +0 -25
- package/dist-cjs/commands/ListProjectsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutDefaultEncryptionConfigurationCommand.js +0 -27
- package/dist-cjs/commands/PutLoggingOptionsCommand.js +0 -25
- package/dist-cjs/commands/PutStorageConfigurationCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateAccessPolicyCommand.js +0 -26
- package/dist-cjs/commands/UpdateAssetCommand.js +0 -26
- package/dist-cjs/commands/UpdateAssetModelCommand.js +0 -37
- package/dist-cjs/commands/UpdateAssetPropertyCommand.js +0 -30
- package/dist-cjs/commands/UpdateDashboardCommand.js +0 -25
- package/dist-cjs/commands/UpdateGatewayCapabilityConfigurationCommand.js +0 -29
- package/dist-cjs/commands/UpdateGatewayCommand.js +0 -25
- package/dist-cjs/commands/UpdatePortalCommand.js +0 -25
- package/dist-cjs/commands/UpdateProjectCommand.js +0 -25
- package/dist-cjs/commands/index.js +63 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -83
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -592
- package/dist-cjs/pagination/GetAssetPropertyAggregatesPaginator.js +0 -11
- package/dist-cjs/pagination/GetAssetPropertyValueHistoryPaginator.js +0 -11
- package/dist-cjs/pagination/GetInterpolatedAssetPropertyValuesPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +0 -11
- package/dist-cjs/pagination/ListAssetModelsPaginator.js +0 -11
- package/dist-cjs/pagination/ListAssetRelationshipsPaginator.js +0 -11
- package/dist-cjs/pagination/ListAssetsPaginator.js +0 -11
- package/dist-cjs/pagination/ListAssociatedAssetsPaginator.js +0 -11
- package/dist-cjs/pagination/ListDashboardsPaginator.js +0 -11
- package/dist-cjs/pagination/ListGatewaysPaginator.js +0 -11
- package/dist-cjs/pagination/ListPortalsPaginator.js +0 -11
- package/dist-cjs/pagination/ListProjectAssetsPaginator.js +0 -11
- package/dist-cjs/pagination/ListProjectsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +17 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-cjs/waiters/index.js +9 -0
- package/dist-cjs/waiters/waitForAssetActive.js +0 -10
- package/dist-cjs/waiters/waitForAssetModelActive.js +0 -10
- package/dist-cjs/waiters/waitForAssetModelNotExists.js +0 -10
- package/dist-cjs/waiters/waitForAssetNotExists.js +0 -10
- package/dist-cjs/waiters/waitForPortalActive.js +0 -10
- package/dist-cjs/waiters/waitForPortalNotExists.js +0 -10
- package/dist-es/IoTSiteWise.js +0 -1
- package/dist-es/IoTSiteWiseClient.js +0 -1
- package/dist-es/commands/AssociateAssetsCommand.js +0 -1
- package/dist-es/commands/BatchAssociateProjectAssetsCommand.js +0 -1
- package/dist-es/commands/BatchDisassociateProjectAssetsCommand.js +0 -1
- package/dist-es/commands/BatchPutAssetPropertyValueCommand.js +0 -1
- package/dist-es/commands/CreateAccessPolicyCommand.js +0 -1
- package/dist-es/commands/CreateAssetCommand.js +0 -1
- package/dist-es/commands/CreateAssetModelCommand.js +0 -1
- package/dist-es/commands/CreateDashboardCommand.js +0 -1
- package/dist-es/commands/CreateGatewayCommand.js +0 -1
- package/dist-es/commands/CreatePortalCommand.js +0 -1
- package/dist-es/commands/CreateProjectCommand.js +0 -1
- package/dist-es/commands/DeleteAccessPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteAssetCommand.js +0 -1
- package/dist-es/commands/DeleteAssetModelCommand.js +0 -1
- package/dist-es/commands/DeleteDashboardCommand.js +0 -1
- package/dist-es/commands/DeleteGatewayCommand.js +0 -1
- package/dist-es/commands/DeletePortalCommand.js +0 -1
- package/dist-es/commands/DeleteProjectCommand.js +0 -1
- package/dist-es/commands/DescribeAccessPolicyCommand.js +0 -1
- package/dist-es/commands/DescribeAssetCommand.js +0 -1
- package/dist-es/commands/DescribeAssetModelCommand.js +0 -1
- package/dist-es/commands/DescribeAssetPropertyCommand.js +0 -1
- package/dist-es/commands/DescribeDashboardCommand.js +0 -1
- package/dist-es/commands/DescribeDefaultEncryptionConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribeGatewayCapabilityConfigurationCommand.js +0 -1
- package/dist-es/commands/DescribeGatewayCommand.js +0 -1
- package/dist-es/commands/DescribeLoggingOptionsCommand.js +0 -1
- package/dist-es/commands/DescribePortalCommand.js +0 -1
- package/dist-es/commands/DescribeProjectCommand.js +0 -1
- package/dist-es/commands/DescribeStorageConfigurationCommand.js +0 -1
- package/dist-es/commands/DisassociateAssetsCommand.js +0 -1
- package/dist-es/commands/GetAssetPropertyAggregatesCommand.js +0 -1
- package/dist-es/commands/GetAssetPropertyValueCommand.js +0 -1
- package/dist-es/commands/GetAssetPropertyValueHistoryCommand.js +0 -1
- package/dist-es/commands/GetInterpolatedAssetPropertyValuesCommand.js +0 -1
- package/dist-es/commands/ListAccessPoliciesCommand.js +0 -1
- package/dist-es/commands/ListAssetModelsCommand.js +0 -1
- package/dist-es/commands/ListAssetRelationshipsCommand.js +0 -1
- package/dist-es/commands/ListAssetsCommand.js +0 -1
- package/dist-es/commands/ListAssociatedAssetsCommand.js +0 -1
- package/dist-es/commands/ListDashboardsCommand.js +0 -1
- package/dist-es/commands/ListGatewaysCommand.js +0 -1
- package/dist-es/commands/ListPortalsCommand.js +0 -1
- package/dist-es/commands/ListProjectAssetsCommand.js +0 -1
- package/dist-es/commands/ListProjectsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutDefaultEncryptionConfigurationCommand.js +0 -1
- package/dist-es/commands/PutLoggingOptionsCommand.js +0 -1
- package/dist-es/commands/PutStorageConfigurationCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateAccessPolicyCommand.js +0 -1
- package/dist-es/commands/UpdateAssetCommand.js +0 -1
- package/dist-es/commands/UpdateAssetModelCommand.js +0 -1
- package/dist-es/commands/UpdateAssetPropertyCommand.js +0 -1
- package/dist-es/commands/UpdateDashboardCommand.js +0 -1
- package/dist-es/commands/UpdateGatewayCapabilityConfigurationCommand.js +0 -1
- package/dist-es/commands/UpdateGatewayCommand.js +0 -1
- package/dist-es/commands/UpdatePortalCommand.js +0 -1
- package/dist-es/commands/UpdateProjectCommand.js +0 -1
- package/dist-es/commands/index.js +60 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -83
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetAssetPropertyAggregatesPaginator.js +0 -1
- package/dist-es/pagination/GetAssetPropertyValueHistoryPaginator.js +0 -1
- package/dist-es/pagination/GetInterpolatedAssetPropertyValuesPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAccessPoliciesPaginator.js +0 -1
- package/dist-es/pagination/ListAssetModelsPaginator.js +0 -1
- package/dist-es/pagination/ListAssetRelationshipsPaginator.js +0 -1
- package/dist-es/pagination/ListAssetsPaginator.js +0 -1
- package/dist-es/pagination/ListAssociatedAssetsPaginator.js +0 -1
- package/dist-es/pagination/ListDashboardsPaginator.js +0 -1
- package/dist-es/pagination/ListGatewaysPaginator.js +0 -1
- package/dist-es/pagination/ListPortalsPaginator.js +0 -1
- package/dist-es/pagination/ListProjectAssetsPaginator.js +0 -1
- package/dist-es/pagination/ListProjectsPaginator.js +0 -1
- package/dist-es/pagination/index.js +14 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/index.js +6 -0
- package/dist-es/waiters/waitForAssetActive.js +0 -1
- package/dist-es/waiters/waitForAssetModelActive.js +0 -1
- package/dist-es/waiters/waitForAssetModelNotExists.js +0 -1
- package/dist-es/waiters/waitForAssetNotExists.js +0 -1
- package/dist-es/waiters/waitForPortalActive.js +0 -1
- package/dist-es/waiters/waitForPortalNotExists.js +0 -1
- package/dist-types/commands/index.d.ts +60 -0
- package/dist-types/index.d.ts +5 -82
- package/dist-types/pagination/index.d.ts +14 -0
- package/dist-types/ts3.4/IoTSiteWise.d.ts +61 -348
- package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/AssociateAssetsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/BatchAssociateProjectAssetsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchDisassociateProjectAssetsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchPutAssetPropertyValueCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/CreateAccessPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateAssetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateAssetModelCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateDashboardCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateGatewayCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteAccessPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteAssetCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteAssetModelCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteDashboardCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGatewayCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAccessPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeAssetCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAssetModelCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeAssetPropertyCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeDashboardCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDefaultEncryptionConfigurationCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeGatewayCapabilityConfigurationCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeGatewayCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeLoggingOptionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePortalCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeProjectCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeStorageConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateAssetsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetAssetPropertyAggregatesCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/GetAssetPropertyValueCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/GetAssetPropertyValueHistoryCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/GetInterpolatedAssetPropertyValuesCommand.d.ts +2 -34
- package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListAssetModelsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAssetRelationshipsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/ListAssociatedAssetsCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListDashboardsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListProjectAssetsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutDefaultEncryptionConfigurationCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutLoggingOptionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutStorageConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateAccessPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateAssetCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateAssetModelCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/UpdateAssetPropertyCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/UpdateDashboardCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGatewayCapabilityConfigurationCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateGatewayCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +60 -0
- package/dist-types/ts3.4/index.d.ts +5 -82
- package/dist-types/ts3.4/models/models_0.d.ts +843 -3161
- package/dist-types/ts3.4/pagination/index.d.ts +14 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +6 -0
- package/dist-types/ts3.4/waiters/waitForAssetActive.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForAssetModelActive.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForAssetModelNotExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForAssetNotExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForPortalActive.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForPortalNotExists.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +6 -0
- package/package.json +34 -31
- package/dist-cjs/IoTSiteWise.js.map +0 -1
- package/dist-cjs/IoTSiteWiseClient.js.map +0 -1
- package/dist-cjs/commands/AssociateAssetsCommand.js.map +0 -1
- package/dist-cjs/commands/BatchAssociateProjectAssetsCommand.js.map +0 -1
- package/dist-cjs/commands/BatchDisassociateProjectAssetsCommand.js.map +0 -1
- package/dist-cjs/commands/BatchPutAssetPropertyValueCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAccessPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAssetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAssetModelCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDashboardCommand.js.map +0 -1
- package/dist-cjs/commands/CreateGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/CreatePortalCommand.js.map +0 -1
- package/dist-cjs/commands/CreateProjectCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAccessPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAssetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAssetModelCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDashboardCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePortalCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteProjectCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccessPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAssetCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAssetModelCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAssetPropertyCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDashboardCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDefaultEncryptionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeGatewayCapabilityConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLoggingOptionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePortalCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeProjectCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeStorageConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateAssetsCommand.js.map +0 -1
- package/dist-cjs/commands/GetAssetPropertyAggregatesCommand.js.map +0 -1
- package/dist-cjs/commands/GetAssetPropertyValueCommand.js.map +0 -1
- package/dist-cjs/commands/GetAssetPropertyValueHistoryCommand.js.map +0 -1
- package/dist-cjs/commands/GetInterpolatedAssetPropertyValuesCommand.js.map +0 -1
- package/dist-cjs/commands/ListAccessPoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/ListAssetModelsCommand.js.map +0 -1
- package/dist-cjs/commands/ListAssetRelationshipsCommand.js.map +0 -1
- package/dist-cjs/commands/ListAssetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListAssociatedAssetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDashboardsCommand.js.map +0 -1
- package/dist-cjs/commands/ListGatewaysCommand.js.map +0 -1
- package/dist-cjs/commands/ListPortalsCommand.js.map +0 -1
- package/dist-cjs/commands/ListProjectAssetsCommand.js.map +0 -1
- package/dist-cjs/commands/ListProjectsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutDefaultEncryptionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/PutLoggingOptionsCommand.js.map +0 -1
- package/dist-cjs/commands/PutStorageConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAccessPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAssetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAssetModelCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAssetPropertyCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDashboardCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGatewayCapabilityConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGatewayCommand.js.map +0 -1
- package/dist-cjs/commands/UpdatePortalCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateProjectCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/GetAssetPropertyAggregatesPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetAssetPropertyValueHistoryPaginator.js.map +0 -1
- package/dist-cjs/pagination/GetInterpolatedAssetPropertyValuesPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAccessPoliciesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListAssetModelsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListAssetRelationshipsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListAssetsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListAssociatedAssetsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDashboardsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListGatewaysPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPortalsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListProjectAssetsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListProjectsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForAssetActive.js.map +0 -1
- package/dist-cjs/waiters/waitForAssetModelActive.js.map +0 -1
- package/dist-cjs/waiters/waitForAssetModelNotExists.js.map +0 -1
- package/dist-cjs/waiters/waitForAssetNotExists.js.map +0 -1
- package/dist-cjs/waiters/waitForPortalActive.js.map +0 -1
- package/dist-cjs/waiters/waitForPortalNotExists.js.map +0 -1
- package/dist-es/IoTSiteWise.js.map +0 -1
- package/dist-es/IoTSiteWiseClient.js.map +0 -1
- package/dist-es/commands/AssociateAssetsCommand.js.map +0 -1
- package/dist-es/commands/BatchAssociateProjectAssetsCommand.js.map +0 -1
- package/dist-es/commands/BatchDisassociateProjectAssetsCommand.js.map +0 -1
- package/dist-es/commands/BatchPutAssetPropertyValueCommand.js.map +0 -1
- package/dist-es/commands/CreateAccessPolicyCommand.js.map +0 -1
- package/dist-es/commands/CreateAssetCommand.js.map +0 -1
- package/dist-es/commands/CreateAssetModelCommand.js.map +0 -1
- package/dist-es/commands/CreateDashboardCommand.js.map +0 -1
- package/dist-es/commands/CreateGatewayCommand.js.map +0 -1
- package/dist-es/commands/CreatePortalCommand.js.map +0 -1
- package/dist-es/commands/CreateProjectCommand.js.map +0 -1
- package/dist-es/commands/DeleteAccessPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteAssetCommand.js.map +0 -1
- package/dist-es/commands/DeleteAssetModelCommand.js.map +0 -1
- package/dist-es/commands/DeleteDashboardCommand.js.map +0 -1
- package/dist-es/commands/DeleteGatewayCommand.js.map +0 -1
- package/dist-es/commands/DeletePortalCommand.js.map +0 -1
- package/dist-es/commands/DeleteProjectCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccessPolicyCommand.js.map +0 -1
- package/dist-es/commands/DescribeAssetCommand.js.map +0 -1
- package/dist-es/commands/DescribeAssetModelCommand.js.map +0 -1
- package/dist-es/commands/DescribeAssetPropertyCommand.js.map +0 -1
- package/dist-es/commands/DescribeDashboardCommand.js.map +0 -1
- package/dist-es/commands/DescribeDefaultEncryptionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribeGatewayCapabilityConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DescribeGatewayCommand.js.map +0 -1
- package/dist-es/commands/DescribeLoggingOptionsCommand.js.map +0 -1
- package/dist-es/commands/DescribePortalCommand.js.map +0 -1
- package/dist-es/commands/DescribeProjectCommand.js.map +0 -1
- package/dist-es/commands/DescribeStorageConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DisassociateAssetsCommand.js.map +0 -1
- package/dist-es/commands/GetAssetPropertyAggregatesCommand.js.map +0 -1
- package/dist-es/commands/GetAssetPropertyValueCommand.js.map +0 -1
- package/dist-es/commands/GetAssetPropertyValueHistoryCommand.js.map +0 -1
- package/dist-es/commands/GetInterpolatedAssetPropertyValuesCommand.js.map +0 -1
- package/dist-es/commands/ListAccessPoliciesCommand.js.map +0 -1
- package/dist-es/commands/ListAssetModelsCommand.js.map +0 -1
- package/dist-es/commands/ListAssetRelationshipsCommand.js.map +0 -1
- package/dist-es/commands/ListAssetsCommand.js.map +0 -1
- package/dist-es/commands/ListAssociatedAssetsCommand.js.map +0 -1
- package/dist-es/commands/ListDashboardsCommand.js.map +0 -1
- package/dist-es/commands/ListGatewaysCommand.js.map +0 -1
- package/dist-es/commands/ListPortalsCommand.js.map +0 -1
- package/dist-es/commands/ListProjectAssetsCommand.js.map +0 -1
- package/dist-es/commands/ListProjectsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutDefaultEncryptionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/PutLoggingOptionsCommand.js.map +0 -1
- package/dist-es/commands/PutStorageConfigurationCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateAccessPolicyCommand.js.map +0 -1
- package/dist-es/commands/UpdateAssetCommand.js.map +0 -1
- package/dist-es/commands/UpdateAssetModelCommand.js.map +0 -1
- package/dist-es/commands/UpdateAssetPropertyCommand.js.map +0 -1
- package/dist-es/commands/UpdateDashboardCommand.js.map +0 -1
- package/dist-es/commands/UpdateGatewayCapabilityConfigurationCommand.js.map +0 -1
- package/dist-es/commands/UpdateGatewayCommand.js.map +0 -1
- package/dist-es/commands/UpdatePortalCommand.js.map +0 -1
- package/dist-es/commands/UpdateProjectCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetAssetPropertyAggregatesPaginator.js.map +0 -1
- package/dist-es/pagination/GetAssetPropertyValueHistoryPaginator.js.map +0 -1
- package/dist-es/pagination/GetInterpolatedAssetPropertyValuesPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAccessPoliciesPaginator.js.map +0 -1
- package/dist-es/pagination/ListAssetModelsPaginator.js.map +0 -1
- package/dist-es/pagination/ListAssetRelationshipsPaginator.js.map +0 -1
- package/dist-es/pagination/ListAssetsPaginator.js.map +0 -1
- package/dist-es/pagination/ListAssociatedAssetsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDashboardsPaginator.js.map +0 -1
- package/dist-es/pagination/ListGatewaysPaginator.js.map +0 -1
- package/dist-es/pagination/ListPortalsPaginator.js.map +0 -1
- package/dist-es/pagination/ListProjectAssetsPaginator.js.map +0 -1
- package/dist-es/pagination/ListProjectsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForAssetActive.js.map +0 -1
- package/dist-es/waiters/waitForAssetModelActive.js.map +0 -1
- package/dist-es/waiters/waitForAssetModelNotExists.js.map +0 -1
- package/dist-es/waiters/waitForAssetNotExists.js.map +0 -1
- package/dist-es/waiters/waitForPortalActive.js.map +0 -1
- package/dist-es/waiters/waitForPortalNotExists.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/IoTSiteWise.ts +0 -2322
- package/src/IoTSiteWiseClient.ts +0 -477
- package/src/commands/AssociateAssetsCommand.ts +0 -97
- package/src/commands/BatchAssociateProjectAssetsCommand.ts +0 -100
- package/src/commands/BatchDisassociateProjectAssetsCommand.ts +0 -103
- package/src/commands/BatchPutAssetPropertyValueCommand.ts +0 -122
- package/src/commands/CreateAccessPolicyCommand.ts +0 -96
- package/src/commands/CreateAssetCommand.ts +0 -96
- package/src/commands/CreateAssetModelCommand.ts +0 -99
- package/src/commands/CreateDashboardCommand.ts +0 -95
- package/src/commands/CreateGatewayCommand.ts +0 -97
- package/src/commands/CreatePortalCommand.ts +0 -101
- package/src/commands/CreateProjectCommand.ts +0 -95
- package/src/commands/DeleteAccessPolicyCommand.ts +0 -97
- package/src/commands/DeleteAssetCommand.ts +0 -100
- package/src/commands/DeleteAssetModelCommand.ts +0 -99
- package/src/commands/DeleteDashboardCommand.ts +0 -95
- package/src/commands/DeleteGatewayCommand.ts +0 -96
- package/src/commands/DeletePortalCommand.ts +0 -95
- package/src/commands/DeleteProjectCommand.ts +0 -95
- package/src/commands/DescribeAccessPolicyCommand.ts +0 -96
- package/src/commands/DescribeAssetCommand.ts +0 -95
- package/src/commands/DescribeAssetModelCommand.ts +0 -95
- package/src/commands/DescribeAssetPropertyCommand.ts +0 -102
- package/src/commands/DescribeDashboardCommand.ts +0 -95
- package/src/commands/DescribeDefaultEncryptionConfigurationCommand.ts +0 -109
- package/src/commands/DescribeGatewayCapabilityConfigurationCommand.ts +0 -111
- package/src/commands/DescribeGatewayCommand.ts +0 -95
- package/src/commands/DescribeLoggingOptionsCommand.ts +0 -95
- package/src/commands/DescribePortalCommand.ts +0 -95
- package/src/commands/DescribeProjectCommand.ts +0 -95
- package/src/commands/DescribeStorageConfigurationCommand.ts +0 -100
- package/src/commands/DisassociateAssetsCommand.ts +0 -96
- package/src/commands/GetAssetPropertyAggregatesCommand.ts +0 -109
- package/src/commands/GetAssetPropertyValueCommand.ts +0 -106
- package/src/commands/GetAssetPropertyValueHistoryCommand.ts +0 -111
- package/src/commands/GetInterpolatedAssetPropertyValuesCommand.ts +0 -120
- package/src/commands/ListAccessPoliciesCommand.ts +0 -96
- package/src/commands/ListAssetModelsCommand.ts +0 -95
- package/src/commands/ListAssetRelationshipsCommand.ts +0 -97
- package/src/commands/ListAssetsCommand.ts +0 -107
- package/src/commands/ListAssociatedAssetsCommand.ts +0 -104
- package/src/commands/ListDashboardsCommand.ts +0 -95
- package/src/commands/ListGatewaysCommand.ts +0 -95
- package/src/commands/ListPortalsCommand.ts +0 -95
- package/src/commands/ListProjectAssetsCommand.ts +0 -95
- package/src/commands/ListProjectsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutDefaultEncryptionConfigurationCommand.ts +0 -108
- package/src/commands/PutLoggingOptionsCommand.ts +0 -95
- package/src/commands/PutStorageConfigurationCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -96
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateAccessPolicyCommand.ts +0 -96
- package/src/commands/UpdateAssetCommand.ts +0 -96
- package/src/commands/UpdateAssetModelCommand.ts +0 -107
- package/src/commands/UpdateAssetPropertyCommand.ts +0 -100
- package/src/commands/UpdateDashboardCommand.ts +0 -95
- package/src/commands/UpdateGatewayCapabilityConfigurationCommand.ts +0 -110
- package/src/commands/UpdateGatewayCommand.ts +0 -95
- package/src/commands/UpdatePortalCommand.ts +0 -95
- package/src/commands/UpdateProjectCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -83
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -6075
- package/src/pagination/GetAssetPropertyAggregatesPaginator.ts +0 -59
- package/src/pagination/GetAssetPropertyValueHistoryPaginator.ts +0 -59
- package/src/pagination/GetInterpolatedAssetPropertyValuesPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAccessPoliciesPaginator.ts +0 -59
- package/src/pagination/ListAssetModelsPaginator.ts +0 -59
- package/src/pagination/ListAssetRelationshipsPaginator.ts +0 -59
- package/src/pagination/ListAssetsPaginator.ts +0 -55
- package/src/pagination/ListAssociatedAssetsPaginator.ts +0 -59
- package/src/pagination/ListDashboardsPaginator.ts +0 -59
- package/src/pagination/ListGatewaysPaginator.ts +0 -59
- package/src/pagination/ListPortalsPaginator.ts +0 -55
- package/src/pagination/ListProjectAssetsPaginator.ts +0 -59
- package/src/pagination/ListProjectsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -9903
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForAssetActive.ts +0 -55
- package/src/waiters/waitForAssetModelActive.ts +0 -55
- package/src/waiters/waitForAssetModelNotExists.ts +0 -42
- package/src/waiters/waitForAssetNotExists.ts +0 -42
- package/src/waiters/waitForPortalActive.ts +0 -47
- package/src/waiters/waitForPortalNotExists.ts +0 -42
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
|
|
15
|
-
import { CreateGatewayRequest, CreateGatewayResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateGatewayCommand,
|
|
18
|
-
serializeAws_restJson1CreateGatewayCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateGatewayCommandInput extends CreateGatewayRequest {}
|
|
22
|
-
export interface CreateGatewayCommandOutput extends CreateGatewayResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a gateway, which is a virtual or edge device that delivers industrial data streams
|
|
26
|
-
* from local servers to IoT SiteWise. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/gateway-connector.html">Ingesting data using a gateway</a> in the
|
|
27
|
-
* <i>IoT SiteWise User Guide</i>.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { IoTSiteWiseClient, CreateGatewayCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
32
|
-
* // const { IoTSiteWiseClient, CreateGatewayCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
33
|
-
* const client = new IoTSiteWiseClient(config);
|
|
34
|
-
* const command = new CreateGatewayCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CreateGatewayCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CreateGatewayCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class CreateGatewayCommand extends $Command<
|
|
44
|
-
CreateGatewayCommandInput,
|
|
45
|
-
CreateGatewayCommandOutput,
|
|
46
|
-
IoTSiteWiseClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: CreateGatewayCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<CreateGatewayCommandInput, CreateGatewayCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "IoTSiteWiseClient";
|
|
71
|
-
const commandName = "CreateGatewayCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: CreateGatewayRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: CreateGatewayResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: CreateGatewayCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1CreateGatewayCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateGatewayCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1CreateGatewayCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
|
|
15
|
-
import { CreatePortalRequest, CreatePortalResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreatePortalCommand,
|
|
18
|
-
serializeAws_restJson1CreatePortalCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreatePortalCommandInput extends CreatePortalRequest {}
|
|
22
|
-
export interface CreatePortalCommandOutput extends CreatePortalResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a portal, which can contain projects and dashboards. IoT SiteWise Monitor uses Amazon Web Services SSO or IAM
|
|
26
|
-
* to authenticate portal users and manage user permissions.</p>
|
|
27
|
-
* <note>
|
|
28
|
-
* <p>Before you can sign in to a new portal, you must add at least one identity to that
|
|
29
|
-
* portal. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/administer-portals.html#portal-change-admins">Adding or removing portal
|
|
30
|
-
* administrators</a> in the <i>IoT SiteWise User Guide</i>.</p>
|
|
31
|
-
* </note>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { IoTSiteWiseClient, CreatePortalCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
36
|
-
* // const { IoTSiteWiseClient, CreatePortalCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
37
|
-
* const client = new IoTSiteWiseClient(config);
|
|
38
|
-
* const command = new CreatePortalCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link CreatePortalCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link CreatePortalCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class CreatePortalCommand extends $Command<
|
|
48
|
-
CreatePortalCommandInput,
|
|
49
|
-
CreatePortalCommandOutput,
|
|
50
|
-
IoTSiteWiseClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: CreatePortalCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<CreatePortalCommandInput, CreatePortalCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "IoTSiteWiseClient";
|
|
75
|
-
const commandName = "CreatePortalCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: CreatePortalRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: CreatePortalResponse.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: CreatePortalCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_restJson1CreatePortalCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreatePortalCommandOutput> {
|
|
96
|
-
return deserializeAws_restJson1CreatePortalCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
|
|
15
|
-
import { CreateProjectRequest, CreateProjectResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateProjectCommand,
|
|
18
|
-
serializeAws_restJson1CreateProjectCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateProjectCommandInput extends CreateProjectRequest {}
|
|
22
|
-
export interface CreateProjectCommandOutput extends CreateProjectResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a project in the specified portal.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, CreateProjectCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, CreateProjectCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new CreateProjectCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateProjectCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateProjectCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateProjectCommand extends $Command<
|
|
42
|
-
CreateProjectCommandInput,
|
|
43
|
-
CreateProjectCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateProjectCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<CreateProjectCommandInput, CreateProjectCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "IoTSiteWiseClient";
|
|
69
|
-
const commandName = "CreateProjectCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateProjectRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateProjectResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: CreateProjectCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1CreateProjectCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateProjectCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1CreateProjectCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
|
|
15
|
-
import { DeleteAccessPolicyRequest, DeleteAccessPolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteAccessPolicyCommand,
|
|
18
|
-
serializeAws_restJson1DeleteAccessPolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteAccessPolicyCommandInput extends DeleteAccessPolicyRequest {}
|
|
22
|
-
export interface DeleteAccessPolicyCommandOutput extends DeleteAccessPolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes an access policy that grants the specified identity access to the specified
|
|
26
|
-
* IoT SiteWise Monitor resource. You can use this operation to revoke access to an IoT SiteWise Monitor
|
|
27
|
-
* resource.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { IoTSiteWiseClient, DeleteAccessPolicyCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
32
|
-
* // const { IoTSiteWiseClient, DeleteAccessPolicyCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
33
|
-
* const client = new IoTSiteWiseClient(config);
|
|
34
|
-
* const command = new DeleteAccessPolicyCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link DeleteAccessPolicyCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link DeleteAccessPolicyCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class DeleteAccessPolicyCommand extends $Command<
|
|
44
|
-
DeleteAccessPolicyCommandInput,
|
|
45
|
-
DeleteAccessPolicyCommandOutput,
|
|
46
|
-
IoTSiteWiseClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: DeleteAccessPolicyCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<DeleteAccessPolicyCommandInput, DeleteAccessPolicyCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "IoTSiteWiseClient";
|
|
71
|
-
const commandName = "DeleteAccessPolicyCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: DeleteAccessPolicyRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: DeleteAccessPolicyResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: DeleteAccessPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1DeleteAccessPolicyCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAccessPolicyCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1DeleteAccessPolicyCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
|
|
15
|
-
import { DeleteAssetRequest, DeleteAssetResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteAssetCommand,
|
|
18
|
-
serializeAws_restJson1DeleteAssetCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteAssetCommandInput extends DeleteAssetRequest {}
|
|
22
|
-
export interface DeleteAssetCommandOutput extends DeleteAssetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes an asset. This action can't be undone. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/delete-assets-and-models.html">Deleting assets and
|
|
26
|
-
* models</a> in the <i>IoT SiteWise User Guide</i>. </p>
|
|
27
|
-
* <note>
|
|
28
|
-
* <p>You can't delete an asset that's associated to another asset. For more information, see
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DisassociateAssets.html">DisassociateAssets</a>.</p>
|
|
30
|
-
* </note>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { IoTSiteWiseClient, DeleteAssetCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
35
|
-
* // const { IoTSiteWiseClient, DeleteAssetCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
36
|
-
* const client = new IoTSiteWiseClient(config);
|
|
37
|
-
* const command = new DeleteAssetCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link DeleteAssetCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link DeleteAssetCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class DeleteAssetCommand extends $Command<
|
|
47
|
-
DeleteAssetCommandInput,
|
|
48
|
-
DeleteAssetCommandOutput,
|
|
49
|
-
IoTSiteWiseClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: DeleteAssetCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<DeleteAssetCommandInput, DeleteAssetCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "IoTSiteWiseClient";
|
|
74
|
-
const commandName = "DeleteAssetCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: DeleteAssetRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: DeleteAssetResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: DeleteAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1DeleteAssetCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAssetCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1DeleteAssetCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
|
|
15
|
-
import { DeleteAssetModelRequest, DeleteAssetModelResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteAssetModelCommand,
|
|
18
|
-
serializeAws_restJson1DeleteAssetModelCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteAssetModelCommandInput extends DeleteAssetModelRequest {}
|
|
22
|
-
export interface DeleteAssetModelCommandOutput extends DeleteAssetModelResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes an asset model. This action can't be undone. You must delete all assets created
|
|
26
|
-
* from an asset model before you can delete the model. Also, you can't delete an asset model if
|
|
27
|
-
* a parent asset model exists that contains a property formula expression that depends on the
|
|
28
|
-
* asset model that you want to delete. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/delete-assets-and-models.html">Deleting assets and models</a> in the
|
|
29
|
-
* <i>IoT SiteWise User Guide</i>.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { IoTSiteWiseClient, DeleteAssetModelCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
34
|
-
* // const { IoTSiteWiseClient, DeleteAssetModelCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
35
|
-
* const client = new IoTSiteWiseClient(config);
|
|
36
|
-
* const command = new DeleteAssetModelCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link DeleteAssetModelCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link DeleteAssetModelCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class DeleteAssetModelCommand extends $Command<
|
|
46
|
-
DeleteAssetModelCommandInput,
|
|
47
|
-
DeleteAssetModelCommandOutput,
|
|
48
|
-
IoTSiteWiseClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: DeleteAssetModelCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<DeleteAssetModelCommandInput, DeleteAssetModelCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "IoTSiteWiseClient";
|
|
73
|
-
const commandName = "DeleteAssetModelCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: DeleteAssetModelRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: DeleteAssetModelResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: DeleteAssetModelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1DeleteAssetModelCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteAssetModelCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1DeleteAssetModelCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { IoTSiteWiseClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTSiteWiseClient";
|
|
15
|
-
import { DeleteDashboardRequest, DeleteDashboardResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DeleteDashboardCommand,
|
|
18
|
-
serializeAws_restJson1DeleteDashboardCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DeleteDashboardCommandInput extends DeleteDashboardRequest {}
|
|
22
|
-
export interface DeleteDashboardCommandOutput extends DeleteDashboardResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes a dashboard from IoT SiteWise Monitor.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, DeleteDashboardCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, DeleteDashboardCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new DeleteDashboardCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteDashboardCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteDashboardCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteDashboardCommand extends $Command<
|
|
42
|
-
DeleteDashboardCommandInput,
|
|
43
|
-
DeleteDashboardCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteDashboardCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<DeleteDashboardCommandInput, DeleteDashboardCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "IoTSiteWiseClient";
|
|
69
|
-
const commandName = "DeleteDashboardCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteDashboardRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DeleteDashboardResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: DeleteDashboardCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DeleteDashboardCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteDashboardCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DeleteDashboardCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|