@aws-sdk/client-imagebuilder 3.35.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/Imagebuilder.js +0 -7
- package/dist-cjs/ImagebuilderClient.js +0 -12
- package/dist-cjs/commands/CancelImageCreationCommand.js +0 -26
- package/dist-cjs/commands/CreateComponentCommand.js +0 -26
- package/dist-cjs/commands/CreateContainerRecipeCommand.js +0 -25
- package/dist-cjs/commands/CreateDistributionConfigurationCommand.js +0 -26
- package/dist-cjs/commands/CreateImageCommand.js +0 -27
- package/dist-cjs/commands/CreateImagePipelineCommand.js +0 -26
- package/dist-cjs/commands/CreateImageRecipeCommand.js +0 -26
- package/dist-cjs/commands/CreateInfrastructureConfigurationCommand.js +0 -26
- package/dist-cjs/commands/DeleteComponentCommand.js +0 -25
- package/dist-cjs/commands/DeleteContainerRecipeCommand.js +0 -25
- package/dist-cjs/commands/DeleteDistributionConfigurationCommand.js +0 -25
- package/dist-cjs/commands/DeleteImageCommand.js +0 -45
- package/dist-cjs/commands/DeleteImagePipelineCommand.js +0 -25
- package/dist-cjs/commands/DeleteImageRecipeCommand.js +0 -25
- package/dist-cjs/commands/DeleteInfrastructureConfigurationCommand.js +0 -25
- package/dist-cjs/commands/GetComponentCommand.js +0 -25
- package/dist-cjs/commands/GetComponentPolicyCommand.js +0 -25
- package/dist-cjs/commands/GetContainerRecipeCommand.js +0 -25
- package/dist-cjs/commands/GetContainerRecipePolicyCommand.js +0 -25
- package/dist-cjs/commands/GetDistributionConfigurationCommand.js +0 -25
- package/dist-cjs/commands/GetImageCommand.js +0 -25
- package/dist-cjs/commands/GetImagePipelineCommand.js +0 -25
- package/dist-cjs/commands/GetImagePolicyCommand.js +0 -25
- package/dist-cjs/commands/GetImageRecipeCommand.js +0 -25
- package/dist-cjs/commands/GetImageRecipePolicyCommand.js +0 -25
- package/dist-cjs/commands/GetInfrastructureConfigurationCommand.js +0 -25
- package/dist-cjs/commands/ImportComponentCommand.js +0 -25
- package/dist-cjs/commands/ListComponentBuildVersionsCommand.js +0 -34
- package/dist-cjs/commands/ListComponentsCommand.js +0 -34
- package/dist-cjs/commands/ListContainerRecipesCommand.js +0 -25
- package/dist-cjs/commands/ListDistributionConfigurationsCommand.js +0 -25
- package/dist-cjs/commands/ListImageBuildVersionsCommand.js +0 -25
- package/dist-cjs/commands/ListImagePackagesCommand.js +0 -25
- package/dist-cjs/commands/ListImagePipelineImagesCommand.js +0 -25
- package/dist-cjs/commands/ListImagePipelinesCommand.js +0 -25
- package/dist-cjs/commands/ListImageRecipesCommand.js +0 -25
- package/dist-cjs/commands/ListImagesCommand.js +0 -25
- package/dist-cjs/commands/ListInfrastructureConfigurationsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/PutComponentPolicyCommand.js +0 -27
- package/dist-cjs/commands/PutContainerRecipePolicyCommand.js +0 -25
- package/dist-cjs/commands/PutImagePolicyCommand.js +0 -27
- package/dist-cjs/commands/PutImageRecipePolicyCommand.js +0 -27
- package/dist-cjs/commands/StartImagePipelineExecutionCommand.js +0 -25
- package/dist-cjs/commands/TagResourceCommand.js +0 -25
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateDistributionConfigurationCommand.js +0 -26
- package/dist-cjs/commands/UpdateImagePipelineCommand.js +0 -31
- package/dist-cjs/commands/UpdateInfrastructureConfigurationCommand.js +0 -26
- package/dist-cjs/commands/index.js +52 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -64
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -469
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListComponentBuildVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListComponentsPaginator.js +0 -11
- package/dist-cjs/pagination/ListContainerRecipesPaginator.js +0 -11
- package/dist-cjs/pagination/ListDistributionConfigurationsPaginator.js +0 -11
- package/dist-cjs/pagination/ListImageBuildVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListImagePackagesPaginator.js +0 -11
- package/dist-cjs/pagination/ListImagePipelineImagesPaginator.js +0 -11
- package/dist-cjs/pagination/ListImagePipelinesPaginator.js +0 -11
- package/dist-cjs/pagination/ListImageRecipesPaginator.js +0 -11
- package/dist-cjs/pagination/ListImagesPaginator.js +0 -11
- package/dist-cjs/pagination/ListInfrastructureConfigurationsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +15 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Imagebuilder.js +0 -1
- package/dist-es/ImagebuilderClient.js +0 -1
- package/dist-es/commands/CancelImageCreationCommand.js +0 -1
- package/dist-es/commands/CreateComponentCommand.js +0 -1
- package/dist-es/commands/CreateContainerRecipeCommand.js +0 -1
- package/dist-es/commands/CreateDistributionConfigurationCommand.js +0 -1
- package/dist-es/commands/CreateImageCommand.js +0 -1
- package/dist-es/commands/CreateImagePipelineCommand.js +0 -1
- package/dist-es/commands/CreateImageRecipeCommand.js +0 -1
- package/dist-es/commands/CreateInfrastructureConfigurationCommand.js +0 -1
- package/dist-es/commands/DeleteComponentCommand.js +0 -1
- package/dist-es/commands/DeleteContainerRecipeCommand.js +0 -1
- package/dist-es/commands/DeleteDistributionConfigurationCommand.js +0 -1
- package/dist-es/commands/DeleteImageCommand.js +0 -1
- package/dist-es/commands/DeleteImagePipelineCommand.js +0 -1
- package/dist-es/commands/DeleteImageRecipeCommand.js +0 -1
- package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js +0 -1
- package/dist-es/commands/GetComponentCommand.js +0 -1
- package/dist-es/commands/GetComponentPolicyCommand.js +0 -1
- package/dist-es/commands/GetContainerRecipeCommand.js +0 -1
- package/dist-es/commands/GetContainerRecipePolicyCommand.js +0 -1
- package/dist-es/commands/GetDistributionConfigurationCommand.js +0 -1
- package/dist-es/commands/GetImageCommand.js +0 -1
- package/dist-es/commands/GetImagePipelineCommand.js +0 -1
- package/dist-es/commands/GetImagePolicyCommand.js +0 -1
- package/dist-es/commands/GetImageRecipeCommand.js +0 -1
- package/dist-es/commands/GetImageRecipePolicyCommand.js +0 -1
- package/dist-es/commands/GetInfrastructureConfigurationCommand.js +0 -1
- package/dist-es/commands/ImportComponentCommand.js +0 -1
- package/dist-es/commands/ListComponentBuildVersionsCommand.js +0 -1
- package/dist-es/commands/ListComponentsCommand.js +0 -1
- package/dist-es/commands/ListContainerRecipesCommand.js +0 -1
- package/dist-es/commands/ListDistributionConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListImageBuildVersionsCommand.js +0 -1
- package/dist-es/commands/ListImagePackagesCommand.js +0 -1
- package/dist-es/commands/ListImagePipelineImagesCommand.js +0 -1
- package/dist-es/commands/ListImagePipelinesCommand.js +0 -1
- package/dist-es/commands/ListImageRecipesCommand.js +0 -1
- package/dist-es/commands/ListImagesCommand.js +0 -1
- package/dist-es/commands/ListInfrastructureConfigurationsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/PutComponentPolicyCommand.js +0 -1
- package/dist-es/commands/PutContainerRecipePolicyCommand.js +0 -1
- package/dist-es/commands/PutImagePolicyCommand.js +0 -1
- package/dist-es/commands/PutImageRecipePolicyCommand.js +0 -1
- package/dist-es/commands/StartImagePipelineExecutionCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateDistributionConfigurationCommand.js +0 -1
- package/dist-es/commands/UpdateImagePipelineCommand.js +0 -1
- package/dist-es/commands/UpdateInfrastructureConfigurationCommand.js +0 -1
- package/dist-es/commands/index.js +49 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -64
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListComponentBuildVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListComponentsPaginator.js +0 -1
- package/dist-es/pagination/ListContainerRecipesPaginator.js +0 -1
- package/dist-es/pagination/ListDistributionConfigurationsPaginator.js +0 -1
- package/dist-es/pagination/ListImageBuildVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListImagePackagesPaginator.js +0 -1
- package/dist-es/pagination/ListImagePipelineImagesPaginator.js +0 -1
- package/dist-es/pagination/ListImagePipelinesPaginator.js +0 -1
- package/dist-es/pagination/ListImageRecipesPaginator.js +0 -1
- package/dist-es/pagination/ListImagesPaginator.js +0 -1
- package/dist-es/pagination/ListInfrastructureConfigurationsPaginator.js +0 -1
- package/dist-es/pagination/index.js +12 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +49 -0
- package/dist-types/index.d.ts +4 -63
- package/dist-types/pagination/index.d.ts +12 -0
- package/dist-types/ts3.4/Imagebuilder.d.ts +50 -213
- package/dist-types/ts3.4/ImagebuilderClient.d.ts +24 -92
- package/dist-types/ts3.4/commands/CancelImageCreationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateContainerRecipeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDistributionConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateImagePipelineCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateImageRecipeCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateInfrastructureConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteContainerRecipeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDistributionConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/DeleteImagePipelineCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteImageRecipeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteInfrastructureConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetComponentPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetContainerRecipeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetContainerRecipePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDistributionConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImagePipelineCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImagePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImageRecipeCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetImageRecipePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetInfrastructureConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ImportComponentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListComponentBuildVersionsCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/ListContainerRecipesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDistributionConfigurationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImageBuildVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImagePackagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImagePipelineImagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImagePipelinesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImageRecipesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListInfrastructureConfigurationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutComponentPolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutContainerRecipePolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutImagePolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/PutImageRecipePolicyCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StartImagePipelineExecutionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDistributionConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateImagePipelineCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/UpdateInfrastructureConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/index.d.ts +49 -0
- package/dist-types/ts3.4/index.d.ts +4 -63
- package/dist-types/ts3.4/models/models_0.d.ts +777 -2901
- package/dist-types/ts3.4/pagination/index.d.ts +12 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/Imagebuilder.js.map +0 -1
- package/dist-cjs/ImagebuilderClient.js.map +0 -1
- package/dist-cjs/commands/CancelImageCreationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateComponentCommand.js.map +0 -1
- package/dist-cjs/commands/CreateContainerRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDistributionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateImageCommand.js.map +0 -1
- package/dist-cjs/commands/CreateImagePipelineCommand.js.map +0 -1
- package/dist-cjs/commands/CreateImageRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/CreateInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteComponentCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteContainerRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDistributionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteImageCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteImagePipelineCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteImageRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/GetComponentCommand.js.map +0 -1
- package/dist-cjs/commands/GetComponentPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/GetContainerRecipePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetDistributionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/GetImageCommand.js.map +0 -1
- package/dist-cjs/commands/GetImagePipelineCommand.js.map +0 -1
- package/dist-cjs/commands/GetImagePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetImageRecipeCommand.js.map +0 -1
- package/dist-cjs/commands/GetImageRecipePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/ImportComponentCommand.js.map +0 -1
- package/dist-cjs/commands/ListComponentBuildVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListComponentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListContainerRecipesCommand.js.map +0 -1
- package/dist-cjs/commands/ListDistributionConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListImageBuildVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListImagePackagesCommand.js.map +0 -1
- package/dist-cjs/commands/ListImagePipelineImagesCommand.js.map +0 -1
- package/dist-cjs/commands/ListImagePipelinesCommand.js.map +0 -1
- package/dist-cjs/commands/ListImageRecipesCommand.js.map +0 -1
- package/dist-cjs/commands/ListImagesCommand.js.map +0 -1
- package/dist-cjs/commands/ListInfrastructureConfigurationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/PutComponentPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutContainerRecipePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutImagePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PutImageRecipePolicyCommand.js.map +0 -1
- package/dist-cjs/commands/StartImagePipelineExecutionCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDistributionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateImagePipelineCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListComponentBuildVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListComponentsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListContainerRecipesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDistributionConfigurationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImageBuildVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImagePackagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImagePipelineImagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImagePipelinesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImageRecipesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListImagesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListInfrastructureConfigurationsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Imagebuilder.js.map +0 -1
- package/dist-es/ImagebuilderClient.js.map +0 -1
- package/dist-es/commands/CancelImageCreationCommand.js.map +0 -1
- package/dist-es/commands/CreateComponentCommand.js.map +0 -1
- package/dist-es/commands/CreateContainerRecipeCommand.js.map +0 -1
- package/dist-es/commands/CreateDistributionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/CreateImageCommand.js.map +0 -1
- package/dist-es/commands/CreateImagePipelineCommand.js.map +0 -1
- package/dist-es/commands/CreateImageRecipeCommand.js.map +0 -1
- package/dist-es/commands/CreateInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeleteComponentCommand.js.map +0 -1
- package/dist-es/commands/DeleteContainerRecipeCommand.js.map +0 -1
- package/dist-es/commands/DeleteDistributionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/DeleteImageCommand.js.map +0 -1
- package/dist-es/commands/DeleteImagePipelineCommand.js.map +0 -1
- package/dist-es/commands/DeleteImageRecipeCommand.js.map +0 -1
- package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-es/commands/GetComponentCommand.js.map +0 -1
- package/dist-es/commands/GetComponentPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetContainerRecipeCommand.js.map +0 -1
- package/dist-es/commands/GetContainerRecipePolicyCommand.js.map +0 -1
- package/dist-es/commands/GetDistributionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/GetImageCommand.js.map +0 -1
- package/dist-es/commands/GetImagePipelineCommand.js.map +0 -1
- package/dist-es/commands/GetImagePolicyCommand.js.map +0 -1
- package/dist-es/commands/GetImageRecipeCommand.js.map +0 -1
- package/dist-es/commands/GetImageRecipePolicyCommand.js.map +0 -1
- package/dist-es/commands/GetInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-es/commands/ImportComponentCommand.js.map +0 -1
- package/dist-es/commands/ListComponentBuildVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListComponentsCommand.js.map +0 -1
- package/dist-es/commands/ListContainerRecipesCommand.js.map +0 -1
- package/dist-es/commands/ListDistributionConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/ListImageBuildVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListImagePackagesCommand.js.map +0 -1
- package/dist-es/commands/ListImagePipelineImagesCommand.js.map +0 -1
- package/dist-es/commands/ListImagePipelinesCommand.js.map +0 -1
- package/dist-es/commands/ListImageRecipesCommand.js.map +0 -1
- package/dist-es/commands/ListImagesCommand.js.map +0 -1
- package/dist-es/commands/ListInfrastructureConfigurationsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/PutComponentPolicyCommand.js.map +0 -1
- package/dist-es/commands/PutContainerRecipePolicyCommand.js.map +0 -1
- package/dist-es/commands/PutImagePolicyCommand.js.map +0 -1
- package/dist-es/commands/PutImageRecipePolicyCommand.js.map +0 -1
- package/dist-es/commands/StartImagePipelineExecutionCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateDistributionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/UpdateImagePipelineCommand.js.map +0 -1
- package/dist-es/commands/UpdateInfrastructureConfigurationCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListComponentBuildVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListComponentsPaginator.js.map +0 -1
- package/dist-es/pagination/ListContainerRecipesPaginator.js.map +0 -1
- package/dist-es/pagination/ListDistributionConfigurationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListImageBuildVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListImagePackagesPaginator.js.map +0 -1
- package/dist-es/pagination/ListImagePipelineImagesPaginator.js.map +0 -1
- package/dist-es/pagination/ListImagePipelinesPaginator.js.map +0 -1
- package/dist-es/pagination/ListImageRecipesPaginator.js.map +0 -1
- package/dist-es/pagination/ListImagesPaginator.js.map +0 -1
- package/dist-es/pagination/ListInfrastructureConfigurationsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Imagebuilder.ts +0 -1831
- package/src/ImagebuilderClient.ts +0 -464
- package/src/commands/CancelImageCreationCommand.ts +0 -96
- package/src/commands/CreateComponentCommand.ts +0 -96
- package/src/commands/CreateContainerRecipeCommand.ts +0 -95
- package/src/commands/CreateDistributionConfigurationCommand.ts +0 -104
- package/src/commands/CreateImageCommand.ts +0 -97
- package/src/commands/CreateImagePipelineCommand.ts +0 -96
- package/src/commands/CreateImageRecipeCommand.ts +0 -96
- package/src/commands/CreateInfrastructureConfigurationCommand.ts +0 -107
- package/src/commands/DeleteComponentCommand.ts +0 -95
- package/src/commands/DeleteContainerRecipeCommand.ts +0 -95
- package/src/commands/DeleteDistributionConfigurationCommand.ts +0 -103
- package/src/commands/DeleteImageCommand.ts +0 -115
- package/src/commands/DeleteImagePipelineCommand.ts +0 -95
- package/src/commands/DeleteImageRecipeCommand.ts +0 -95
- package/src/commands/DeleteInfrastructureConfigurationCommand.ts +0 -106
- package/src/commands/GetComponentCommand.ts +0 -95
- package/src/commands/GetComponentPolicyCommand.ts +0 -95
- package/src/commands/GetContainerRecipeCommand.ts +0 -95
- package/src/commands/GetContainerRecipePolicyCommand.ts +0 -95
- package/src/commands/GetDistributionConfigurationCommand.ts +0 -100
- package/src/commands/GetImageCommand.ts +0 -95
- package/src/commands/GetImagePipelineCommand.ts +0 -95
- package/src/commands/GetImagePolicyCommand.ts +0 -95
- package/src/commands/GetImageRecipeCommand.ts +0 -95
- package/src/commands/GetImageRecipePolicyCommand.ts +0 -95
- package/src/commands/GetInfrastructureConfigurationCommand.ts +0 -103
- package/src/commands/ImportComponentCommand.ts +0 -95
- package/src/commands/ListComponentBuildVersionsCommand.ts +0 -107
- package/src/commands/ListComponentsCommand.ts +0 -104
- package/src/commands/ListContainerRecipesCommand.ts +0 -95
- package/src/commands/ListDistributionConfigurationsCommand.ts +0 -103
- package/src/commands/ListImageBuildVersionsCommand.ts +0 -95
- package/src/commands/ListImagePackagesCommand.ts +0 -95
- package/src/commands/ListImagePipelineImagesCommand.ts +0 -95
- package/src/commands/ListImagePipelinesCommand.ts +0 -95
- package/src/commands/ListImageRecipesCommand.ts +0 -95
- package/src/commands/ListImagesCommand.ts +0 -95
- package/src/commands/ListInfrastructureConfigurationsCommand.ts +0 -103
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/PutComponentPolicyCommand.ts +0 -97
- package/src/commands/PutContainerRecipePolicyCommand.ts +0 -95
- package/src/commands/PutImagePolicyCommand.ts +0 -97
- package/src/commands/PutImageRecipePolicyCommand.ts +0 -97
- package/src/commands/StartImagePipelineExecutionCommand.ts +0 -100
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateDistributionConfigurationCommand.ts +0 -104
- package/src/commands/UpdateImagePipelineCommand.ts +0 -101
- package/src/commands/UpdateInfrastructureConfigurationCommand.ts +0 -107
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -64
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -5411
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListComponentBuildVersionsPaginator.ts +0 -59
- package/src/pagination/ListComponentsPaginator.ts +0 -59
- package/src/pagination/ListContainerRecipesPaginator.ts +0 -59
- package/src/pagination/ListDistributionConfigurationsPaginator.ts +0 -59
- package/src/pagination/ListImageBuildVersionsPaginator.ts +0 -59
- package/src/pagination/ListImagePackagesPaginator.ts +0 -59
- package/src/pagination/ListImagePipelineImagesPaginator.ts +0 -59
- package/src/pagination/ListImagePipelinesPaginator.ts +0 -59
- package/src/pagination/ListImageRecipesPaginator.ts +0 -59
- package/src/pagination/ListImagesPaginator.ts +0 -55
- package/src/pagination/ListInfrastructureConfigurationsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -8986
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { ListImageRecipesRequest, ListImageRecipesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListImageRecipesCommand,
|
|
18
|
-
serializeAws_restJson1ListImageRecipesCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListImageRecipesCommandInput extends ListImageRecipesRequest {}
|
|
22
|
-
export interface ListImageRecipesCommandOutput extends ListImageRecipesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Returns a list of image recipes.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ImagebuilderClient, ListImageRecipesCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, ListImageRecipesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new ListImageRecipesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListImageRecipesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListImageRecipesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListImageRecipesCommand extends $Command<
|
|
42
|
-
ListImageRecipesCommandInput,
|
|
43
|
-
ListImageRecipesCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListImageRecipesCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListImageRecipesCommandInput, ListImageRecipesCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ImagebuilderClient";
|
|
69
|
-
const commandName = "ListImageRecipesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListImageRecipesRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListImageRecipesResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListImageRecipesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListImageRecipesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListImageRecipesCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListImageRecipesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { ListImagesRequest, ListImagesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListImagesCommand,
|
|
18
|
-
serializeAws_restJson1ListImagesCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListImagesCommandInput extends ListImagesRequest {}
|
|
22
|
-
export interface ListImagesCommandOutput extends ListImagesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Returns the list of images that you have access to.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ImagebuilderClient, ListImagesCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, ListImagesCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new ListImagesCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListImagesCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListImagesCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListImagesCommand extends $Command<
|
|
42
|
-
ListImagesCommandInput,
|
|
43
|
-
ListImagesCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListImagesCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListImagesCommandInput, ListImagesCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ImagebuilderClient";
|
|
69
|
-
const commandName = "ListImagesCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListImagesRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListImagesResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListImagesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListImagesCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListImagesCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListImagesCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { ListInfrastructureConfigurationsRequest, ListInfrastructureConfigurationsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListInfrastructureConfigurationsCommand,
|
|
18
|
-
serializeAws_restJson1ListInfrastructureConfigurationsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListInfrastructureConfigurationsCommandInput extends ListInfrastructureConfigurationsRequest {}
|
|
22
|
-
export interface ListInfrastructureConfigurationsCommandOutput
|
|
23
|
-
extends ListInfrastructureConfigurationsResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p> Returns a list of infrastructure configurations.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { ImagebuilderClient, ListInfrastructureConfigurationsCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
32
|
-
* // const { ImagebuilderClient, ListInfrastructureConfigurationsCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
33
|
-
* const client = new ImagebuilderClient(config);
|
|
34
|
-
* const command = new ListInfrastructureConfigurationsCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link ListInfrastructureConfigurationsCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link ListInfrastructureConfigurationsCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class ListInfrastructureConfigurationsCommand extends $Command<
|
|
44
|
-
ListInfrastructureConfigurationsCommandInput,
|
|
45
|
-
ListInfrastructureConfigurationsCommandOutput,
|
|
46
|
-
ImagebuilderClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: ListInfrastructureConfigurationsCommandInput) {
|
|
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<ListInfrastructureConfigurationsCommandInput, ListInfrastructureConfigurationsCommandOutput> {
|
|
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 = "ListInfrastructureConfigurationsCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: ListInfrastructureConfigurationsRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: ListInfrastructureConfigurationsResponse.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: ListInfrastructureConfigurationsCommandInput,
|
|
89
|
-
context: __SerdeContext
|
|
90
|
-
): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1ListInfrastructureConfigurationsCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<ListInfrastructureConfigurationsCommandOutput> {
|
|
98
|
-
return deserializeAws_restJson1ListInfrastructureConfigurationsCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListTagsForResourceCommand,
|
|
18
|
-
serializeAws_restJson1ListTagsForResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
22
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Returns the list of tags for the specified resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ImagebuilderClient, ListTagsForResourceCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, ListTagsForResourceCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
42
|
-
ListTagsForResourceCommandInput,
|
|
43
|
-
ListTagsForResourceCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ImagebuilderClient";
|
|
69
|
-
const commandName = "ListTagsForResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { PutComponentPolicyRequest, PutComponentPolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1PutComponentPolicyCommand,
|
|
18
|
-
serializeAws_restJson1PutComponentPolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface PutComponentPolicyCommandInput extends PutComponentPolicyRequest {}
|
|
22
|
-
export interface PutComponentPolicyCommandOutput extends PutComponentPolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p> Applies a policy to a component. 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
|
|
26
|
-
* <code>PutComponentPolicy</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
|
|
27
|
-
* all principals with whom the resource is shared.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { ImagebuilderClient, PutComponentPolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
32
|
-
* // const { ImagebuilderClient, PutComponentPolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
33
|
-
* const client = new ImagebuilderClient(config);
|
|
34
|
-
* const command = new PutComponentPolicyCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link PutComponentPolicyCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link PutComponentPolicyCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class PutComponentPolicyCommand extends $Command<
|
|
44
|
-
PutComponentPolicyCommandInput,
|
|
45
|
-
PutComponentPolicyCommandOutput,
|
|
46
|
-
ImagebuilderClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: PutComponentPolicyCommandInput) {
|
|
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<PutComponentPolicyCommandInput, PutComponentPolicyCommandOutput> {
|
|
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 = "PutComponentPolicyCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: PutComponentPolicyRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: PutComponentPolicyResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: PutComponentPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1PutComponentPolicyCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutComponentPolicyCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1PutComponentPolicyCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { PutContainerRecipePolicyRequest, PutContainerRecipePolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1PutContainerRecipePolicyCommand,
|
|
18
|
-
serializeAws_restJson1PutContainerRecipePolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface PutContainerRecipePolicyCommandInput extends PutContainerRecipePolicyRequest {}
|
|
22
|
-
export interface PutContainerRecipePolicyCommandOutput extends PutContainerRecipePolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Applies a policy to a container image. We recommend that you call the RAM API CreateResourceShare (https://docs.aws.amazon.com/ram/latest/APIReference/API_CreateResourceShare.html) to share resources. If you call the Image Builder API <code>PutContainerImagePolicy</code>, you must also call the RAM API PromoteResourceShareCreatedFromPolicy (https://docs.aws.amazon.com/ram/latest/APIReference/API_PromoteResourceShareCreatedFromPolicy.html) in order for the resource to be visible to all principals with whom the resource is shared.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { ImagebuilderClient, PutContainerRecipePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
30
|
-
* // const { ImagebuilderClient, PutContainerRecipePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
31
|
-
* const client = new ImagebuilderClient(config);
|
|
32
|
-
* const command = new PutContainerRecipePolicyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link PutContainerRecipePolicyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link PutContainerRecipePolicyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class PutContainerRecipePolicyCommand extends $Command<
|
|
42
|
-
PutContainerRecipePolicyCommandInput,
|
|
43
|
-
PutContainerRecipePolicyCommandOutput,
|
|
44
|
-
ImagebuilderClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: PutContainerRecipePolicyCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: ImagebuilderClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<PutContainerRecipePolicyCommandInput, PutContainerRecipePolicyCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "ImagebuilderClient";
|
|
69
|
-
const commandName = "PutContainerRecipePolicyCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: PutContainerRecipePolicyRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: PutContainerRecipePolicyResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: PutContainerRecipePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1PutContainerRecipePolicyCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutContainerRecipePolicyCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1PutContainerRecipePolicyCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { ImagebuilderClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ImagebuilderClient";
|
|
15
|
-
import { PutImagePolicyRequest, PutImagePolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1PutImagePolicyCommand,
|
|
18
|
-
serializeAws_restJson1PutImagePolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface PutImagePolicyCommandInput extends PutImagePolicyRequest {}
|
|
22
|
-
export interface PutImagePolicyCommandOutput extends PutImagePolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Applies a policy to an image. 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
|
|
26
|
-
* <code>PutImagePolicy</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
|
|
27
|
-
* all principals with whom the resource is shared.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { ImagebuilderClient, PutImagePolicyCommand } from "@aws-sdk/client-imagebuilder"; // ES Modules import
|
|
32
|
-
* // const { ImagebuilderClient, PutImagePolicyCommand } = require("@aws-sdk/client-imagebuilder"); // CommonJS import
|
|
33
|
-
* const client = new ImagebuilderClient(config);
|
|
34
|
-
* const command = new PutImagePolicyCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link PutImagePolicyCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link PutImagePolicyCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link ImagebuilderClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class PutImagePolicyCommand extends $Command<
|
|
44
|
-
PutImagePolicyCommandInput,
|
|
45
|
-
PutImagePolicyCommandOutput,
|
|
46
|
-
ImagebuilderClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: PutImagePolicyCommandInput) {
|
|
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<PutImagePolicyCommandInput, PutImagePolicyCommandOutput> {
|
|
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 = "PutImagePolicyCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: PutImagePolicyRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: PutImagePolicyResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: PutImagePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1PutImagePolicyCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutImagePolicyCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1PutImagePolicyCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|