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.GetResourcePolicy

Description

Retrieves the resource-based policy attached to a given registry.

Synopsis

Creating a Request

data GetResourcePolicy Source #

See: newGetResourcePolicy smart constructor.

Constructors

GetResourcePolicy' 

Fields

Instances

Instances details
ToHeaders GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

ToPath GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

ToQuery GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

AWSRequest GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Associated Types

type AWSResponse GetResourcePolicy #

Generic GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Associated Types

type Rep GetResourcePolicy :: Type -> Type #

Read GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Show GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

NFData GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Methods

rnf :: GetResourcePolicy -> () #

Eq GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Hashable GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

type AWSResponse GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

type Rep GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

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

newGetResourcePolicy :: GetResourcePolicy Source #

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

GetResourcePolicy, getResourcePolicy_registryName - The name of the registry.

Request Lenses

Destructuring the Response

data GetResourcePolicyResponse Source #

See: newGetResourcePolicyResponse smart constructor.

Constructors

GetResourcePolicyResponse' 

Fields

Instances

Instances details
Generic GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Associated Types

type Rep GetResourcePolicyResponse :: Type -> Type #

Read GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Show GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

NFData GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Eq GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

type Rep GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

type Rep GetResourcePolicyResponse = D1 ('MetaData "GetResourcePolicyResponse" "Amazonka.Schemas.GetResourcePolicy" "amazonka-schemas-2.0-BJyIo2S2AS7BU9nZBCcS3" 'False) (C1 ('MetaCons "GetResourcePolicyResponse'" '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))))

newGetResourcePolicyResponse Source #

Create a value of GetResourcePolicyResponse 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:policy:GetResourcePolicyResponse', getResourcePolicyResponse_policy - The resource-based policy.

$sel:revisionId:GetResourcePolicyResponse', getResourcePolicyResponse_revisionId - The revision ID.

$sel:httpStatus:GetResourcePolicyResponse', getResourcePolicyResponse_httpStatus - The response's http status code.

Response Lenses