Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Information on the shipping label of a Snow device that is being returned to AWS.
Synopsis
- data DescribeReturnShippingLabel = DescribeReturnShippingLabel' {}
- newDescribeReturnShippingLabel :: Text -> DescribeReturnShippingLabel
- describeReturnShippingLabel_jobId :: Lens' DescribeReturnShippingLabel Text
- data DescribeReturnShippingLabelResponse = DescribeReturnShippingLabelResponse' {}
- newDescribeReturnShippingLabelResponse :: Int -> DescribeReturnShippingLabelResponse
- describeReturnShippingLabelResponse_status :: Lens' DescribeReturnShippingLabelResponse (Maybe ShippingLabelStatus)
- describeReturnShippingLabelResponse_expirationDate :: Lens' DescribeReturnShippingLabelResponse (Maybe UTCTime)
- 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:
$sel:jobId: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:status:DescribeReturnShippingLabelResponse'
, describeReturnShippingLabelResponse_status
- The status information of the task on a Snow device that is being
returned to AWS.
$sel:expirationDate:DescribeReturnShippingLabelResponse'
, describeReturnShippingLabelResponse_expirationDate
- The expiration date of the current return shipping label.
$sel:httpStatus:DescribeReturnShippingLabelResponse'
, describeReturnShippingLabelResponse_httpStatus
- The response's http status code.
Response Lenses
describeReturnShippingLabelResponse_status :: Lens' DescribeReturnShippingLabelResponse (Maybe ShippingLabelStatus) Source #
The status information of the task on a Snow device that is being returned to AWS.
describeReturnShippingLabelResponse_expirationDate :: Lens' DescribeReturnShippingLabelResponse (Maybe UTCTime) Source #
The expiration date of the current return shipping label.
describeReturnShippingLabelResponse_httpStatus :: Lens' DescribeReturnShippingLabelResponse Int Source #
The response's http status code.