| 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.DeleteRoleAlias
Description
Deletes a role alias
Requires permission to access the DeleteRoleAlias action.
Synopsis
- data DeleteRoleAlias = DeleteRoleAlias' {}
- newDeleteRoleAlias :: Text -> DeleteRoleAlias
- deleteRoleAlias_roleAlias :: Lens' DeleteRoleAlias Text
- data DeleteRoleAliasResponse = DeleteRoleAliasResponse' {
- httpStatus :: Int
- newDeleteRoleAliasResponse :: Int -> DeleteRoleAliasResponse
- deleteRoleAliasResponse_httpStatus :: Lens' DeleteRoleAliasResponse Int
Creating a Request
data DeleteRoleAlias Source #
See: newDeleteRoleAlias smart constructor.
Constructors
| DeleteRoleAlias' | |
Instances
Arguments
| :: Text | |
| -> DeleteRoleAlias |
Create a value of DeleteRoleAlias 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:
DeleteRoleAlias, deleteRoleAlias_roleAlias - The role alias to delete.
Request Lenses
deleteRoleAlias_roleAlias :: Lens' DeleteRoleAlias Text Source #
The role alias to delete.
Destructuring the Response
data DeleteRoleAliasResponse Source #
See: newDeleteRoleAliasResponse smart constructor.
Constructors
| DeleteRoleAliasResponse' | |
Fields
| |
Instances
newDeleteRoleAliasResponse Source #
Create a value of DeleteRoleAliasResponse 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:httpStatus:DeleteRoleAliasResponse', deleteRoleAliasResponse_httpStatus - The response's http status code.
Response Lenses
deleteRoleAliasResponse_httpStatus :: Lens' DeleteRoleAliasResponse Int Source #
The response's http status code.