@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,96 +0,0 @@
|
|
|
1
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
2
|
-
import { PutImageRecipePolicyRequest, PutImageRecipePolicyResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1PutImageRecipePolicyCommand,
|
|
5
|
-
serializeAws_restJson1PutImageRecipePolicyCommand,
|
|
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 PutImageRecipePolicyCommandInput extends PutImageRecipePolicyRequest {}
|
|
21
|
-
export interface PutImageRecipePolicyCommandOutput extends PutImageRecipePolicyResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p> Applies a policy to an image recipe. We recommend that you call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html">CreateResourceShare</a> to share resources. If you call the Image Builder API
|
|
25
|
-
* <code>PutImageRecipePolicy</code>, you must also call the RAM API <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html">PromoteResourceShareCreatedFromPolicy</a> in order for the resource to be visible to
|
|
26
|
-
* all principals with whom the resource is shared.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { ImagebuilderClient, PutImageRecipePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
31
|
-
* // const { ImagebuilderClient, PutImageRecipePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
32
|
-
* const client = new ImagebuilderClient(config);
|
|
33
|
-
* const command = new PutImageRecipePolicyCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link PutImageRecipePolicyCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link PutImageRecipePolicyCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class PutImageRecipePolicyCommand extends $Command<
|
|
43
|
-
PutImageRecipePolicyCommandInput,
|
|
44
|
-
PutImageRecipePolicyCommandOutput,
|
|
45
|
-
ImagebuilderClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: PutImageRecipePolicyCommandInput) {
|
|
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<PutImageRecipePolicyCommandInput, PutImageRecipePolicyCommandOutput> {
|
|
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 = "PutImageRecipePolicyCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: PutImageRecipePolicyRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: PutImageRecipePolicyResponse.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(input: PutImageRecipePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1PutImageRecipePolicyCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutImageRecipePolicyCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1PutImageRecipePolicyCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
2
|
-
import { StartImagePipelineExecutionRequest, StartImagePipelineExecutionResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1StartImagePipelineExecutionCommand,
|
|
5
|
-
serializeAws_restJson1StartImagePipelineExecutionCommand,
|
|
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 StartImagePipelineExecutionCommandInput extends StartImagePipelineExecutionRequest {}
|
|
21
|
-
export interface StartImagePipelineExecutionCommandOutput
|
|
22
|
-
extends StartImagePipelineExecutionResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p> Manually triggers a pipeline to create an image.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { ImagebuilderClient, StartImagePipelineExecutionCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
31
|
-
* // const { ImagebuilderClient, StartImagePipelineExecutionCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
32
|
-
* const client = new ImagebuilderClient(config);
|
|
33
|
-
* const command = new StartImagePipelineExecutionCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link StartImagePipelineExecutionCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link StartImagePipelineExecutionCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class StartImagePipelineExecutionCommand extends $Command<
|
|
43
|
-
StartImagePipelineExecutionCommandInput,
|
|
44
|
-
StartImagePipelineExecutionCommandOutput,
|
|
45
|
-
ImagebuilderClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: StartImagePipelineExecutionCommandInput) {
|
|
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<StartImagePipelineExecutionCommandInput, StartImagePipelineExecutionCommandOutput> {
|
|
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 = "StartImagePipelineExecutionCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: StartImagePipelineExecutionRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: StartImagePipelineExecutionResponse.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(input: StartImagePipelineExecutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1StartImagePipelineExecutionCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(
|
|
91
|
-
output: __HttpResponse,
|
|
92
|
-
context: __SerdeContext
|
|
93
|
-
): Promise<StartImagePipelineExecutionCommandOutput> {
|
|
94
|
-
return deserializeAws_restJson1StartImagePipelineExecutionCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
2
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1TagResourceCommand,
|
|
5
|
-
serializeAws_restJson1TagResourceCommand,
|
|
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 TagResourceCommandInput extends TagResourceRequest {}
|
|
21
|
-
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p> Adds a tag to a resource.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ImagebuilderClient, TagResourceCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
29
|
-
* // const { ImagebuilderClient, TagResourceCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
30
|
-
* const client = new ImagebuilderClient(config);
|
|
31
|
-
* const command = new TagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class TagResourceCommand extends $Command<
|
|
41
|
-
TagResourceCommandInput,
|
|
42
|
-
TagResourceCommandOutput,
|
|
43
|
-
ImagebuilderClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: TagResourceCommandInput) {
|
|
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<TagResourceCommandInput, TagResourceCommandOutput> {
|
|
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 = "TagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: TagResourceResponse.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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1TagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1TagResourceCommand(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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UntagResourceCommand,
|
|
5
|
-
serializeAws_restJson1UntagResourceCommand,
|
|
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 UntagResourceCommandInput extends UntagResourceRequest {}
|
|
21
|
-
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p> Removes a tag from a resource.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { ImagebuilderClient, UntagResourceCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
29
|
-
* // const { ImagebuilderClient, UntagResourceCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
30
|
-
* const client = new ImagebuilderClient(config);
|
|
31
|
-
* const command = new UntagResourceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class UntagResourceCommand extends $Command<
|
|
41
|
-
UntagResourceCommandInput,
|
|
42
|
-
UntagResourceCommandOutput,
|
|
43
|
-
ImagebuilderClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: UntagResourceCommandInput) {
|
|
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
|
|
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 = "UntagResourceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: UntagResourceResponse.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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_restJson1UntagResourceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
|
|
89
|
-
return deserializeAws_restJson1UntagResourceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
2
|
-
import { UpdateDistributionConfigurationRequest, UpdateDistributionConfigurationResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateDistributionConfigurationCommand,
|
|
5
|
-
serializeAws_restJson1UpdateDistributionConfigurationCommand,
|
|
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 UpdateDistributionConfigurationCommandInput extends UpdateDistributionConfigurationRequest {}
|
|
21
|
-
export interface UpdateDistributionConfigurationCommandOutput
|
|
22
|
-
extends UpdateDistributionConfigurationResponse,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p> Updates a new distribution configuration. Distribution configurations define and
|
|
27
|
-
* configure the outputs of your pipeline.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { ImagebuilderClient, UpdateDistributionConfigurationCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
32
|
-
* // const { ImagebuilderClient, UpdateDistributionConfigurationCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
33
|
-
* const client = new ImagebuilderClient(config);
|
|
34
|
-
* const command = new UpdateDistributionConfigurationCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link UpdateDistributionConfigurationCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link UpdateDistributionConfigurationCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class UpdateDistributionConfigurationCommand extends $Command<
|
|
44
|
-
UpdateDistributionConfigurationCommandInput,
|
|
45
|
-
UpdateDistributionConfigurationCommandOutput,
|
|
46
|
-
ImagebuilderClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: UpdateDistributionConfigurationCommandInput) {
|
|
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<UpdateDistributionConfigurationCommandInput, UpdateDistributionConfigurationCommandOutput> {
|
|
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 = "UpdateDistributionConfigurationCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: UpdateDistributionConfigurationRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: UpdateDistributionConfigurationResponse.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: UpdateDistributionConfigurationCommandInput,
|
|
89
|
-
context: __SerdeContext
|
|
90
|
-
): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1UpdateDistributionConfigurationCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<UpdateDistributionConfigurationCommandOutput> {
|
|
98
|
-
return deserializeAws_restJson1UpdateDistributionConfigurationCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
2
|
-
import { UpdateImagePipelineRequest, UpdateImagePipelineResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_restJson1UpdateImagePipelineCommand,
|
|
5
|
-
serializeAws_restJson1UpdateImagePipelineCommand,
|
|
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 UpdateImagePipelineCommandInput extends UpdateImagePipelineRequest {}
|
|
21
|
-
export interface UpdateImagePipelineCommandOutput extends UpdateImagePipelineResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p> Updates an image pipeline. Image pipelines enable you to automate the creation and
|
|
25
|
-
* distribution of images.</p>
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>UpdateImagePipeline does not support selective updates for the pipeline.
|
|
28
|
-
* You must specify all of the required properties in the update request, not just
|
|
29
|
-
* the properties that have changed.</p>
|
|
30
|
-
* </note>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ImagebuilderClient, UpdateImagePipelineCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
35
|
-
* // const { ImagebuilderClient, UpdateImagePipelineCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
36
|
-
* const client = new ImagebuilderClient(config);
|
|
37
|
-
* const command = new UpdateImagePipelineCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link UpdateImagePipelineCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link UpdateImagePipelineCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class UpdateImagePipelineCommand extends $Command<
|
|
47
|
-
UpdateImagePipelineCommandInput,
|
|
48
|
-
UpdateImagePipelineCommandOutput,
|
|
49
|
-
ImagebuilderClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: UpdateImagePipelineCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<UpdateImagePipelineCommandInput, UpdateImagePipelineCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "ImagebuilderClient";
|
|
74
|
-
const commandName = "UpdateImagePipelineCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: UpdateImagePipelineRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: UpdateImagePipelineResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: UpdateImagePipelineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1UpdateImagePipelineCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateImagePipelineCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1UpdateImagePipelineCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|