The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::ElasticBeanstalk::SwapEnvironmentCNAMEs - Arguments for method SwapEnvironmentCNAMEs on Paws::ElasticBeanstalk

DESCRIPTION

This class represents the parameters used for calling the method SwapEnvironmentCNAMEs on the AWS Elastic Beanstalk service. Use the attributes of this class as arguments to method SwapEnvironmentCNAMEs.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SwapEnvironmentCNAMEs.

SYNOPSIS

    my $elasticbeanstalk = Paws->service('ElasticBeanstalk');
    # To swap environment CNAMES
    # The following operation swaps the assigned subdomains of two environments:
    $elasticbeanstalk->SwapEnvironmentCNAMEs(
      'DestinationEnvironmentName' => 'my-env-green',
      'SourceEnvironmentName'      => 'my-env-blue'
    );

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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk/SwapEnvironmentCNAMEs

ATTRIBUTES

DestinationEnvironmentId => Str

The ID of the destination environment.

Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentId with the DestinationEnvironmentId.

DestinationEnvironmentName => Str

The name of the destination environment.

Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentName with the DestinationEnvironmentName.

SourceEnvironmentId => Str

The ID of the source environment.

Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentId, you must specify the DestinationEnvironmentId.

SourceEnvironmentName => Str

The name of the source environment.

Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentName, you must specify the DestinationEnvironmentName.

SEE ALSO

This class forms part of Paws, documenting arguments for method SwapEnvironmentCNAMEs in Paws::ElasticBeanstalk

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues