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.CreateOutpost

Description

Creates an Outpost.

You can specify either an Availability one or an AZ ID.

Synopsis

Creating a Request

data CreateOutpost Source #

See: newCreateOutpost smart constructor.

Constructors

CreateOutpost' 

Fields

Instances

Instances details
ToJSON CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

ToHeaders CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

ToPath CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

ToQuery CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

AWSRequest CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

Associated Types

type AWSResponse CreateOutpost #

Generic CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

Associated Types

type Rep CreateOutpost :: Type -> Type #

Read CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

Show CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

NFData CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

Methods

rnf :: CreateOutpost -> () #

Eq CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

Hashable CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

type AWSResponse CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

type Rep CreateOutpost Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

newCreateOutpost Source #

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

CreateOutpost, createOutpost_availabilityZone - Undocumented member.

CreateOutpost, createOutpost_availabilityZoneId - Undocumented member.

CreateOutpost, createOutpost_description - Undocumented member.

CreateOutpost, createOutpost_supportedHardwareType - The type of hardware for this Outpost.

CreateOutpost, createOutpost_tags - The tags to apply to the Outpost.

CreateOutpost, createOutpost_name - Undocumented member.

CreateOutpost, createOutpost_siteId - The ID or the Amazon Resource Name (ARN) of the site.

Request Lenses

createOutpost_tags :: Lens' CreateOutpost (Maybe (HashMap Text Text)) Source #

The tags to apply to the Outpost.

createOutpost_siteId :: Lens' CreateOutpost Text Source #

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

Destructuring the Response

data CreateOutpostResponse Source #

See: newCreateOutpostResponse smart constructor.

Constructors

CreateOutpostResponse' 

Fields

Instances

Instances details
Generic CreateOutpostResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

Associated Types

type Rep CreateOutpostResponse :: Type -> Type #

Read CreateOutpostResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

Show CreateOutpostResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

NFData CreateOutpostResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

Methods

rnf :: CreateOutpostResponse -> () #

Eq CreateOutpostResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

type Rep CreateOutpostResponse Source # 
Instance details

Defined in Amazonka.Outposts.CreateOutpost

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

newCreateOutpostResponse Source #

Create a value of CreateOutpostResponse 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:outpost:CreateOutpostResponse', createOutpostResponse_outpost - Undocumented member.

$sel:httpStatus:CreateOutpostResponse', createOutpostResponse_httpStatus - The response's http status code.

Response Lenses