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 |
Lists the RAM permissions that are associated with a resource share.
Synopsis
- data ListResourceSharePermissions = ListResourceSharePermissions' {}
- newListResourceSharePermissions :: Text -> ListResourceSharePermissions
- listResourceSharePermissions_maxResults :: Lens' ListResourceSharePermissions (Maybe Natural)
- listResourceSharePermissions_nextToken :: Lens' ListResourceSharePermissions (Maybe Text)
- listResourceSharePermissions_resourceShareArn :: Lens' ListResourceSharePermissions Text
- data ListResourceSharePermissionsResponse = ListResourceSharePermissionsResponse' {}
- newListResourceSharePermissionsResponse :: Int -> ListResourceSharePermissionsResponse
- listResourceSharePermissionsResponse_nextToken :: Lens' ListResourceSharePermissionsResponse (Maybe Text)
- listResourceSharePermissionsResponse_permissions :: Lens' ListResourceSharePermissionsResponse (Maybe [ResourceSharePermissionSummary])
- listResourceSharePermissionsResponse_httpStatus :: Lens' ListResourceSharePermissionsResponse Int
Creating a Request
data ListResourceSharePermissions Source #
See: newListResourceSharePermissions
smart constructor.
ListResourceSharePermissions' | |
|
Instances
newListResourceSharePermissions Source #
Create a value of ListResourceSharePermissions
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:maxResults:ListResourceSharePermissions'
, listResourceSharePermissions_maxResults
- Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
ListResourceSharePermissions
, listResourceSharePermissions_nextToken
- Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
ListResourceSharePermissions
, listResourceSharePermissions_resourceShareArn
- Specifies the
Amazon Resoure Name (ARN)
of the resource share for which you want to retrieve the associated
permissions.
Request Lenses
listResourceSharePermissions_maxResults :: Lens' ListResourceSharePermissions (Maybe Natural) Source #
Specifies the total number of results that you want included on each
page of the response. If you do not include this parameter, it defaults
to a value that is specific to the operation. If additional items exist
beyond the number you specify, the NextToken
response element is
returned with a value (not null). Include the specified value as the
NextToken
request parameter in the next call to the operation to get
the next part of the results. Note that the service might return fewer
results than the maximum even when there are more results available. You
should check NextToken
after every operation to ensure that you
receive all of the results.
listResourceSharePermissions_nextToken :: Lens' ListResourceSharePermissions (Maybe Text) Source #
Specifies that you want to receive the next page of results. Valid only
if you received a NextToken
response in the previous request. If you
did, it indicates that more output is available. Set this parameter to
the value provided by the previous call's NextToken
response to
request the next page of results.
listResourceSharePermissions_resourceShareArn :: Lens' ListResourceSharePermissions Text Source #
Specifies the Amazon Resoure Name (ARN) of the resource share for which you want to retrieve the associated permissions.
Destructuring the Response
data ListResourceSharePermissionsResponse Source #
See: newListResourceSharePermissionsResponse
smart constructor.
ListResourceSharePermissionsResponse' | |
|
Instances
newListResourceSharePermissionsResponse Source #
Create a value of ListResourceSharePermissionsResponse
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:
ListResourceSharePermissions
, listResourceSharePermissionsResponse_nextToken
- If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
$sel:permissions:ListResourceSharePermissionsResponse'
, listResourceSharePermissionsResponse_permissions
- An array of objects that describe the permissions associated with the
resource share.
$sel:httpStatus:ListResourceSharePermissionsResponse'
, listResourceSharePermissionsResponse_httpStatus
- The response's http status code.
Response Lenses
listResourceSharePermissionsResponse_nextToken :: Lens' ListResourceSharePermissionsResponse (Maybe Text) Source #
If present, this value indicates that more output is available than is
included in the current response. Use this value in the NextToken
request parameter in a subsequent call to the operation to get the next
part of the output. You should repeat this until the NextToken
response element comes back as null
. This indicates that this is the
last page of results.
listResourceSharePermissionsResponse_permissions :: Lens' ListResourceSharePermissionsResponse (Maybe [ResourceSharePermissionSummary]) Source #
An array of objects that describe the permissions associated with the resource share.
listResourceSharePermissionsResponse_httpStatus :: Lens' ListResourceSharePermissionsResponse Int Source #
The response's http status code.