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 |
Updates properties of a partner account.
Synopsis
- data UpdatePartnerAccount = UpdatePartnerAccount' {}
- newUpdatePartnerAccount :: SidewalkUpdateAccount -> Text -> PartnerType -> UpdatePartnerAccount
- updatePartnerAccount_sidewalk :: Lens' UpdatePartnerAccount SidewalkUpdateAccount
- updatePartnerAccount_partnerAccountId :: Lens' UpdatePartnerAccount Text
- updatePartnerAccount_partnerType :: Lens' UpdatePartnerAccount PartnerType
- data UpdatePartnerAccountResponse = UpdatePartnerAccountResponse' {
- httpStatus :: Int
- newUpdatePartnerAccountResponse :: Int -> UpdatePartnerAccountResponse
- updatePartnerAccountResponse_httpStatus :: Lens' UpdatePartnerAccountResponse Int
Creating a Request
data UpdatePartnerAccount Source #
See: newUpdatePartnerAccount
smart constructor.
UpdatePartnerAccount' | |
|
Instances
newUpdatePartnerAccount Source #
Create a value of UpdatePartnerAccount
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:sidewalk:UpdatePartnerAccount'
, updatePartnerAccount_sidewalk
- The Sidewalk account credentials.
$sel:partnerAccountId:UpdatePartnerAccount'
, updatePartnerAccount_partnerAccountId
- The ID of the partner account to update.
$sel:partnerType:UpdatePartnerAccount'
, updatePartnerAccount_partnerType
- The partner type.
Request Lenses
updatePartnerAccount_sidewalk :: Lens' UpdatePartnerAccount SidewalkUpdateAccount Source #
The Sidewalk account credentials.
updatePartnerAccount_partnerAccountId :: Lens' UpdatePartnerAccount Text Source #
The ID of the partner account to update.
updatePartnerAccount_partnerType :: Lens' UpdatePartnerAccount PartnerType Source #
The partner type.
Destructuring the Response
data UpdatePartnerAccountResponse Source #
See: newUpdatePartnerAccountResponse
smart constructor.
UpdatePartnerAccountResponse' | |
|
Instances
newUpdatePartnerAccountResponse Source #
Create a value of UpdatePartnerAccountResponse
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:httpStatus:UpdatePartnerAccountResponse'
, updatePartnerAccountResponse_httpStatus
- The response's http status code.
Response Lenses
updatePartnerAccountResponse_httpStatus :: Lens' UpdatePartnerAccountResponse Int Source #
The response's http status code.