libZSservicesZSamazonka-iamZSamazonka-iam
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Read DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Show DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Generic DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Associated Types

type Rep DeleteGroup :: Type -> Type #

NFData DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Methods

rnf :: DeleteGroup -> () #

Hashable DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

AWSRequest DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

Associated Types

type AWSResponse DeleteGroup #

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

type Rep DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

type Rep DeleteGroup = D1 ('MetaData "DeleteGroup" "Amazonka.IAM.DeleteGroup" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "DeleteGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteGroup Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroup

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:

$sel:groupName: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.