@aws-sdk/client-iotsitewise 3.35.0 → 3.36.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 +13 -0
- package/dist-cjs/IoTSiteWise.js +0 -1
- package/dist-cjs/IoTSiteWiseClient.js +0 -1
- package/dist-cjs/commands/AssociateAssetsCommand.js +0 -1
- package/dist-cjs/commands/BatchAssociateProjectAssetsCommand.js +0 -1
- package/dist-cjs/commands/BatchDisassociateProjectAssetsCommand.js +0 -1
- package/dist-cjs/commands/BatchPutAssetPropertyValueCommand.js +0 -1
- package/dist-cjs/commands/CreateAccessPolicyCommand.js +0 -1
- package/dist-cjs/commands/CreateAssetCommand.js +0 -1
- package/dist-cjs/commands/CreateAssetModelCommand.js +0 -1
- package/dist-cjs/commands/CreateDashboardCommand.js +0 -1
- package/dist-cjs/commands/CreateGatewayCommand.js +0 -1
- package/dist-cjs/commands/CreatePortalCommand.js +0 -1
- package/dist-cjs/commands/CreateProjectCommand.js +0 -1
- package/dist-cjs/commands/DeleteAccessPolicyCommand.js +0 -1
- package/dist-cjs/commands/DeleteAssetCommand.js +0 -1
- package/dist-cjs/commands/DeleteAssetModelCommand.js +0 -1
- package/dist-cjs/commands/DeleteDashboardCommand.js +0 -1
- package/dist-cjs/commands/DeleteGatewayCommand.js +0 -1
- package/dist-cjs/commands/DeletePortalCommand.js +0 -1
- package/dist-cjs/commands/DeleteProjectCommand.js +0 -1
- package/dist-cjs/commands/DescribeAccessPolicyCommand.js +0 -1
- package/dist-cjs/commands/DescribeAssetCommand.js +0 -1
- package/dist-cjs/commands/DescribeAssetModelCommand.js +0 -1
- package/dist-cjs/commands/DescribeAssetPropertyCommand.js +0 -1
- package/dist-cjs/commands/DescribeDashboardCommand.js +0 -1
- package/dist-cjs/commands/DescribeDefaultEncryptionConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DescribeGatewayCapabilityConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DescribeGatewayCommand.js +0 -1
- package/dist-cjs/commands/DescribeLoggingOptionsCommand.js +0 -1
- package/dist-cjs/commands/DescribePortalCommand.js +0 -1
- package/dist-cjs/commands/DescribeProjectCommand.js +0 -1
- package/dist-cjs/commands/DescribeStorageConfigurationCommand.js +0 -1
- package/dist-cjs/commands/DisassociateAssetsCommand.js +0 -1
- package/dist-cjs/commands/GetAssetPropertyAggregatesCommand.js +0 -1
- package/dist-cjs/commands/GetAssetPropertyValueCommand.js +0 -1
- package/dist-cjs/commands/GetAssetPropertyValueHistoryCommand.js +0 -1
- package/dist-cjs/commands/GetInterpolatedAssetPropertyValuesCommand.js +0 -1
- package/dist-cjs/commands/ListAccessPoliciesCommand.js +0 -1
- package/dist-cjs/commands/ListAssetModelsCommand.js +0 -1
- package/dist-cjs/commands/ListAssetRelationshipsCommand.js +0 -1
- package/dist-cjs/commands/ListAssetsCommand.js +0 -1
- package/dist-cjs/commands/ListAssociatedAssetsCommand.js +0 -1
- package/dist-cjs/commands/ListDashboardsCommand.js +0 -1
- package/dist-cjs/commands/ListGatewaysCommand.js +0 -1
- package/dist-cjs/commands/ListPortalsCommand.js +0 -1
- package/dist-cjs/commands/ListProjectAssetsCommand.js +0 -1
- package/dist-cjs/commands/ListProjectsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/PutDefaultEncryptionConfigurationCommand.js +0 -1
- package/dist-cjs/commands/PutLoggingOptionsCommand.js +0 -1
- package/dist-cjs/commands/PutStorageConfigurationCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateAccessPolicyCommand.js +0 -1
- package/dist-cjs/commands/UpdateAssetCommand.js +0 -1
- package/dist-cjs/commands/UpdateAssetModelCommand.js +0 -1
- package/dist-cjs/commands/UpdateAssetPropertyCommand.js +0 -1
- package/dist-cjs/commands/UpdateDashboardCommand.js +0 -1
- package/dist-cjs/commands/UpdateGatewayCapabilityConfigurationCommand.js +0 -1
- package/dist-cjs/commands/UpdateGatewayCommand.js +0 -1
- package/dist-cjs/commands/UpdatePortalCommand.js +0 -1
- package/dist-cjs/commands/UpdateProjectCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/GetAssetPropertyAggregatesPaginator.js +0 -1
- package/dist-cjs/pagination/GetAssetPropertyValueHistoryPaginator.js +0 -1
- package/dist-cjs/pagination/GetInterpolatedAssetPropertyValuesPaginator.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +0 -1
- package/dist-cjs/pagination/ListAssetModelsPaginator.js +0 -1
- package/dist-cjs/pagination/ListAssetRelationshipsPaginator.js +0 -1
- package/dist-cjs/pagination/ListAssetsPaginator.js +0 -1
- package/dist-cjs/pagination/ListAssociatedAssetsPaginator.js +0 -1
- package/dist-cjs/pagination/ListDashboardsPaginator.js +0 -1
- package/dist-cjs/pagination/ListGatewaysPaginator.js +0 -1
- package/dist-cjs/pagination/ListPortalsPaginator.js +0 -1
- package/dist-cjs/pagination/ListProjectAssetsPaginator.js +0 -1
- package/dist-cjs/pagination/ListProjectsPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-cjs/waiters/waitForAssetActive.js +0 -1
- package/dist-cjs/waiters/waitForAssetModelActive.js +0 -1
- package/dist-cjs/waiters/waitForAssetModelNotExists.js +0 -1
- package/dist-cjs/waiters/waitForAssetNotExists.js +0 -1
- package/dist-cjs/waiters/waitForPortalActive.js +0 -1
- package/dist-cjs/waiters/waitForPortalNotExists.js +0 -1
- 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/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- 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/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/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/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,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 { PutLoggingOptionsRequest, PutLoggingOptionsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1PutLoggingOptionsCommand,
|
|
18
|
-
serializeAws_restJson1PutLoggingOptionsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface PutLoggingOptionsCommandInput extends PutLoggingOptionsRequest {}
|
|
22
|
-
export interface PutLoggingOptionsCommandOutput extends PutLoggingOptionsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Sets logging options for IoT SiteWise.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, PutLoggingOptionsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, PutLoggingOptionsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new PutLoggingOptionsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link PutLoggingOptionsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link PutLoggingOptionsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class PutLoggingOptionsCommand extends $Command<
|
|
42
|
-
PutLoggingOptionsCommandInput,
|
|
43
|
-
PutLoggingOptionsCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: PutLoggingOptionsCommandInput) {
|
|
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<PutLoggingOptionsCommandInput, PutLoggingOptionsCommandOutput> {
|
|
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 = "PutLoggingOptionsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: PutLoggingOptionsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: PutLoggingOptionsResponse.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: PutLoggingOptionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1PutLoggingOptionsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutLoggingOptionsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1PutLoggingOptionsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -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 { PutStorageConfigurationRequest, PutStorageConfigurationResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1PutStorageConfigurationCommand,
|
|
18
|
-
serializeAws_restJson1PutStorageConfigurationCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface PutStorageConfigurationCommandInput extends PutStorageConfigurationRequest {}
|
|
22
|
-
export interface PutStorageConfigurationCommandOutput extends PutStorageConfigurationResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Configures storage settings for IoT SiteWise.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, PutStorageConfigurationCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, PutStorageConfigurationCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new PutStorageConfigurationCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link PutStorageConfigurationCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link PutStorageConfigurationCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class PutStorageConfigurationCommand extends $Command<
|
|
42
|
-
PutStorageConfigurationCommandInput,
|
|
43
|
-
PutStorageConfigurationCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: PutStorageConfigurationCommandInput) {
|
|
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<PutStorageConfigurationCommandInput, PutStorageConfigurationCommandOutput> {
|
|
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 = "PutStorageConfigurationCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: PutStorageConfigurationRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: PutStorageConfigurationResponse.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: PutStorageConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1PutStorageConfigurationCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutStorageConfigurationCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1PutStorageConfigurationCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,96 +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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1TagResourceCommand,
|
|
18
|
-
serializeAws_restJson1TagResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
22
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Adds tags to an IoT SiteWise resource. If a tag already exists for the resource, this operation
|
|
26
|
-
* updates the tag's value.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { IoTSiteWiseClient, TagResourceCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
31
|
-
* // const { IoTSiteWiseClient, TagResourceCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
32
|
-
* const client = new IoTSiteWiseClient(config);
|
|
33
|
-
* const command = new TagResourceCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class TagResourceCommand extends $Command<
|
|
43
|
-
TagResourceCommandInput,
|
|
44
|
-
TagResourceCommandOutput,
|
|
45
|
-
IoTSiteWiseClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "IoTSiteWiseClient";
|
|
70
|
-
const commandName = "TagResourceCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1TagResourceCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UntagResourceCommand,
|
|
18
|
-
serializeAws_restJson1UntagResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
22
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Removes a tag from an IoT SiteWise resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, UntagResourceCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, UntagResourceCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new UntagResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class UntagResourceCommand extends $Command<
|
|
42
|
-
UntagResourceCommandInput,
|
|
43
|
-
UntagResourceCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
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 = "UntagResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: UntagResourceResponse.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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,96 +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 { UpdateAccessPolicyRequest, UpdateAccessPolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateAccessPolicyCommand,
|
|
18
|
-
serializeAws_restJson1UpdateAccessPolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateAccessPolicyCommandInput extends UpdateAccessPolicyRequest {}
|
|
22
|
-
export interface UpdateAccessPolicyCommandOutput extends UpdateAccessPolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates an existing access policy that specifies an identity's access to an IoT SiteWise Monitor
|
|
26
|
-
* portal or project resource.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { IoTSiteWiseClient, UpdateAccessPolicyCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
31
|
-
* // const { IoTSiteWiseClient, UpdateAccessPolicyCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
32
|
-
* const client = new IoTSiteWiseClient(config);
|
|
33
|
-
* const command = new UpdateAccessPolicyCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link UpdateAccessPolicyCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link UpdateAccessPolicyCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class UpdateAccessPolicyCommand extends $Command<
|
|
43
|
-
UpdateAccessPolicyCommandInput,
|
|
44
|
-
UpdateAccessPolicyCommandOutput,
|
|
45
|
-
IoTSiteWiseClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: UpdateAccessPolicyCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<UpdateAccessPolicyCommandInput, UpdateAccessPolicyCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "IoTSiteWiseClient";
|
|
70
|
-
const commandName = "UpdateAccessPolicyCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: UpdateAccessPolicyRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: UpdateAccessPolicyResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: UpdateAccessPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1UpdateAccessPolicyCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateAccessPolicyCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1UpdateAccessPolicyCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,96 +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 { UpdateAssetRequest, UpdateAssetResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateAssetCommand,
|
|
18
|
-
serializeAws_restJson1UpdateAssetCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateAssetCommandInput extends UpdateAssetRequest {}
|
|
22
|
-
export interface UpdateAssetCommandOutput extends UpdateAssetResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates an asset's name. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/update-assets-and-models.html">Updating assets and models</a> in the
|
|
26
|
-
* <i>IoT SiteWise User Guide</i>.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { IoTSiteWiseClient, UpdateAssetCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
31
|
-
* // const { IoTSiteWiseClient, UpdateAssetCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
32
|
-
* const client = new IoTSiteWiseClient(config);
|
|
33
|
-
* const command = new UpdateAssetCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link UpdateAssetCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link UpdateAssetCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class UpdateAssetCommand extends $Command<
|
|
43
|
-
UpdateAssetCommandInput,
|
|
44
|
-
UpdateAssetCommandOutput,
|
|
45
|
-
IoTSiteWiseClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: UpdateAssetCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<UpdateAssetCommandInput, UpdateAssetCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "IoTSiteWiseClient";
|
|
70
|
-
const commandName = "UpdateAssetCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: UpdateAssetRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: UpdateAssetResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: UpdateAssetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1UpdateAssetCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateAssetCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1UpdateAssetCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,107 +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 { UpdateAssetModelRequest, UpdateAssetModelResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1UpdateAssetModelCommand,
|
|
18
|
-
serializeAws_restJson1UpdateAssetModelCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface UpdateAssetModelCommandInput extends UpdateAssetModelRequest {}
|
|
22
|
-
export interface UpdateAssetModelCommandOutput extends UpdateAssetModelResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Updates an asset model and all of the assets that were created from the model. Each asset
|
|
26
|
-
* created from the model inherits the updated asset model's property and hierarchy definitions.
|
|
27
|
-
* For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/update-assets-and-models.html">Updating assets and models</a> in the
|
|
28
|
-
* <i>IoT SiteWise User Guide</i>.</p>
|
|
29
|
-
* <important>
|
|
30
|
-
* <p>This operation overwrites the existing model with the provided model. To avoid deleting
|
|
31
|
-
* your asset model's properties or hierarchies, you must include their IDs and definitions in
|
|
32
|
-
* the updated asset model payload. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeAssetModel.html">DescribeAssetModel</a>.</p>
|
|
33
|
-
* <p>If you remove a property from an asset model, IoT SiteWise deletes all previous data for that
|
|
34
|
-
* property. If you remove a hierarchy definition from an asset model, IoT SiteWise disassociates every
|
|
35
|
-
* asset associated with that hierarchy. You can't change the type or data type of an existing
|
|
36
|
-
* property.</p>
|
|
37
|
-
* </important>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { IoTSiteWiseClient, UpdateAssetModelCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
42
|
-
* // const { IoTSiteWiseClient, UpdateAssetModelCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
43
|
-
* const client = new IoTSiteWiseClient(config);
|
|
44
|
-
* const command = new UpdateAssetModelCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link UpdateAssetModelCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link UpdateAssetModelCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class UpdateAssetModelCommand extends $Command<
|
|
54
|
-
UpdateAssetModelCommandInput,
|
|
55
|
-
UpdateAssetModelCommandOutput,
|
|
56
|
-
IoTSiteWiseClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: UpdateAssetModelCommandInput) {
|
|
62
|
-
// Start section: command_constructor
|
|
63
|
-
super();
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(
|
|
71
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Handler<UpdateAssetModelCommandInput, UpdateAssetModelCommandOutput> {
|
|
75
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
|
|
77
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
78
|
-
|
|
79
|
-
const { logger } = configuration;
|
|
80
|
-
const clientName = "IoTSiteWiseClient";
|
|
81
|
-
const commandName = "UpdateAssetModelCommand";
|
|
82
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
83
|
-
logger,
|
|
84
|
-
clientName,
|
|
85
|
-
commandName,
|
|
86
|
-
inputFilterSensitiveLog: UpdateAssetModelRequest.filterSensitiveLog,
|
|
87
|
-
outputFilterSensitiveLog: UpdateAssetModelResponse.filterSensitiveLog,
|
|
88
|
-
};
|
|
89
|
-
const { requestHandler } = configuration;
|
|
90
|
-
return stack.resolve(
|
|
91
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
92
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
93
|
-
handlerExecutionContext
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private serialize(input: UpdateAssetModelCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
98
|
-
return serializeAws_restJson1UpdateAssetModelCommand(input, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateAssetModelCommandOutput> {
|
|
102
|
-
return deserializeAws_restJson1UpdateAssetModelCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|