NAME
Paws::Snowball::CreateAddress - Arguments for method CreateAddress on Paws::Snowball
DESCRIPTION
This class represents the parameters used for calling the method CreateAddress on the Amazon Import/Export Snowball service. Use the attributes of this class as arguments to method CreateAddress.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAddress.
SYNOPSIS
my $snowball = Paws->service('Snowball');
# To create an address for a job
# This operation creates an address for a job. 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.
my $CreateAddressResult = $snowball->CreateAddress(
'Address' =>
{
'City' => 'Seattle',
'Company' => 'My Company's Name',
'Country' => 'USA',
'Name' => 'My Name',
'PhoneNumber' => '425-555-5555',
'PostalCode' => 98101,
'StateOrProvince' => 'WA',
'Street1' => '123 Main Street'
}
);
# Results: my $AddressId = $CreateAddressResult->AddressId;
# Returns a Paws::Snowball::CreateAddressResult object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/snowball/CreateAddress
ATTRIBUTES
REQUIRED Address => Paws::Snowball::Address
The address that you want the Snow device shipped to.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateAddress in Paws::Snowball
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues