| 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 |
Amazonka.Config.DeleteOrganizationConformancePack
Description
Deletes the specified organization conformance pack and all of the config rules and remediation actions from all member accounts in that organization.
Only a master account or a delegated administrator account can delete an
organization conformance pack. When calling this API with a delegated
administrator, you must ensure Organizations
ListDelegatedAdministrator permissions are added.
Config sets the state of a conformance pack to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a conformance pack while it is in this state.
Synopsis
- data DeleteOrganizationConformancePack = DeleteOrganizationConformancePack' {}
- newDeleteOrganizationConformancePack :: Text -> DeleteOrganizationConformancePack
- deleteOrganizationConformancePack_organizationConformancePackName :: Lens' DeleteOrganizationConformancePack Text
- data DeleteOrganizationConformancePackResponse = DeleteOrganizationConformancePackResponse' {
- newDeleteOrganizationConformancePackResponse :: DeleteOrganizationConformancePackResponse
Creating a Request
data DeleteOrganizationConformancePack Source #
See: newDeleteOrganizationConformancePack smart constructor.
Constructors
| DeleteOrganizationConformancePack' | |
Fields
| |
Instances
newDeleteOrganizationConformancePack Source #
Arguments
| :: Text |
|
| -> DeleteOrganizationConformancePack |
Create a value of DeleteOrganizationConformancePack 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:organizationConformancePackName:DeleteOrganizationConformancePack', deleteOrganizationConformancePack_organizationConformancePackName - The name of organization conformance pack that you want to delete.
Request Lenses
deleteOrganizationConformancePack_organizationConformancePackName :: Lens' DeleteOrganizationConformancePack Text Source #
The name of organization conformance pack that you want to delete.
Destructuring the Response
data DeleteOrganizationConformancePackResponse Source #
See: newDeleteOrganizationConformancePackResponse smart constructor.
Constructors
| DeleteOrganizationConformancePackResponse' | |
Instances
| Eq DeleteOrganizationConformancePackResponse Source # | |
| Read DeleteOrganizationConformancePackResponse Source # | |
| Show DeleteOrganizationConformancePackResponse Source # | |
| Generic DeleteOrganizationConformancePackResponse Source # | |
Defined in Amazonka.Config.DeleteOrganizationConformancePack Associated Types type Rep DeleteOrganizationConformancePackResponse :: Type -> Type # | |
| NFData DeleteOrganizationConformancePackResponse Source # | |
Defined in Amazonka.Config.DeleteOrganizationConformancePack Methods | |
| type Rep DeleteOrganizationConformancePackResponse Source # | |
Defined in Amazonka.Config.DeleteOrganizationConformancePack type Rep DeleteOrganizationConformancePackResponse = D1 ('MetaData "DeleteOrganizationConformancePackResponse" "Amazonka.Config.DeleteOrganizationConformancePack" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "DeleteOrganizationConformancePackResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) | |
newDeleteOrganizationConformancePackResponse :: DeleteOrganizationConformancePackResponse Source #
Create a value of DeleteOrganizationConformancePackResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.