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 |
Retrieves a list that describes the UserStackAssociation objects. You must specify either or both of the following:
- The stack name
- The user name (email address of the user associated with the stack) and the authentication type for the user
This operation returns paginated results.
Synopsis
- data DescribeUserStackAssociations = DescribeUserStackAssociations' {}
- newDescribeUserStackAssociations :: DescribeUserStackAssociations
- describeUserStackAssociations_userName :: Lens' DescribeUserStackAssociations (Maybe Text)
- describeUserStackAssociations_nextToken :: Lens' DescribeUserStackAssociations (Maybe Text)
- describeUserStackAssociations_authenticationType :: Lens' DescribeUserStackAssociations (Maybe AuthenticationType)
- describeUserStackAssociations_maxResults :: Lens' DescribeUserStackAssociations (Maybe Natural)
- describeUserStackAssociations_stackName :: Lens' DescribeUserStackAssociations (Maybe Text)
- data DescribeUserStackAssociationsResponse = DescribeUserStackAssociationsResponse' {}
- newDescribeUserStackAssociationsResponse :: Int -> DescribeUserStackAssociationsResponse
- describeUserStackAssociationsResponse_userStackAssociations :: Lens' DescribeUserStackAssociationsResponse (Maybe (NonEmpty UserStackAssociation))
- describeUserStackAssociationsResponse_nextToken :: Lens' DescribeUserStackAssociationsResponse (Maybe Text)
- describeUserStackAssociationsResponse_httpStatus :: Lens' DescribeUserStackAssociationsResponse Int
Creating a Request
data DescribeUserStackAssociations Source #
See: newDescribeUserStackAssociations
smart constructor.
DescribeUserStackAssociations' | |
|
Instances
newDescribeUserStackAssociations :: DescribeUserStackAssociations Source #
Create a value of DescribeUserStackAssociations
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:userName:DescribeUserStackAssociations'
, describeUserStackAssociations_userName
- The email address of the user who is associated with the stack.
Users' email addresses are case-sensitive.
$sel:nextToken:DescribeUserStackAssociations'
, describeUserStackAssociations_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If this value is null, it retrieves the first page.
$sel:authenticationType:DescribeUserStackAssociations'
, describeUserStackAssociations_authenticationType
- The authentication type for the user who is associated with the stack.
You must specify USERPOOL.
$sel:maxResults:DescribeUserStackAssociations'
, describeUserStackAssociations_maxResults
- The maximum size of each page of results.
$sel:stackName:DescribeUserStackAssociations'
, describeUserStackAssociations_stackName
- The name of the stack that is associated with the user.
Request Lenses
describeUserStackAssociations_userName :: Lens' DescribeUserStackAssociations (Maybe Text) Source #
The email address of the user who is associated with the stack.
Users' email addresses are case-sensitive.
describeUserStackAssociations_nextToken :: Lens' DescribeUserStackAssociations (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
describeUserStackAssociations_authenticationType :: Lens' DescribeUserStackAssociations (Maybe AuthenticationType) Source #
The authentication type for the user who is associated with the stack. You must specify USERPOOL.
describeUserStackAssociations_maxResults :: Lens' DescribeUserStackAssociations (Maybe Natural) Source #
The maximum size of each page of results.
describeUserStackAssociations_stackName :: Lens' DescribeUserStackAssociations (Maybe Text) Source #
The name of the stack that is associated with the user.
Destructuring the Response
data DescribeUserStackAssociationsResponse Source #
See: newDescribeUserStackAssociationsResponse
smart constructor.
DescribeUserStackAssociationsResponse' | |
|
Instances
newDescribeUserStackAssociationsResponse Source #
Create a value of DescribeUserStackAssociationsResponse
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:DescribeUserStackAssociationsResponse'
, describeUserStackAssociationsResponse_userStackAssociations
- The UserStackAssociation objects.
$sel:nextToken:DescribeUserStackAssociations'
, describeUserStackAssociationsResponse_nextToken
- The pagination token to use to retrieve the next page of results for
this operation. If there are no more pages, this value is null.
$sel:httpStatus:DescribeUserStackAssociationsResponse'
, describeUserStackAssociationsResponse_httpStatus
- The response's http status code.
Response Lenses
describeUserStackAssociationsResponse_userStackAssociations :: Lens' DescribeUserStackAssociationsResponse (Maybe (NonEmpty UserStackAssociation)) Source #
The UserStackAssociation objects.
describeUserStackAssociationsResponse_nextToken :: Lens' DescribeUserStackAssociationsResponse (Maybe Text) Source #
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
describeUserStackAssociationsResponse_httpStatus :: Lens' DescribeUserStackAssociationsResponse Int Source #
The response's http status code.