« blib/lib/Paws/ElasticBeanstalk/StatusCodes.pm
↑ Summary
blib/lib/Paws/ElasticBeanstalk/SystemStatus.pm »
| 1 | |||
| 2 | package Paws::ElasticBeanstalk::SwapEnvironmentCNAMEs; | ||
| 3 | use Moose; | ||
| 4 | has DestinationEnvironmentId => (is => 'ro', isa => 'Str'); | ||
| 5 | has DestinationEnvironmentName => (is => 'ro', isa => 'Str'); | ||
| 6 | has SourceEnvironmentId => (is => 'ro', isa => 'Str'); | ||
| 7 | has SourceEnvironmentName => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'SwapEnvironmentCNAMEs'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::ElasticBeanstalk::SwapEnvironmentCNAMEs - Arguments for method SwapEnvironmentCNAMEs on L<Paws::ElasticBeanstalk> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method SwapEnvironmentCNAMEs on the | ||
| 25 | L<AWS Elastic Beanstalk|Paws::ElasticBeanstalk> service. Use the attributes of this class | ||
| 26 | as arguments to method SwapEnvironmentCNAMEs. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SwapEnvironmentCNAMEs. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $elasticbeanstalk = Paws->service('ElasticBeanstalk'); | ||
| 33 | # To swap environment CNAMES | ||
| 34 | # The following operation swaps the assigned subdomains of two environments: | ||
| 35 | $elasticbeanstalk->SwapEnvironmentCNAMEs( | ||
| 36 | 'DestinationEnvironmentName' => 'my-env-green', | ||
| 37 | 'SourceEnvironmentName' => 'my-env-blue' | ||
| 38 | ); | ||
| 39 | |||
| 40 | |||
| 41 | 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. | ||
| 42 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk/SwapEnvironmentCNAMEs> | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 DestinationEnvironmentId => Str | ||
| 48 | |||
| 49 | The ID of the destination environment. | ||
| 50 | |||
| 51 | Condition: You must specify at least the C<DestinationEnvironmentID> or | ||
| 52 | the C<DestinationEnvironmentName>. You may also specify both. You must | ||
| 53 | specify the C<SourceEnvironmentId> with the | ||
| 54 | C<DestinationEnvironmentId>. | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head2 DestinationEnvironmentName => Str | ||
| 59 | |||
| 60 | The name of the destination environment. | ||
| 61 | |||
| 62 | Condition: You must specify at least the C<DestinationEnvironmentID> or | ||
| 63 | the C<DestinationEnvironmentName>. You may also specify both. You must | ||
| 64 | specify the C<SourceEnvironmentName> with the | ||
| 65 | C<DestinationEnvironmentName>. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 SourceEnvironmentId => Str | ||
| 70 | |||
| 71 | The ID of the source environment. | ||
| 72 | |||
| 73 | Condition: You must specify at least the C<SourceEnvironmentID> or the | ||
| 74 | C<SourceEnvironmentName>. You may also specify both. If you specify the | ||
| 75 | C<SourceEnvironmentId>, you must specify the | ||
| 76 | C<DestinationEnvironmentId>. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 SourceEnvironmentName => Str | ||
| 81 | |||
| 82 | The name of the source environment. | ||
| 83 | |||
| 84 | Condition: You must specify at least the C<SourceEnvironmentID> or the | ||
| 85 | C<SourceEnvironmentName>. You may also specify both. If you specify the | ||
| 86 | C<SourceEnvironmentName>, you must specify the | ||
| 87 | C<DestinationEnvironmentName>. | ||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | =head1 SEE ALSO | ||
| 93 | |||
| 94 | This class forms part of L<Paws>, documenting arguments for method SwapEnvironmentCNAMEs in L<Paws::ElasticBeanstalk> | ||
| 95 | |||
| 96 | =head1 BUGS and CONTRIBUTIONS | ||
| 97 | |||
| 98 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 99 | |||
| 100 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 101 | |||
| 102 | =cut | ||
| 103 |