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 IAM managed policy that is attached to a specified permission set.
This operation returns paginated results.
Synopsis
- data ListManagedPoliciesInPermissionSet = ListManagedPoliciesInPermissionSet' {}
- newListManagedPoliciesInPermissionSet :: Text -> Text -> ListManagedPoliciesInPermissionSet
- listManagedPoliciesInPermissionSet_nextToken :: Lens' ListManagedPoliciesInPermissionSet (Maybe Text)
- listManagedPoliciesInPermissionSet_maxResults :: Lens' ListManagedPoliciesInPermissionSet (Maybe Natural)
- listManagedPoliciesInPermissionSet_instanceArn :: Lens' ListManagedPoliciesInPermissionSet Text
- listManagedPoliciesInPermissionSet_permissionSetArn :: Lens' ListManagedPoliciesInPermissionSet Text
- data ListManagedPoliciesInPermissionSetResponse = ListManagedPoliciesInPermissionSetResponse' {}
- newListManagedPoliciesInPermissionSetResponse :: Int -> ListManagedPoliciesInPermissionSetResponse
- listManagedPoliciesInPermissionSetResponse_nextToken :: Lens' ListManagedPoliciesInPermissionSetResponse (Maybe Text)
- listManagedPoliciesInPermissionSetResponse_attachedManagedPolicies :: Lens' ListManagedPoliciesInPermissionSetResponse (Maybe [AttachedManagedPolicy])
- listManagedPoliciesInPermissionSetResponse_httpStatus :: Lens' ListManagedPoliciesInPermissionSetResponse Int
Creating a Request
data ListManagedPoliciesInPermissionSet Source #
See: newListManagedPoliciesInPermissionSet
smart constructor.
ListManagedPoliciesInPermissionSet' | |
|
Instances
newListManagedPoliciesInPermissionSet Source #
Create a value of ListManagedPoliciesInPermissionSet
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:ListManagedPoliciesInPermissionSet'
, listManagedPoliciesInPermissionSet_nextToken
- The pagination token for the list API. Initially the value is null. Use
the output of previous API calls to make subsequent calls.
$sel:maxResults:ListManagedPoliciesInPermissionSet'
, listManagedPoliciesInPermissionSet_maxResults
- The maximum number of results to display for the PermissionSet.
$sel:instanceArn:ListManagedPoliciesInPermissionSet'
, listManagedPoliciesInPermissionSet_instanceArn
- The ARN of the SSO instance under which the operation will be executed.
For more information about ARNs, see
Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces
in the Amazon Web Services General Reference.
$sel:permissionSetArn:ListManagedPoliciesInPermissionSet'
, listManagedPoliciesInPermissionSet_permissionSetArn
- The ARN of the PermissionSet whose managed policies will be listed.
Request Lenses
listManagedPoliciesInPermissionSet_nextToken :: Lens' ListManagedPoliciesInPermissionSet (Maybe Text) Source #
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
listManagedPoliciesInPermissionSet_maxResults :: Lens' ListManagedPoliciesInPermissionSet (Maybe Natural) Source #
The maximum number of results to display for the PermissionSet.
listManagedPoliciesInPermissionSet_instanceArn :: Lens' ListManagedPoliciesInPermissionSet Text Source #
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
listManagedPoliciesInPermissionSet_permissionSetArn :: Lens' ListManagedPoliciesInPermissionSet Text Source #
The ARN of the PermissionSet whose managed policies will be listed.
Destructuring the Response
data ListManagedPoliciesInPermissionSetResponse Source #
See: newListManagedPoliciesInPermissionSetResponse
smart constructor.
ListManagedPoliciesInPermissionSetResponse' | |
|
Instances
newListManagedPoliciesInPermissionSetResponse Source #
Create a value of ListManagedPoliciesInPermissionSetResponse
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:ListManagedPoliciesInPermissionSet'
, listManagedPoliciesInPermissionSetResponse_nextToken
- The pagination token for the list API. Initially the value is null. Use
the output of previous API calls to make subsequent calls.
$sel:attachedManagedPolicies:ListManagedPoliciesInPermissionSetResponse'
, listManagedPoliciesInPermissionSetResponse_attachedManagedPolicies
- The array of the AttachedManagedPolicy data type object.
$sel:httpStatus:ListManagedPoliciesInPermissionSetResponse'
, listManagedPoliciesInPermissionSetResponse_httpStatus
- The response's http status code.
Response Lenses
listManagedPoliciesInPermissionSetResponse_nextToken :: Lens' ListManagedPoliciesInPermissionSetResponse (Maybe Text) Source #
The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
listManagedPoliciesInPermissionSetResponse_attachedManagedPolicies :: Lens' ListManagedPoliciesInPermissionSetResponse (Maybe [AttachedManagedPolicy]) Source #
The array of the AttachedManagedPolicy data type object.
listManagedPoliciesInPermissionSetResponse_httpStatus :: Lens' ListManagedPoliciesInPermissionSetResponse Int Source #
The response's http status code.