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 the details of the permission set.
Synopsis
- data DescribePermissionSet = DescribePermissionSet' {}
- newDescribePermissionSet :: Text -> Text -> DescribePermissionSet
- describePermissionSet_instanceArn :: Lens' DescribePermissionSet Text
- describePermissionSet_permissionSetArn :: Lens' DescribePermissionSet Text
- data DescribePermissionSetResponse = DescribePermissionSetResponse' {}
- newDescribePermissionSetResponse :: Int -> DescribePermissionSetResponse
- describePermissionSetResponse_permissionSet :: Lens' DescribePermissionSetResponse (Maybe PermissionSet)
- describePermissionSetResponse_httpStatus :: Lens' DescribePermissionSetResponse Int
Creating a Request
data DescribePermissionSet Source #
See: newDescribePermissionSet
smart constructor.
DescribePermissionSet' | |
|
Instances
newDescribePermissionSet Source #
:: Text | |
-> Text | |
-> DescribePermissionSet |
Create a value of DescribePermissionSet
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:instanceArn:DescribePermissionSet'
, describePermissionSet_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:DescribePermissionSet'
, describePermissionSet_permissionSetArn
- The ARN of the permission set.
Request Lenses
describePermissionSet_instanceArn :: Lens' DescribePermissionSet 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.
describePermissionSet_permissionSetArn :: Lens' DescribePermissionSet Text Source #
The ARN of the permission set.
Destructuring the Response
data DescribePermissionSetResponse Source #
See: newDescribePermissionSetResponse
smart constructor.
DescribePermissionSetResponse' | |
|
Instances
newDescribePermissionSetResponse Source #
Create a value of DescribePermissionSetResponse
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:permissionSet:DescribePermissionSetResponse'
, describePermissionSetResponse_permissionSet
- Describes the level of access on an Amazon Web Services account.
$sel:httpStatus:DescribePermissionSetResponse'
, describePermissionSetResponse_httpStatus
- The response's http status code.
Response Lenses
describePermissionSetResponse_permissionSet :: Lens' DescribePermissionSetResponse (Maybe PermissionSet) Source #
Describes the level of access on an Amazon Web Services account.
describePermissionSetResponse_httpStatus :: Lens' DescribePermissionSetResponse Int Source #
The response's http status code.