@aws-sdk/client-imagebuilder 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/Imagebuilder.js +0 -7
- package/dist-cjs/ImagebuilderClient.js +0 -12
- package/dist-cjs/commands/CancelImageCreationCommand.js +0 -26
- package/dist-cjs/commands/CreateComponentCommand.js +0 -26
- package/dist-cjs/commands/CreateContainerRecipeCommand.js +0 -25
- package/dist-cjs/commands/CreateDistributionConfigurationCommand.js +0 -26
- package/dist-cjs/commands/CreateImageCommand.js +0 -27
- package/dist-cjs/commands/CreateImagePipelineCommand.js +0 -26
- package/dist-cjs/commands/CreateImageRecipeCommand.js +0 -26
- package/dist-cjs/commands/CreateInfrastructureConfigurationCommand.js +0 -26
- package/dist-cjs/commands/DeleteComponentCommand.js +0 -25
- package/dist-cjs/commands/DeleteContainerRecipeCommand.js +0 -25
- package/dist-cjs/commands/DeleteDistributionConfigurationCommand.js +0 -25
- package/dist-cjs/commands/DeleteImageCommand.js +0 -45
- package/dist-cjs/commands/DeleteImagePipelineCommand.js +0 -25
- package/dist-cjs/commands/DeleteImageRecipeCommand.js +0 -25
- package/dist-cjs/commands/DeleteInfrastructureConfigurationCommand.js +0 -25
- package/dist-cjs/commands/GetComponentCommand.js +0 -25
- package/dist-cjs/commands/GetComponentPolicyCommand.js +0 -25
- package/dist-cjs/commands/GetContainerRecipeCommand.js +0 -25
- package/dist-cjs/commands/GetContainerRecipePolicyCommand.js +0 -25
- package/dist-cjs/commands/GetDistributionConfigurationCommand.js +0 -25
- package/dist-cjs/commands/GetImageCommand.js +0 -25
- package/dist-cjs/commands/GetImagePipelineCommand.js +0 -25
- package/dist-cjs/commands/GetImagePolicyCommand.js +0 -25
- package/dist-cjs/commands/GetImageRecipeCommand.js +0 -25
- package/dist-cjs/commands/GetImageRecipePolicyCommand.js +0 -25
- package/dist-cjs/commands/GetInfrastructureConfigurationCommand.js +0 -25
- package/dist-cjs/commands/ImportComponentCommand.js +0 -25
- package/dist-cjs/commands/ListComponentBuildVersionsCommand.js +0 -34
- package/dist-cjs/commands/ListComponentsCommand.js +0 -34
- package/dist-cjs/commands/ListContainerRecipesCommand.js +0 -25
- package/dist-cjs/commands/ListDistributionConfigurationsCommand.js +0 -25
- package/dist-cjs/commands/ListImageBuildVersionsCommand.js +0 -25
- package/dist-cjs/commands/ListImagePackagesCommand.js +0 -25
- package/dist-cjs/commands/ListImagePipelineImagesCommand.js +0 -25
- package/dist-cjs/commands/ListImagePipelinesCommand.js +0 -25
- package/dist-cjs/commands/ListImageRecipesCommand.js +0 -25
- package/dist-cjs/commands/ListImagesCommand.js +0 -25
- package/dist-cjs/commands/ListInfrastructureConfigurationsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutComponentPolicyCommand.js +0 -27
- package/dist-cjs/commands/PutContainerRecipePolicyCommand.js +0 -25
- package/dist-cjs/commands/PutImagePolicyCommand.js +0 -27
- package/dist-cjs/commands/PutImageRecipePolicyCommand.js +0 -27
- package/dist-cjs/commands/StartImagePipelineExecutionCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateDistributionConfigurationCommand.js +0 -26
- package/dist-cjs/commands/UpdateImagePipelineCommand.js +0 -31
- package/dist-cjs/commands/UpdateInfrastructureConfigurationCommand.js +0 -26
- package/dist-cjs/commands/index.js +52 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -64
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -469
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListComponentBuildVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListComponentsPaginator.js +0 -11
- package/dist-cjs/pagination/ListContainerRecipesPaginator.js +0 -11
- package/dist-cjs/pagination/ListDistributionConfigurationsPaginator.js +0 -11
- package/dist-cjs/pagination/ListImageBuildVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListImagePackagesPaginator.js +0 -11
- package/dist-cjs/pagination/ListImagePipelineImagesPaginator.js +0 -11
- package/dist-cjs/pagination/ListImagePipelinesPaginator.js +0 -11
- package/dist-cjs/pagination/ListImageRecipesPaginator.js +0 -11
- package/dist-cjs/pagination/ListImagesPaginator.js +0 -11
- package/dist-cjs/pagination/ListInfrastructureConfigurationsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +15 -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-es/Imagebuilder.js +0 -1
- package/dist-es/ImagebuilderClient.js +0 -1
- package/dist-es/commands/CancelImageCreationCommand.js +0 -1
- package/dist-es/commands/CreateComponentCommand.js +0 -1
- package/dist-es/commands/CreateContainerRecipeCommand.js +0 -1
- package/dist-es/commands/CreateDistributionConfigurationCommand.js +0 -1
- package/dist-es/commands/CreateImageCommand.js +0 -1
- package/dist-es/commands/CreateImagePipelineCommand.js +0 -1
- package/dist-es/commands/CreateImageRecipeCommand.js +0 -1
- package/dist-es/commands/CreateInfrastructureConfigurationCommand.js +0 -1
- package/dist-es/commands/DeleteComponentCommand.js +0 -1
- package/dist-es/commands/DeleteContainerRecipeCommand.js +0 -1
- package/dist-es/commands/DeleteDistributionConfigurationCommand.js +0 -1
- package/dist-es/commands/DeleteImageCommand.js +0 -1
- package/dist-es/commands/DeleteImagePipelineCommand.js +0 -1
- package/dist-es/commands/DeleteImageRecipeCommand.js +0 -1
- package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js +0 -1
- package/dist-es/commands/GetComponentCommand.js +0 -1
- package/dist-es/commands/GetComponentPolicyCommand.js +0 -1
- package/dist-es/commands/GetContainerRecipeCommand.js +0 -1
- package/dist-es/commands/GetContainerRecipePolicyCommand.js +0 -1
- package/dist-es/commands/GetDistributionConfigurationCommand.js +0 -1
- package/dist-es/commands/GetImageCommand.js +0 -1
- package/dist-es/commands/GetImagePipelineCommand.js +0 -1
- package/dist-es/commands/GetImagePolicyCommand.js +0 -1
- package/dist-es/commands/GetImageRecipeCommand.js +0 -1
- package/dist-es/commands/GetImageRecipePolicyCommand.js +0 -1
- package/dist-es/commands/GetInfrastructureConfigurationCommand.js +0 -1
- package/dist-es/commands/ImportComponentCommand.js +0 -1
- package/dist-es/commands/ListComponentBuildVersionsCommand.js +0 -1
- package/dist-es/commands/ListComponentsCommand.js +0 -1
- package/dist-es/commands/ListContainerRecipesCommand.js +0 -1
- package/dist-es/commands/ListDistributionConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListImageBuildVersionsCommand.js +0 -1
- package/dist-es/commands/ListImagePackagesCommand.js +0 -1
- package/dist-es/commands/ListImagePipelineImagesCommand.js +0 -1
- package/dist-es/commands/ListImagePipelinesCommand.js +0 -1
- package/dist-es/commands/ListImageRecipesCommand.js +0 -1
- package/dist-es/commands/ListImagesCommand.js +0 -1
- package/dist-es/commands/ListInfrastructureConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutComponentPolicyCommand.js +0 -1
- package/dist-es/commands/PutContainerRecipePolicyCommand.js +0 -1
- package/dist-es/commands/PutImagePolicyCommand.js +0 -1
- package/dist-es/commands/PutImageRecipePolicyCommand.js +0 -1
- package/dist-es/commands/StartImagePipelineExecutionCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateDistributionConfigurationCommand.js +0 -1
- package/dist-es/commands/UpdateImagePipelineCommand.js +0 -1
- package/dist-es/commands/UpdateInfrastructureConfigurationCommand.js +0 -1
- package/dist-es/commands/index.js +49 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -64
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListComponentBuildVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListComponentsPaginator.js +0 -1
- package/dist-es/pagination/ListContainerRecipesPaginator.js +0 -1
- package/dist-es/pagination/ListDistributionConfigurationsPaginator.js +0 -1
- package/dist-es/pagination/ListImageBuildVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListImagePackagesPaginator.js +0 -1
- package/dist-es/pagination/ListImagePipelineImagesPaginator.js +0 -1
- package/dist-es/pagination/ListImagePipelinesPaginator.js +0 -1
- package/dist-es/pagination/ListImageRecipesPaginator.js +0 -1
- package/dist-es/pagination/ListImagesPaginator.js +0 -1
- package/dist-es/pagination/ListInfrastructureConfigurationsPaginator.js +0 -1
- package/dist-es/pagination/index.js +12 -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-types/commands/index.d.ts +49 -0
- package/dist-types/index.d.ts +4 -63
- package/dist-types/pagination/index.d.ts +12 -0
- package/dist-types/ts3.4/Imagebuilder.d.ts +50 -213
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +24 -92
- package/dist-types/ts3.4/commands/CancelImageCreationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateContainerRecipeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDistributionConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateImagePipelineCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateImageRecipeCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateInfrastructureConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteContainerRecipeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDistributionConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/DeleteImagePipelineCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteImageRecipeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteInfrastructureConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetComponentPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetContainerRecipeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetContainerRecipePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDistributionConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImagePipelineCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImagePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImageRecipeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImageRecipePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetInfrastructureConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ImportComponentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListComponentBuildVersionsCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListContainerRecipesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDistributionConfigurationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImageBuildVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImagePackagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImagePipelineImagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImagePipelinesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImageRecipesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListInfrastructureConfigurationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutComponentPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutContainerRecipePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutImagePolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutImageRecipePolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartImagePipelineExecutionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDistributionConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateImagePipelineCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/UpdateInfrastructureConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +49 -0
- package/dist-types/ts3.4/index.d.ts +4 -63
- package/dist-types/ts3.4/models/models_0.d.ts +777 -2901
- package/dist-types/ts3.4/pagination/index.d.ts +12 -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/package.json +33 -30
- package/dist-cjs/Imagebuilder.js.map +0 -1
- package/dist-cjs/ImagebuilderClient.js.map +0 -1
- package/dist-cjs/commands/CancelImageCreationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateComponentCommand.js.map +0 -1
- package/dist-cjs/commands/CreateContainerRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDistributionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateImageCommand.js.map +0 -1
- package/dist-cjs/commands/CreateImagePipelineCommand.js.map +0 -1
- package/dist-cjs/commands/CreateImageRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteComponentCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteContainerRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDistributionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteImageCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteImagePipelineCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteImageRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/GetComponentCommand.js.map +0 -1
- package/dist-cjs/commands/GetComponentPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerRecipePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetDistributionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/GetImageCommand.js.map +0 -1
- package/dist-cjs/commands/GetImagePipelineCommand.js.map +0 -1
- package/dist-cjs/commands/GetImagePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetImageRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/GetImageRecipePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/ImportComponentCommand.js.map +0 -1
- package/dist-cjs/commands/ListComponentBuildVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListComponentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListContainerRecipesCommand.js.map +0 -1
- package/dist-cjs/commands/ListDistributionConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListImageBuildVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListImagePackagesCommand.js.map +0 -1
- package/dist-cjs/commands/ListImagePipelineImagesCommand.js.map +0 -1
- package/dist-cjs/commands/ListImagePipelinesCommand.js.map +0 -1
- package/dist-cjs/commands/ListImageRecipesCommand.js.map +0 -1
- package/dist-cjs/commands/ListImagesCommand.js.map +0 -1
- package/dist-cjs/commands/ListInfrastructureConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutComponentPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutContainerRecipePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutImagePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutImageRecipePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/StartImagePipelineExecutionCommand.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/UpdateDistributionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateImagePipelineCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateInfrastructureConfigurationCommand.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/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListComponentBuildVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListComponentsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListContainerRecipesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDistributionConfigurationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImageBuildVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImagePackagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImagePipelineImagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImagePipelinesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImageRecipesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListInfrastructureConfigurationsPaginator.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-es/Imagebuilder.js.map +0 -1
- package/dist-es/ImagebuilderClient.js.map +0 -1
- package/dist-es/commands/CancelImageCreationCommand.js.map +0 -1
- package/dist-es/commands/CreateComponentCommand.js.map +0 -1
- package/dist-es/commands/CreateContainerRecipeCommand.js.map +0 -1
- package/dist-es/commands/CreateDistributionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/CreateImageCommand.js.map +0 -1
- package/dist-es/commands/CreateImagePipelineCommand.js.map +0 -1
- package/dist-es/commands/CreateImageRecipeCommand.js.map +0 -1
- package/dist-es/commands/CreateInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeleteComponentCommand.js.map +0 -1
- package/dist-es/commands/DeleteContainerRecipeCommand.js.map +0 -1
- package/dist-es/commands/DeleteDistributionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeleteImageCommand.js.map +0 -1
- package/dist-es/commands/DeleteImagePipelineCommand.js.map +0 -1
- package/dist-es/commands/DeleteImageRecipeCommand.js.map +0 -1
- package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-es/commands/GetComponentCommand.js.map +0 -1
- package/dist-es/commands/GetComponentPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetContainerRecipeCommand.js.map +0 -1
- package/dist-es/commands/GetContainerRecipePolicyCommand.js.map +0 -1
- package/dist-es/commands/GetDistributionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/GetImageCommand.js.map +0 -1
- package/dist-es/commands/GetImagePipelineCommand.js.map +0 -1
- package/dist-es/commands/GetImagePolicyCommand.js.map +0 -1
- package/dist-es/commands/GetImageRecipeCommand.js.map +0 -1
- package/dist-es/commands/GetImageRecipePolicyCommand.js.map +0 -1
- package/dist-es/commands/GetInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-es/commands/ImportComponentCommand.js.map +0 -1
- package/dist-es/commands/ListComponentBuildVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListComponentsCommand.js.map +0 -1
- package/dist-es/commands/ListContainerRecipesCommand.js.map +0 -1
- package/dist-es/commands/ListDistributionConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/ListImageBuildVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListImagePackagesCommand.js.map +0 -1
- package/dist-es/commands/ListImagePipelineImagesCommand.js.map +0 -1
- package/dist-es/commands/ListImagePipelinesCommand.js.map +0 -1
- package/dist-es/commands/ListImageRecipesCommand.js.map +0 -1
- package/dist-es/commands/ListImagesCommand.js.map +0 -1
- package/dist-es/commands/ListInfrastructureConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutComponentPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutContainerRecipePolicyCommand.js.map +0 -1
- package/dist-es/commands/PutImagePolicyCommand.js.map +0 -1
- package/dist-es/commands/PutImageRecipePolicyCommand.js.map +0 -1
- package/dist-es/commands/StartImagePipelineExecutionCommand.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/UpdateDistributionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/UpdateImagePipelineCommand.js.map +0 -1
- package/dist-es/commands/UpdateInfrastructureConfigurationCommand.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/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListComponentBuildVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListComponentsPaginator.js.map +0 -1
- package/dist-es/pagination/ListContainerRecipesPaginator.js.map +0 -1
- package/dist-es/pagination/ListDistributionConfigurationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListImageBuildVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListImagePackagesPaginator.js.map +0 -1
- package/dist-es/pagination/ListImagePipelineImagesPaginator.js.map +0 -1
- package/dist-es/pagination/ListImagePipelinesPaginator.js.map +0 -1
- package/dist-es/pagination/ListImageRecipesPaginator.js.map +0 -1
- package/dist-es/pagination/ListImagesPaginator.js.map +0 -1
- package/dist-es/pagination/ListInfrastructureConfigurationsPaginator.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/jest.config.js +0 -4
- package/src/Imagebuilder.ts +0 -1831
- package/src/ImagebuilderClient.ts +0 -464
- package/src/commands/CancelImageCreationCommand.ts +0 -96
- package/src/commands/CreateComponentCommand.ts +0 -96
- package/src/commands/CreateContainerRecipeCommand.ts +0 -95
- package/src/commands/CreateDistributionConfigurationCommand.ts +0 -104
- package/src/commands/CreateImageCommand.ts +0 -97
- package/src/commands/CreateImagePipelineCommand.ts +0 -96
- package/src/commands/CreateImageRecipeCommand.ts +0 -96
- package/src/commands/CreateInfrastructureConfigurationCommand.ts +0 -107
- package/src/commands/DeleteComponentCommand.ts +0 -95
- package/src/commands/DeleteContainerRecipeCommand.ts +0 -95
- package/src/commands/DeleteDistributionConfigurationCommand.ts +0 -103
- package/src/commands/DeleteImageCommand.ts +0 -115
- package/src/commands/DeleteImagePipelineCommand.ts +0 -95
- package/src/commands/DeleteImageRecipeCommand.ts +0 -95
- package/src/commands/DeleteInfrastructureConfigurationCommand.ts +0 -106
- package/src/commands/GetComponentCommand.ts +0 -95
- package/src/commands/GetComponentPolicyCommand.ts +0 -95
- package/src/commands/GetContainerRecipeCommand.ts +0 -95
- package/src/commands/GetContainerRecipePolicyCommand.ts +0 -95
- package/src/commands/GetDistributionConfigurationCommand.ts +0 -100
- package/src/commands/GetImageCommand.ts +0 -95
- package/src/commands/GetImagePipelineCommand.ts +0 -95
- package/src/commands/GetImagePolicyCommand.ts +0 -95
- package/src/commands/GetImageRecipeCommand.ts +0 -95
- package/src/commands/GetImageRecipePolicyCommand.ts +0 -95
- package/src/commands/GetInfrastructureConfigurationCommand.ts +0 -103
- package/src/commands/ImportComponentCommand.ts +0 -95
- package/src/commands/ListComponentBuildVersionsCommand.ts +0 -107
- package/src/commands/ListComponentsCommand.ts +0 -104
- package/src/commands/ListContainerRecipesCommand.ts +0 -95
- package/src/commands/ListDistributionConfigurationsCommand.ts +0 -103
- package/src/commands/ListImageBuildVersionsCommand.ts +0 -95
- package/src/commands/ListImagePackagesCommand.ts +0 -95
- package/src/commands/ListImagePipelineImagesCommand.ts +0 -95
- package/src/commands/ListImagePipelinesCommand.ts +0 -95
- package/src/commands/ListImageRecipesCommand.ts +0 -95
- package/src/commands/ListImagesCommand.ts +0 -95
- package/src/commands/ListInfrastructureConfigurationsCommand.ts +0 -103
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutComponentPolicyCommand.ts +0 -97
- package/src/commands/PutContainerRecipePolicyCommand.ts +0 -95
- package/src/commands/PutImagePolicyCommand.ts +0 -97
- package/src/commands/PutImageRecipePolicyCommand.ts +0 -97
- package/src/commands/StartImagePipelineExecutionCommand.ts +0 -100
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateDistributionConfigurationCommand.ts +0 -104
- package/src/commands/UpdateImagePipelineCommand.ts +0 -101
- package/src/commands/UpdateInfrastructureConfigurationCommand.ts +0 -107
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -64
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -5411
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListComponentBuildVersionsPaginator.ts +0 -59
- package/src/pagination/ListComponentsPaginator.ts +0 -59
- package/src/pagination/ListContainerRecipesPaginator.ts +0 -59
- package/src/pagination/ListDistributionConfigurationsPaginator.ts +0 -59
- package/src/pagination/ListImageBuildVersionsPaginator.ts +0 -59
- package/src/pagination/ListImagePackagesPaginator.ts +0 -59
- package/src/pagination/ListImagePipelineImagesPaginator.ts +0 -59
- package/src/pagination/ListImagePipelinesPaginator.ts +0 -59
- package/src/pagination/ListImageRecipesPaginator.ts +0 -59
- package/src/pagination/ListImagesPaginator.ts +0 -55
- package/src/pagination/ListInfrastructureConfigurationsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -8986
- 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/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,106 +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 { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import {
|
|
16
|
-
DeleteInfrastructureConfigurationRequest,
|
|
17
|
-
DeleteInfrastructureConfigurationResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_restJson1DeleteInfrastructureConfigurationCommand,
|
|
21
|
-
serializeAws_restJson1DeleteInfrastructureConfigurationCommand,
|
|
22
|
-
} from "../protocols/Aws_restJson1";
|
|
23
|
-
|
|
24
|
-
export interface DeleteInfrastructureConfigurationCommandInput extends DeleteInfrastructureConfigurationRequest {}
|
|
25
|
-
export interface DeleteInfrastructureConfigurationCommandOutput
|
|
26
|
-
extends DeleteInfrastructureConfigurationResponse,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p> Deletes an infrastructure configuration.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ImagebuilderClient, DeleteInfrastructureConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
35
|
-
* // const { ImagebuilderClient, DeleteInfrastructureConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
36
|
-
* const client = new ImagebuilderClient(config);
|
|
37
|
-
* const command = new DeleteInfrastructureConfigurationCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link DeleteInfrastructureConfigurationCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link DeleteInfrastructureConfigurationCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class DeleteInfrastructureConfigurationCommand extends $Command<
|
|
47
|
-
DeleteInfrastructureConfigurationCommandInput,
|
|
48
|
-
DeleteInfrastructureConfigurationCommandOutput,
|
|
49
|
-
ImagebuilderClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: DeleteInfrastructureConfigurationCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<DeleteInfrastructureConfigurationCommandInput, DeleteInfrastructureConfigurationCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "ImagebuilderClient";
|
|
74
|
-
const commandName = "DeleteInfrastructureConfigurationCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: DeleteInfrastructureConfigurationRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: DeleteInfrastructureConfigurationResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(
|
|
91
|
-
input: DeleteInfrastructureConfigurationCommandInput,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_restJson1DeleteInfrastructureConfigurationCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(
|
|
98
|
-
output: __HttpResponse,
|
|
99
|
-
context: __SerdeContext
|
|
100
|
-
): Promise<DeleteInfrastructureConfigurationCommandOutput> {
|
|
101
|
-
return deserializeAws_restJson1DeleteInfrastructureConfigurationCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Start section: command_body_extra
|
|
105
|
-
// End section: command_body_extra
|
|
106
|
-
}
|
|
@@ -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 { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { GetComponentRequest, GetComponentResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetComponentCommand,
|
|
18
|
-
serializeAws_restJson1GetComponentCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetComponentCommandInput extends GetComponentRequest {}
|
|
22
|
-
export interface GetComponentCommandOutput extends GetComponentResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Gets a component object.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ImagebuilderClient, GetComponentCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, GetComponentCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new GetComponentCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetComponentCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetComponentCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetComponentCommand extends $Command<
|
|
42
|
-
GetComponentCommandInput,
|
|
43
|
-
GetComponentCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetComponentCommandInput) {
|
|
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: ImagebuilderClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetComponentCommandInput, GetComponentCommandOutput> {
|
|
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 = "ImagebuilderClient";
|
|
69
|
-
const commandName = "GetComponentCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetComponentRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetComponentResponse.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: GetComponentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetComponentCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetComponentCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetComponentCommand(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 { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { GetComponentPolicyRequest, GetComponentPolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetComponentPolicyCommand,
|
|
18
|
-
serializeAws_restJson1GetComponentPolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetComponentPolicyCommandInput extends GetComponentPolicyRequest {}
|
|
22
|
-
export interface GetComponentPolicyCommandOutput extends GetComponentPolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Gets a component policy.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ImagebuilderClient, GetComponentPolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, GetComponentPolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new GetComponentPolicyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetComponentPolicyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetComponentPolicyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetComponentPolicyCommand extends $Command<
|
|
42
|
-
GetComponentPolicyCommandInput,
|
|
43
|
-
GetComponentPolicyCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetComponentPolicyCommandInput) {
|
|
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: ImagebuilderClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetComponentPolicyCommandInput, GetComponentPolicyCommandOutput> {
|
|
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 = "ImagebuilderClient";
|
|
69
|
-
const commandName = "GetComponentPolicyCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetComponentPolicyRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetComponentPolicyResponse.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: GetComponentPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetComponentPolicyCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetComponentPolicyCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetComponentPolicyCommand(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 { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { GetContainerRecipeRequest, GetContainerRecipeResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetContainerRecipeCommand,
|
|
18
|
-
serializeAws_restJson1GetContainerRecipeCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetContainerRecipeCommandInput extends GetContainerRecipeRequest {}
|
|
22
|
-
export interface GetContainerRecipeCommandOutput extends GetContainerRecipeResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves a container recipe.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ImagebuilderClient, GetContainerRecipeCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, GetContainerRecipeCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new GetContainerRecipeCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetContainerRecipeCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetContainerRecipeCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetContainerRecipeCommand extends $Command<
|
|
42
|
-
GetContainerRecipeCommandInput,
|
|
43
|
-
GetContainerRecipeCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetContainerRecipeCommandInput) {
|
|
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: ImagebuilderClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetContainerRecipeCommandInput, GetContainerRecipeCommandOutput> {
|
|
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 = "ImagebuilderClient";
|
|
69
|
-
const commandName = "GetContainerRecipeCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetContainerRecipeRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetContainerRecipeResponse.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: GetContainerRecipeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetContainerRecipeCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetContainerRecipeCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetContainerRecipeCommand(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 { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { GetContainerRecipePolicyRequest, GetContainerRecipePolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetContainerRecipePolicyCommand,
|
|
18
|
-
serializeAws_restJson1GetContainerRecipePolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetContainerRecipePolicyCommandInput extends GetContainerRecipePolicyRequest {}
|
|
22
|
-
export interface GetContainerRecipePolicyCommandOutput extends GetContainerRecipePolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Retrieves the policy for a container recipe.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ImagebuilderClient, GetContainerRecipePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, GetContainerRecipePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new GetContainerRecipePolicyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetContainerRecipePolicyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetContainerRecipePolicyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetContainerRecipePolicyCommand extends $Command<
|
|
42
|
-
GetContainerRecipePolicyCommandInput,
|
|
43
|
-
GetContainerRecipePolicyCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetContainerRecipePolicyCommandInput) {
|
|
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: ImagebuilderClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetContainerRecipePolicyCommandInput, GetContainerRecipePolicyCommandOutput> {
|
|
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 = "ImagebuilderClient";
|
|
69
|
-
const commandName = "GetContainerRecipePolicyCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetContainerRecipePolicyRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetContainerRecipePolicyResponse.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: GetContainerRecipePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetContainerRecipePolicyCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetContainerRecipePolicyCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetContainerRecipePolicyCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { GetDistributionConfigurationRequest, GetDistributionConfigurationResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetDistributionConfigurationCommand,
|
|
18
|
-
serializeAws_restJson1GetDistributionConfigurationCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetDistributionConfigurationCommandInput extends GetDistributionConfigurationRequest {}
|
|
22
|
-
export interface GetDistributionConfigurationCommandOutput
|
|
23
|
-
extends GetDistributionConfigurationResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p> Gets a distribution configuration.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { ImagebuilderClient, GetDistributionConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
32
|
-
* // const { ImagebuilderClient, GetDistributionConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
33
|
-
* const client = new ImagebuilderClient(config);
|
|
34
|
-
* const command = new GetDistributionConfigurationCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetDistributionConfigurationCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetDistributionConfigurationCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetDistributionConfigurationCommand extends $Command<
|
|
44
|
-
GetDistributionConfigurationCommandInput,
|
|
45
|
-
GetDistributionConfigurationCommandOutput,
|
|
46
|
-
ImagebuilderClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetDistributionConfigurationCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetDistributionConfigurationCommandInput, GetDistributionConfigurationCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "ImagebuilderClient";
|
|
71
|
-
const commandName = "GetDistributionConfigurationCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetDistributionConfigurationRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetDistributionConfigurationResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: GetDistributionConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1GetDistributionConfigurationCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<GetDistributionConfigurationCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1GetDistributionConfigurationCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -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 { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { GetImageRequest, GetImageResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetImageCommand,
|
|
18
|
-
serializeAws_restJson1GetImageCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetImageCommandInput extends GetImageRequest {}
|
|
22
|
-
export interface GetImageCommandOutput extends GetImageResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Gets an image.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ImagebuilderClient, GetImageCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, GetImageCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new GetImageCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetImageCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetImageCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetImageCommand extends $Command<
|
|
42
|
-
GetImageCommandInput,
|
|
43
|
-
GetImageCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetImageCommandInput) {
|
|
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: ImagebuilderClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetImageCommandInput, GetImageCommandOutput> {
|
|
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 = "ImagebuilderClient";
|
|
69
|
-
const commandName = "GetImageCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetImageRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetImageResponse.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: GetImageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetImageCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetImageCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetImageCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|