amazonka-iam-2.0: Amazon Identity and Access Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IAM.DeleteGroup

Description

Deletes the specified IAM group. The group must not contain any users or have any attached policies.

Synopsis

Creating a Request

data DeleteGroup Source #

See: newDeleteGroup smart constructor.

Constructors

DeleteGroup' 

Fields

  • groupName :: Text

    The name of the IAM group to delete.

    This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Instances

Instances details
ToHeaders DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Methods

toHeaders :: DeleteGroup -> [Header] #

ToPath DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

ToQuery DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

AWSRequest DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Associated Types

type AWSResponse DeleteGroup #

Generic DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Associated Types

type Rep DeleteGroup :: Type -> Type #

Read DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Show DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

NFData DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Methods

rnf :: DeleteGroup -> () #

Eq DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Hashable DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

type AWSResponse DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

type Rep DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

type Rep DeleteGroup = D1 ('MetaData "DeleteGroup" "Amazonka.IAM.DeleteGroup" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "DeleteGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteGroup Source #

Create a value of DeleteGroup 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:

DeleteGroup, deleteGroup_groupName - The name of the IAM group to delete.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Request Lenses

deleteGroup_groupName :: Lens' DeleteGroup Text Source #

The name of the IAM group to delete.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Destructuring the Response

data DeleteGroupResponse Source #

See: newDeleteGroupResponse smart constructor.

Constructors

DeleteGroupResponse' 

newDeleteGroupResponse :: DeleteGroupResponse Source #

Create a value of DeleteGroupResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.