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 |
Describes a role alias.
Requires permission to access the DescribeRoleAlias action.
Synopsis
- data DescribeRoleAlias = DescribeRoleAlias' {}
- newDescribeRoleAlias :: Text -> DescribeRoleAlias
- describeRoleAlias_roleAlias :: Lens' DescribeRoleAlias Text
- data DescribeRoleAliasResponse = DescribeRoleAliasResponse' {}
- newDescribeRoleAliasResponse :: Int -> DescribeRoleAliasResponse
- describeRoleAliasResponse_roleAliasDescription :: Lens' DescribeRoleAliasResponse (Maybe RoleAliasDescription)
- describeRoleAliasResponse_httpStatus :: Lens' DescribeRoleAliasResponse Int
Creating a Request
data DescribeRoleAlias Source #
See: newDescribeRoleAlias
smart constructor.
Instances
Create a value of DescribeRoleAlias
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:roleAlias:DescribeRoleAlias'
, describeRoleAlias_roleAlias
- The role alias to describe.
Request Lenses
describeRoleAlias_roleAlias :: Lens' DescribeRoleAlias Text Source #
The role alias to describe.
Destructuring the Response
data DescribeRoleAliasResponse Source #
See: newDescribeRoleAliasResponse
smart constructor.
DescribeRoleAliasResponse' | |
|
Instances
newDescribeRoleAliasResponse Source #
Create a value of DescribeRoleAliasResponse
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:roleAliasDescription:DescribeRoleAliasResponse'
, describeRoleAliasResponse_roleAliasDescription
- The role alias description.
$sel:httpStatus:DescribeRoleAliasResponse'
, describeRoleAliasResponse_httpStatus
- The response's http status code.
Response Lenses
describeRoleAliasResponse_roleAliasDescription :: Lens' DescribeRoleAliasResponse (Maybe RoleAliasDescription) Source #
The role alias description.
describeRoleAliasResponse_httpStatus :: Lens' DescribeRoleAliasResponse Int Source #
The response's http status code.