libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming
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.Route53AutoNaming.CreateHttpNamespace

Description

Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a DiscoverInstances request but can't be discovered using DNS.

For the current quota on the number of namespaces that you can create using the same account, see Cloud Map quotas in the Cloud Map Developer Guide.

Synopsis

Creating a Request

data CreateHttpNamespace Source #

See: newCreateHttpNamespace smart constructor.

Constructors

CreateHttpNamespace' 

Fields

  • creatorRequestId :: Maybe Text

    A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).

  • description :: Maybe Text

    A description for the namespace.

  • tags :: Maybe [Tag]

    The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.

  • name :: Text

    The name that you want to assign to this namespace.

Instances

Instances details
Eq CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

Read CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

Show CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

Generic CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

Associated Types

type Rep CreateHttpNamespace :: Type -> Type #

NFData CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

Methods

rnf :: CreateHttpNamespace -> () #

Hashable CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

ToJSON CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

AWSRequest CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

Associated Types

type AWSResponse CreateHttpNamespace #

ToHeaders CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

ToPath CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

ToQuery CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

type Rep CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

type Rep CreateHttpNamespace = D1 ('MetaData "CreateHttpNamespace" "Amazonka.Route53AutoNaming.CreateHttpNamespace" "libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming" 'False) (C1 ('MetaCons "CreateHttpNamespace'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creatorRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateHttpNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

newCreateHttpNamespace Source #

Create a value of CreateHttpNamespace 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:creatorRequestId:CreateHttpNamespace', createHttpNamespace_creatorRequestId - A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).

$sel:description:CreateHttpNamespace', createHttpNamespace_description - A description for the namespace.

$sel:tags:CreateHttpNamespace', createHttpNamespace_tags - The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.

$sel:name:CreateHttpNamespace', createHttpNamespace_name - The name that you want to assign to this namespace.

Request Lenses

createHttpNamespace_creatorRequestId :: Lens' CreateHttpNamespace (Maybe Text) Source #

A unique string that identifies the request and that allows failed CreateHttpNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/time stamp).

createHttpNamespace_tags :: Lens' CreateHttpNamespace (Maybe [Tag]) Source #

The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.

createHttpNamespace_name :: Lens' CreateHttpNamespace Text Source #

The name that you want to assign to this namespace.

Destructuring the Response

data CreateHttpNamespaceResponse Source #

See: newCreateHttpNamespaceResponse smart constructor.

Constructors

CreateHttpNamespaceResponse' 

Fields

Instances

Instances details
Eq CreateHttpNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

Read CreateHttpNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

Show CreateHttpNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

Generic CreateHttpNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

Associated Types

type Rep CreateHttpNamespaceResponse :: Type -> Type #

NFData CreateHttpNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

type Rep CreateHttpNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.CreateHttpNamespace

type Rep CreateHttpNamespaceResponse = D1 ('MetaData "CreateHttpNamespaceResponse" "Amazonka.Route53AutoNaming.CreateHttpNamespace" "libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming" 'False) (C1 ('MetaCons "CreateHttpNamespaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateHttpNamespaceResponse Source #

Create a value of CreateHttpNamespaceResponse 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:operationId:CreateHttpNamespaceResponse', createHttpNamespaceResponse_operationId - A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation.

$sel:httpStatus:CreateHttpNamespaceResponse', createHttpNamespaceResponse_httpStatus - The response's http status code.

Response Lenses

createHttpNamespaceResponse_operationId :: Lens' CreateHttpNamespaceResponse (Maybe Text) Source #

A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation.