You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Snowball::Types::Address
- Inherits:
-
Struct
- Object
- Struct
- Aws::Snowball::Types::Address
- Defined in:
- (unknown)
Overview
When passing Address as input to an Aws::Client method, you can use a vanilla Hash:
{
address_id: "AddressId",
name: "String",
company: "String",
street_1: "String",
street_2: "String",
street_3: "String",
city: "String",
state_or_province: "String",
prefecture_or_district: "String",
landmark: "String",
country: "String",
postal_code: "String",
phone_number: "String",
is_restricted: false,
}
The address that you want the Snow device(s) associated with a specific job to be shipped to. Addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. Although no individual elements of the Address
are required, if the address is invalid or unsupported, then an exception is thrown.
Returned by:
Instance Attribute Summary collapse
-
#address_id ⇒ String
The unique ID for an address.
-
#city ⇒ String
The city in an address that a Snow device is to be delivered to.
-
#company ⇒ String
The name of the company to receive a Snow device at an address.
-
#country ⇒ String
The country in an address that a Snow device is to be delivered to.
-
#is_restricted ⇒ Boolean
If the address you are creating is a primary address, then set this option to true.
-
#landmark ⇒ String
This field is no longer used and the value is ignored.
-
#name ⇒ String
The name of a person to receive a Snow device at an address.
-
#phone_number ⇒ String
The phone number associated with an address that a Snow device is to be delivered to.
-
#postal_code ⇒ String
The postal code in an address that a Snow device is to be delivered to.
-
#prefecture_or_district ⇒ String
This field is no longer used and the value is ignored.
-
#state_or_province ⇒ String
The state or province in an address that a Snow device is to be delivered to.
-
#street_1 ⇒ String
The first line in a street address that a Snow device is to be delivered to.
-
#street_2 ⇒ String
The second line in a street address that a Snow device is to be delivered to.
-
#street_3 ⇒ String
The third line in a street address that a Snow device is to be delivered to.
Instance Attribute Details
#address_id ⇒ String
The unique ID for an address.
#city ⇒ String
The city in an address that a Snow device is to be delivered to.
#company ⇒ String
The name of the company to receive a Snow device at an address.
#country ⇒ String
The country in an address that a Snow device is to be delivered to.
#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.
#name ⇒ String
The name of a person to receive a Snow device at an address.
#phone_number ⇒ String
The phone number associated with an address that a Snow device is to be delivered to.
#postal_code ⇒ String
The postal code in an address that a Snow device is to be delivered to.
#prefecture_or_district ⇒ String
This field is no longer used and the value is ignored.
#state_or_province ⇒ String
The state or province in an address that a Snow device is to be delivered to.
#street_1 ⇒ String
The first line in a street address that a Snow device is to be delivered to.
#street_2 ⇒ String
The second line in a street address that a Snow device is to be delivered to.
#street_3 ⇒ String
The third line in a street address that a Snow device is to be delivered to.