ImportExport.Client.
get_shipping_label
(**kwargs)¶This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing.
See also: AWS API Documentation
Request Syntax
response = client.get_shipping_label(
jobIds=[
'string',
],
name='string',
company='string',
phoneNumber='string',
country='string',
stateOrProvince='string',
city='string',
postalCode='string',
street1='string',
street2='string',
street3='string',
APIVersion='string'
)
[REQUIRED]
dict
Response Syntax
{
'ShippingLabelURL': 'string',
'Warning': 'string'
}
Response Structure
Exceptions
ImportExport.Client.exceptions.InvalidJobIdException
ImportExport.Client.exceptions.ExpiredJobIdException
ImportExport.Client.exceptions.CanceledJobIdException
ImportExport.Client.exceptions.InvalidAccessKeyIdException
ImportExport.Client.exceptions.InvalidAddressException
ImportExport.Client.exceptions.InvalidVersionException
ImportExport.Client.exceptions.InvalidParameterException