amazonka-route53-autonaming-2.0: Amazon Cloud Map 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.Route53AutoNaming.GetNamespace

Description

Gets information about a namespace.

Synopsis

Creating a Request

data GetNamespace Source #

See: newGetNamespace smart constructor.

Constructors

GetNamespace' 

Fields

  • id :: Text

    The ID of the namespace that you want to get information about.

Instances

Instances details
ToJSON GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

ToHeaders GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

ToPath GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

ToQuery GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

AWSRequest GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

Associated Types

type AWSResponse GetNamespace #

Generic GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

Associated Types

type Rep GetNamespace :: Type -> Type #

Read GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

Show GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

NFData GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

Methods

rnf :: GetNamespace -> () #

Eq GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

Hashable GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

type AWSResponse GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

type Rep GetNamespace Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

type Rep GetNamespace = D1 ('MetaData "GetNamespace" "Amazonka.Route53AutoNaming.GetNamespace" "amazonka-route53-autonaming-2.0-98MlwjLW1enGruUXoTOCqp" 'False) (C1 ('MetaCons "GetNamespace'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetNamespace Source #

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

GetNamespace, getNamespace_id - The ID of the namespace that you want to get information about.

Request Lenses

getNamespace_id :: Lens' GetNamespace Text Source #

The ID of the namespace that you want to get information about.

Destructuring the Response

data GetNamespaceResponse Source #

See: newGetNamespaceResponse smart constructor.

Constructors

GetNamespaceResponse' 

Fields

Instances

Instances details
Generic GetNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

Associated Types

type Rep GetNamespaceResponse :: Type -> Type #

Read GetNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

Show GetNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

NFData GetNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

Methods

rnf :: GetNamespaceResponse -> () #

Eq GetNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

type Rep GetNamespaceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetNamespace

type Rep GetNamespaceResponse = D1 ('MetaData "GetNamespaceResponse" "Amazonka.Route53AutoNaming.GetNamespace" "amazonka-route53-autonaming-2.0-98MlwjLW1enGruUXoTOCqp" 'False) (C1 ('MetaCons "GetNamespaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Namespace)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetNamespaceResponse Source #

Create a value of GetNamespaceResponse 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:namespace:GetNamespaceResponse', getNamespaceResponse_namespace - A complex type that contains information about the specified namespace.

$sel:httpStatus:GetNamespaceResponse', getNamespaceResponse_httpStatus - The response's http status code.

Response Lenses

getNamespaceResponse_namespace :: Lens' GetNamespaceResponse (Maybe Namespace) Source #

A complex type that contains information about the specified namespace.