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 |
Gets information about environment members for an Cloud9 development environment.
This operation returns paginated results.
Synopsis
- data DescribeEnvironmentMemberships = DescribeEnvironmentMemberships' {
- userArn :: Maybe Text
- nextToken :: Maybe Text
- permissions :: Maybe [Permissions]
- environmentId :: Maybe Text
- maxResults :: Maybe Natural
- newDescribeEnvironmentMemberships :: DescribeEnvironmentMemberships
- describeEnvironmentMemberships_userArn :: Lens' DescribeEnvironmentMemberships (Maybe Text)
- describeEnvironmentMemberships_nextToken :: Lens' DescribeEnvironmentMemberships (Maybe Text)
- describeEnvironmentMemberships_permissions :: Lens' DescribeEnvironmentMemberships (Maybe [Permissions])
- describeEnvironmentMemberships_environmentId :: Lens' DescribeEnvironmentMemberships (Maybe Text)
- describeEnvironmentMemberships_maxResults :: Lens' DescribeEnvironmentMemberships (Maybe Natural)
- data DescribeEnvironmentMembershipsResponse = DescribeEnvironmentMembershipsResponse' {
- nextToken :: Maybe Text
- memberships :: Maybe [EnvironmentMember]
- httpStatus :: Int
- newDescribeEnvironmentMembershipsResponse :: Int -> DescribeEnvironmentMembershipsResponse
- describeEnvironmentMembershipsResponse_nextToken :: Lens' DescribeEnvironmentMembershipsResponse (Maybe Text)
- describeEnvironmentMembershipsResponse_memberships :: Lens' DescribeEnvironmentMembershipsResponse (Maybe [EnvironmentMember])
- describeEnvironmentMembershipsResponse_httpStatus :: Lens' DescribeEnvironmentMembershipsResponse Int
Creating a Request
data DescribeEnvironmentMemberships Source #
See: newDescribeEnvironmentMemberships
smart constructor.
DescribeEnvironmentMemberships' | |
|
Instances
newDescribeEnvironmentMemberships :: DescribeEnvironmentMemberships Source #
Create a value of DescribeEnvironmentMemberships
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:userArn:DescribeEnvironmentMemberships'
, describeEnvironmentMemberships_userArn
- 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.
$sel:nextToken:DescribeEnvironmentMemberships'
, describeEnvironmentMemberships_nextToken
- 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.
$sel:permissions:DescribeEnvironmentMemberships'
, describeEnvironmentMemberships_permissions
- 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.
$sel:environmentId:DescribeEnvironmentMemberships'
, describeEnvironmentMemberships_environmentId
- The ID of the environment to get environment member information about.
$sel:maxResults:DescribeEnvironmentMemberships'
, describeEnvironmentMemberships_maxResults
- The maximum number of environment members to get information about.
Request Lenses
describeEnvironmentMemberships_userArn :: 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.
describeEnvironmentMemberships_nextToken :: 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.
describeEnvironmentMemberships_permissions :: Lens' DescribeEnvironmentMemberships (Maybe [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.
describeEnvironmentMemberships_environmentId :: Lens' DescribeEnvironmentMemberships (Maybe Text) Source #
The ID of the environment to get environment member information about.
describeEnvironmentMemberships_maxResults :: Lens' DescribeEnvironmentMemberships (Maybe Natural) Source #
The maximum number of environment members to get information about.
Destructuring the Response
data DescribeEnvironmentMembershipsResponse Source #
See: newDescribeEnvironmentMembershipsResponse
smart constructor.
DescribeEnvironmentMembershipsResponse' | |
|
Instances
newDescribeEnvironmentMembershipsResponse Source #
Create a value of DescribeEnvironmentMembershipsResponse
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:nextToken:DescribeEnvironmentMemberships'
, describeEnvironmentMembershipsResponse_nextToken
- 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.
$sel:memberships:DescribeEnvironmentMembershipsResponse'
, describeEnvironmentMembershipsResponse_memberships
- Information about the environment members for the environment.
$sel:httpStatus:DescribeEnvironmentMembershipsResponse'
, describeEnvironmentMembershipsResponse_httpStatus
- The response's http status code.
Response Lenses
describeEnvironmentMembershipsResponse_nextToken :: 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.
describeEnvironmentMembershipsResponse_memberships :: Lens' DescribeEnvironmentMembershipsResponse (Maybe [EnvironmentMember]) Source #
Information about the environment members for the environment.
describeEnvironmentMembershipsResponse_httpStatus :: Lens' DescribeEnvironmentMembershipsResponse Int Source #
The response's http status code.