amazonka-route53-2.0: Amazon Route 53 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.Route53.CreateCidrCollection

Description

Creates a CIDR collection in the current Amazon Web Services account.

Synopsis

Creating a Request

data CreateCidrCollection Source #

See: newCreateCidrCollection smart constructor.

Constructors

CreateCidrCollection' 

Fields

  • name :: Text

    A unique identifier for the account that can be used to reference the collection from other API calls.

  • callerReference :: Text

    A client-specific token that allows requests to be securely retried so that the intended outcome will only occur once, retries receive a similar response, and there are no additional edge cases to handle.

Instances

Instances details
ToHeaders CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

ToPath CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

ToQuery CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

ToElement CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

ToXML CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

AWSRequest CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

Associated Types

type AWSResponse CreateCidrCollection #

Generic CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

Associated Types

type Rep CreateCidrCollection :: Type -> Type #

Read CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

Show CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

NFData CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

Methods

rnf :: CreateCidrCollection -> () #

Eq CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

Hashable CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

type AWSResponse CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

type Rep CreateCidrCollection Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

type Rep CreateCidrCollection = D1 ('MetaData "CreateCidrCollection" "Amazonka.Route53.CreateCidrCollection" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "CreateCidrCollection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateCidrCollection Source #

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

CreateCidrCollection, createCidrCollection_name - A unique identifier for the account that can be used to reference the collection from other API calls.

CreateCidrCollection, createCidrCollection_callerReference - A client-specific token that allows requests to be securely retried so that the intended outcome will only occur once, retries receive a similar response, and there are no additional edge cases to handle.

Request Lenses

createCidrCollection_name :: Lens' CreateCidrCollection Text Source #

A unique identifier for the account that can be used to reference the collection from other API calls.

createCidrCollection_callerReference :: Lens' CreateCidrCollection Text Source #

A client-specific token that allows requests to be securely retried so that the intended outcome will only occur once, retries receive a similar response, and there are no additional edge cases to handle.

Destructuring the Response

data CreateCidrCollectionResponse Source #

See: newCreateCidrCollectionResponse smart constructor.

Constructors

CreateCidrCollectionResponse' 

Fields

Instances

Instances details
Generic CreateCidrCollectionResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

Associated Types

type Rep CreateCidrCollectionResponse :: Type -> Type #

Read CreateCidrCollectionResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

Show CreateCidrCollectionResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

NFData CreateCidrCollectionResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

Eq CreateCidrCollectionResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

type Rep CreateCidrCollectionResponse Source # 
Instance details

Defined in Amazonka.Route53.CreateCidrCollection

type Rep CreateCidrCollectionResponse = D1 ('MetaData "CreateCidrCollectionResponse" "Amazonka.Route53.CreateCidrCollection" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" 'False) (C1 ('MetaCons "CreateCidrCollectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "collection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CidrCollection)) :*: (S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateCidrCollectionResponse Source #

Create a value of CreateCidrCollectionResponse 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:collection:CreateCidrCollectionResponse', createCidrCollectionResponse_collection - A complex type that contains information about the CIDR collection.

$sel:location:CreateCidrCollectionResponse', createCidrCollectionResponse_location - A unique URL that represents the location for the CIDR collection.

$sel:httpStatus:CreateCidrCollectionResponse', createCidrCollectionResponse_httpStatus - The response's http status code.

Response Lenses

createCidrCollectionResponse_collection :: Lens' CreateCidrCollectionResponse (Maybe CidrCollection) Source #

A complex type that contains information about the CIDR collection.

createCidrCollectionResponse_location :: Lens' CreateCidrCollectionResponse (Maybe Text) Source #

A unique URL that represents the location for the CIDR collection.