libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

Description

Swaps the CNAMEs of two environments.

Synopsis

Creating a Request

data SwapEnvironmentCNAMEs Source #

Swaps the CNAMEs of two environments.

See: newSwapEnvironmentCNAMEs smart constructor.

Constructors

SwapEnvironmentCNAMEs' 

Fields

  • destinationEnvironmentName :: Maybe Text

    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.

  • destinationEnvironmentId :: Maybe Text

    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.

  • sourceEnvironmentName :: Maybe Text

    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.

  • sourceEnvironmentId :: Maybe Text

    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.

Instances

Instances details
Eq SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

Read SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

Show SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

Generic SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

Associated Types

type Rep SwapEnvironmentCNAMEs :: Type -> Type #

NFData SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

Methods

rnf :: SwapEnvironmentCNAMEs -> () #

Hashable SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

AWSRequest SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

Associated Types

type AWSResponse SwapEnvironmentCNAMEs #

ToHeaders SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

ToPath SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

ToQuery SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

type Rep SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

type Rep SwapEnvironmentCNAMEs = D1 ('MetaData "SwapEnvironmentCNAMEs" "Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "SwapEnvironmentCNAMEs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destinationEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinationEnvironmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sourceEnvironmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceEnvironmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse SwapEnvironmentCNAMEs Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

newSwapEnvironmentCNAMEs :: SwapEnvironmentCNAMEs Source #

Create a value of SwapEnvironmentCNAMEs with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:destinationEnvironmentName:SwapEnvironmentCNAMEs', swapEnvironmentCNAMEs_destinationEnvironmentName - 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.

$sel:destinationEnvironmentId:SwapEnvironmentCNAMEs', swapEnvironmentCNAMEs_destinationEnvironmentId - 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.

$sel:sourceEnvironmentName:SwapEnvironmentCNAMEs', swapEnvironmentCNAMEs_sourceEnvironmentName - 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.

$sel:sourceEnvironmentId:SwapEnvironmentCNAMEs', swapEnvironmentCNAMEs_sourceEnvironmentId - 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.

Request Lenses

swapEnvironmentCNAMEs_destinationEnvironmentName :: Lens' SwapEnvironmentCNAMEs (Maybe Text) Source #

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.

swapEnvironmentCNAMEs_destinationEnvironmentId :: Lens' SwapEnvironmentCNAMEs (Maybe Text) Source #

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.

swapEnvironmentCNAMEs_sourceEnvironmentName :: Lens' SwapEnvironmentCNAMEs (Maybe Text) Source #

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.

swapEnvironmentCNAMEs_sourceEnvironmentId :: Lens' SwapEnvironmentCNAMEs (Maybe Text) Source #

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.

Destructuring the Response

data SwapEnvironmentCNAMEsResponse Source #

See: newSwapEnvironmentCNAMEsResponse smart constructor.

Instances

Instances details
Eq SwapEnvironmentCNAMEsResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

Read SwapEnvironmentCNAMEsResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

Show SwapEnvironmentCNAMEsResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

Generic SwapEnvironmentCNAMEsResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

Associated Types

type Rep SwapEnvironmentCNAMEsResponse :: Type -> Type #

NFData SwapEnvironmentCNAMEsResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

type Rep SwapEnvironmentCNAMEsResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs

type Rep SwapEnvironmentCNAMEsResponse = D1 ('MetaData "SwapEnvironmentCNAMEsResponse" "Amazonka.ElasticBeanstalk.SwapEnvironmentCNAMEs" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "SwapEnvironmentCNAMEsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newSwapEnvironmentCNAMEsResponse :: SwapEnvironmentCNAMEsResponse Source #

Create a value of SwapEnvironmentCNAMEsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.