| 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 |
Amazonka.IoTWireless.UpdatePartnerAccount
Description
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.
Constructors
| UpdatePartnerAccount' | |
Fields
| |
Instances
newUpdatePartnerAccount Source #
Arguments
| :: SidewalkUpdateAccount | |
| -> Text | |
| -> PartnerType | |
| -> UpdatePartnerAccount |
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:
UpdatePartnerAccount, updatePartnerAccount_sidewalk - The Sidewalk account credentials.
$sel:partnerAccountId:UpdatePartnerAccount', updatePartnerAccount_partnerAccountId - The ID of the partner account to update.
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.
Constructors
| UpdatePartnerAccountResponse' | |
Fields
| |
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.