Outposts.Client.
update_site_address
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.update_site_address(
SiteId='string',
AddressType='SHIPPING_ADDRESS'|'OPERATING_ADDRESS',
Address={
'ContactName': 'string',
'ContactPhoneNumber': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'AddressLine3': 'string',
'City': 'string',
'StateOrRegion': 'string',
'DistrictOrCounty': 'string',
'PostalCode': 'string',
'CountryCode': 'string',
'Municipality': 'string'
}
)
[REQUIRED]
The ID or the Amazon Resource Name (ARN) of the site.
[REQUIRED]
The type of the address.
[REQUIRED]
The address for the site.
The name of the contact.
The phone number of the contact.
The first line of the address.
The second line of the address.
The third line of the address.
The city for the address.
The state for the address.
The district or county for the address.
The postal code for the address.
The ISO-3166 two-letter country code for the address.
The municipality for the address.
dict
Response Syntax
{
'AddressType': 'SHIPPING_ADDRESS'|'OPERATING_ADDRESS',
'Address': {
'ContactName': 'string',
'ContactPhoneNumber': 'string',
'AddressLine1': 'string',
'AddressLine2': 'string',
'AddressLine3': 'string',
'City': 'string',
'StateOrRegion': 'string',
'DistrictOrCounty': 'string',
'PostalCode': 'string',
'CountryCode': 'string',
'Municipality': 'string'
}
}
Response Structure
(dict) --
AddressType (string) --
The type of the address.
Address (dict) --
Information about an address.
ContactName (string) --
The name of the contact.
ContactPhoneNumber (string) --
The phone number of the contact.
AddressLine1 (string) --
The first line of the address.
AddressLine2 (string) --
The second line of the address.
AddressLine3 (string) --
The third line of the address.
City (string) --
The city for the address.
StateOrRegion (string) --
The state for the address.
DistrictOrCounty (string) --
The district or county for the address.
PostalCode (string) --
The postal code for the address.
CountryCode (string) --
The ISO-3166 two-letter country code for the address.
Municipality (string) --
The municipality for the address.
Exceptions
Outposts.Client.exceptions.ValidationException
Outposts.Client.exceptions.AccessDeniedException
Outposts.Client.exceptions.NotFoundException
Outposts.Client.exceptions.ConflictException
Outposts.Client.exceptions.InternalServerException