amazonka-route53-recovery-readiness-2.0: Amazon Route53 Recovery Readiness SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53RecoveryReadiness.CreateCell

Description

Creates a cell in an account.

Synopsis

Creating a Request

data CreateCell Source #

See: newCreateCell smart constructor.

Constructors

CreateCell' 

Fields

  • cells :: Maybe [Text]

    A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. For example, Availability Zones within specific Amazon Web Services Regions.

  • tags :: Maybe (HashMap Text Text)
     
  • cellName :: Text

    The name of the cell to create.

Instances

Instances details
ToJSON CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

ToHeaders CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

Methods

toHeaders :: CreateCell -> [Header] #

ToPath CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

ToQuery CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

AWSRequest CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

Associated Types

type AWSResponse CreateCell #

Generic CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

Associated Types

type Rep CreateCell :: Type -> Type #

Read CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

Show CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

NFData CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

Methods

rnf :: CreateCell -> () #

Eq CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

Hashable CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

type AWSResponse CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

type Rep CreateCell Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

type Rep CreateCell = D1 ('MetaData "CreateCell" "Amazonka.Route53RecoveryReadiness.CreateCell" "amazonka-route53-recovery-readiness-2.0-4IMArkySCxS56jpsDTHPd1" 'False) (C1 ('MetaCons "CreateCell'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "cellName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateCell Source #

Arguments

:: Text

CreateCell

-> CreateCell 

Create a value of CreateCell 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:

CreateCell, createCell_cells - A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. For example, Availability Zones within specific Amazon Web Services Regions.

CreateCell, createCell_tags - Undocumented member.

CreateCell, createCell_cellName - The name of the cell to create.

Request Lenses

createCell_cells :: Lens' CreateCell (Maybe [Text]) Source #

A list of cell Amazon Resource Names (ARNs) contained within this cell, for use in nested cells. For example, Availability Zones within specific Amazon Web Services Regions.

createCell_cellName :: Lens' CreateCell Text Source #

The name of the cell to create.

Destructuring the Response

data CreateCellResponse Source #

See: newCreateCellResponse smart constructor.

Constructors

CreateCellResponse' 

Fields

Instances

Instances details
Generic CreateCellResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

Associated Types

type Rep CreateCellResponse :: Type -> Type #

Read CreateCellResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

Show CreateCellResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

NFData CreateCellResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

Methods

rnf :: CreateCellResponse -> () #

Eq CreateCellResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

type Rep CreateCellResponse Source # 
Instance details

Defined in Amazonka.Route53RecoveryReadiness.CreateCell

type Rep CreateCellResponse = D1 ('MetaData "CreateCellResponse" "Amazonka.Route53RecoveryReadiness.CreateCell" "amazonka-route53-recovery-readiness-2.0-4IMArkySCxS56jpsDTHPd1" 'False) (C1 ('MetaCons "CreateCellResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cellArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cellName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "parentReadinessScopes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateCellResponse Source #

Create a value of CreateCellResponse 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:

CreateCellResponse, createCellResponse_cellArn - The Amazon Resource Name (ARN) for the cell.

CreateCell, createCellResponse_cellName - The name of the cell.

CreateCell, createCellResponse_cells - A list of cell ARNs.

CreateCellResponse, createCellResponse_parentReadinessScopes - The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element.

CreateCell, createCellResponse_tags - Tags on the resources.

$sel:httpStatus:CreateCellResponse', createCellResponse_httpStatus - The response's http status code.

Response Lenses

createCellResponse_cellArn :: Lens' CreateCellResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) for the cell.

createCellResponse_parentReadinessScopes :: Lens' CreateCellResponse (Maybe [Text]) Source #

The readiness scope for the cell, which can be a cell Amazon Resource Name (ARN) or a recovery group ARN. This is a list but currently can have only one element.