addresses
Creates, updates, deletes, gets or lists an addresses resource.
Overview
| Name | addresses |
| Type | Resource |
| Id | aws.snowball.addresses |
Fields
The following fields are returned by SELECT queries:
- describe_addresses
| Name | Datatype | Description |
|---|---|---|
address_id | string | The unique ID for an address. (pattern: <code>ADID[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}</code>) |
city | string | The city in an address that a Snow device is to be delivered to. (pattern: <code>.*</code>) |
company | string | The name of the company to receive a Snow device at an address. (pattern: <code>.*</code>) |
country | string | The country in an address that a Snow device is to be delivered to. (pattern: <code>.*</code>) |
is_restricted | boolean | If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions. |
landmark | string | This field is no longer used and the value is ignored. (pattern: <code>.*</code>) |
name | string | The name of a person to receive a Snow device at an address. (pattern: <code>.*</code>) |
phone_number | string | The phone number associated with an address that a Snow device is to be delivered to. (pattern: <code>.*</code>) |
postal_code | string | The postal code in an address that a Snow device is to be delivered to. (pattern: <code>.*</code>) |
prefecture_or_district | string | This field is no longer used and the value is ignored. (pattern: <code>.*</code>) |
state_or_province | string | The state or province in an address that a Snow device is to be delivered to. (pattern: <code>.*</code>) |
street_1 | string | The first line in a street address that a Snow device is to be delivered to. (pattern: <code>.*</code>) |
street_2 | string | The second line in a street address that a Snow device is to be delivered to. (pattern: <code>.*</code>) |
street_3 | string | The third line in a street address that a Snow device is to be delivered to. (pattern: <code>.*</code>) |
type | string | Differentiates between delivery address and pickup address in the customer account. Provided at job creation. (CUST_PICKUP, AWS_SHIP) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_addresses | select | region | Returns a specified number of ADDRESS objects. Calling this API in one of the US regions will return addresses from the list of all addresses associated with this account in all US regions. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_addresses
Returns a specified number of ADDRESS objects. Calling this API in one of the US regions will return addresses from the list of all addresses associated with this account in all US regions.
SELECT
address_id,
city,
company,
country,
is_restricted,
landmark,
name,
phone_number,
postal_code,
prefecture_or_district,
state_or_province,
street_1,
street_2,
street_3,
type
FROM aws.snowball.addresses
WHERE region = '{{ region }}' -- required
;