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 |
Adds device(s) to your account (i.e., claim one or more devices) if and only if you received a claim code with the device(s).
Synopsis
- data ClaimDevicesByClaimCode = ClaimDevicesByClaimCode' {}
- newClaimDevicesByClaimCode :: Text -> ClaimDevicesByClaimCode
- claimDevicesByClaimCode_claimCode :: Lens' ClaimDevicesByClaimCode Text
- data ClaimDevicesByClaimCodeResponse = ClaimDevicesByClaimCodeResponse' {}
- newClaimDevicesByClaimCodeResponse :: Int -> ClaimDevicesByClaimCodeResponse
- claimDevicesByClaimCodeResponse_claimCode :: Lens' ClaimDevicesByClaimCodeResponse (Maybe Text)
- claimDevicesByClaimCodeResponse_total :: Lens' ClaimDevicesByClaimCodeResponse (Maybe Int)
- claimDevicesByClaimCodeResponse_httpStatus :: Lens' ClaimDevicesByClaimCodeResponse Int
Creating a Request
data ClaimDevicesByClaimCode Source #
See: newClaimDevicesByClaimCode
smart constructor.
Instances
newClaimDevicesByClaimCode Source #
Create a value of ClaimDevicesByClaimCode
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:claimCode:ClaimDevicesByClaimCode'
, claimDevicesByClaimCode_claimCode
- The claim code, starting with "C-", as provided by the device
manufacturer.
Request Lenses
claimDevicesByClaimCode_claimCode :: Lens' ClaimDevicesByClaimCode Text Source #
The claim code, starting with "C-", as provided by the device manufacturer.
Destructuring the Response
data ClaimDevicesByClaimCodeResponse Source #
See: newClaimDevicesByClaimCodeResponse
smart constructor.
Instances
newClaimDevicesByClaimCodeResponse Source #
Create a value of ClaimDevicesByClaimCodeResponse
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:claimCode:ClaimDevicesByClaimCode'
, claimDevicesByClaimCodeResponse_claimCode
- The claim code provided by the device manufacturer.
$sel:total:ClaimDevicesByClaimCodeResponse'
, claimDevicesByClaimCodeResponse_total
- The total number of devices associated with the claim code that has been
processed in the claim request.
$sel:httpStatus:ClaimDevicesByClaimCodeResponse'
, claimDevicesByClaimCodeResponse_httpStatus
- The response's http status code.
Response Lenses
claimDevicesByClaimCodeResponse_claimCode :: Lens' ClaimDevicesByClaimCodeResponse (Maybe Text) Source #
The claim code provided by the device manufacturer.
claimDevicesByClaimCodeResponse_total :: Lens' ClaimDevicesByClaimCodeResponse (Maybe Int) Source #
The total number of devices associated with the claim code that has been processed in the claim request.
claimDevicesByClaimCodeResponse_httpStatus :: Lens' ClaimDevicesByClaimCodeResponse Int Source #
The response's http status code.