libZSservicesZSamazonka-snsZSamazonka-sns
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.SNS.RemovePermission

Description

Removes a statement from a topic's access control policy.

Synopsis

Creating a Request

data RemovePermission Source #

Input for RemovePermission action.

See: newRemovePermission smart constructor.

Constructors

RemovePermission' 

Fields

  • topicArn :: Text

    The ARN of the topic whose access control policy you wish to modify.

  • label :: Text

    The unique label of the statement you want to remove.

Instances

Instances details
Eq RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Read RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Show RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Generic RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Associated Types

type Rep RemovePermission :: Type -> Type #

NFData RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Methods

rnf :: RemovePermission -> () #

Hashable RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

AWSRequest RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Associated Types

type AWSResponse RemovePermission #

ToHeaders RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

ToPath RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

ToQuery RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

type Rep RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

type Rep RemovePermission = D1 ('MetaData "RemovePermission" "Amazonka.SNS.RemovePermission" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "RemovePermission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse RemovePermission Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

newRemovePermission Source #

Create a value of RemovePermission 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:topicArn:RemovePermission', removePermission_topicArn - The ARN of the topic whose access control policy you wish to modify.

$sel:label:RemovePermission', removePermission_label - The unique label of the statement you want to remove.

Request Lenses

removePermission_topicArn :: Lens' RemovePermission Text Source #

The ARN of the topic whose access control policy you wish to modify.

removePermission_label :: Lens' RemovePermission Text Source #

The unique label of the statement you want to remove.

Destructuring the Response

data RemovePermissionResponse Source #

See: newRemovePermissionResponse smart constructor.

Instances

Instances details
Eq RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Read RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Show RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Generic RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

Associated Types

type Rep RemovePermissionResponse :: Type -> Type #

NFData RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

type Rep RemovePermissionResponse Source # 
Instance details

Defined in Amazonka.SNS.RemovePermission

type Rep RemovePermissionResponse = D1 ('MetaData "RemovePermissionResponse" "Amazonka.SNS.RemovePermission" "libZSservicesZSamazonka-snsZSamazonka-sns" 'False) (C1 ('MetaCons "RemovePermissionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRemovePermissionResponse :: RemovePermissionResponse Source #

Create a value of RemovePermissionResponse with all optional fields omitted.

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