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 |
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.
Instances
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:
$sel:roleAlias: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.
DeleteRoleAliasResponse' | |
|
Instances
Eq DeleteRoleAliasResponse Source # | |
Defined in Amazonka.IoT.DeleteRoleAlias | |
Read DeleteRoleAliasResponse Source # | |
Show DeleteRoleAliasResponse Source # | |
Defined in Amazonka.IoT.DeleteRoleAlias showsPrec :: Int -> DeleteRoleAliasResponse -> ShowS # show :: DeleteRoleAliasResponse -> String # showList :: [DeleteRoleAliasResponse] -> ShowS # | |
Generic DeleteRoleAliasResponse Source # | |
Defined in Amazonka.IoT.DeleteRoleAlias type Rep DeleteRoleAliasResponse :: Type -> Type # | |
NFData DeleteRoleAliasResponse Source # | |
Defined in Amazonka.IoT.DeleteRoleAlias rnf :: DeleteRoleAliasResponse -> () # | |
type Rep DeleteRoleAliasResponse Source # | |
Defined in Amazonka.IoT.DeleteRoleAlias type Rep DeleteRoleAliasResponse = D1 ('MetaData "DeleteRoleAliasResponse" "Amazonka.IoT.DeleteRoleAlias" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DeleteRoleAliasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.