Smaws_Client_Snowball.CreateAddressCreates an address for a Snow device to be shipped to. In most regions, addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown. If providing an address as a JSON file through the cli-input-json option, include the full file path. For example, --cli-input-json file://create-address.json.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidAddressException of Types.invalid_address_exception
| `UnsupportedAddressException of Types.unsupported_address_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_address_request ->
(Types.create_address_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidAddressException of Types.invalid_address_exception
| `UnsupportedAddressException of Types.unsupported_address_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_address_request ->
(Types.create_address_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidAddressException of Types.invalid_address_exception
| `UnsupportedAddressException of Types.unsupported_address_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result