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 |
This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing.
Synopsis
- data GetShippingLabel = GetShippingLabel' {}
- newGetShippingLabel :: GetShippingLabel
- getShippingLabel_street3 :: Lens' GetShippingLabel (Maybe Text)
- getShippingLabel_aPIVersion :: Lens' GetShippingLabel (Maybe Text)
- getShippingLabel_country :: Lens' GetShippingLabel (Maybe Text)
- getShippingLabel_stateOrProvince :: Lens' GetShippingLabel (Maybe Text)
- getShippingLabel_postalCode :: Lens' GetShippingLabel (Maybe Text)
- getShippingLabel_street2 :: Lens' GetShippingLabel (Maybe Text)
- getShippingLabel_name :: Lens' GetShippingLabel (Maybe Text)
- getShippingLabel_company :: Lens' GetShippingLabel (Maybe Text)
- getShippingLabel_phoneNumber :: Lens' GetShippingLabel (Maybe Text)
- getShippingLabel_city :: Lens' GetShippingLabel (Maybe Text)
- getShippingLabel_street1 :: Lens' GetShippingLabel (Maybe Text)
- getShippingLabel_jobIds :: Lens' GetShippingLabel [Text]
- data GetShippingLabelResponse = GetShippingLabelResponse' {
- shippingLabelURL :: Maybe Text
- warning :: Maybe Text
- httpStatus :: Int
- newGetShippingLabelResponse :: Int -> GetShippingLabelResponse
- getShippingLabelResponse_shippingLabelURL :: Lens' GetShippingLabelResponse (Maybe Text)
- getShippingLabelResponse_warning :: Lens' GetShippingLabelResponse (Maybe Text)
- getShippingLabelResponse_httpStatus :: Lens' GetShippingLabelResponse Int
Creating a Request
data GetShippingLabel Source #
See: newGetShippingLabel
smart constructor.
Instances
newGetShippingLabel :: GetShippingLabel Source #
Create a value of GetShippingLabel
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:street3:GetShippingLabel'
, getShippingLabel_street3
- Undocumented member.
$sel:aPIVersion:GetShippingLabel'
, getShippingLabel_aPIVersion
- Undocumented member.
$sel:country:GetShippingLabel'
, getShippingLabel_country
- Undocumented member.
$sel:stateOrProvince:GetShippingLabel'
, getShippingLabel_stateOrProvince
- Undocumented member.
$sel:postalCode:GetShippingLabel'
, getShippingLabel_postalCode
- Undocumented member.
$sel:street2:GetShippingLabel'
, getShippingLabel_street2
- Undocumented member.
$sel:name:GetShippingLabel'
, getShippingLabel_name
- Undocumented member.
$sel:company:GetShippingLabel'
, getShippingLabel_company
- Undocumented member.
$sel:phoneNumber:GetShippingLabel'
, getShippingLabel_phoneNumber
- Undocumented member.
$sel:city:GetShippingLabel'
, getShippingLabel_city
- Undocumented member.
$sel:street1:GetShippingLabel'
, getShippingLabel_street1
- Undocumented member.
$sel:jobIds:GetShippingLabel'
, getShippingLabel_jobIds
- Undocumented member.
Request Lenses
getShippingLabel_street3 :: Lens' GetShippingLabel (Maybe Text) Source #
Undocumented member.
getShippingLabel_aPIVersion :: Lens' GetShippingLabel (Maybe Text) Source #
Undocumented member.
getShippingLabel_country :: Lens' GetShippingLabel (Maybe Text) Source #
Undocumented member.
getShippingLabel_stateOrProvince :: Lens' GetShippingLabel (Maybe Text) Source #
Undocumented member.
getShippingLabel_postalCode :: Lens' GetShippingLabel (Maybe Text) Source #
Undocumented member.
getShippingLabel_street2 :: Lens' GetShippingLabel (Maybe Text) Source #
Undocumented member.
getShippingLabel_name :: Lens' GetShippingLabel (Maybe Text) Source #
Undocumented member.
getShippingLabel_company :: Lens' GetShippingLabel (Maybe Text) Source #
Undocumented member.
getShippingLabel_phoneNumber :: Lens' GetShippingLabel (Maybe Text) Source #
Undocumented member.
getShippingLabel_city :: Lens' GetShippingLabel (Maybe Text) Source #
Undocumented member.
getShippingLabel_street1 :: Lens' GetShippingLabel (Maybe Text) Source #
Undocumented member.
getShippingLabel_jobIds :: Lens' GetShippingLabel [Text] Source #
Undocumented member.
Destructuring the Response
data GetShippingLabelResponse Source #
See: newGetShippingLabelResponse
smart constructor.
GetShippingLabelResponse' | |
|
Instances
newGetShippingLabelResponse Source #
Create a value of GetShippingLabelResponse
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:shippingLabelURL:GetShippingLabelResponse'
, getShippingLabelResponse_shippingLabelURL
- Undocumented member.
$sel:warning:GetShippingLabelResponse'
, getShippingLabelResponse_warning
- Undocumented member.
$sel:httpStatus:GetShippingLabelResponse'
, getShippingLabelResponse_httpStatus
- The response's http status code.
Response Lenses
getShippingLabelResponse_shippingLabelURL :: Lens' GetShippingLabelResponse (Maybe Text) Source #
Undocumented member.
getShippingLabelResponse_warning :: Lens' GetShippingLabelResponse (Maybe Text) Source #
Undocumented member.
getShippingLabelResponse_httpStatus :: Lens' GetShippingLabelResponse Int Source #
The response's http status code.