@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 { DescribeDashboardRequest, DescribeDashboardResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DescribeDashboardCommand,
|
|
18
|
-
serializeAws_restJson1DescribeDashboardCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeDashboardCommandInput extends DescribeDashboardRequest {}
|
|
22
|
-
export interface DescribeDashboardCommandOutput extends DescribeDashboardResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves information about a dashboard.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, DescribeDashboardCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, DescribeDashboardCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new DescribeDashboardCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeDashboardCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeDashboardCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeDashboardCommand extends $Command<
|
|
42
|
-
DescribeDashboardCommandInput,
|
|
43
|
-
DescribeDashboardCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeDashboardCommandInput) {
|
|
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<DescribeDashboardCommandInput, DescribeDashboardCommandOutput> {
|
|
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 = "DescribeDashboardCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeDashboardRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeDashboardResponse.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: DescribeDashboardCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DescribeDashboardCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeDashboardCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DescribeDashboardCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,109 +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
|
-
DescribeDefaultEncryptionConfigurationRequest,
|
|
17
|
-
DescribeDefaultEncryptionConfigurationResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_restJson1DescribeDefaultEncryptionConfigurationCommand,
|
|
21
|
-
serializeAws_restJson1DescribeDefaultEncryptionConfigurationCommand,
|
|
22
|
-
} from "../protocols/Aws_restJson1";
|
|
23
|
-
|
|
24
|
-
export interface DescribeDefaultEncryptionConfigurationCommandInput
|
|
25
|
-
extends DescribeDefaultEncryptionConfigurationRequest {}
|
|
26
|
-
export interface DescribeDefaultEncryptionConfigurationCommandOutput
|
|
27
|
-
extends DescribeDefaultEncryptionConfigurationResponse,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Retrieves information about the default encryption configuration for the Amazon Web Services account in
|
|
32
|
-
* the default or specified Region. For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/key-management.html">Key management</a> in the
|
|
33
|
-
* <i>IoT SiteWise User Guide</i>.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { IoTSiteWiseClient, DescribeDefaultEncryptionConfigurationCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
38
|
-
* // const { IoTSiteWiseClient, DescribeDefaultEncryptionConfigurationCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
39
|
-
* const client = new IoTSiteWiseClient(config);
|
|
40
|
-
* const command = new DescribeDefaultEncryptionConfigurationCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link DescribeDefaultEncryptionConfigurationCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link DescribeDefaultEncryptionConfigurationCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class DescribeDefaultEncryptionConfigurationCommand extends $Command<
|
|
50
|
-
DescribeDefaultEncryptionConfigurationCommandInput,
|
|
51
|
-
DescribeDefaultEncryptionConfigurationCommandOutput,
|
|
52
|
-
IoTSiteWiseClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: DescribeDefaultEncryptionConfigurationCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<DescribeDefaultEncryptionConfigurationCommandInput, DescribeDefaultEncryptionConfigurationCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "IoTSiteWiseClient";
|
|
77
|
-
const commandName = "DescribeDefaultEncryptionConfigurationCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: DescribeDefaultEncryptionConfigurationRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: DescribeDefaultEncryptionConfigurationResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(
|
|
94
|
-
input: DescribeDefaultEncryptionConfigurationCommandInput,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<__HttpRequest> {
|
|
97
|
-
return serializeAws_restJson1DescribeDefaultEncryptionConfigurationCommand(input, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
private deserialize(
|
|
101
|
-
output: __HttpResponse,
|
|
102
|
-
context: __SerdeContext
|
|
103
|
-
): Promise<DescribeDefaultEncryptionConfigurationCommandOutput> {
|
|
104
|
-
return deserializeAws_restJson1DescribeDefaultEncryptionConfigurationCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|
|
@@ -1,111 +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
|
-
DescribeGatewayCapabilityConfigurationRequest,
|
|
17
|
-
DescribeGatewayCapabilityConfigurationResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_restJson1DescribeGatewayCapabilityConfigurationCommand,
|
|
21
|
-
serializeAws_restJson1DescribeGatewayCapabilityConfigurationCommand,
|
|
22
|
-
} from "../protocols/Aws_restJson1";
|
|
23
|
-
|
|
24
|
-
export interface DescribeGatewayCapabilityConfigurationCommandInput
|
|
25
|
-
extends DescribeGatewayCapabilityConfigurationRequest {}
|
|
26
|
-
export interface DescribeGatewayCapabilityConfigurationCommandOutput
|
|
27
|
-
extends DescribeGatewayCapabilityConfigurationResponse,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Retrieves information about a gateway capability configuration.
|
|
32
|
-
* Each gateway capability defines data sources for a gateway. A capability configuration
|
|
33
|
-
* can contain multiple data source configurations. If you define OPC-UA sources for a gateway in
|
|
34
|
-
* the IoT SiteWise console, all of your OPC-UA sources are stored in one capability configuration. To
|
|
35
|
-
* list all capability configurations for a gateway, use <a href="https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGateway.html">DescribeGateway</a>.</p>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { IoTSiteWiseClient, DescribeGatewayCapabilityConfigurationCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
40
|
-
* // const { IoTSiteWiseClient, DescribeGatewayCapabilityConfigurationCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
41
|
-
* const client = new IoTSiteWiseClient(config);
|
|
42
|
-
* const command = new DescribeGatewayCapabilityConfigurationCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link DescribeGatewayCapabilityConfigurationCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link DescribeGatewayCapabilityConfigurationCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export class DescribeGatewayCapabilityConfigurationCommand extends $Command<
|
|
52
|
-
DescribeGatewayCapabilityConfigurationCommandInput,
|
|
53
|
-
DescribeGatewayCapabilityConfigurationCommandOutput,
|
|
54
|
-
IoTSiteWiseClientResolvedConfig
|
|
55
|
-
> {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
|
|
59
|
-
constructor(readonly input: DescribeGatewayCapabilityConfigurationCommandInput) {
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
super();
|
|
62
|
-
// End section: command_constructor
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
resolveMiddleware(
|
|
69
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
70
|
-
configuration: IoTSiteWiseClientResolvedConfig,
|
|
71
|
-
options?: __HttpHandlerOptions
|
|
72
|
-
): Handler<DescribeGatewayCapabilityConfigurationCommandInput, DescribeGatewayCapabilityConfigurationCommandOutput> {
|
|
73
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
74
|
-
|
|
75
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
76
|
-
|
|
77
|
-
const { logger } = configuration;
|
|
78
|
-
const clientName = "IoTSiteWiseClient";
|
|
79
|
-
const commandName = "DescribeGatewayCapabilityConfigurationCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: DescribeGatewayCapabilityConfigurationRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: DescribeGatewayCapabilityConfigurationResponse.filterSensitiveLog,
|
|
86
|
-
};
|
|
87
|
-
const { requestHandler } = configuration;
|
|
88
|
-
return stack.resolve(
|
|
89
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
90
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
91
|
-
handlerExecutionContext
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private serialize(
|
|
96
|
-
input: DescribeGatewayCapabilityConfigurationCommandInput,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<__HttpRequest> {
|
|
99
|
-
return serializeAws_restJson1DescribeGatewayCapabilityConfigurationCommand(input, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
private deserialize(
|
|
103
|
-
output: __HttpResponse,
|
|
104
|
-
context: __SerdeContext
|
|
105
|
-
): Promise<DescribeGatewayCapabilityConfigurationCommandOutput> {
|
|
106
|
-
return deserializeAws_restJson1DescribeGatewayCapabilityConfigurationCommand(output, context);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// Start section: command_body_extra
|
|
110
|
-
// End section: command_body_extra
|
|
111
|
-
}
|
|
@@ -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 { DescribeGatewayRequest, DescribeGatewayResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DescribeGatewayCommand,
|
|
18
|
-
serializeAws_restJson1DescribeGatewayCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeGatewayCommandInput extends DescribeGatewayRequest {}
|
|
22
|
-
export interface DescribeGatewayCommandOutput extends DescribeGatewayResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves information about a gateway.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, DescribeGatewayCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, DescribeGatewayCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new DescribeGatewayCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeGatewayCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeGatewayCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeGatewayCommand extends $Command<
|
|
42
|
-
DescribeGatewayCommandInput,
|
|
43
|
-
DescribeGatewayCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeGatewayCommandInput) {
|
|
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<DescribeGatewayCommandInput, DescribeGatewayCommandOutput> {
|
|
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 = "DescribeGatewayCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeGatewayRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeGatewayResponse.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: DescribeGatewayCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DescribeGatewayCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeGatewayCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DescribeGatewayCommand(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 { DescribeLoggingOptionsRequest, DescribeLoggingOptionsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DescribeLoggingOptionsCommand,
|
|
18
|
-
serializeAws_restJson1DescribeLoggingOptionsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DescribeLoggingOptionsCommandInput extends DescribeLoggingOptionsRequest {}
|
|
22
|
-
export interface DescribeLoggingOptionsCommandOutput extends DescribeLoggingOptionsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves the current IoT SiteWise logging options.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { IoTSiteWiseClient, DescribeLoggingOptionsCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, DescribeLoggingOptionsCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new DescribeLoggingOptionsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribeLoggingOptionsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribeLoggingOptionsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribeLoggingOptionsCommand extends $Command<
|
|
42
|
-
DescribeLoggingOptionsCommandInput,
|
|
43
|
-
DescribeLoggingOptionsCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribeLoggingOptionsCommandInput) {
|
|
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<DescribeLoggingOptionsCommandInput, DescribeLoggingOptionsCommandOutput> {
|
|
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 = "DescribeLoggingOptionsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribeLoggingOptionsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribeLoggingOptionsResponse.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: DescribeLoggingOptionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DescribeLoggingOptionsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeLoggingOptionsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DescribeLoggingOptionsCommand(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 { DescribePortalRequest, DescribePortalResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1DescribePortalCommand,
|
|
18
|
-
serializeAws_restJson1DescribePortalCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface DescribePortalCommandInput extends DescribePortalRequest {}
|
|
22
|
-
export interface DescribePortalCommandOutput extends DescribePortalResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves information about a 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, DescribePortalCommand } from "@aws-sdk/client-iotsitewise"; // ES Modules import
|
|
30
|
-
* // const { IoTSiteWiseClient, DescribePortalCommand } = require("@aws-sdk/client-iotsitewise"); // CommonJS import
|
|
31
|
-
* const client = new IoTSiteWiseClient(config);
|
|
32
|
-
* const command = new DescribePortalCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DescribePortalCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DescribePortalCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link IoTSiteWiseClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DescribePortalCommand extends $Command<
|
|
42
|
-
DescribePortalCommandInput,
|
|
43
|
-
DescribePortalCommandOutput,
|
|
44
|
-
IoTSiteWiseClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DescribePortalCommandInput) {
|
|
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<DescribePortalCommandInput, DescribePortalCommandOutput> {
|
|
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 = "DescribePortalCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DescribePortalRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: DescribePortalResponse.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: DescribePortalCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1DescribePortalCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribePortalCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1DescribePortalCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|