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 |
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.
BatchAssociateUserStack' | |
|
Instances
newBatchAssociateUserStack Source #
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.
BatchAssociateUserStackResponse' | |
|
Instances
Generic BatchAssociateUserStackResponse Source # | |
Show BatchAssociateUserStackResponse Source # | |
Defined in Amazonka.AppStream.BatchAssociateUserStack | |
NFData BatchAssociateUserStackResponse Source # | |
Defined in Amazonka.AppStream.BatchAssociateUserStack rnf :: BatchAssociateUserStackResponse -> () # | |
Eq BatchAssociateUserStackResponse Source # | |
type Rep BatchAssociateUserStackResponse Source # | |
Defined in Amazonka.AppStream.BatchAssociateUserStack type Rep BatchAssociateUserStackResponse = D1 ('MetaData "BatchAssociateUserStackResponse" "Amazonka.AppStream.BatchAssociateUserStack" "amazonka-appstream-2.0-2EgS7yjN1zMCngYkSFPgOd" 'False) (C1 ('MetaCons "BatchAssociateUserStackResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserStackAssociationError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.