@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,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 { GetImagePipelineRequest, GetImagePipelineResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetImagePipelineCommand,
|
|
18
|
-
serializeAws_restJson1GetImagePipelineCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetImagePipelineCommandInput extends GetImagePipelineRequest {}
|
|
22
|
-
export interface GetImagePipelineCommandOutput extends GetImagePipelineResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Gets an image pipeline.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ImagebuilderClient, GetImagePipelineCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, GetImagePipelineCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new GetImagePipelineCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetImagePipelineCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetImagePipelineCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetImagePipelineCommand extends $Command<
|
|
42
|
-
GetImagePipelineCommandInput,
|
|
43
|
-
GetImagePipelineCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetImagePipelineCommandInput) {
|
|
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<GetImagePipelineCommandInput, GetImagePipelineCommandOutput> {
|
|
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 = "GetImagePipelineCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetImagePipelineRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetImagePipelineResponse.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: GetImagePipelineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetImagePipelineCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetImagePipelineCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetImagePipelineCommand(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 { GetImagePolicyRequest, GetImagePolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetImagePolicyCommand,
|
|
18
|
-
serializeAws_restJson1GetImagePolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetImagePolicyCommandInput extends GetImagePolicyRequest {}
|
|
22
|
-
export interface GetImagePolicyCommandOutput extends GetImagePolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Gets an image 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, GetImagePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, GetImagePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new GetImagePolicyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetImagePolicyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetImagePolicyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetImagePolicyCommand extends $Command<
|
|
42
|
-
GetImagePolicyCommandInput,
|
|
43
|
-
GetImagePolicyCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetImagePolicyCommandInput) {
|
|
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<GetImagePolicyCommandInput, GetImagePolicyCommandOutput> {
|
|
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 = "GetImagePolicyCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetImagePolicyRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetImagePolicyResponse.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: GetImagePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetImagePolicyCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetImagePolicyCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetImagePolicyCommand(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 { GetImageRecipeRequest, GetImageRecipeResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetImageRecipeCommand,
|
|
18
|
-
serializeAws_restJson1GetImageRecipeCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetImageRecipeCommandInput extends GetImageRecipeRequest {}
|
|
22
|
-
export interface GetImageRecipeCommandOutput extends GetImageRecipeResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Gets an image 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, GetImageRecipeCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, GetImageRecipeCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new GetImageRecipeCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetImageRecipeCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetImageRecipeCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetImageRecipeCommand extends $Command<
|
|
42
|
-
GetImageRecipeCommandInput,
|
|
43
|
-
GetImageRecipeCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetImageRecipeCommandInput) {
|
|
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<GetImageRecipeCommandInput, GetImageRecipeCommandOutput> {
|
|
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 = "GetImageRecipeCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetImageRecipeRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetImageRecipeResponse.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: GetImageRecipeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetImageRecipeCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetImageRecipeCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetImageRecipeCommand(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 { GetImageRecipePolicyRequest, GetImageRecipePolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetImageRecipePolicyCommand,
|
|
18
|
-
serializeAws_restJson1GetImageRecipePolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetImageRecipePolicyCommandInput extends GetImageRecipePolicyRequest {}
|
|
22
|
-
export interface GetImageRecipePolicyCommandOutput extends GetImageRecipePolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Gets an image recipe 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, GetImageRecipePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, GetImageRecipePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new GetImageRecipePolicyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetImageRecipePolicyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetImageRecipePolicyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetImageRecipePolicyCommand extends $Command<
|
|
42
|
-
GetImageRecipePolicyCommandInput,
|
|
43
|
-
GetImageRecipePolicyCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetImageRecipePolicyCommandInput) {
|
|
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<GetImageRecipePolicyCommandInput, GetImageRecipePolicyCommandOutput> {
|
|
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 = "GetImageRecipePolicyCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetImageRecipePolicyRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetImageRecipePolicyResponse.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: GetImageRecipePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetImageRecipePolicyCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetImageRecipePolicyCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetImageRecipePolicyCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,103 +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 { GetInfrastructureConfigurationRequest, GetInfrastructureConfigurationResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetInfrastructureConfigurationCommand,
|
|
18
|
-
serializeAws_restJson1GetInfrastructureConfigurationCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetInfrastructureConfigurationCommandInput extends GetInfrastructureConfigurationRequest {}
|
|
22
|
-
export interface GetInfrastructureConfigurationCommandOutput
|
|
23
|
-
extends GetInfrastructureConfigurationResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p> Gets an infrastructure 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, GetInfrastructureConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
32
|
-
* // const { ImagebuilderClient, GetInfrastructureConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
33
|
-
* const client = new ImagebuilderClient(config);
|
|
34
|
-
* const command = new GetInfrastructureConfigurationCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetInfrastructureConfigurationCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetInfrastructureConfigurationCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetInfrastructureConfigurationCommand extends $Command<
|
|
44
|
-
GetInfrastructureConfigurationCommandInput,
|
|
45
|
-
GetInfrastructureConfigurationCommandOutput,
|
|
46
|
-
ImagebuilderClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetInfrastructureConfigurationCommandInput) {
|
|
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<GetInfrastructureConfigurationCommandInput, GetInfrastructureConfigurationCommandOutput> {
|
|
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 = "GetInfrastructureConfigurationCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetInfrastructureConfigurationRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetInfrastructureConfigurationResponse.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(
|
|
88
|
-
input: GetInfrastructureConfigurationCommandInput,
|
|
89
|
-
context: __SerdeContext
|
|
90
|
-
): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1GetInfrastructureConfigurationCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<GetInfrastructureConfigurationCommandOutput> {
|
|
98
|
-
return deserializeAws_restJson1GetInfrastructureConfigurationCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -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 { ImportComponentRequest, ImportComponentResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ImportComponentCommand,
|
|
18
|
-
serializeAws_restJson1ImportComponentCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ImportComponentCommandInput extends ImportComponentRequest {}
|
|
22
|
-
export interface ImportComponentCommandOutput extends ImportComponentResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Imports a component and transforms its data into a component document.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ImagebuilderClient, ImportComponentCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, ImportComponentCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new ImportComponentCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ImportComponentCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ImportComponentCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ImportComponentCommand extends $Command<
|
|
42
|
-
ImportComponentCommandInput,
|
|
43
|
-
ImportComponentCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ImportComponentCommandInput) {
|
|
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<ImportComponentCommandInput, ImportComponentCommandOutput> {
|
|
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 = "ImportComponentCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ImportComponentRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ImportComponentResponse.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: ImportComponentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ImportComponentCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ImportComponentCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ImportComponentCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { ListComponentBuildVersionsRequest, ListComponentBuildVersionsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListComponentBuildVersionsCommand,
|
|
18
|
-
serializeAws_restJson1ListComponentBuildVersionsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListComponentBuildVersionsCommandInput extends ListComponentBuildVersionsRequest {}
|
|
22
|
-
export interface ListComponentBuildVersionsCommandOutput extends ListComponentBuildVersionsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Returns the list of component build versions for the specified semantic version.</p>
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>The semantic version has four nodes: <major>.<minor>.<patch>/<build>.
|
|
28
|
-
* You can assign values for the first three, and can filter on all of them.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
* <b>Filtering:</b> With semantic versioning, you have the flexibility to use wildcards (x)
|
|
31
|
-
* to specify the most recent versions or nodes when selecting the base image or components for your
|
|
32
|
-
* recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be
|
|
33
|
-
* wildcards.</p>
|
|
34
|
-
* </note>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { ImagebuilderClient, ListComponentBuildVersionsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
39
|
-
* // const { ImagebuilderClient, ListComponentBuildVersionsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
40
|
-
* const client = new ImagebuilderClient(config);
|
|
41
|
-
* const command = new ListComponentBuildVersionsCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link ListComponentBuildVersionsCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link ListComponentBuildVersionsCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export class ListComponentBuildVersionsCommand extends $Command<
|
|
51
|
-
ListComponentBuildVersionsCommandInput,
|
|
52
|
-
ListComponentBuildVersionsCommandOutput,
|
|
53
|
-
ImagebuilderClientResolvedConfig
|
|
54
|
-
> {
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
|
|
58
|
-
constructor(readonly input: ListComponentBuildVersionsCommandInput) {
|
|
59
|
-
// Start section: command_constructor
|
|
60
|
-
super();
|
|
61
|
-
// End section: command_constructor
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
resolveMiddleware(
|
|
68
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
69
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
70
|
-
options?: __HttpHandlerOptions
|
|
71
|
-
): Handler<ListComponentBuildVersionsCommandInput, ListComponentBuildVersionsCommandOutput> {
|
|
72
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
73
|
-
|
|
74
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
75
|
-
|
|
76
|
-
const { logger } = configuration;
|
|
77
|
-
const clientName = "ImagebuilderClient";
|
|
78
|
-
const commandName = "ListComponentBuildVersionsCommand";
|
|
79
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
80
|
-
logger,
|
|
81
|
-
clientName,
|
|
82
|
-
commandName,
|
|
83
|
-
inputFilterSensitiveLog: ListComponentBuildVersionsRequest.filterSensitiveLog,
|
|
84
|
-
outputFilterSensitiveLog: ListComponentBuildVersionsResponse.filterSensitiveLog,
|
|
85
|
-
};
|
|
86
|
-
const { requestHandler } = configuration;
|
|
87
|
-
return stack.resolve(
|
|
88
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
89
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
90
|
-
handlerExecutionContext
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private serialize(input: ListComponentBuildVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_restJson1ListComponentBuildVersionsCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(
|
|
99
|
-
output: __HttpResponse,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
): Promise<ListComponentBuildVersionsCommandOutput> {
|
|
102
|
-
return deserializeAws_restJson1ListComponentBuildVersionsCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|