amazonka-outposts-2.0: Amazon Outposts 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.Outposts.GetSite

Description

Gets information about the specified Outpost site.

Synopsis

Creating a Request

data GetSite Source #

See: newGetSite smart constructor.

Constructors

GetSite' 

Fields

  • siteId :: Text

    The ID or the Amazon Resource Name (ARN) of the site.

Instances

Instances details
ToHeaders GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

Methods

toHeaders :: GetSite -> [Header] #

ToPath GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

Methods

toPath :: GetSite -> ByteString #

ToQuery GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

AWSRequest GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

Associated Types

type AWSResponse GetSite #

Generic GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

Associated Types

type Rep GetSite :: Type -> Type #

Methods

from :: GetSite -> Rep GetSite x #

to :: Rep GetSite x -> GetSite #

Read GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

Show GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

NFData GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

Methods

rnf :: GetSite -> () #

Eq GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

Methods

(==) :: GetSite -> GetSite -> Bool #

(/=) :: GetSite -> GetSite -> Bool #

Hashable GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

Methods

hashWithSalt :: Int -> GetSite -> Int #

hash :: GetSite -> Int #

type AWSResponse GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

type Rep GetSite Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

type Rep GetSite = D1 ('MetaData "GetSite" "Amazonka.Outposts.GetSite" "amazonka-outposts-2.0-7IMF8shlTNW2uMOjzEu2r2" 'False) (C1 ('MetaCons "GetSite'" 'PrefixI 'True) (S1 ('MetaSel ('Just "siteId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetSite Source #

Arguments

:: Text

GetSite

-> GetSite 

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

GetSite, getSite_siteId - The ID or the Amazon Resource Name (ARN) of the site.

Request Lenses

getSite_siteId :: Lens' GetSite Text Source #

The ID or the Amazon Resource Name (ARN) of the site.

Destructuring the Response

data GetSiteResponse Source #

See: newGetSiteResponse smart constructor.

Constructors

GetSiteResponse' 

Fields

Instances

Instances details
Generic GetSiteResponse Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

Associated Types

type Rep GetSiteResponse :: Type -> Type #

Read GetSiteResponse Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

Show GetSiteResponse Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

NFData GetSiteResponse Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

Methods

rnf :: GetSiteResponse -> () #

Eq GetSiteResponse Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

type Rep GetSiteResponse Source # 
Instance details

Defined in Amazonka.Outposts.GetSite

type Rep GetSiteResponse = D1 ('MetaData "GetSiteResponse" "Amazonka.Outposts.GetSite" "amazonka-outposts-2.0-7IMF8shlTNW2uMOjzEu2r2" 'False) (C1 ('MetaCons "GetSiteResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "site") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Site)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetSiteResponse Source #

Create a value of GetSiteResponse 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:site:GetSiteResponse', getSiteResponse_site - Undocumented member.

$sel:httpStatus:GetSiteResponse', getSiteResponse_httpStatus - The response's http status code.

Response Lenses

getSiteResponse_httpStatus :: Lens' GetSiteResponse Int Source #

The response's http status code.