@aws-sdk/client-imagebuilder 3.34.0 → 3.37.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 → dist-cjs}/Imagebuilder.js +1 -8
- package/{dist/cjs → dist-cjs}/ImagebuilderClient.js +8 -20
- package/{dist/cjs → dist-cjs}/commands/CancelImageCreationCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateComponentCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateContainerRecipeCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateDistributionConfigurationCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateImageCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/CreateImagePipelineCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateImageRecipeCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateInfrastructureConfigurationCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DeleteComponentCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteContainerRecipeCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteDistributionConfigurationCommand.js +2 -27
- package/dist-cjs/commands/DeleteImageCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteImagePipelineCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteImageRecipeCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteInfrastructureConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetComponentCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetComponentPolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetContainerRecipeCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetContainerRecipePolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetDistributionConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetImageCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetImagePipelineCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetImagePolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetImageRecipeCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetImageRecipePolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetInfrastructureConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ImportComponentCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListComponentBuildVersionsCommand.js +2 -36
- package/{dist/cjs → dist-cjs}/commands/ListComponentsCommand.js +2 -36
- package/{dist/cjs → dist-cjs}/commands/ListContainerRecipesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListDistributionConfigurationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListImageBuildVersionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListImagePackagesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListImagePipelineImagesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListImagePipelinesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListImageRecipesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListImagesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListInfrastructureConfigurationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutComponentPolicyCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/PutContainerRecipePolicyCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutImagePolicyCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/PutImageRecipePolicyCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/StartImagePipelineExecutionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateDistributionConfigurationCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UpdateImagePipelineCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/UpdateInfrastructureConfigurationCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -469
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListComponentBuildVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListComponentsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListContainerRecipesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListDistributionConfigurationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListImageBuildVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListImagePackagesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListImagePipelineImagesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListImagePipelinesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListImageRecipesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListImagesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListInfrastructureConfigurationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +46 -52
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/Imagebuilder.js +1 -2
- package/{dist/es → dist-es}/ImagebuilderClient.js +1 -2
- package/{dist/es → dist-es}/commands/CancelImageCreationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateComponentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateContainerRecipeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateDistributionConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateImageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateImagePipelineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateImageRecipeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateInfrastructureConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteComponentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteContainerRecipeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteDistributionConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteImageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteImagePipelineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteImageRecipeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteInfrastructureConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetComponentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetComponentPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetContainerRecipeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetContainerRecipePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetDistributionConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetImageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetImagePipelineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetImagePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetImageRecipeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetImageRecipePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetInfrastructureConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ImportComponentCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListComponentBuildVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListComponentsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListContainerRecipesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListDistributionConfigurationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListImageBuildVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListImagePackagesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListImagePipelineImagesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListImagePipelinesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListImageRecipesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListImagesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListInfrastructureConfigurationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutComponentPolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutContainerRecipePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutImagePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutImageRecipePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartImagePipelineExecutionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateDistributionConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateImagePipelineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateInfrastructureConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListComponentBuildVersionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListComponentsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListContainerRecipesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListDistributionConfigurationsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListImageBuildVersionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListImagePackagesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListImagePipelineImagesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListImagePipelinesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListImageRecipesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListImagesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListInfrastructureConfigurationsPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/Imagebuilder.d.ts +4 -4
- package/{dist/types → dist-types}/ImagebuilderClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/CancelImageCreationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateComponentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateContainerRecipeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDistributionConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateImageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateImagePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateImageRecipeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateInfrastructureConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteComponentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteContainerRecipeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDistributionConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteImageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteImagePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteImageRecipeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteInfrastructureConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetComponentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetComponentPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetContainerRecipeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetContainerRecipePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDistributionConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetImageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetImagePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetImagePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetImageRecipeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetImageRecipePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetInfrastructureConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ImportComponentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListComponentBuildVersionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListComponentsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListContainerRecipesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDistributionConfigurationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListImageBuildVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListImagePackagesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListImagePipelineImagesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListImagePipelinesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListImageRecipesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListImagesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListInfrastructureConfigurationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutComponentPolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutContainerRecipePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutImagePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutImageRecipePolicyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartImagePipelineExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateDistributionConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateImagePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateInfrastructureConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +26 -44
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListComponentBuildVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListComponentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListContainerRecipesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDistributionConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListImageBuildVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListImagePackagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListImagePipelineImagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListImagePipelinesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListImageRecipesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListImagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListInfrastructureConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Imagebuilder.d.ts +52 -215
- package/{dist/types → dist-types}/ts3.4/ImagebuilderClient.d.ts +32 -100
- package/dist-types/ts3.4/commands/CancelImageCreationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateContainerRecipeCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateDistributionConfigurationCommand.d.ts +4 -23
- package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateImagePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateImageRecipeCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateInfrastructureConfigurationCommand.d.ts +4 -23
- package/{dist/types → dist-types}/ts3.4/commands/DeleteComponentCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteContainerRecipeCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDistributionConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteImagePipelineCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteImageRecipeCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteInfrastructureConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetComponentPolicyCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetContainerRecipeCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetContainerRecipePolicyCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetDistributionConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetImageCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetImagePipelineCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetImagePolicyCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetImageRecipeCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetImageRecipePolicyCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetInfrastructureConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ImportComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListComponentBuildVersionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListContainerRecipesCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListDistributionConfigurationsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListImageBuildVersionsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListImagePackagesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListImagePipelineImagesCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListImagePipelinesCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListImageRecipesCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListInfrastructureConfigurationsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/PutComponentPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutContainerRecipePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutImagePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutImageRecipePolicyCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/StartImagePipelineExecutionCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateDistributionConfigurationCommand.d.ts +4 -23
- package/dist-types/ts3.4/commands/UpdateImagePipelineCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateInfrastructureConfigurationCommand.d.ts +4 -23
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2285 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListComponentBuildVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListComponentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListContainerRecipesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDistributionConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListImageBuildVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListImagePackagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListImagePipelineImagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListImagePipelinesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListImageRecipesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListImagesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListInfrastructureConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/Imagebuilder.ts +0 -1830
- package/ImagebuilderClient.ts +0 -463
- package/commands/CancelImageCreationCommand.ts +0 -95
- package/commands/CreateComponentCommand.ts +0 -95
- package/commands/CreateContainerRecipeCommand.ts +0 -94
- package/commands/CreateDistributionConfigurationCommand.ts +0 -103
- package/commands/CreateImageCommand.ts +0 -96
- package/commands/CreateImagePipelineCommand.ts +0 -95
- package/commands/CreateImageRecipeCommand.ts +0 -95
- package/commands/CreateInfrastructureConfigurationCommand.ts +0 -106
- package/commands/DeleteComponentCommand.ts +0 -94
- package/commands/DeleteContainerRecipeCommand.ts +0 -94
- package/commands/DeleteDistributionConfigurationCommand.ts +0 -102
- package/commands/DeleteImageCommand.ts +0 -114
- package/commands/DeleteImagePipelineCommand.ts +0 -94
- package/commands/DeleteImageRecipeCommand.ts +0 -94
- package/commands/DeleteInfrastructureConfigurationCommand.ts +0 -105
- package/commands/GetComponentCommand.ts +0 -94
- package/commands/GetComponentPolicyCommand.ts +0 -94
- package/commands/GetContainerRecipeCommand.ts +0 -94
- package/commands/GetContainerRecipePolicyCommand.ts +0 -94
- package/commands/GetDistributionConfigurationCommand.ts +0 -99
- package/commands/GetImageCommand.ts +0 -94
- package/commands/GetImagePipelineCommand.ts +0 -94
- package/commands/GetImagePolicyCommand.ts +0 -94
- package/commands/GetImageRecipeCommand.ts +0 -94
- package/commands/GetImageRecipePolicyCommand.ts +0 -94
- package/commands/GetInfrastructureConfigurationCommand.ts +0 -102
- package/commands/ImportComponentCommand.ts +0 -94
- package/commands/ListComponentBuildVersionsCommand.ts +0 -106
- package/commands/ListComponentsCommand.ts +0 -103
- package/commands/ListContainerRecipesCommand.ts +0 -94
- package/commands/ListDistributionConfigurationsCommand.ts +0 -102
- package/commands/ListImageBuildVersionsCommand.ts +0 -94
- package/commands/ListImagePackagesCommand.ts +0 -94
- package/commands/ListImagePipelineImagesCommand.ts +0 -94
- package/commands/ListImagePipelinesCommand.ts +0 -94
- package/commands/ListImageRecipesCommand.ts +0 -94
- package/commands/ListImagesCommand.ts +0 -94
- package/commands/ListInfrastructureConfigurationsCommand.ts +0 -102
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/PutComponentPolicyCommand.ts +0 -96
- package/commands/PutContainerRecipePolicyCommand.ts +0 -94
- package/commands/PutImagePolicyCommand.ts +0 -96
- package/commands/PutImageRecipePolicyCommand.ts +0 -96
- package/commands/StartImagePipelineExecutionCommand.ts +0 -99
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateDistributionConfigurationCommand.ts +0 -103
- package/commands/UpdateImagePipelineCommand.ts +0 -100
- package/commands/UpdateInfrastructureConfigurationCommand.ts +0 -106
- 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 +0 -81
- 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/package.json +0 -93
- 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 +0 -65
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- 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/dist/types/ts3.4/commands/CancelImageCreationCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateComponentCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateContainerRecipeCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/CreateImageCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/CreateImagePipelineCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateImageRecipeCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DeleteImageCommand.d.ts +0 -55
- package/dist/types/ts3.4/commands/GetComponentCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetImageCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ImportComponentCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListComponentBuildVersionsCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/ListComponentsCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/ListImagePackagesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListImagesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PutComponentPolicyCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/PutContainerRecipePolicyCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PutImagePolicyCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/PutImageRecipePolicyCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateImagePipelineCommand.d.ts +0 -41
- package/dist/types/ts3.4/models/models_0.d.ts +0 -4427
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -5429
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListComponentBuildVersionsPaginator.ts +0 -58
- package/pagination/ListComponentsPaginator.ts +0 -58
- package/pagination/ListContainerRecipesPaginator.ts +0 -58
- package/pagination/ListDistributionConfigurationsPaginator.ts +0 -58
- package/pagination/ListImageBuildVersionsPaginator.ts +0 -58
- package/pagination/ListImagePackagesPaginator.ts +0 -58
- package/pagination/ListImagePipelineImagesPaginator.ts +0 -58
- package/pagination/ListImagePipelinesPaginator.ts +0 -58
- package/pagination/ListImageRecipesPaginator.ts +0 -58
- package/pagination/ListImagesPaginator.ts +0 -54
- package/pagination/ListInfrastructureConfigurationsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -8983
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
2
|
-
import { DeleteContainerRecipeRequest, DeleteContainerRecipeResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteContainerRecipeCommand,
|
|
5
|
-
serializeAws_restJson1DeleteContainerRecipeCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteContainerRecipeCommandInput extends DeleteContainerRecipeRequest {}
|
|
21
|
-
export interface DeleteContainerRecipeCommandOutput extends DeleteContainerRecipeResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes a container recipe.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ImagebuilderClient, DeleteContainerRecipeCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
29
|
-
* // const { ImagebuilderClient, DeleteContainerRecipeCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
30
|
-
* const client = new ImagebuilderClient(config);
|
|
31
|
-
* const command = new DeleteContainerRecipeCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteContainerRecipeCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteContainerRecipeCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteContainerRecipeCommand extends $Command<
|
|
41
|
-
DeleteContainerRecipeCommandInput,
|
|
42
|
-
DeleteContainerRecipeCommandOutput,
|
|
43
|
-
ImagebuilderClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteContainerRecipeCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteContainerRecipeCommandInput, DeleteContainerRecipeCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "ImagebuilderClient";
|
|
68
|
-
const commandName = "DeleteContainerRecipeCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteContainerRecipeRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteContainerRecipeResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteContainerRecipeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteContainerRecipeCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteContainerRecipeCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteContainerRecipeCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
2
|
-
import { DeleteDistributionConfigurationRequest, DeleteDistributionConfigurationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteDistributionConfigurationCommand,
|
|
5
|
-
serializeAws_restJson1DeleteDistributionConfigurationCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteDistributionConfigurationCommandInput extends DeleteDistributionConfigurationRequest {}
|
|
21
|
-
export interface DeleteDistributionConfigurationCommandOutput
|
|
22
|
-
extends DeleteDistributionConfigurationResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p> Deletes a distribution configuration.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { ImagebuilderClient, DeleteDistributionConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
31
|
-
* // const { ImagebuilderClient, DeleteDistributionConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
32
|
-
* const client = new ImagebuilderClient(config);
|
|
33
|
-
* const command = new DeleteDistributionConfigurationCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DeleteDistributionConfigurationCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DeleteDistributionConfigurationCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DeleteDistributionConfigurationCommand extends $Command<
|
|
43
|
-
DeleteDistributionConfigurationCommandInput,
|
|
44
|
-
DeleteDistributionConfigurationCommandOutput,
|
|
45
|
-
ImagebuilderClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DeleteDistributionConfigurationCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DeleteDistributionConfigurationCommandInput, DeleteDistributionConfigurationCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "ImagebuilderClient";
|
|
70
|
-
const commandName = "DeleteDistributionConfigurationCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DeleteDistributionConfigurationRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DeleteDistributionConfigurationResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(
|
|
87
|
-
input: DeleteDistributionConfigurationCommandInput,
|
|
88
|
-
context: __SerdeContext
|
|
89
|
-
): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_restJson1DeleteDistributionConfigurationCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(
|
|
94
|
-
output: __HttpResponse,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<DeleteDistributionConfigurationCommandOutput> {
|
|
97
|
-
return deserializeAws_restJson1DeleteDistributionConfigurationCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
2
|
-
import { DeleteImageRequest, DeleteImageResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteImageCommand,
|
|
5
|
-
serializeAws_restJson1DeleteImageCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteImageCommandInput extends DeleteImageRequest {}
|
|
21
|
-
export interface DeleteImageCommandOutput extends DeleteImageResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes an Image Builder image resource. This does not delete any EC2 AMIs or ECR container images
|
|
25
|
-
* that are created during the image build process. You must clean those up separately,
|
|
26
|
-
* using the appropriate Amazon EC2 or Amazon ECR console actions, or API or CLI commands.</p>
|
|
27
|
-
* <ul>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>To deregister an EC2 Linux AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html">Deregister
|
|
30
|
-
* your Linux AMI</a> in the <i>
|
|
31
|
-
* <i>Amazon EC2 User Guide</i>
|
|
32
|
-
* </i>.</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>To deregister an EC2 Windows AMI, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/deregister-ami.html">Deregister
|
|
36
|
-
* your Windows AMI</a> in the <i>
|
|
37
|
-
* <i>Amazon EC2 Windows Guide</i>
|
|
38
|
-
* </i>.</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>To delete a container image from Amazon ECR, see <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.comAmazonECR/latest/userguide/delete_image.html">Deleting
|
|
42
|
-
* an image</a> in the <i>Amazon ECR User Guide</i>.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* @example
|
|
46
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
47
|
-
* ```javascript
|
|
48
|
-
* import { ImagebuilderClient, DeleteImageCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
49
|
-
* // const { ImagebuilderClient, DeleteImageCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
50
|
-
* const client = new ImagebuilderClient(config);
|
|
51
|
-
* const command = new DeleteImageCommand(input);
|
|
52
|
-
* const response = await client.send(command);
|
|
53
|
-
* ```
|
|
54
|
-
*
|
|
55
|
-
* @see {@link DeleteImageCommandInput} for command's `input` shape.
|
|
56
|
-
* @see {@link DeleteImageCommandOutput} for command's `response` shape.
|
|
57
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
58
|
-
*
|
|
59
|
-
*/
|
|
60
|
-
export class DeleteImageCommand extends $Command<
|
|
61
|
-
DeleteImageCommandInput,
|
|
62
|
-
DeleteImageCommandOutput,
|
|
63
|
-
ImagebuilderClientResolvedConfig
|
|
64
|
-
> {
|
|
65
|
-
// Start section: command_properties
|
|
66
|
-
// End section: command_properties
|
|
67
|
-
|
|
68
|
-
constructor(readonly input: DeleteImageCommandInput) {
|
|
69
|
-
// Start section: command_constructor
|
|
70
|
-
super();
|
|
71
|
-
// End section: command_constructor
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
resolveMiddleware(
|
|
78
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
79
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
80
|
-
options?: __HttpHandlerOptions
|
|
81
|
-
): Handler<DeleteImageCommandInput, DeleteImageCommandOutput> {
|
|
82
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
83
|
-
|
|
84
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
85
|
-
|
|
86
|
-
const { logger } = configuration;
|
|
87
|
-
const clientName = "ImagebuilderClient";
|
|
88
|
-
const commandName = "DeleteImageCommand";
|
|
89
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
90
|
-
logger,
|
|
91
|
-
clientName,
|
|
92
|
-
commandName,
|
|
93
|
-
inputFilterSensitiveLog: DeleteImageRequest.filterSensitiveLog,
|
|
94
|
-
outputFilterSensitiveLog: DeleteImageResponse.filterSensitiveLog,
|
|
95
|
-
};
|
|
96
|
-
const { requestHandler } = configuration;
|
|
97
|
-
return stack.resolve(
|
|
98
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
99
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
100
|
-
handlerExecutionContext
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
private serialize(input: DeleteImageCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
105
|
-
return serializeAws_restJson1DeleteImageCommand(input, context);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteImageCommandOutput> {
|
|
109
|
-
return deserializeAws_restJson1DeleteImageCommand(output, context);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// Start section: command_body_extra
|
|
113
|
-
// End section: command_body_extra
|
|
114
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
2
|
-
import { DeleteImagePipelineRequest, DeleteImagePipelineResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteImagePipelineCommand,
|
|
5
|
-
serializeAws_restJson1DeleteImagePipelineCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteImagePipelineCommandInput extends DeleteImagePipelineRequest {}
|
|
21
|
-
export interface DeleteImagePipelineCommandOutput extends DeleteImagePipelineResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p> Deletes an image pipeline.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ImagebuilderClient, DeleteImagePipelineCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
29
|
-
* // const { ImagebuilderClient, DeleteImagePipelineCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
30
|
-
* const client = new ImagebuilderClient(config);
|
|
31
|
-
* const command = new DeleteImagePipelineCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteImagePipelineCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteImagePipelineCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteImagePipelineCommand extends $Command<
|
|
41
|
-
DeleteImagePipelineCommandInput,
|
|
42
|
-
DeleteImagePipelineCommandOutput,
|
|
43
|
-
ImagebuilderClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteImagePipelineCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteImagePipelineCommandInput, DeleteImagePipelineCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "ImagebuilderClient";
|
|
68
|
-
const commandName = "DeleteImagePipelineCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteImagePipelineRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteImagePipelineResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteImagePipelineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteImagePipelineCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteImagePipelineCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteImagePipelineCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
2
|
-
import { DeleteImageRecipeRequest, DeleteImageRecipeResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1DeleteImageRecipeCommand,
|
|
5
|
-
serializeAws_restJson1DeleteImageRecipeCommand,
|
|
6
|
-
} from "../protocols/Aws_restJson1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface DeleteImageRecipeCommandInput extends DeleteImageRecipeRequest {}
|
|
21
|
-
export interface DeleteImageRecipeCommandOutput extends DeleteImageRecipeResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p> Deletes an image recipe.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ImagebuilderClient, DeleteImageRecipeCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
29
|
-
* // const { ImagebuilderClient, DeleteImageRecipeCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
30
|
-
* const client = new ImagebuilderClient(config);
|
|
31
|
-
* const command = new DeleteImageRecipeCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeleteImageRecipeCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeleteImageRecipeCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeleteImageRecipeCommand extends $Command<
|
|
41
|
-
DeleteImageRecipeCommandInput,
|
|
42
|
-
DeleteImageRecipeCommandOutput,
|
|
43
|
-
ImagebuilderClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeleteImageRecipeCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeleteImageRecipeCommandInput, DeleteImageRecipeCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "ImagebuilderClient";
|
|
68
|
-
const commandName = "DeleteImageRecipeCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeleteImageRecipeRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: DeleteImageRecipeResponse.filterSensitiveLog,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeleteImageRecipeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1DeleteImageRecipeCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteImageRecipeCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1DeleteImageRecipeCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
2
|
-
import {
|
|
3
|
-
DeleteInfrastructureConfigurationRequest,
|
|
4
|
-
DeleteInfrastructureConfigurationResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
6
|
-
import {
|
|
7
|
-
deserializeAws_restJson1DeleteInfrastructureConfigurationCommand,
|
|
8
|
-
serializeAws_restJson1DeleteInfrastructureConfigurationCommand,
|
|
9
|
-
} from "../protocols/Aws_restJson1";
|
|
10
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
11
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
12
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
13
|
-
import {
|
|
14
|
-
FinalizeHandlerArguments,
|
|
15
|
-
Handler,
|
|
16
|
-
HandlerExecutionContext,
|
|
17
|
-
MiddlewareStack,
|
|
18
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
19
|
-
MetadataBearer as __MetadataBearer,
|
|
20
|
-
SerdeContext as __SerdeContext,
|
|
21
|
-
} from "@aws-sdk/types";
|
|
22
|
-
|
|
23
|
-
export interface DeleteInfrastructureConfigurationCommandInput extends DeleteInfrastructureConfigurationRequest {}
|
|
24
|
-
export interface DeleteInfrastructureConfigurationCommandOutput
|
|
25
|
-
extends DeleteInfrastructureConfigurationResponse,
|
|
26
|
-
__MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p> Deletes an infrastructure configuration.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ImagebuilderClient, DeleteInfrastructureConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
34
|
-
* // const { ImagebuilderClient, DeleteInfrastructureConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
35
|
-
* const client = new ImagebuilderClient(config);
|
|
36
|
-
* const command = new DeleteInfrastructureConfigurationCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link DeleteInfrastructureConfigurationCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link DeleteInfrastructureConfigurationCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class DeleteInfrastructureConfigurationCommand extends $Command<
|
|
46
|
-
DeleteInfrastructureConfigurationCommandInput,
|
|
47
|
-
DeleteInfrastructureConfigurationCommandOutput,
|
|
48
|
-
ImagebuilderClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: DeleteInfrastructureConfigurationCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<DeleteInfrastructureConfigurationCommandInput, DeleteInfrastructureConfigurationCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ImagebuilderClient";
|
|
73
|
-
const commandName = "DeleteInfrastructureConfigurationCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: DeleteInfrastructureConfigurationRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: DeleteInfrastructureConfigurationResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(
|
|
90
|
-
input: DeleteInfrastructureConfigurationCommandInput,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_restJson1DeleteInfrastructureConfigurationCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(
|
|
97
|
-
output: __HttpResponse,
|
|
98
|
-
context: __SerdeContext
|
|
99
|
-
): Promise<DeleteInfrastructureConfigurationCommandOutput> {
|
|
100
|
-
return deserializeAws_restJson1DeleteInfrastructureConfigurationCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|