« blib/lib/Paws/ImageBuilder/UpdateImagePipelineResponse.pm
↑ Summary
blib/lib/Paws/ImageBuilder/UpdateInfrastructureConfigurationResponse.pm »
| 1 | |||
| 2 | package Paws::ImageBuilder::UpdateInfrastructureConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'clientToken', required => 1); | ||
| 5 | has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description'); | ||
| 6 | has InfrastructureConfigurationArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'infrastructureConfigurationArn', required => 1); | ||
| 7 | has InstanceProfileName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'instanceProfileName', required => 1); | ||
| 8 | has InstanceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'instanceTypes'); | ||
| 9 | has KeyPair => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'keyPair'); | ||
| 10 | has Logging => (is => 'ro', isa => 'Paws::ImageBuilder::Logging', traits => ['NameInRequest'], request_name => 'logging'); | ||
| 11 | has ResourceTags => (is => 'ro', isa => 'Paws::ImageBuilder::ResourceTagMap', traits => ['NameInRequest'], request_name => 'resourceTags'); | ||
| 12 | has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'securityGroupIds'); | ||
| 13 | has SnsTopicArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'snsTopicArn'); | ||
| 14 | has SubnetId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'subnetId'); | ||
| 15 | has TerminateInstanceOnFailure => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'terminateInstanceOnFailure'); | ||
| 16 | |||
| 17 | use MooseX::ClassAttribute; | ||
| 18 | |||
| 19 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateInfrastructureConfiguration'); | ||
| 20 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/UpdateInfrastructureConfiguration'); | ||
| 21 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 22 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ImageBuilder::UpdateInfrastructureConfigurationResponse'); | ||
| 23 | 1; | ||
| 24 | |||
| 25 | ### main pod documentation begin ### | ||
| 26 | |||
| 27 | =head1 NAME | ||
| 28 | |||
| 29 | Paws::ImageBuilder::UpdateInfrastructureConfiguration - Arguments for method UpdateInfrastructureConfiguration on L<Paws::ImageBuilder> | ||
| 30 | |||
| 31 | =head1 DESCRIPTION | ||
| 32 | |||
| 33 | This class represents the parameters used for calling the method UpdateInfrastructureConfiguration on the | ||
| 34 | L<EC2 Image Builder|Paws::ImageBuilder> service. Use the attributes of this class | ||
| 35 | as arguments to method UpdateInfrastructureConfiguration. | ||
| 36 | |||
| 37 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateInfrastructureConfiguration. | ||
| 38 | |||
| 39 | =head1 SYNOPSIS | ||
| 40 | |||
| 41 | my $imagebuilder = Paws->service('ImageBuilder'); | ||
| 42 | my $UpdateInfrastructureConfigurationResponse = | ||
| 43 | $imagebuilder->UpdateInfrastructureConfiguration( | ||
| 44 | ClientToken => 'MyClientToken', | ||
| 45 | InfrastructureConfigurationArn => 'MyInfrastructureConfigurationArn', | ||
| 46 | InstanceProfileName => 'MyInstanceProfileNameType', | ||
| 47 | Description => 'MyNonEmptyString', # OPTIONAL | ||
| 48 | InstanceTypes => [ 'MyInstanceType', ... ], # OPTIONAL | ||
| 49 | KeyPair => 'MyNonEmptyString', # OPTIONAL | ||
| 50 | Logging => { | ||
| 51 | S3Logs => { | ||
| 52 | S3BucketName => 'MyNonEmptyString', # min: 1, max: 1024 | ||
| 53 | S3KeyPrefix => 'MyNonEmptyString', # min: 1, max: 1024 | ||
| 54 | }, # OPTIONAL | ||
| 55 | }, # OPTIONAL | ||
| 56 | ResourceTags => { | ||
| 57 | 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 | ||
| 58 | }, # OPTIONAL | ||
| 59 | SecurityGroupIds => [ | ||
| 60 | 'MyNonEmptyString', ... # min: 1, max: 1024 | ||
| 61 | ], # OPTIONAL | ||
| 62 | SnsTopicArn => 'MySnsTopicArn', # OPTIONAL | ||
| 63 | SubnetId => 'MyNonEmptyString', # OPTIONAL | ||
| 64 | TerminateInstanceOnFailure => 1, # OPTIONAL | ||
| 65 | ); | ||
| 66 | |||
| 67 | # Results: | ||
| 68 | my $ClientToken = $UpdateInfrastructureConfigurationResponse->ClientToken; | ||
| 69 | my $InfrastructureConfigurationArn = | ||
| 70 | $UpdateInfrastructureConfigurationResponse | ||
| 71 | ->InfrastructureConfigurationArn; | ||
| 72 | my $RequestId = $UpdateInfrastructureConfigurationResponse->RequestId; | ||
| 73 | |||
| 74 | # Returns a L<Paws::ImageBuilder::UpdateInfrastructureConfigurationResponse> object. | ||
| 75 | |||
| 76 | 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. | ||
| 77 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/imagebuilder/UpdateInfrastructureConfiguration> | ||
| 78 | |||
| 79 | =head1 ATTRIBUTES | ||
| 80 | |||
| 81 | |||
| 82 | =head2 B<REQUIRED> ClientToken => Str | ||
| 83 | |||
| 84 | The idempotency token used to make this request idempotent. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 Description => Str | ||
| 89 | |||
| 90 | The description of the infrastructure configuration. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 B<REQUIRED> InfrastructureConfigurationArn => Str | ||
| 95 | |||
| 96 | The Amazon Resource Name (ARN) of the infrastructure configuration that | ||
| 97 | you want to update. | ||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | =head2 B<REQUIRED> InstanceProfileName => Str | ||
| 102 | |||
| 103 | The instance profile to associate with the instance used to customize | ||
| 104 | your Amazon EC2 AMI. | ||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | =head2 InstanceTypes => ArrayRef[Str|Undef] | ||
| 109 | |||
| 110 | The instance types of the infrastructure configuration. You can specify | ||
| 111 | one or more instance types to use for this build. The service will pick | ||
| 112 | one of these instance types based on availability. | ||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | =head2 KeyPair => Str | ||
| 117 | |||
| 118 | The key pair of the infrastructure configuration. This can be used to | ||
| 119 | log on to and debug the instance used to create your image. | ||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | =head2 Logging => L<Paws::ImageBuilder::Logging> | ||
| 124 | |||
| 125 | The logging configuration of the infrastructure configuration. | ||
| 126 | |||
| 127 | |||
| 128 | |||
| 129 | =head2 ResourceTags => L<Paws::ImageBuilder::ResourceTagMap> | ||
| 130 | |||
| 131 | The tags attached to the resource created by Image Builder. | ||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | =head2 SecurityGroupIds => ArrayRef[Str|Undef] | ||
| 136 | |||
| 137 | The security group IDs to associate with the instance used to customize | ||
| 138 | your Amazon EC2 AMI. | ||
| 139 | |||
| 140 | |||
| 141 | |||
| 142 | =head2 SnsTopicArn => Str | ||
| 143 | |||
| 144 | The SNS topic on which to send image build events. | ||
| 145 | |||
| 146 | |||
| 147 | |||
| 148 | =head2 SubnetId => Str | ||
| 149 | |||
| 150 | The subnet ID to place the instance used to customize your Amazon EC2 | ||
| 151 | AMI in. | ||
| 152 | |||
| 153 | |||
| 154 | |||
| 155 | =head2 TerminateInstanceOnFailure => Bool | ||
| 156 | |||
| 157 | The terminate instance on failure setting of the infrastructure | ||
| 158 | configuration. Set to false if you want Image Builder to retain the | ||
| 159 | instance used to configure your AMI if the build or test phase of your | ||
| 160 | workflow fails. | ||
| 161 | |||
| 162 | |||
| 163 | |||
| 164 | |||
| 165 | =head1 SEE ALSO | ||
| 166 | |||
| 167 | This class forms part of L<Paws>, documenting arguments for method UpdateInfrastructureConfiguration in L<Paws::ImageBuilder> | ||
| 168 | |||
| 169 | =head1 BUGS and CONTRIBUTIONS | ||
| 170 | |||
| 171 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 172 | |||
| 173 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 174 | |||
| 175 | =cut | ||
| 176 |