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.DeleteGroupPolicy

Description

Deletes the specified inline policy that is embedded in the specified IAM group.

A group can also have managed policies attached to it. To detach a managed policy from a group, use DetachGroupPolicy. For more information about policies, refer to Managed policies and inline policies in the IAM User Guide.

Synopsis

Creating a Request

data DeleteGroupPolicy Source #

See: newDeleteGroupPolicy smart constructor.

Constructors

DeleteGroupPolicy' 

Fields

  • groupName :: Text

    The name (friendly name, not ARN) identifying the group that the policy is embedded in.

    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: _+=,.@-

  • policyName :: Text

    The name identifying the policy document 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 DeleteGroupPolicy Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

Read DeleteGroupPolicy Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

Show DeleteGroupPolicy Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

Generic DeleteGroupPolicy Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

Associated Types

type Rep DeleteGroupPolicy :: Type -> Type #

NFData DeleteGroupPolicy Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

Methods

rnf :: DeleteGroupPolicy -> () #

Hashable DeleteGroupPolicy Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

AWSRequest DeleteGroupPolicy Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

Associated Types

type AWSResponse DeleteGroupPolicy #

ToHeaders DeleteGroupPolicy Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

ToPath DeleteGroupPolicy Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

ToQuery DeleteGroupPolicy Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

type Rep DeleteGroupPolicy Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

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

Defined in Amazonka.IAM.DeleteGroupPolicy

newDeleteGroupPolicy Source #

Create a value of DeleteGroupPolicy 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:DeleteGroupPolicy', deleteGroupPolicy_groupName - The name (friendly name, not ARN) identifying the group that the policy is embedded in.

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: _+=,.@-

$sel:policyName:DeleteGroupPolicy', deleteGroupPolicy_policyName - The name identifying the policy document 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

deleteGroupPolicy_groupName :: Lens' DeleteGroupPolicy Text Source #

The name (friendly name, not ARN) identifying the group that the policy is embedded in.

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: _+=,.@-

deleteGroupPolicy_policyName :: Lens' DeleteGroupPolicy Text Source #

The name identifying the policy document 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 DeleteGroupPolicyResponse Source #

See: newDeleteGroupPolicyResponse smart constructor.

Instances

Instances details
Eq DeleteGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

Read DeleteGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

Show DeleteGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

Generic DeleteGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

Associated Types

type Rep DeleteGroupPolicyResponse :: Type -> Type #

NFData DeleteGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

type Rep DeleteGroupPolicyResponse Source # 
Instance details

Defined in Amazonka.IAM.DeleteGroupPolicy

type Rep DeleteGroupPolicyResponse = D1 ('MetaData "DeleteGroupPolicyResponse" "Amazonka.IAM.DeleteGroupPolicy" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "DeleteGroupPolicyResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteGroupPolicyResponse :: DeleteGroupPolicyResponse Source #

Create a value of DeleteGroupPolicyResponse with all optional fields omitted.

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