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 |
Deletes the resource policy set for the environment.
Synopsis
- data DeleteResourcePolicy = DeleteResourcePolicy' {
- identifier :: Text
- newDeleteResourcePolicy :: Text -> DeleteResourcePolicy
- deleteResourcePolicy_identifier :: Lens' DeleteResourcePolicy Text
- data DeleteResourcePolicyResponse = DeleteResourcePolicyResponse' {
- httpStatus :: Int
- newDeleteResourcePolicyResponse :: Int -> DeleteResourcePolicyResponse
- deleteResourcePolicyResponse_httpStatus :: Lens' DeleteResourcePolicyResponse Int
Creating a Request
data DeleteResourcePolicy Source #
See: newDeleteResourcePolicy
smart constructor.
DeleteResourcePolicy' | |
|
Instances
newDeleteResourcePolicy Source #
Create a value of DeleteResourcePolicy
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:identifier:DeleteResourcePolicy'
, deleteResourcePolicy_identifier
- Amazon Resource Name (ARN) of the resource associated with the policy.
Request Lenses
deleteResourcePolicy_identifier :: Lens' DeleteResourcePolicy Text Source #
Amazon Resource Name (ARN) of the resource associated with the policy.
Destructuring the Response
data DeleteResourcePolicyResponse Source #
See: newDeleteResourcePolicyResponse
smart constructor.
DeleteResourcePolicyResponse' | |
|
Instances
Generic DeleteResourcePolicyResponse Source # | |
Read DeleteResourcePolicyResponse Source # | |
Show DeleteResourcePolicyResponse Source # | |
NFData DeleteResourcePolicyResponse Source # | |
Defined in Amazonka.MigrationHubReFactorSpaces.DeleteResourcePolicy rnf :: DeleteResourcePolicyResponse -> () # | |
Eq DeleteResourcePolicyResponse Source # | |
type Rep DeleteResourcePolicyResponse Source # | |
Defined in Amazonka.MigrationHubReFactorSpaces.DeleteResourcePolicy type Rep DeleteResourcePolicyResponse = D1 ('MetaData "DeleteResourcePolicyResponse" "Amazonka.MigrationHubReFactorSpaces.DeleteResourcePolicy" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "DeleteResourcePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteResourcePolicyResponse Source #
Create a value of DeleteResourcePolicyResponse
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:DeleteResourcePolicyResponse'
, deleteResourcePolicyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteResourcePolicyResponse_httpStatus :: Lens' DeleteResourcePolicyResponse Int Source #
The response's http status code.