@aws-sdk/client-imagebuilder 3.477.0 → 3.481.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/dist-cjs/commands/CancelImageCreationCommand.js +18 -41
- package/dist-cjs/commands/CancelLifecycleExecutionCommand.js +18 -41
- package/dist-cjs/commands/CreateComponentCommand.js +18 -41
- package/dist-cjs/commands/CreateContainerRecipeCommand.js +18 -41
- package/dist-cjs/commands/CreateDistributionConfigurationCommand.js +18 -41
- package/dist-cjs/commands/CreateImageCommand.js +18 -41
- package/dist-cjs/commands/CreateImagePipelineCommand.js +18 -41
- package/dist-cjs/commands/CreateImageRecipeCommand.js +18 -41
- package/dist-cjs/commands/CreateInfrastructureConfigurationCommand.js +18 -41
- package/dist-cjs/commands/CreateLifecyclePolicyCommand.js +18 -41
- package/dist-cjs/commands/CreateWorkflowCommand.js +18 -41
- package/dist-cjs/commands/DeleteComponentCommand.js +18 -41
- package/dist-cjs/commands/DeleteContainerRecipeCommand.js +18 -41
- package/dist-cjs/commands/DeleteDistributionConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteImageCommand.js +18 -41
- package/dist-cjs/commands/DeleteImagePipelineCommand.js +18 -41
- package/dist-cjs/commands/DeleteImageRecipeCommand.js +18 -41
- package/dist-cjs/commands/DeleteInfrastructureConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteWorkflowCommand.js +18 -41
- package/dist-cjs/commands/GetComponentCommand.js +18 -41
- package/dist-cjs/commands/GetComponentPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetContainerRecipeCommand.js +18 -41
- package/dist-cjs/commands/GetContainerRecipePolicyCommand.js +18 -41
- package/dist-cjs/commands/GetDistributionConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetImageCommand.js +18 -41
- package/dist-cjs/commands/GetImagePipelineCommand.js +18 -41
- package/dist-cjs/commands/GetImagePolicyCommand.js +18 -41
- package/dist-cjs/commands/GetImageRecipeCommand.js +18 -41
- package/dist-cjs/commands/GetImageRecipePolicyCommand.js +18 -41
- package/dist-cjs/commands/GetInfrastructureConfigurationCommand.js +18 -41
- package/dist-cjs/commands/GetLifecycleExecutionCommand.js +18 -41
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +18 -41
- package/dist-cjs/commands/GetWorkflowCommand.js +18 -41
- package/dist-cjs/commands/GetWorkflowExecutionCommand.js +18 -41
- package/dist-cjs/commands/GetWorkflowStepExecutionCommand.js +18 -41
- package/dist-cjs/commands/ImportComponentCommand.js +18 -41
- package/dist-cjs/commands/ImportVmImageCommand.js +18 -41
- package/dist-cjs/commands/ListComponentBuildVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListComponentsCommand.js +18 -41
- package/dist-cjs/commands/ListContainerRecipesCommand.js +18 -41
- package/dist-cjs/commands/ListDistributionConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListImageBuildVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListImagePackagesCommand.js +18 -41
- package/dist-cjs/commands/ListImagePipelineImagesCommand.js +18 -41
- package/dist-cjs/commands/ListImagePipelinesCommand.js +18 -41
- package/dist-cjs/commands/ListImageRecipesCommand.js +18 -41
- package/dist-cjs/commands/ListImageScanFindingAggregationsCommand.js +18 -41
- package/dist-cjs/commands/ListImageScanFindingsCommand.js +18 -41
- package/dist-cjs/commands/ListImagesCommand.js +18 -41
- package/dist-cjs/commands/ListInfrastructureConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListLifecycleExecutionResourcesCommand.js +18 -41
- package/dist-cjs/commands/ListLifecycleExecutionsCommand.js +18 -41
- package/dist-cjs/commands/ListLifecyclePoliciesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListWaitingWorkflowStepsCommand.js +18 -41
- package/dist-cjs/commands/ListWorkflowBuildVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListWorkflowExecutionsCommand.js +18 -41
- package/dist-cjs/commands/ListWorkflowStepExecutionsCommand.js +18 -41
- package/dist-cjs/commands/ListWorkflowsCommand.js +18 -41
- package/dist-cjs/commands/PutComponentPolicyCommand.js +18 -41
- package/dist-cjs/commands/PutContainerRecipePolicyCommand.js +18 -41
- package/dist-cjs/commands/PutImagePolicyCommand.js +18 -41
- package/dist-cjs/commands/PutImageRecipePolicyCommand.js +18 -41
- package/dist-cjs/commands/SendWorkflowStepActionCommand.js +18 -41
- package/dist-cjs/commands/StartImagePipelineExecutionCommand.js +18 -41
- package/dist-cjs/commands/StartResourceStateUpdateCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateDistributionConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateImagePipelineCommand.js +18 -41
- package/dist-cjs/commands/UpdateInfrastructureConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateLifecyclePolicyCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListComponentBuildVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListComponentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListContainerRecipesPaginator.js +2 -24
- package/dist-cjs/pagination/ListDistributionConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListImageBuildVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListImagePackagesPaginator.js +2 -24
- package/dist-cjs/pagination/ListImagePipelineImagesPaginator.js +2 -24
- package/dist-cjs/pagination/ListImagePipelinesPaginator.js +2 -24
- package/dist-cjs/pagination/ListImageRecipesPaginator.js +2 -24
- package/dist-cjs/pagination/ListImageScanFindingAggregationsPaginator.js +2 -23
- package/dist-cjs/pagination/ListImageScanFindingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListImagesPaginator.js +2 -24
- package/dist-cjs/pagination/ListInfrastructureConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLifecycleExecutionResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListLifecycleExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLifecyclePoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListWaitingWorkflowStepsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowBuildVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowStepExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkflowsPaginator.js +2 -24
- package/dist-es/commands/CancelImageCreationCommand.js +18 -41
- package/dist-es/commands/CancelLifecycleExecutionCommand.js +18 -41
- package/dist-es/commands/CreateComponentCommand.js +18 -41
- package/dist-es/commands/CreateContainerRecipeCommand.js +18 -41
- package/dist-es/commands/CreateDistributionConfigurationCommand.js +18 -41
- package/dist-es/commands/CreateImageCommand.js +18 -41
- package/dist-es/commands/CreateImagePipelineCommand.js +18 -41
- package/dist-es/commands/CreateImageRecipeCommand.js +18 -41
- package/dist-es/commands/CreateInfrastructureConfigurationCommand.js +18 -41
- package/dist-es/commands/CreateLifecyclePolicyCommand.js +18 -41
- package/dist-es/commands/CreateWorkflowCommand.js +18 -41
- package/dist-es/commands/DeleteComponentCommand.js +18 -41
- package/dist-es/commands/DeleteContainerRecipeCommand.js +18 -41
- package/dist-es/commands/DeleteDistributionConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteImageCommand.js +18 -41
- package/dist-es/commands/DeleteImagePipelineCommand.js +18 -41
- package/dist-es/commands/DeleteImageRecipeCommand.js +18 -41
- package/dist-es/commands/DeleteInfrastructureConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteLifecyclePolicyCommand.js +18 -41
- package/dist-es/commands/DeleteWorkflowCommand.js +18 -41
- package/dist-es/commands/GetComponentCommand.js +18 -41
- package/dist-es/commands/GetComponentPolicyCommand.js +18 -41
- package/dist-es/commands/GetContainerRecipeCommand.js +18 -41
- package/dist-es/commands/GetContainerRecipePolicyCommand.js +18 -41
- package/dist-es/commands/GetDistributionConfigurationCommand.js +18 -41
- package/dist-es/commands/GetImageCommand.js +18 -41
- package/dist-es/commands/GetImagePipelineCommand.js +18 -41
- package/dist-es/commands/GetImagePolicyCommand.js +18 -41
- package/dist-es/commands/GetImageRecipeCommand.js +18 -41
- package/dist-es/commands/GetImageRecipePolicyCommand.js +18 -41
- package/dist-es/commands/GetInfrastructureConfigurationCommand.js +18 -41
- package/dist-es/commands/GetLifecycleExecutionCommand.js +18 -41
- package/dist-es/commands/GetLifecyclePolicyCommand.js +18 -41
- package/dist-es/commands/GetWorkflowCommand.js +18 -41
- package/dist-es/commands/GetWorkflowExecutionCommand.js +18 -41
- package/dist-es/commands/GetWorkflowStepExecutionCommand.js +18 -41
- package/dist-es/commands/ImportComponentCommand.js +18 -41
- package/dist-es/commands/ImportVmImageCommand.js +18 -41
- package/dist-es/commands/ListComponentBuildVersionsCommand.js +18 -41
- package/dist-es/commands/ListComponentsCommand.js +18 -41
- package/dist-es/commands/ListContainerRecipesCommand.js +18 -41
- package/dist-es/commands/ListDistributionConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListImageBuildVersionsCommand.js +18 -41
- package/dist-es/commands/ListImagePackagesCommand.js +18 -41
- package/dist-es/commands/ListImagePipelineImagesCommand.js +18 -41
- package/dist-es/commands/ListImagePipelinesCommand.js +18 -41
- package/dist-es/commands/ListImageRecipesCommand.js +18 -41
- package/dist-es/commands/ListImageScanFindingAggregationsCommand.js +18 -41
- package/dist-es/commands/ListImageScanFindingsCommand.js +18 -41
- package/dist-es/commands/ListImagesCommand.js +18 -41
- package/dist-es/commands/ListInfrastructureConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListLifecycleExecutionResourcesCommand.js +18 -41
- package/dist-es/commands/ListLifecycleExecutionsCommand.js +18 -41
- package/dist-es/commands/ListLifecyclePoliciesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListWaitingWorkflowStepsCommand.js +18 -41
- package/dist-es/commands/ListWorkflowBuildVersionsCommand.js +18 -41
- package/dist-es/commands/ListWorkflowExecutionsCommand.js +18 -41
- package/dist-es/commands/ListWorkflowStepExecutionsCommand.js +18 -41
- package/dist-es/commands/ListWorkflowsCommand.js +18 -41
- package/dist-es/commands/PutComponentPolicyCommand.js +18 -41
- package/dist-es/commands/PutContainerRecipePolicyCommand.js +18 -41
- package/dist-es/commands/PutImagePolicyCommand.js +18 -41
- package/dist-es/commands/PutImageRecipePolicyCommand.js +18 -41
- package/dist-es/commands/SendWorkflowStepActionCommand.js +18 -41
- package/dist-es/commands/StartImagePipelineExecutionCommand.js +18 -41
- package/dist-es/commands/StartResourceStateUpdateCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateDistributionConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateImagePipelineCommand.js +18 -41
- package/dist-es/commands/UpdateInfrastructureConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateLifecyclePolicyCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListComponentBuildVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListComponentsPaginator.js +2 -23
- package/dist-es/pagination/ListContainerRecipesPaginator.js +2 -23
- package/dist-es/pagination/ListDistributionConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListImageBuildVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListImagePackagesPaginator.js +2 -23
- package/dist-es/pagination/ListImagePipelineImagesPaginator.js +2 -23
- package/dist-es/pagination/ListImagePipelinesPaginator.js +2 -23
- package/dist-es/pagination/ListImageRecipesPaginator.js +2 -23
- package/dist-es/pagination/ListImageScanFindingAggregationsPaginator.js +2 -22
- package/dist-es/pagination/ListImageScanFindingsPaginator.js +2 -23
- package/dist-es/pagination/ListImagesPaginator.js +2 -23
- package/dist-es/pagination/ListInfrastructureConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListLifecycleExecutionResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListLifecycleExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListLifecyclePoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListWaitingWorkflowStepsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowBuildVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowStepExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkflowsPaginator.js +2 -23
- package/dist-types/commands/CancelImageCreationCommand.d.ts +6 -21
- package/dist-types/commands/CancelLifecycleExecutionCommand.d.ts +6 -21
- package/dist-types/commands/CreateComponentCommand.d.ts +6 -21
- package/dist-types/commands/CreateContainerRecipeCommand.d.ts +6 -21
- package/dist-types/commands/CreateDistributionConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/CreateImageCommand.d.ts +6 -21
- package/dist-types/commands/CreateImagePipelineCommand.d.ts +6 -21
- package/dist-types/commands/CreateImageRecipeCommand.d.ts +6 -21
- package/dist-types/commands/CreateInfrastructureConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/CreateLifecyclePolicyCommand.d.ts +6 -21
- package/dist-types/commands/CreateWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/DeleteComponentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteContainerRecipeCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDistributionConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteImageCommand.d.ts +6 -21
- package/dist-types/commands/DeleteImagePipelineCommand.d.ts +6 -21
- package/dist-types/commands/DeleteImageRecipeCommand.d.ts +6 -21
- package/dist-types/commands/DeleteInfrastructureConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLifecyclePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/GetComponentCommand.d.ts +6 -21
- package/dist-types/commands/GetComponentPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetContainerRecipeCommand.d.ts +6 -21
- package/dist-types/commands/GetContainerRecipePolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetDistributionConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetImageCommand.d.ts +6 -21
- package/dist-types/commands/GetImagePipelineCommand.d.ts +6 -21
- package/dist-types/commands/GetImagePolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetImageRecipeCommand.d.ts +6 -21
- package/dist-types/commands/GetImageRecipePolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetInfrastructureConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/GetLifecycleExecutionCommand.d.ts +6 -21
- package/dist-types/commands/GetLifecyclePolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetWorkflowCommand.d.ts +6 -21
- package/dist-types/commands/GetWorkflowExecutionCommand.d.ts +6 -21
- package/dist-types/commands/GetWorkflowStepExecutionCommand.d.ts +6 -21
- package/dist-types/commands/ImportComponentCommand.d.ts +6 -21
- package/dist-types/commands/ImportVmImageCommand.d.ts +6 -21
- package/dist-types/commands/ListComponentBuildVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListComponentsCommand.d.ts +6 -21
- package/dist-types/commands/ListContainerRecipesCommand.d.ts +6 -21
- package/dist-types/commands/ListDistributionConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListImageBuildVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListImagePackagesCommand.d.ts +6 -21
- package/dist-types/commands/ListImagePipelineImagesCommand.d.ts +6 -21
- package/dist-types/commands/ListImagePipelinesCommand.d.ts +6 -21
- package/dist-types/commands/ListImageRecipesCommand.d.ts +6 -21
- package/dist-types/commands/ListImageScanFindingAggregationsCommand.d.ts +6 -21
- package/dist-types/commands/ListImageScanFindingsCommand.d.ts +6 -21
- package/dist-types/commands/ListImagesCommand.d.ts +6 -21
- package/dist-types/commands/ListInfrastructureConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListLifecycleExecutionResourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListLifecycleExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListLifecyclePoliciesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListWaitingWorkflowStepsCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkflowBuildVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkflowExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkflowStepExecutionsCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkflowsCommand.d.ts +6 -21
- package/dist-types/commands/PutComponentPolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutContainerRecipePolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutImagePolicyCommand.d.ts +6 -21
- package/dist-types/commands/PutImageRecipePolicyCommand.d.ts +6 -21
- package/dist-types/commands/SendWorkflowStepActionCommand.d.ts +6 -21
- package/dist-types/commands/StartImagePipelineExecutionCommand.d.ts +6 -21
- package/dist-types/commands/StartResourceStateUpdateCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDistributionConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateImagePipelineCommand.d.ts +6 -21
- package/dist-types/commands/UpdateInfrastructureConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateLifecyclePolicyCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListComponentBuildVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListComponentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListContainerRecipesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDistributionConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImageBuildVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImagePackagesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImagePipelineImagesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImagePipelinesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImageRecipesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImageScanFindingAggregationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImageScanFindingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImagesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInfrastructureConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLifecycleExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLifecyclePoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWaitingWorkflowStepsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowBuildVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowStepExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkflowsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CancelImageCreationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CancelLifecycleExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateContainerRecipeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateDistributionConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateImageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateImagePipelineCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateImageRecipeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateInfrastructureConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateLifecyclePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteContainerRecipeCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDistributionConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteImageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteImagePipelineCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteImageRecipeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteInfrastructureConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteLifecyclePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetComponentPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetContainerRecipeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetContainerRecipePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDistributionConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetImageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetImagePipelineCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetImagePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetImageRecipeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetImageRecipePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetInfrastructureConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetLifecycleExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetLifecyclePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetWorkflowExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetWorkflowStepExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ImportComponentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ImportVmImageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListComponentBuildVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListContainerRecipesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListDistributionConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListImageBuildVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListImagePackagesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImagePipelineImagesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListImagePipelinesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImageRecipesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImageScanFindingAggregationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListImageScanFindingsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListInfrastructureConfigurationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListLifecycleExecutionResourcesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListLifecycleExecutionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListLifecyclePoliciesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWaitingWorkflowStepsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListWorkflowBuildVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListWorkflowExecutionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListWorkflowStepExecutionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutComponentPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutContainerRecipePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/PutImagePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutImageRecipePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SendWorkflowStepActionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartImagePipelineExecutionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartResourceStateUpdateCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDistributionConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateImagePipelineCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateInfrastructureConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateLifecyclePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListComponentBuildVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListContainerRecipesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDistributionConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImageBuildVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImagePackagesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImagePipelineImagesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImagePipelinesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImageRecipesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImageScanFindingAggregationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImageScanFindingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImagesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInfrastructureConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLifecycleExecutionResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLifecycleExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLifecyclePoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWaitingWorkflowStepsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowBuildVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowStepExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateLifecyclePolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "ImagebuilderClient";
|
|
29
|
-
const commandName = "UpdateLifecyclePolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "imagebuilder",
|
|
38
|
-
operation: "UpdateLifecyclePolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateLifecyclePolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateLifecyclePolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateLifecyclePolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("imagebuilder", "UpdateLifecyclePolicy", {})
|
|
22
|
+
.n("ImagebuilderClient", "UpdateLifecyclePolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateLifecyclePolicyCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateLifecyclePolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateLifecyclePolicyCommand = UpdateLifecyclePolicyCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListComponentBuildVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListComponentBuildVersionsCommand_1 = require("../commands/ListComponentBuildVersionsCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListComponentBuildVersionsCommand_1.ListComponentBuildVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListComponentBuildVersions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListComponentBuildVersions = paginateListComponentBuildVersions;
|
|
7
|
+
exports.paginateListComponentBuildVersions = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListComponentBuildVersionsCommand_1.ListComponentBuildVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListComponents = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListComponentsCommand_1 = require("../commands/ListComponentsCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListComponentsCommand_1.ListComponentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListComponents(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListComponents = paginateListComponents;
|
|
7
|
+
exports.paginateListComponents = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListComponentsCommand_1.ListComponentsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListContainerRecipes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListContainerRecipesCommand_1 = require("../commands/ListContainerRecipesCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListContainerRecipesCommand_1.ListContainerRecipesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListContainerRecipes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListContainerRecipes = paginateListContainerRecipes;
|
|
7
|
+
exports.paginateListContainerRecipes = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListContainerRecipesCommand_1.ListContainerRecipesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDistributionConfigurations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDistributionConfigurationsCommand_1 = require("../commands/ListDistributionConfigurationsCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDistributionConfigurationsCommand_1.ListDistributionConfigurationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDistributionConfigurations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListDistributionConfigurations = paginateListDistributionConfigurations;
|
|
7
|
+
exports.paginateListDistributionConfigurations = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListDistributionConfigurationsCommand_1.ListDistributionConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImageBuildVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImageBuildVersionsCommand_1 = require("../commands/ListImageBuildVersionsCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImageBuildVersionsCommand_1.ListImageBuildVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImageBuildVersions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImageBuildVersions = paginateListImageBuildVersions;
|
|
7
|
+
exports.paginateListImageBuildVersions = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListImageBuildVersionsCommand_1.ListImageBuildVersionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImagePackages = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImagePackagesCommand_1 = require("../commands/ListImagePackagesCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImagePackagesCommand_1.ListImagePackagesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImagePackages(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImagePackages = paginateListImagePackages;
|
|
7
|
+
exports.paginateListImagePackages = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListImagePackagesCommand_1.ListImagePackagesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImagePipelineImages = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImagePipelineImagesCommand_1 = require("../commands/ListImagePipelineImagesCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImagePipelineImagesCommand_1.ListImagePipelineImagesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImagePipelineImages(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImagePipelineImages = paginateListImagePipelineImages;
|
|
7
|
+
exports.paginateListImagePipelineImages = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListImagePipelineImagesCommand_1.ListImagePipelineImagesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImagePipelines = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImagePipelinesCommand_1 = require("../commands/ListImagePipelinesCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImagePipelinesCommand_1.ListImagePipelinesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImagePipelines(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImagePipelines = paginateListImagePipelines;
|
|
7
|
+
exports.paginateListImagePipelines = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListImagePipelinesCommand_1.ListImagePipelinesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImageRecipes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImageRecipesCommand_1 = require("../commands/ListImageRecipesCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImageRecipesCommand_1.ListImageRecipesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImageRecipes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImageRecipes = paginateListImageRecipes;
|
|
7
|
+
exports.paginateListImageRecipes = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListImageRecipesCommand_1.ListImageRecipesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImageScanFindingAggregations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImageScanFindingAggregationsCommand_1 = require("../commands/ListImageScanFindingAggregationsCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImageScanFindingAggregationsCommand_1.ListImageScanFindingAggregationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImageScanFindingAggregations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListImageScanFindingAggregations = paginateListImageScanFindingAggregations;
|
|
7
|
+
exports.paginateListImageScanFindingAggregations = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListImageScanFindingAggregationsCommand_1.ListImageScanFindingAggregationsCommand, "nextToken", "nextToken", "");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImageScanFindings = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImageScanFindingsCommand_1 = require("../commands/ListImageScanFindingsCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImageScanFindingsCommand_1.ListImageScanFindingsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImageScanFindings(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImageScanFindings = paginateListImageScanFindings;
|
|
7
|
+
exports.paginateListImageScanFindings = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListImageScanFindingsCommand_1.ListImageScanFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListImages = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListImagesCommand_1 = require("../commands/ListImagesCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListImagesCommand_1.ListImagesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListImages(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListImages = paginateListImages;
|
|
7
|
+
exports.paginateListImages = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListImagesCommand_1.ListImagesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListInfrastructureConfigurations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListInfrastructureConfigurationsCommand_1 = require("../commands/ListInfrastructureConfigurationsCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListInfrastructureConfigurationsCommand_1.ListInfrastructureConfigurationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListInfrastructureConfigurations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListInfrastructureConfigurations = paginateListInfrastructureConfigurations;
|
|
7
|
+
exports.paginateListInfrastructureConfigurations = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListInfrastructureConfigurationsCommand_1.ListInfrastructureConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListLifecycleExecutionResources = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListLifecycleExecutionResourcesCommand_1 = require("../commands/ListLifecycleExecutionResourcesCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListLifecycleExecutionResourcesCommand_1.ListLifecycleExecutionResourcesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListLifecycleExecutionResources(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListLifecycleExecutionResources = paginateListLifecycleExecutionResources;
|
|
7
|
+
exports.paginateListLifecycleExecutionResources = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListLifecycleExecutionResourcesCommand_1.ListLifecycleExecutionResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListLifecycleExecutions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListLifecycleExecutionsCommand_1 = require("../commands/ListLifecycleExecutionsCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListLifecycleExecutionsCommand_1.ListLifecycleExecutionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListLifecycleExecutions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListLifecycleExecutions = paginateListLifecycleExecutions;
|
|
7
|
+
exports.paginateListLifecycleExecutions = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListLifecycleExecutionsCommand_1.ListLifecycleExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListLifecyclePolicies = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListLifecyclePoliciesCommand_1 = require("../commands/ListLifecyclePoliciesCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListLifecyclePoliciesCommand_1.ListLifecyclePoliciesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListLifecyclePolicies(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListLifecyclePolicies = paginateListLifecyclePolicies;
|
|
7
|
+
exports.paginateListLifecyclePolicies = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListLifecyclePoliciesCommand_1.ListLifecyclePoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListWaitingWorkflowSteps = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListWaitingWorkflowStepsCommand_1 = require("../commands/ListWaitingWorkflowStepsCommand");
|
|
5
6
|
const ImagebuilderClient_1 = require("../ImagebuilderClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListWaitingWorkflowStepsCommand_1.ListWaitingWorkflowStepsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListWaitingWorkflowSteps(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof ImagebuilderClient_1.ImagebuilderClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Imagebuilder | ImagebuilderClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListWaitingWorkflowSteps = paginateListWaitingWorkflowSteps;
|
|
7
|
+
exports.paginateListWaitingWorkflowSteps = (0, core_1.createPaginator)(ImagebuilderClient_1.ImagebuilderClient, ListWaitingWorkflowStepsCommand_1.ListWaitingWorkflowStepsCommand, "nextToken", "nextToken", "maxResults");
|