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

Description

Gets a component policy.

Synopsis

Creating a Request

data GetComponentPolicy Source #

See: newGetComponentPolicy smart constructor.

Constructors

GetComponentPolicy' 

Fields

  • componentArn :: Text

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

Instances

Instances details
Eq GetComponentPolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

Read GetComponentPolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

Show GetComponentPolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

Generic GetComponentPolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

Associated Types

type Rep GetComponentPolicy :: Type -> Type #

NFData GetComponentPolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

Methods

rnf :: GetComponentPolicy -> () #

Hashable GetComponentPolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

AWSRequest GetComponentPolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

Associated Types

type AWSResponse GetComponentPolicy #

ToHeaders GetComponentPolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

ToPath GetComponentPolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

ToQuery GetComponentPolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

type Rep GetComponentPolicy Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

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

Defined in Amazonka.ImageBuilder.GetComponentPolicy

newGetComponentPolicy Source #

Create a value of GetComponentPolicy 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:componentArn:GetComponentPolicy', getComponentPolicy_componentArn - The Amazon Resource Name (ARN) of the component whose policy you want to retrieve.

Request Lenses

getComponentPolicy_componentArn :: Lens' GetComponentPolicy Text Source #

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

Destructuring the Response

data GetComponentPolicyResponse Source #

See: newGetComponentPolicyResponse smart constructor.

Constructors

GetComponentPolicyResponse' 

Fields

Instances

Instances details
Eq GetComponentPolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

Read GetComponentPolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

Show GetComponentPolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

Generic GetComponentPolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

Associated Types

type Rep GetComponentPolicyResponse :: Type -> Type #

NFData GetComponentPolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

type Rep GetComponentPolicyResponse Source # 
Instance details

Defined in Amazonka.ImageBuilder.GetComponentPolicy

type Rep GetComponentPolicyResponse = D1 ('MetaData "GetComponentPolicyResponse" "Amazonka.ImageBuilder.GetComponentPolicy" "libZSservicesZSamazonka-imagebuilderZSamazonka-imagebuilder" 'False) (C1 ('MetaCons "GetComponentPolicyResponse'" '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))))

newGetComponentPolicyResponse Source #

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

$sel:policy:GetComponentPolicyResponse', getComponentPolicyResponse_policy - The component policy.

$sel:httpStatus:GetComponentPolicyResponse', getComponentPolicyResponse_httpStatus - The response's http status code.

Response Lenses

getComponentPolicyResponse_requestId :: Lens' GetComponentPolicyResponse (Maybe Text) Source #

The request ID that uniquely identifies this request.