amazonka-networkmanager-2.0: Amazon Network Manager 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.NetworkManager.DeleteResourcePolicy

Description

Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.

Synopsis

Creating a Request

data DeleteResourcePolicy Source #

See: newDeleteResourcePolicy smart constructor.

Constructors

DeleteResourcePolicy' 

Fields

Instances

Instances details
ToHeaders DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

ToPath DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

ToQuery DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

AWSRequest DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

Associated Types

type AWSResponse DeleteResourcePolicy #

Generic DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

Associated Types

type Rep DeleteResourcePolicy :: Type -> Type #

Read DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

Show DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

NFData DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

Methods

rnf :: DeleteResourcePolicy -> () #

Eq DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

Hashable DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

type AWSResponse DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

type Rep DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

type Rep DeleteResourcePolicy = D1 ('MetaData "DeleteResourcePolicy" "Amazonka.NetworkManager.DeleteResourcePolicy" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "DeleteResourcePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

DeleteResourcePolicy, deleteResourcePolicy_resourceArn - The ARN of the policy to delete.

Request Lenses

Destructuring the Response

data DeleteResourcePolicyResponse Source #

See: newDeleteResourcePolicyResponse smart constructor.

Constructors

DeleteResourcePolicyResponse' 

Fields

Instances

Instances details
Generic DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

Associated Types

type Rep DeleteResourcePolicyResponse :: Type -> Type #

Read DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

Show DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

NFData DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

Eq DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

type Rep DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.DeleteResourcePolicy

type Rep DeleteResourcePolicyResponse = D1 ('MetaData "DeleteResourcePolicyResponse" "Amazonka.NetworkManager.DeleteResourcePolicy" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" '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