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

Description

Updates the address of the specified site.

You can't update a site address if there is an order in progress. You must wait for the order to complete or cancel the order.

You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated.

Synopsis

Creating a Request

data UpdateSiteAddress Source #

See: newUpdateSiteAddress smart constructor.

Constructors

UpdateSiteAddress' 

Fields

Instances

Instances details
ToJSON UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

ToHeaders UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

ToPath UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

ToQuery UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

AWSRequest UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

Associated Types

type AWSResponse UpdateSiteAddress #

Generic UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

Associated Types

type Rep UpdateSiteAddress :: Type -> Type #

Read UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

Show UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

NFData UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

Methods

rnf :: UpdateSiteAddress -> () #

Eq UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

Hashable UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

type AWSResponse UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

type Rep UpdateSiteAddress Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

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

newUpdateSiteAddress Source #

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

UpdateSiteAddress, updateSiteAddress_siteId - The ID or the Amazon Resource Name (ARN) of the site.

UpdateSiteAddress, updateSiteAddress_addressType - The type of the address.

UpdateSiteAddress, updateSiteAddress_address - The address for the site.

Request Lenses

updateSiteAddress_siteId :: Lens' UpdateSiteAddress Text Source #

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

Destructuring the Response

data UpdateSiteAddressResponse Source #

See: newUpdateSiteAddressResponse smart constructor.

Constructors

UpdateSiteAddressResponse' 

Fields

Instances

Instances details
Generic UpdateSiteAddressResponse Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

Associated Types

type Rep UpdateSiteAddressResponse :: Type -> Type #

Read UpdateSiteAddressResponse Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

Show UpdateSiteAddressResponse Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

NFData UpdateSiteAddressResponse Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

Eq UpdateSiteAddressResponse Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

type Rep UpdateSiteAddressResponse Source # 
Instance details

Defined in Amazonka.Outposts.UpdateSiteAddress

type Rep UpdateSiteAddressResponse = D1 ('MetaData "UpdateSiteAddressResponse" "Amazonka.Outposts.UpdateSiteAddress" "amazonka-outposts-2.0-7IMF8shlTNW2uMOjzEu2r2" 'False) (C1 ('MetaCons "UpdateSiteAddressResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Address)) :*: (S1 ('MetaSel ('Just "addressType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AddressType)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateSiteAddressResponse Source #

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

UpdateSiteAddress, updateSiteAddressResponse_address - Information about an address.

UpdateSiteAddress, updateSiteAddressResponse_addressType - The type of the address.

$sel:httpStatus:UpdateSiteAddressResponse', updateSiteAddressResponse_httpStatus - The response's http status code.

Response Lenses