libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents
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.SSMIncidents.DeleteResourcePolicy

Description

Deletes the resource policy that AWS Resource Access Manager uses to share your Incident Manager resource.

Synopsis

Creating a Request

data DeleteResourcePolicy Source #

See: newDeleteResourcePolicy smart constructor.

Constructors

DeleteResourcePolicy' 

Fields

  • policyId :: Text

    The ID of the resource policy you're deleting.

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the resource you're deleting the policy from.

Instances

Instances details
Eq DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

Read DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

Show DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

Generic DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

Associated Types

type Rep DeleteResourcePolicy :: Type -> Type #

NFData DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

Methods

rnf :: DeleteResourcePolicy -> () #

Hashable DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

ToJSON DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

AWSRequest DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

Associated Types

type AWSResponse DeleteResourcePolicy #

ToHeaders DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

ToPath DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

ToQuery DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

type Rep DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

type Rep DeleteResourcePolicy = D1 ('MetaData "DeleteResourcePolicy" "Amazonka.SSMIncidents.DeleteResourcePolicy" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "DeleteResourcePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteResourcePolicy Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

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:

$sel:policyId:DeleteResourcePolicy', deleteResourcePolicy_policyId - The ID of the resource policy you're deleting.

$sel:resourceArn:DeleteResourcePolicy', deleteResourcePolicy_resourceArn - The Amazon Resource Name (ARN) of the resource you're deleting the policy from.

Request Lenses

deleteResourcePolicy_policyId :: Lens' DeleteResourcePolicy Text Source #

The ID of the resource policy you're deleting.

deleteResourcePolicy_resourceArn :: Lens' DeleteResourcePolicy Text Source #

The Amazon Resource Name (ARN) of the resource you're deleting the policy from.

Destructuring the Response

data DeleteResourcePolicyResponse Source #

See: newDeleteResourcePolicyResponse smart constructor.

Constructors

DeleteResourcePolicyResponse' 

Fields

Instances

Instances details
Eq DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

Read DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

Show DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

Generic DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

Associated Types

type Rep DeleteResourcePolicyResponse :: Type -> Type #

NFData DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

type Rep DeleteResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.DeleteResourcePolicy

type Rep DeleteResourcePolicyResponse = D1 ('MetaData "DeleteResourcePolicyResponse" "Amazonka.SSMIncidents.DeleteResourcePolicy" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" '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