libZSservicesZSamazonka-ecrZSamazonka-ecr
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.ECR.GetRegistryPolicy

Description

Retrieves the permissions policy for a registry.

Synopsis

Creating a Request

data GetRegistryPolicy Source #

See: newGetRegistryPolicy smart constructor.

Constructors

GetRegistryPolicy' 

Instances

Instances details
Eq GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

Read GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

Show GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

Generic GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

Associated Types

type Rep GetRegistryPolicy :: Type -> Type #

NFData GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

Methods

rnf :: GetRegistryPolicy -> () #

Hashable GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

ToJSON GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

AWSRequest GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

Associated Types

type AWSResponse GetRegistryPolicy #

ToHeaders GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

ToPath GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

ToQuery GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

type Rep GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

type Rep GetRegistryPolicy = D1 ('MetaData "GetRegistryPolicy" "Amazonka.ECR.GetRegistryPolicy" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "GetRegistryPolicy'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetRegistryPolicy Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

newGetRegistryPolicy :: GetRegistryPolicy Source #

Create a value of GetRegistryPolicy with all optional fields omitted.

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

Destructuring the Response

data GetRegistryPolicyResponse Source #

See: newGetRegistryPolicyResponse smart constructor.

Constructors

GetRegistryPolicyResponse' 

Fields

Instances

Instances details
Eq GetRegistryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

Read GetRegistryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

Show GetRegistryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

Generic GetRegistryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

Associated Types

type Rep GetRegistryPolicyResponse :: Type -> Type #

NFData GetRegistryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

type Rep GetRegistryPolicyResponse Source # 
Instance details

Defined in Amazonka.ECR.GetRegistryPolicy

type Rep GetRegistryPolicyResponse = D1 ('MetaData "GetRegistryPolicyResponse" "Amazonka.ECR.GetRegistryPolicy" "libZSservicesZSamazonka-ecrZSamazonka-ecr" 'False) (C1 ('MetaCons "GetRegistryPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "registryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "policyText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetRegistryPolicyResponse Source #

Create a value of GetRegistryPolicyResponse 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:registryId:GetRegistryPolicyResponse', getRegistryPolicyResponse_registryId - The ID of the registry.

$sel:policyText:GetRegistryPolicyResponse', getRegistryPolicyResponse_policyText - The JSON text of the permissions policy for a registry.

$sel:httpStatus:GetRegistryPolicyResponse', getRegistryPolicyResponse_httpStatus - The response's http status code.

Response Lenses

getRegistryPolicyResponse_policyText :: Lens' GetRegistryPolicyResponse (Maybe Text) Source #

The JSON text of the permissions policy for a registry.