View a markdown version of this page

Address - AWS Partner Central

Address

The postal address of a legal entity.

Contents

Note

In the following list, the required parameters are described first.

addressLine

The first line of the street address.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 200.

Pattern: \p{Z}*[^\p{C}\p{Z}][^\p{C}]*

Required: Yes

city

The city or locality.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 50.

Pattern: \p{Z}*[^\p{C}\p{Z}][^\p{C}]*

Required: Yes

countryCode

The two-letter ISO 3166-1 country code.

Type: String

Length Constraints: Fixed length of 2.

Pattern: [A-Z]{2}

Required: Yes

postalCode

The postal code.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 10.

Pattern: \p{Z}*[^\p{C}\p{Z}][^\p{C}]*

Required: Yes

stateOrRegion

The state, province, or prefecture.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 50.

Pattern: \p{Z}*[^\p{C}\p{Z}][^\p{C}]*

Required: Yes

addressLine2

The second line of the street address.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 200.

Pattern: \p{Z}*[^\p{C}\p{Z}][^\p{C}]*

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: