Class: Aws::ElasticBeanstalk::Types::SwapEnvironmentCNAMEsMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb

Overview

Note:

When making an API call, you may pass SwapEnvironmentCNAMEsMessage data as a hash:

{
  source_environment_id: "EnvironmentId",
  source_environment_name: "EnvironmentName",
  destination_environment_id: "EnvironmentId",
  destination_environment_name: "EnvironmentName",
}

Swaps the CNAMEs of two environments.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destination_environment_idString

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.

Returns:

  • (String)


4693
4694
4695
4696
4697
4698
4699
4700
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4693

class SwapEnvironmentCNAMEsMessage < Struct.new(
  :source_environment_id,
  :source_environment_name,
  :destination_environment_id,
  :destination_environment_name)
  SENSITIVE = []
  include Aws::Structure
end

#destination_environment_nameString

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.

Returns:

  • (String)


4693
4694
4695
4696
4697
4698
4699
4700
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4693

class SwapEnvironmentCNAMEsMessage < Struct.new(
  :source_environment_id,
  :source_environment_name,
  :destination_environment_id,
  :destination_environment_name)
  SENSITIVE = []
  include Aws::Structure
end

#source_environment_idString

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.

Returns:

  • (String)


4693
4694
4695
4696
4697
4698
4699
4700
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4693

class SwapEnvironmentCNAMEsMessage < Struct.new(
  :source_environment_id,
  :source_environment_name,
  :destination_environment_id,
  :destination_environment_name)
  SENSITIVE = []
  include Aws::Structure
end

#source_environment_nameString

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.

Returns:

  • (String)


4693
4694
4695
4696
4697
4698
4699
4700
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 4693

class SwapEnvironmentCNAMEsMessage < Struct.new(
  :source_environment_id,
  :source_environment_name,
  :destination_environment_id,
  :destination_environment_name)
  SENSITIVE = []
  include Aws::Structure
end