libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo
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.ServerlessApplicationRepository.PutApplicationPolicy

Description

Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .

Synopsis

Creating a Request

data PutApplicationPolicy Source #

See: newPutApplicationPolicy smart constructor.

Constructors

PutApplicationPolicy' 

Fields

Instances

Instances details
Eq PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

Read PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

Show PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

Generic PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

Associated Types

type Rep PutApplicationPolicy :: Type -> Type #

NFData PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

Methods

rnf :: PutApplicationPolicy -> () #

Hashable PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

ToJSON PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

AWSRequest PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

Associated Types

type AWSResponse PutApplicationPolicy #

ToHeaders PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

ToPath PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

ToQuery PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

type Rep PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

type Rep PutApplicationPolicy = D1 ('MetaData "PutApplicationPolicy" "Amazonka.ServerlessApplicationRepository.PutApplicationPolicy" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "PutApplicationPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ApplicationPolicyStatement])))
type AWSResponse PutApplicationPolicy Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

newPutApplicationPolicy Source #

Create a value of PutApplicationPolicy 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:applicationId:PutApplicationPolicy', putApplicationPolicy_applicationId - The Amazon Resource Name (ARN) of the application.

$sel:statements:PutApplicationPolicy', putApplicationPolicy_statements - An array of policy statements applied to the application.

Request Lenses

putApplicationPolicy_applicationId :: Lens' PutApplicationPolicy Text Source #

The Amazon Resource Name (ARN) of the application.

putApplicationPolicy_statements :: Lens' PutApplicationPolicy [ApplicationPolicyStatement] Source #

An array of policy statements applied to the application.

Destructuring the Response

data PutApplicationPolicyResponse Source #

See: newPutApplicationPolicyResponse smart constructor.

Constructors

PutApplicationPolicyResponse' 

Fields

Instances

Instances details
Eq PutApplicationPolicyResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

Read PutApplicationPolicyResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

Show PutApplicationPolicyResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

Generic PutApplicationPolicyResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

Associated Types

type Rep PutApplicationPolicyResponse :: Type -> Type #

NFData PutApplicationPolicyResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

type Rep PutApplicationPolicyResponse Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.PutApplicationPolicy

type Rep PutApplicationPolicyResponse = D1 ('MetaData "PutApplicationPolicyResponse" "Amazonka.ServerlessApplicationRepository.PutApplicationPolicy" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "PutApplicationPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "statements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ApplicationPolicyStatement])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutApplicationPolicyResponse Source #

Create a value of PutApplicationPolicyResponse 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:statements:PutApplicationPolicy', putApplicationPolicyResponse_statements - An array of policy statements applied to the application.

$sel:httpStatus:PutApplicationPolicyResponse', putApplicationPolicyResponse_httpStatus - The response's http status code.

Response Lenses