libZSservicesZSamazonka-schemasZSamazonka-schemas
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.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
Eq GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Read GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Show GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Generic GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Associated Types

type Rep GetResourcePolicy :: Type -> Type #

NFData GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Methods

rnf :: GetResourcePolicy -> () #

Hashable GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

AWSRequest GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Associated Types

type AWSResponse GetResourcePolicy #

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

type Rep GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

type Rep GetResourcePolicy = D1 ('MetaData "GetResourcePolicy" "Amazonka.Schemas.GetResourcePolicy" "libZSservicesZSamazonka-schemasZSamazonka-schemas" 'False) (C1 ('MetaCons "GetResourcePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "registryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse GetResourcePolicy Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

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:

$sel:registryName: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
Eq GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Read GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Show GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Generic GetResourcePolicyResponse Source # 
Instance details

Defined in Amazonka.Schemas.GetResourcePolicy

Associated Types

type Rep GetResourcePolicyResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-schemasZSamazonka-schemas" '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