Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Information on the shipping label of a Snow device that is being returned to Amazon Web Services.
Synopsis
- data DescribeReturnShippingLabel = DescribeReturnShippingLabel' {}
- newDescribeReturnShippingLabel :: Text -> DescribeReturnShippingLabel
- describeReturnShippingLabel_jobId :: Lens' DescribeReturnShippingLabel Text
- data DescribeReturnShippingLabelResponse = DescribeReturnShippingLabelResponse' {}
- newDescribeReturnShippingLabelResponse :: Int -> DescribeReturnShippingLabelResponse
- describeReturnShippingLabelResponse_expirationDate :: Lens' DescribeReturnShippingLabelResponse (Maybe UTCTime)
- describeReturnShippingLabelResponse_returnShippingLabelURI :: Lens' DescribeReturnShippingLabelResponse (Maybe Text)
- describeReturnShippingLabelResponse_status :: Lens' DescribeReturnShippingLabelResponse (Maybe ShippingLabelStatus)
- describeReturnShippingLabelResponse_httpStatus :: Lens' DescribeReturnShippingLabelResponse Int
Creating a Request
data DescribeReturnShippingLabel Source #
See: newDescribeReturnShippingLabel
smart constructor.
Instances
newDescribeReturnShippingLabel Source #
Create a value of DescribeReturnShippingLabel
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeReturnShippingLabel
, describeReturnShippingLabel_jobId
- The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000
.
Request Lenses
describeReturnShippingLabel_jobId :: Lens' DescribeReturnShippingLabel Text Source #
The automatically generated ID for a job, for example
JID123e4567-e89b-12d3-a456-426655440000
.
Destructuring the Response
data DescribeReturnShippingLabelResponse Source #
See: newDescribeReturnShippingLabelResponse
smart constructor.
DescribeReturnShippingLabelResponse' | |
|
Instances
newDescribeReturnShippingLabelResponse Source #
Create a value of DescribeReturnShippingLabelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:expirationDate:DescribeReturnShippingLabelResponse'
, describeReturnShippingLabelResponse_expirationDate
- The expiration date of the current return shipping label.
$sel:returnShippingLabelURI:DescribeReturnShippingLabelResponse'
, describeReturnShippingLabelResponse_returnShippingLabelURI
- The pre-signed Amazon S3 URI used to download the return shipping label.
DescribeReturnShippingLabelResponse
, describeReturnShippingLabelResponse_status
- The status information of the task on a Snow device that is being
returned to Amazon Web Services.
$sel:httpStatus:DescribeReturnShippingLabelResponse'
, describeReturnShippingLabelResponse_httpStatus
- The response's http status code.
Response Lenses
describeReturnShippingLabelResponse_expirationDate :: Lens' DescribeReturnShippingLabelResponse (Maybe UTCTime) Source #
The expiration date of the current return shipping label.
describeReturnShippingLabelResponse_returnShippingLabelURI :: Lens' DescribeReturnShippingLabelResponse (Maybe Text) Source #
The pre-signed Amazon S3 URI used to download the return shipping label.
describeReturnShippingLabelResponse_status :: Lens' DescribeReturnShippingLabelResponse (Maybe ShippingLabelStatus) Source #
The status information of the task on a Snow device that is being returned to Amazon Web Services.
describeReturnShippingLabelResponse_httpStatus :: Lens' DescribeReturnShippingLabelResponse Int Source #
The response's http status code.