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 |
Lists the RAM permissions that are associated with a resource share.
Synopsis
- data ListResourceSharePermissions = ListResourceSharePermissions' {}
- newListResourceSharePermissions :: Text -> ListResourceSharePermissions
- listResourceSharePermissions_nextToken :: Lens' ListResourceSharePermissions (Maybe Text)
- listResourceSharePermissions_maxResults :: Lens' ListResourceSharePermissions (Maybe Natural)
- 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:nextToken:ListResourceSharePermissions'
, listResourceSharePermissions_nextToken
- The token for the next page of results.
$sel:maxResults:ListResourceSharePermissions'
, listResourceSharePermissions_maxResults
- The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
$sel:resourceShareArn:ListResourceSharePermissions'
, listResourceSharePermissions_resourceShareArn
- The Amazon Resource Name (ARN) of the resource share.
Request Lenses
listResourceSharePermissions_nextToken :: Lens' ListResourceSharePermissions (Maybe Text) Source #
The token for the next page of results.
listResourceSharePermissions_maxResults :: Lens' ListResourceSharePermissions (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
listResourceSharePermissions_resourceShareArn :: Lens' ListResourceSharePermissions Text Source #
The Amazon Resource Name (ARN) of the resource share.
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:
$sel:nextToken:ListResourceSharePermissions'
, listResourceSharePermissionsResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:permissions:ListResourceSharePermissionsResponse'
, listResourceSharePermissionsResponse_permissions
- 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 #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
listResourceSharePermissionsResponse_permissions :: Lens' ListResourceSharePermissionsResponse (Maybe [ResourceSharePermissionSummary]) Source #
The permissions associated with the resource share.
listResourceSharePermissionsResponse_httpStatus :: Lens' ListResourceSharePermissionsResponse Int Source #
The response's http status code.