Skip to main content

return_shipping_labels

Creates, updates, deletes, gets or lists a return_shipping_labels resource.

Overview

Namereturn_shipping_labels
TypeResource
Idaws.snowball.return_shipping_labels

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
expiration_datestring (date-time)The expiration date of the current return shipping label.
return_shipping_label_uristringThe pre-signed Amazon S3 URI used to download the return shipping label. (pattern: <code>.*</code>)
statusstringThe status information of the task on a Snow device that is being returned to Amazon Web Services. (InProgress, TimedOut, Succeeded, Failed)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_return_shipping_labelselectregionInformation on the shipping label of a Snow device that is being returned to Amazon Web Services.
create_return_shipping_labelinsertregion, JobIdCreates a shipping label that will be used to return the Snow device to Amazon Web Services.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Information on the shipping label of a Snow device that is being returned to Amazon Web Services.

SELECT
expiration_date,
return_shipping_label_uri,
status
FROM aws.snowball.return_shipping_labels
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a shipping label that will be used to return the Snow device to Amazon Web Services.

INSERT INTO aws.snowball.return_shipping_labels (
JobId,
ShippingOption,
region
)
SELECT
'{{ JobId }}' /* required */,
'{{ ShippingOption }}',
'{{ region }}'
RETURNING
status
;