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 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
Eq BatchAssociateUserStackResponse Source # | |
Show BatchAssociateUserStackResponse Source # | |
Defined in Amazonka.AppStream.BatchAssociateUserStack | |
Generic BatchAssociateUserStackResponse Source # | |
NFData BatchAssociateUserStackResponse Source # | |
Defined in Amazonka.AppStream.BatchAssociateUserStack rnf :: BatchAssociateUserStackResponse -> () # | |
type Rep BatchAssociateUserStackResponse Source # | |
Defined in Amazonka.AppStream.BatchAssociateUserStack type Rep BatchAssociateUserStackResponse = D1 ('MetaData "BatchAssociateUserStackResponse" "Amazonka.AppStream.BatchAssociateUserStack" "libZSservicesZSamazonka-appstreamZSamazonka-appstream" '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.