| 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.AppStream.BatchAssociateUserStack
Description
Associates the specified users with the specified stacks. Users in a user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.
Synopsis
- data BatchAssociateUserStack = BatchAssociateUserStack' {}
- newBatchAssociateUserStack :: NonEmpty UserStackAssociation -> BatchAssociateUserStack
- batchAssociateUserStack_userStackAssociations :: Lens' BatchAssociateUserStack (NonEmpty UserStackAssociation)
- data BatchAssociateUserStackResponse = BatchAssociateUserStackResponse' {}
- newBatchAssociateUserStackResponse :: Int -> BatchAssociateUserStackResponse
- batchAssociateUserStackResponse_errors :: Lens' BatchAssociateUserStackResponse (Maybe [UserStackAssociationError])
- batchAssociateUserStackResponse_httpStatus :: Lens' BatchAssociateUserStackResponse Int
Creating a Request
data BatchAssociateUserStack Source #
See: newBatchAssociateUserStack smart constructor.
Constructors
| BatchAssociateUserStack' | |
Fields
| |
Instances
newBatchAssociateUserStack Source #
Arguments
| :: NonEmpty UserStackAssociation | |
| -> BatchAssociateUserStack |
Create a value of BatchAssociateUserStack 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:userStackAssociations:BatchAssociateUserStack', batchAssociateUserStack_userStackAssociations - The list of UserStackAssociation objects.
Request Lenses
batchAssociateUserStack_userStackAssociations :: Lens' BatchAssociateUserStack (NonEmpty UserStackAssociation) Source #
The list of UserStackAssociation objects.
Destructuring the Response
data BatchAssociateUserStackResponse Source #
See: newBatchAssociateUserStackResponse smart constructor.
Constructors
| BatchAssociateUserStackResponse' | |
Fields
| |
Instances
newBatchAssociateUserStackResponse Source #
Create a value of BatchAssociateUserStackResponse 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:errors:BatchAssociateUserStackResponse', batchAssociateUserStackResponse_errors - The list of UserStackAssociationError objects.
$sel:httpStatus:BatchAssociateUserStackResponse', batchAssociateUserStackResponse_httpStatus - The response's http status code.
Response Lenses
batchAssociateUserStackResponse_errors :: Lens' BatchAssociateUserStackResponse (Maybe [UserStackAssociationError]) Source #
The list of UserStackAssociationError objects.
batchAssociateUserStackResponse_httpStatus :: Lens' BatchAssociateUserStackResponse Int Source #
The response's http status code.