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 |
Removes permissions associated with the target database.
Synopsis
- data DeleteResourcePermission = DeleteResourcePermission' {}
- newDeleteResourcePermission :: Text -> DeleteResourcePermission
- deleteResourcePermission_actionType :: Lens' DeleteResourcePermission (Maybe PermissionActionType)
- deleteResourcePermission_sourceResourceArn :: Lens' DeleteResourcePermission (Maybe Text)
- deleteResourcePermission_resourceArn :: Lens' DeleteResourcePermission Text
- data DeleteResourcePermissionResponse = DeleteResourcePermissionResponse' {
- policy :: Maybe Text
- httpStatus :: Int
- newDeleteResourcePermissionResponse :: Int -> DeleteResourcePermissionResponse
- deleteResourcePermissionResponse_policy :: Lens' DeleteResourcePermissionResponse (Maybe Text)
- deleteResourcePermissionResponse_httpStatus :: Lens' DeleteResourcePermissionResponse Int
Creating a Request
data DeleteResourcePermission Source #
See: newDeleteResourcePermission
smart constructor.
Instances
newDeleteResourcePermission Source #
Create a value of DeleteResourcePermission
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:actionType:DeleteResourcePermission'
, deleteResourcePermission_actionType
-
$sel:sourceResourceArn:DeleteResourcePermission'
, deleteResourcePermission_sourceResourceArn
-
DeleteResourcePermission
, deleteResourcePermission_resourceArn
-
Request Lenses
deleteResourcePermission_actionType :: Lens' DeleteResourcePermission (Maybe PermissionActionType) Source #
Destructuring the Response
data DeleteResourcePermissionResponse Source #
See: newDeleteResourcePermissionResponse
smart constructor.
DeleteResourcePermissionResponse' | |
|
Instances
Generic DeleteResourcePermissionResponse Source # | |
Read DeleteResourcePermissionResponse Source # | |
Show DeleteResourcePermissionResponse Source # | |
Defined in Amazonka.SSMSAP.DeleteResourcePermission | |
NFData DeleteResourcePermissionResponse Source # | |
Defined in Amazonka.SSMSAP.DeleteResourcePermission rnf :: DeleteResourcePermissionResponse -> () # | |
Eq DeleteResourcePermissionResponse Source # | |
type Rep DeleteResourcePermissionResponse Source # | |
Defined in Amazonka.SSMSAP.DeleteResourcePermission type Rep DeleteResourcePermissionResponse = D1 ('MetaData "DeleteResourcePermissionResponse" "Amazonka.SSMSAP.DeleteResourcePermission" "amazonka-ssm-sap-2.0-7GrfuL8AFBH3uo82BcKo6b" 'False) (C1 ('MetaCons "DeleteResourcePermissionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteResourcePermissionResponse Source #
Create a value of DeleteResourcePermissionResponse
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:policy:DeleteResourcePermissionResponse'
, deleteResourcePermissionResponse_policy
-
$sel:httpStatus:DeleteResourcePermissionResponse'
, deleteResourcePermissionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteResourcePermissionResponse_policy :: Lens' DeleteResourcePermissionResponse (Maybe Text) Source #
deleteResourcePermissionResponse_httpStatus :: Lens' DeleteResourcePermissionResponse Int Source #
The response's http status code.