« blib/lib/Paws/ImageBuilder/UpdateDistributionConfigurationResponse.pm
↑ Summary
blib/lib/Paws/ImageBuilder/UpdateImagePipelineResponse.pm »
| 1 | |||
| 2 | package Paws::ImageBuilder::UpdateImagePipeline; | ||
| 3 | use Moose; | ||
| 4 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken', required => 1); | ||
| 5 | has ContainerRecipeArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'containerRecipeArn'); | ||
| 6 | has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); | ||
| 7 | has DistributionConfigurationArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'distributionConfigurationArn'); | ||
| 8 | has EnhancedImageMetadataEnabled => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'enhancedImageMetadataEnabled'); | ||
| 9 | has ImagePipelineArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'imagePipelineArn', required => 1); | ||
| 10 | has ImageRecipeArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'imageRecipeArn'); | ||
| 11 | has ImageTestsConfiguration => (is => 'ro', isa => 'Paws::ImageBuilder::ImageTestsConfiguration', traits => ['NameInRequest'], request_name => 'imageTestsConfiguration'); | ||
| 12 | has InfrastructureConfigurationArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'infrastructureConfigurationArn', required => 1); | ||
| 13 | has Schedule => (is => 'ro', isa => 'Paws::ImageBuilder::Schedule', traits => ['NameInRequest'], request_name => 'schedule'); | ||
| 14 | has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status'); | ||
| 15 | |||
| 16 | use MooseX::ClassAttribute; | ||
| 17 | |||
| 18 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateImagePipeline'); | ||
| 19 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/UpdateImagePipeline'); | ||
| 20 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 21 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ImageBuilder::UpdateImagePipelineResponse'); | ||
| 22 | 1; | ||
| 23 | |||
| 24 | ### main pod documentation begin ### | ||
| 25 | |||
| 26 | =head1 NAME | ||
| 27 | |||
| 28 | Paws::ImageBuilder::UpdateImagePipeline - Arguments for method UpdateImagePipeline on L<Paws::ImageBuilder> | ||
| 29 | |||
| 30 | =head1 DESCRIPTION | ||
| 31 | |||
| 32 | This class represents the parameters used for calling the method UpdateImagePipeline on the | ||
| 33 | L<EC2 Image Builder|Paws::ImageBuilder> service. Use the attributes of this class | ||
| 34 | as arguments to method UpdateImagePipeline. | ||
| 35 | |||
| 36 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateImagePipeline. | ||
| 37 | |||
| 38 | =head1 SYNOPSIS | ||
| 39 | |||
| 40 | my $imagebuilder = Paws->service('ImageBuilder'); | ||
| 41 | my $UpdateImagePipelineResponse = $imagebuilder->UpdateImagePipeline( | ||
| 42 | ClientToken => 'MyClientToken', | ||
| 43 | ImagePipelineArn => 'MyImagePipelineArn', | ||
| 44 | InfrastructureConfigurationArn => 'MyInfrastructureConfigurationArn', | ||
| 45 | ContainerRecipeArn => 'MyContainerRecipeArn', # OPTIONAL | ||
| 46 | Description => 'MyNonEmptyString', # OPTIONAL | ||
| 47 | DistributionConfigurationArn => | ||
| 48 | 'MyDistributionConfigurationArn', # OPTIONAL | ||
| 49 | EnhancedImageMetadataEnabled => 1, # OPTIONAL | ||
| 50 | ImageRecipeArn => 'MyImageRecipeArn', # OPTIONAL | ||
| 51 | ImageTestsConfiguration => { | ||
| 52 | ImageTestsEnabled => 1, | ||
| 53 | TimeoutMinutes => 1, # min: 60, max: 1440; OPTIONAL | ||
| 54 | }, # OPTIONAL | ||
| 55 | Schedule => { | ||
| 56 | PipelineExecutionStartCondition => 'EXPRESSION_MATCH_ONLY' | ||
| 57 | , # values: EXPRESSION_MATCH_ONLY, EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE; OPTIONAL | ||
| 58 | ScheduleExpression => 'MyNonEmptyString', # min: 1, max: 1024 | ||
| 59 | Timezone => 'MyTimezone', # min: 3, max: 100; OPTIONAL | ||
| 60 | }, # OPTIONAL | ||
| 61 | Status => 'DISABLED', # OPTIONAL | ||
| 62 | ); | ||
| 63 | |||
| 64 | # Results: | ||
| 65 | my $ClientToken = $UpdateImagePipelineResponse->ClientToken; | ||
| 66 | my $ImagePipelineArn = $UpdateImagePipelineResponse->ImagePipelineArn; | ||
| 67 | my $RequestId = $UpdateImagePipelineResponse->RequestId; | ||
| 68 | |||
| 69 | # Returns a L<Paws::ImageBuilder::UpdateImagePipelineResponse> object. | ||
| 70 | |||
| 71 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 72 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/imagebuilder/UpdateImagePipeline> | ||
| 73 | |||
| 74 | =head1 ATTRIBUTES | ||
| 75 | |||
| 76 | |||
| 77 | =head2 B<REQUIRED> ClientToken => Str | ||
| 78 | |||
| 79 | The idempotency token used to make this request idempotent. | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 ContainerRecipeArn => Str | ||
| 84 | |||
| 85 | The Amazon Resource Name (ARN) of the container pipeline to update. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 Description => Str | ||
| 90 | |||
| 91 | The description of the image pipeline. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | =head2 DistributionConfigurationArn => Str | ||
| 96 | |||
| 97 | The Amazon Resource Name (ARN) of the distribution configuration that | ||
| 98 | will be used to configure and distribute images updated by this image | ||
| 99 | pipeline. | ||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | =head2 EnhancedImageMetadataEnabled => Bool | ||
| 104 | |||
| 105 | Collects additional information about the image being created, | ||
| 106 | including the operating system (OS) version and package list. This | ||
| 107 | information is used to enhance the overall experience of using EC2 | ||
| 108 | Image Builder. Enabled by default. | ||
| 109 | |||
| 110 | |||
| 111 | |||
| 112 | =head2 B<REQUIRED> ImagePipelineArn => Str | ||
| 113 | |||
| 114 | The Amazon Resource Name (ARN) of the image pipeline that you want to | ||
| 115 | update. | ||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | =head2 ImageRecipeArn => Str | ||
| 120 | |||
| 121 | The Amazon Resource Name (ARN) of the image recipe that will be used to | ||
| 122 | configure images updated by this image pipeline. | ||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | =head2 ImageTestsConfiguration => L<Paws::ImageBuilder::ImageTestsConfiguration> | ||
| 127 | |||
| 128 | The image test configuration of the image pipeline. | ||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | =head2 B<REQUIRED> InfrastructureConfigurationArn => Str | ||
| 133 | |||
| 134 | The Amazon Resource Name (ARN) of the infrastructure configuration that | ||
| 135 | will be used to build images updated by this image pipeline. | ||
| 136 | |||
| 137 | |||
| 138 | |||
| 139 | =head2 Schedule => L<Paws::ImageBuilder::Schedule> | ||
| 140 | |||
| 141 | The schedule of the image pipeline. | ||
| 142 | |||
| 143 | |||
| 144 | |||
| 145 | =head2 Status => Str | ||
| 146 | |||
| 147 | The status of the image pipeline. | ||
| 148 | |||
| 149 | Valid values are: C<"DISABLED">, C<"ENABLED"> | ||
| 150 | |||
| 151 | |||
| 152 | =head1 SEE ALSO | ||
| 153 | |||
| 154 | This class forms part of L<Paws>, documenting arguments for method UpdateImagePipeline in L<Paws::ImageBuilder> | ||
| 155 | |||
| 156 | =head1 BUGS and CONTRIBUTIONS | ||
| 157 | |||
| 158 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 159 | |||
| 160 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 161 | |||
| 162 | =cut | ||
| 163 |