amazonka-schemas-2.0: Amazon Schemas 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.Schemas.PutResourcePolicy

Description

The name of the policy.

Synopsis

Creating a Request

data PutResourcePolicy Source #

The name of the policy.

See: newPutResourcePolicy smart constructor.

Constructors

PutResourcePolicy' 

Fields

Instances

Instances details
ToJSON PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

ToHeaders PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

ToPath PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

ToQuery PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

AWSRequest PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

Associated Types

type AWSResponse PutResourcePolicy #

Generic PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

Associated Types

type Rep PutResourcePolicy :: Type -> Type #

Read PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

Show PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

NFData PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

Methods

rnf :: PutResourcePolicy -> () #

Eq PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

Hashable PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

type AWSResponse PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

type Rep PutResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

type Rep PutResourcePolicy = D1 ('MetaData "PutResourcePolicy" "Amazonka.Schemas.PutResourcePolicy" "amazonka-schemas-2.0-BJyIo2S2AS7BU9nZBCcS3" 'False) (C1 ('MetaCons "PutResourcePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newPutResourcePolicy Source #

Create a value of PutResourcePolicy 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:

PutResourcePolicy, putResourcePolicy_registryName - The name of the registry.

PutResourcePolicy, putResourcePolicy_revisionId - The revision ID of the policy.

PutResourcePolicy, putResourcePolicy_policy - The resource-based policy.

Request Lenses

Destructuring the Response

data PutResourcePolicyResponse Source #

See: newPutResourcePolicyResponse smart constructor.

Constructors

PutResourcePolicyResponse' 

Fields

Instances

Instances details
Generic PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

Associated Types

type Rep PutResourcePolicyResponse :: Type -> Type #

Read PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

Show PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

NFData PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

Eq PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

type Rep PutResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.PutResourcePolicy

type Rep PutResourcePolicyResponse = D1 ('MetaData "PutResourcePolicyResponse" "Amazonka.Schemas.PutResourcePolicy" "amazonka-schemas-2.0-BJyIo2S2AS7BU9nZBCcS3" 'False) (C1 ('MetaCons "PutResourcePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPutResourcePolicyResponse Source #

Create a value of PutResourcePolicyResponse 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:

PutResourcePolicy, putResourcePolicyResponse_policy - The resource-based policy.

PutResourcePolicy, putResourcePolicyResponse_revisionId - The revision ID of the policy.

$sel:httpStatus:PutResourcePolicyResponse', putResourcePolicyResponse_httpStatus - The response's http status code.

Response Lenses