@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,8 +0,0 @@
|
|
|
1
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
4
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
5
|
-
|
|
6
|
-
export interface ImagebuilderPaginationConfiguration extends PaginationConfiguration {
|
|
7
|
-
client: Imagebuilder | ImagebuilderClient;
|
|
8
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListComponentBuildVersionsCommand,
|
|
5
|
-
ListComponentBuildVersionsCommandInput,
|
|
6
|
-
ListComponentBuildVersionsCommandOutput,
|
|
7
|
-
} from "../commands/ListComponentBuildVersionsCommand";
|
|
8
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
9
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
10
|
-
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ImagebuilderClient,
|
|
17
|
-
input: ListComponentBuildVersionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListComponentBuildVersionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListComponentBuildVersionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Imagebuilder,
|
|
28
|
-
input: ListComponentBuildVersionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListComponentBuildVersionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listComponentBuildVersions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListComponentBuildVersions(
|
|
35
|
-
config: ImagebuilderPaginationConfiguration,
|
|
36
|
-
input: ListComponentBuildVersionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListComponentBuildVersionsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListComponentBuildVersionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Imagebuilder) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ImagebuilderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListComponentsCommand,
|
|
5
|
-
ListComponentsCommandInput,
|
|
6
|
-
ListComponentsCommandOutput,
|
|
7
|
-
} from "../commands/ListComponentsCommand";
|
|
8
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
9
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
10
|
-
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ImagebuilderClient,
|
|
17
|
-
input: ListComponentsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListComponentsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListComponentsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Imagebuilder,
|
|
28
|
-
input: ListComponentsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListComponentsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listComponents(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListComponents(
|
|
35
|
-
config: ImagebuilderPaginationConfiguration,
|
|
36
|
-
input: ListComponentsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListComponentsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListComponentsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Imagebuilder) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ImagebuilderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListContainerRecipesCommand,
|
|
5
|
-
ListContainerRecipesCommandInput,
|
|
6
|
-
ListContainerRecipesCommandOutput,
|
|
7
|
-
} from "../commands/ListContainerRecipesCommand";
|
|
8
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
9
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
10
|
-
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ImagebuilderClient,
|
|
17
|
-
input: ListContainerRecipesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListContainerRecipesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListContainerRecipesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Imagebuilder,
|
|
28
|
-
input: ListContainerRecipesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListContainerRecipesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listContainerRecipes(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListContainerRecipes(
|
|
35
|
-
config: ImagebuilderPaginationConfiguration,
|
|
36
|
-
input: ListContainerRecipesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListContainerRecipesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListContainerRecipesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Imagebuilder) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ImagebuilderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListDistributionConfigurationsCommand,
|
|
5
|
-
ListDistributionConfigurationsCommandInput,
|
|
6
|
-
ListDistributionConfigurationsCommandOutput,
|
|
7
|
-
} from "../commands/ListDistributionConfigurationsCommand";
|
|
8
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
9
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
10
|
-
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ImagebuilderClient,
|
|
17
|
-
input: ListDistributionConfigurationsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListDistributionConfigurationsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListDistributionConfigurationsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Imagebuilder,
|
|
28
|
-
input: ListDistributionConfigurationsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListDistributionConfigurationsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listDistributionConfigurations(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListDistributionConfigurations(
|
|
35
|
-
config: ImagebuilderPaginationConfiguration,
|
|
36
|
-
input: ListDistributionConfigurationsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListDistributionConfigurationsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListDistributionConfigurationsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Imagebuilder) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ImagebuilderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListImageBuildVersionsCommand,
|
|
5
|
-
ListImageBuildVersionsCommandInput,
|
|
6
|
-
ListImageBuildVersionsCommandOutput,
|
|
7
|
-
} from "../commands/ListImageBuildVersionsCommand";
|
|
8
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
9
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
10
|
-
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ImagebuilderClient,
|
|
17
|
-
input: ListImageBuildVersionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListImageBuildVersionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListImageBuildVersionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Imagebuilder,
|
|
28
|
-
input: ListImageBuildVersionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListImageBuildVersionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listImageBuildVersions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListImageBuildVersions(
|
|
35
|
-
config: ImagebuilderPaginationConfiguration,
|
|
36
|
-
input: ListImageBuildVersionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListImageBuildVersionsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListImageBuildVersionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Imagebuilder) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ImagebuilderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListImagePackagesCommand,
|
|
5
|
-
ListImagePackagesCommandInput,
|
|
6
|
-
ListImagePackagesCommandOutput,
|
|
7
|
-
} from "../commands/ListImagePackagesCommand";
|
|
8
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
9
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
10
|
-
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ImagebuilderClient,
|
|
17
|
-
input: ListImagePackagesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListImagePackagesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListImagePackagesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Imagebuilder,
|
|
28
|
-
input: ListImagePackagesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListImagePackagesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listImagePackages(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListImagePackages(
|
|
35
|
-
config: ImagebuilderPaginationConfiguration,
|
|
36
|
-
input: ListImagePackagesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListImagePackagesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListImagePackagesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Imagebuilder) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ImagebuilderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListImagePipelineImagesCommand,
|
|
5
|
-
ListImagePipelineImagesCommandInput,
|
|
6
|
-
ListImagePipelineImagesCommandOutput,
|
|
7
|
-
} from "../commands/ListImagePipelineImagesCommand";
|
|
8
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
9
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
10
|
-
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ImagebuilderClient,
|
|
17
|
-
input: ListImagePipelineImagesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListImagePipelineImagesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListImagePipelineImagesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Imagebuilder,
|
|
28
|
-
input: ListImagePipelineImagesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListImagePipelineImagesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listImagePipelineImages(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListImagePipelineImages(
|
|
35
|
-
config: ImagebuilderPaginationConfiguration,
|
|
36
|
-
input: ListImagePipelineImagesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListImagePipelineImagesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListImagePipelineImagesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Imagebuilder) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ImagebuilderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListImagePipelinesCommand,
|
|
5
|
-
ListImagePipelinesCommandInput,
|
|
6
|
-
ListImagePipelinesCommandOutput,
|
|
7
|
-
} from "../commands/ListImagePipelinesCommand";
|
|
8
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
9
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
10
|
-
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ImagebuilderClient,
|
|
17
|
-
input: ListImagePipelinesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListImagePipelinesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListImagePipelinesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Imagebuilder,
|
|
28
|
-
input: ListImagePipelinesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListImagePipelinesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listImagePipelines(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListImagePipelines(
|
|
35
|
-
config: ImagebuilderPaginationConfiguration,
|
|
36
|
-
input: ListImagePipelinesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListImagePipelinesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListImagePipelinesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Imagebuilder) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ImagebuilderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListImageRecipesCommand,
|
|
5
|
-
ListImageRecipesCommandInput,
|
|
6
|
-
ListImageRecipesCommandOutput,
|
|
7
|
-
} from "../commands/ListImageRecipesCommand";
|
|
8
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
9
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
10
|
-
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ImagebuilderClient,
|
|
17
|
-
input: ListImageRecipesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListImageRecipesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListImageRecipesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Imagebuilder,
|
|
28
|
-
input: ListImageRecipesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListImageRecipesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listImageRecipes(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListImageRecipes(
|
|
35
|
-
config: ImagebuilderPaginationConfiguration,
|
|
36
|
-
input: ListImageRecipesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListImageRecipesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListImageRecipesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Imagebuilder) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ImagebuilderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { ListImagesCommand, ListImagesCommandInput, ListImagesCommandOutput } from "../commands/ListImagesCommand";
|
|
4
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
5
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
6
|
-
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: ImagebuilderClient,
|
|
13
|
-
input: ListImagesCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListImagesCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListImagesCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: Imagebuilder,
|
|
24
|
-
input: ListImagesCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListImagesCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listImages(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListImages(
|
|
31
|
-
config: ImagebuilderPaginationConfiguration,
|
|
32
|
-
input: ListImagesCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListImagesCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
36
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListImagesCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.nextToken = token;
|
|
41
|
-
input["maxResults"] = config.pageSize;
|
|
42
|
-
if (config.client instanceof Imagebuilder) {
|
|
43
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
44
|
-
} else if (config.client instanceof ImagebuilderClient) {
|
|
45
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
46
|
-
} else {
|
|
47
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
48
|
-
}
|
|
49
|
-
yield page;
|
|
50
|
-
token = page.nextToken;
|
|
51
|
-
hasNext = !!token;
|
|
52
|
-
}
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListInfrastructureConfigurationsCommand,
|
|
5
|
-
ListInfrastructureConfigurationsCommandInput,
|
|
6
|
-
ListInfrastructureConfigurationsCommandOutput,
|
|
7
|
-
} from "../commands/ListInfrastructureConfigurationsCommand";
|
|
8
|
-
import { Imagebuilder } from "../Imagebuilder";
|
|
9
|
-
import { ImagebuilderClient } from "../ImagebuilderClient";
|
|
10
|
-
import { ImagebuilderPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: ImagebuilderClient,
|
|
17
|
-
input: ListInfrastructureConfigurationsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListInfrastructureConfigurationsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListInfrastructureConfigurationsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Imagebuilder,
|
|
28
|
-
input: ListInfrastructureConfigurationsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListInfrastructureConfigurationsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listInfrastructureConfigurations(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListInfrastructureConfigurations(
|
|
35
|
-
config: ImagebuilderPaginationConfiguration,
|
|
36
|
-
input: ListInfrastructureConfigurationsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListInfrastructureConfigurationsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.nextToken
|
|
40
|
-
let token: typeof input.nextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListInfrastructureConfigurationsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.nextToken = token;
|
|
45
|
-
input["maxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Imagebuilder) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof ImagebuilderClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.nextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|