@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,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 { ListDashboardsRequest, ListDashboardsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListDashboardsCommand,
|
|
18
|
-
serializeAws_restJson1ListDashboardsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListDashboardsCommandInput extends ListDashboardsRequest {}
|
|
22
|
-
export interface ListDashboardsCommandOutput extends ListDashboardsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves a paginated list of dashboards for an IoT SiteWise Monitor project.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, ListDashboardsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, ListDashboardsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new ListDashboardsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListDashboardsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListDashboardsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListDashboardsCommand extends $Command<
|
|
42
|
-
ListDashboardsCommandInput,
|
|
43
|
-
ListDashboardsCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListDashboardsCommandInput) {
|
|
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<ListDashboardsCommandInput, ListDashboardsCommandOutput> {
|
|
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 = "ListDashboardsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListDashboardsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListDashboardsResponse.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: ListDashboardsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListDashboardsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDashboardsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListDashboardsCommand(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 { ListGatewaysRequest, ListGatewaysResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListGatewaysCommand,
|
|
18
|
-
serializeAws_restJson1ListGatewaysCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListGatewaysCommandInput extends ListGatewaysRequest {}
|
|
22
|
-
export interface ListGatewaysCommandOutput extends ListGatewaysResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves a paginated list of gateways.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, ListGatewaysCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, ListGatewaysCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new ListGatewaysCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListGatewaysCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListGatewaysCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListGatewaysCommand extends $Command<
|
|
42
|
-
ListGatewaysCommandInput,
|
|
43
|
-
ListGatewaysCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListGatewaysCommandInput) {
|
|
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<ListGatewaysCommandInput, ListGatewaysCommandOutput> {
|
|
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 = "ListGatewaysCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListGatewaysRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListGatewaysResponse.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: ListGatewaysCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListGatewaysCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListGatewaysCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListGatewaysCommand(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 { ListPortalsRequest, ListPortalsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListPortalsCommand,
|
|
18
|
-
serializeAws_restJson1ListPortalsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListPortalsCommandInput extends ListPortalsRequest {}
|
|
22
|
-
export interface ListPortalsCommandOutput extends ListPortalsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves a paginated list of IoT SiteWise Monitor portals.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, ListPortalsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, ListPortalsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new ListPortalsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListPortalsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListPortalsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListPortalsCommand extends $Command<
|
|
42
|
-
ListPortalsCommandInput,
|
|
43
|
-
ListPortalsCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListPortalsCommandInput) {
|
|
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<ListPortalsCommandInput, ListPortalsCommandOutput> {
|
|
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 = "ListPortalsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListPortalsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListPortalsResponse.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: ListPortalsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListPortalsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPortalsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListPortalsCommand(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 { ListProjectAssetsRequest, ListProjectAssetsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListProjectAssetsCommand,
|
|
18
|
-
serializeAws_restJson1ListProjectAssetsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListProjectAssetsCommandInput extends ListProjectAssetsRequest {}
|
|
22
|
-
export interface ListProjectAssetsCommandOutput extends ListProjectAssetsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves a paginated list of assets associated with an IoT SiteWise Monitor project.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, ListProjectAssetsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, ListProjectAssetsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new ListProjectAssetsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListProjectAssetsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListProjectAssetsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListProjectAssetsCommand extends $Command<
|
|
42
|
-
ListProjectAssetsCommandInput,
|
|
43
|
-
ListProjectAssetsCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListProjectAssetsCommandInput) {
|
|
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<ListProjectAssetsCommandInput, ListProjectAssetsCommandOutput> {
|
|
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 = "ListProjectAssetsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListProjectAssetsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListProjectAssetsResponse.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: ListProjectAssetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListProjectAssetsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListProjectAssetsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListProjectAssetsCommand(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 { ListProjectsRequest, ListProjectsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListProjectsCommand,
|
|
18
|
-
serializeAws_restJson1ListProjectsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListProjectsCommandInput extends ListProjectsRequest {}
|
|
22
|
-
export interface ListProjectsCommandOutput extends ListProjectsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves a paginated list of projects for an IoT SiteWise Monitor 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, ListProjectsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, ListProjectsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new ListProjectsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListProjectsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListProjectsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListProjectsCommand extends $Command<
|
|
42
|
-
ListProjectsCommandInput,
|
|
43
|
-
ListProjectsCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListProjectsCommandInput) {
|
|
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<ListProjectsCommandInput, ListProjectsCommandOutput> {
|
|
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 = "ListProjectsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListProjectsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListProjectsResponse.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: ListProjectsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListProjectsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListProjectsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListProjectsCommand(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 { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListTagsForResourceCommand,
|
|
18
|
-
serializeAws_restJson1ListTagsForResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
22
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves the list of tags for 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, ListTagsForResourceCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, ListTagsForResourceCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
42
|
-
ListTagsForResourceCommandInput,
|
|
43
|
-
ListTagsForResourceCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
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<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
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 = "ListTagsForResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.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: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,108 +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 {
|
|
16
|
-
PutDefaultEncryptionConfigurationRequest,
|
|
17
|
-
PutDefaultEncryptionConfigurationResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_restJson1PutDefaultEncryptionConfigurationCommand,
|
|
21
|
-
serializeAws_restJson1PutDefaultEncryptionConfigurationCommand,
|
|
22
|
-
} from "../protocols/Aws_restJson1";
|
|
23
|
-
|
|
24
|
-
export interface PutDefaultEncryptionConfigurationCommandInput extends PutDefaultEncryptionConfigurationRequest {}
|
|
25
|
-
export interface PutDefaultEncryptionConfigurationCommandOutput
|
|
26
|
-
extends PutDefaultEncryptionConfigurationResponse,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Sets the default encryption configuration for the Amazon Web Services account. For more information, see
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/key-management.html">Key management</a> in
|
|
32
|
-
* the <i>IoT SiteWise User Guide</i>.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { IoTSiteWiseClient, PutDefaultEncryptionConfigurationCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
37
|
-
* // const { IoTSiteWiseClient, PutDefaultEncryptionConfigurationCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
38
|
-
* const client = new IoTSiteWiseClient(config);
|
|
39
|
-
* const command = new PutDefaultEncryptionConfigurationCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link PutDefaultEncryptionConfigurationCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link PutDefaultEncryptionConfigurationCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class PutDefaultEncryptionConfigurationCommand extends $Command<
|
|
49
|
-
PutDefaultEncryptionConfigurationCommandInput,
|
|
50
|
-
PutDefaultEncryptionConfigurationCommandOutput,
|
|
51
|
-
IoTSiteWiseClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: PutDefaultEncryptionConfigurationCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<PutDefaultEncryptionConfigurationCommandInput, PutDefaultEncryptionConfigurationCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "IoTSiteWiseClient";
|
|
76
|
-
const commandName = "PutDefaultEncryptionConfigurationCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: PutDefaultEncryptionConfigurationRequest.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: PutDefaultEncryptionConfigurationResponse.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(
|
|
93
|
-
input: PutDefaultEncryptionConfigurationCommandInput,
|
|
94
|
-
context: __SerdeContext
|
|
95
|
-
): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_restJson1PutDefaultEncryptionConfigurationCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(
|
|
100
|
-
output: __HttpResponse,
|
|
101
|
-
context: __SerdeContext
|
|
102
|
-
): Promise<PutDefaultEncryptionConfigurationCommandOutput> {
|
|
103
|
-
return deserializeAws_restJson1PutDefaultEncryptionConfigurationCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|