| 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 |
Amazonka.IoT.DescribeRoleAlias
Description
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.
Constructors
| DescribeRoleAlias' | |
Instances
Arguments
| :: Text | |
| -> DescribeRoleAlias |
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:
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.
Constructors
| DescribeRoleAliasResponse' | |
Fields
| |
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.