Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Gets information about environment members for an AWS Cloud9 development environment.
This operation returns paginated results.
Synopsis
- describeEnvironmentMemberships :: DescribeEnvironmentMemberships
- data DescribeEnvironmentMemberships
- dUserARN :: Lens' DescribeEnvironmentMemberships (Maybe Text)
- dNextToken :: Lens' DescribeEnvironmentMemberships (Maybe Text)
- dPermissions :: Lens' DescribeEnvironmentMemberships [Permissions]
- dEnvironmentId :: Lens' DescribeEnvironmentMemberships (Maybe Text)
- dMaxResults :: Lens' DescribeEnvironmentMemberships (Maybe Natural)
- describeEnvironmentMembershipsResponse :: Int -> DescribeEnvironmentMembershipsResponse
- data DescribeEnvironmentMembershipsResponse
- drsNextToken :: Lens' DescribeEnvironmentMembershipsResponse (Maybe Text)
- drsMemberships :: Lens' DescribeEnvironmentMembershipsResponse [EnvironmentMember]
- drsResponseStatus :: Lens' DescribeEnvironmentMembershipsResponse Int
Creating a Request
describeEnvironmentMemberships :: DescribeEnvironmentMemberships Source #
Creates a value of DescribeEnvironmentMemberships
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dUserARN
- The Amazon Resource Name (ARN) of an individual environment member to get information about. If no value is specified, information about all environment members are returned.dNextToken
- During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token . To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.dPermissions
- The type of environment member permissions to get information about. Available values include: *owner
: Owns the environment. *read-only
: Has read-only access to the environment. *read-write
: Has read-write access to the environment. If no value is specified, information about all environment members are returned.dEnvironmentId
- The ID of the environment to get environment member information about.dMaxResults
- The maximum number of environment members to get information about.
data DescribeEnvironmentMemberships Source #
See: describeEnvironmentMemberships
smart constructor.
Instances
Request Lenses
dUserARN :: Lens' DescribeEnvironmentMemberships (Maybe Text) Source #
The Amazon Resource Name (ARN) of an individual environment member to get information about. If no value is specified, information about all environment members are returned.
dNextToken :: Lens' DescribeEnvironmentMemberships (Maybe Text) Source #
During a previous call, if there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token . To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
dPermissions :: Lens' DescribeEnvironmentMemberships [Permissions] Source #
The type of environment member permissions to get information about. Available values include: * owner
: Owns the environment. * read-only
: Has read-only access to the environment. * read-write
: Has read-write access to the environment. If no value is specified, information about all environment members are returned.
dEnvironmentId :: Lens' DescribeEnvironmentMemberships (Maybe Text) Source #
The ID of the environment to get environment member information about.
dMaxResults :: Lens' DescribeEnvironmentMemberships (Maybe Natural) Source #
The maximum number of environment members to get information about.
Destructuring the Response
describeEnvironmentMembershipsResponse Source #
Creates a value of DescribeEnvironmentMembershipsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsNextToken
- If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token . To get the next batch of items in the list, call this operation again, adding the next token to the call.drsMemberships
- Information about the environment members for the environment.drsResponseStatus
- -- | The response status code.
data DescribeEnvironmentMembershipsResponse Source #
See: describeEnvironmentMembershipsResponse
smart constructor.
Instances
Response Lenses
drsNextToken :: Lens' DescribeEnvironmentMembershipsResponse (Maybe Text) Source #
If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token . To get the next batch of items in the list, call this operation again, adding the next token to the call.
drsMemberships :: Lens' DescribeEnvironmentMembershipsResponse [EnvironmentMember] Source #
Information about the environment members for the environment.
drsResponseStatus :: Lens' DescribeEnvironmentMembershipsResponse Int Source #
- - | The response status code.