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 |
Associates a partner account with your AWS account.
Synopsis
- data AssociateAwsAccountWithPartnerAccount = AssociateAwsAccountWithPartnerAccount' {}
- newAssociateAwsAccountWithPartnerAccount :: SidewalkAccountInfo -> AssociateAwsAccountWithPartnerAccount
- associateAwsAccountWithPartnerAccount_clientRequestToken :: Lens' AssociateAwsAccountWithPartnerAccount (Maybe Text)
- associateAwsAccountWithPartnerAccount_tags :: Lens' AssociateAwsAccountWithPartnerAccount (Maybe [Tag])
- associateAwsAccountWithPartnerAccount_sidewalk :: Lens' AssociateAwsAccountWithPartnerAccount SidewalkAccountInfo
- data AssociateAwsAccountWithPartnerAccountResponse = AssociateAwsAccountWithPartnerAccountResponse' {}
- newAssociateAwsAccountWithPartnerAccountResponse :: Int -> AssociateAwsAccountWithPartnerAccountResponse
- associateAwsAccountWithPartnerAccountResponse_sidewalk :: Lens' AssociateAwsAccountWithPartnerAccountResponse (Maybe SidewalkAccountInfo)
- associateAwsAccountWithPartnerAccountResponse_arn :: Lens' AssociateAwsAccountWithPartnerAccountResponse (Maybe Text)
- associateAwsAccountWithPartnerAccountResponse_httpStatus :: Lens' AssociateAwsAccountWithPartnerAccountResponse Int
Creating a Request
data AssociateAwsAccountWithPartnerAccount Source #
See: newAssociateAwsAccountWithPartnerAccount
smart constructor.
AssociateAwsAccountWithPartnerAccount' | |
|
Instances
newAssociateAwsAccountWithPartnerAccount Source #
Create a value of AssociateAwsAccountWithPartnerAccount
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:clientRequestToken:AssociateAwsAccountWithPartnerAccount'
, associateAwsAccountWithPartnerAccount_clientRequestToken
- Each resource must have a unique client request token. If you try to
create a new resource with the same token as a resource that already
exists, an exception occurs. If you omit this value, AWS SDKs will
automatically generate a unique client request.
$sel:tags:AssociateAwsAccountWithPartnerAccount'
, associateAwsAccountWithPartnerAccount_tags
- The tags to attach to the specified resource. Tags are metadata that you
can use to manage a resource.
$sel:sidewalk:AssociateAwsAccountWithPartnerAccount'
, associateAwsAccountWithPartnerAccount_sidewalk
- The Sidewalk account credentials.
Request Lenses
associateAwsAccountWithPartnerAccount_clientRequestToken :: Lens' AssociateAwsAccountWithPartnerAccount (Maybe Text) Source #
Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
associateAwsAccountWithPartnerAccount_tags :: Lens' AssociateAwsAccountWithPartnerAccount (Maybe [Tag]) Source #
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
associateAwsAccountWithPartnerAccount_sidewalk :: Lens' AssociateAwsAccountWithPartnerAccount SidewalkAccountInfo Source #
The Sidewalk account credentials.
Destructuring the Response
data AssociateAwsAccountWithPartnerAccountResponse Source #
See: newAssociateAwsAccountWithPartnerAccountResponse
smart constructor.
AssociateAwsAccountWithPartnerAccountResponse' | |
|
Instances
newAssociateAwsAccountWithPartnerAccountResponse Source #
:: Int |
|
-> AssociateAwsAccountWithPartnerAccountResponse |
Create a value of AssociateAwsAccountWithPartnerAccountResponse
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:AssociateAwsAccountWithPartnerAccount'
, associateAwsAccountWithPartnerAccountResponse_sidewalk
- The Sidewalk account credentials.
$sel:arn:AssociateAwsAccountWithPartnerAccountResponse'
, associateAwsAccountWithPartnerAccountResponse_arn
- The Amazon Resource Name of the resource.
$sel:httpStatus:AssociateAwsAccountWithPartnerAccountResponse'
, associateAwsAccountWithPartnerAccountResponse_httpStatus
- The response's http status code.
Response Lenses
associateAwsAccountWithPartnerAccountResponse_sidewalk :: Lens' AssociateAwsAccountWithPartnerAccountResponse (Maybe SidewalkAccountInfo) Source #
The Sidewalk account credentials.
associateAwsAccountWithPartnerAccountResponse_arn :: Lens' AssociateAwsAccountWithPartnerAccountResponse (Maybe Text) Source #
The Amazon Resource Name of the resource.
associateAwsAccountWithPartnerAccountResponse_httpStatus :: Lens' AssociateAwsAccountWithPartnerAccountResponse Int Source #
The response's http status code.