libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder
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.ImageBuilder.GetImagePolicy

Description

Gets an image policy.

Synopsis

Creating a Request

data GetImagePolicy Source #

See: newGetImagePolicy smart constructor.

Constructors

GetImagePolicy' 

Fields

  • imageArn :: Text

    The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.

Instances

Instances details
Eq GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

Read GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

Show GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

Generic GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

Associated Types

type Rep GetImagePolicy :: Type -> Type #

NFData GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

Methods

rnf :: GetImagePolicy -> () #

Hashable GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

AWSRequest GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

Associated Types

type AWSResponse GetImagePolicy #

ToHeaders GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

ToPath GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

ToQuery GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

type Rep GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

type Rep GetImagePolicy = D1 ('MetaData "GetImagePolicy" "Amazonka.ImageBuilder.GetImagePolicy" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "GetImagePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "imageArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetImagePolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

newGetImagePolicy Source #

Create a value of GetImagePolicy 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:imageArn:GetImagePolicy', getImagePolicy_imageArn - The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.

Request Lenses

getImagePolicy_imageArn :: Lens' GetImagePolicy Text Source #

The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.

Destructuring the Response

data GetImagePolicyResponse Source #

See: newGetImagePolicyResponse smart constructor.

Constructors

GetImagePolicyResponse' 

Fields

Instances

Instances details
Eq GetImagePolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

Read GetImagePolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

Show GetImagePolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

Generic GetImagePolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

Associated Types

type Rep GetImagePolicyResponse :: Type -> Type #

NFData GetImagePolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

Methods

rnf :: GetImagePolicyResponse -> () #

type Rep GetImagePolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetImagePolicy

type Rep GetImagePolicyResponse = D1 ('MetaData "GetImagePolicyResponse" "Amazonka.ImageBuilder.GetImagePolicy" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "GetImagePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetImagePolicyResponse Source #

Create a value of GetImagePolicyResponse 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:requestId:GetImagePolicyResponse', getImagePolicyResponse_requestId - The request ID that uniquely identifies this request.

$sel:policy:GetImagePolicyResponse', getImagePolicyResponse_policy - The image policy object.

$sel:httpStatus:GetImagePolicyResponse', getImagePolicyResponse_httpStatus - The response's http status code.

Response Lenses

getImagePolicyResponse_requestId :: Lens' GetImagePolicyResponse (Maybe Text) Source #

The request ID that uniquely identifies this request.