libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2
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.GreengrassV2.GetComponent

Description

Gets the recipe for a version of a component. Core devices can call this operation to identify the artifacts and requirements to install a component.

Synopsis

Creating a Request

data GetComponent Source #

See: newGetComponent smart constructor.

Constructors

GetComponent' 

Fields

Instances

Instances details
Eq GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Read GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Show GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Generic GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Associated Types

type Rep GetComponent :: Type -> Type #

NFData GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Methods

rnf :: GetComponent -> () #

Hashable GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

AWSRequest GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Associated Types

type AWSResponse GetComponent #

ToHeaders GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

ToPath GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

ToQuery GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

type Rep GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

type Rep GetComponent = D1 ('MetaData "GetComponent" "Amazonka.GreengrassV2.GetComponent" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "GetComponent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recipeOutputFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecipeOutputFormat)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

newGetComponent Source #

Create a value of GetComponent 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:recipeOutputFormat:GetComponent', getComponent_recipeOutputFormat - The format of the recipe.

$sel:arn:GetComponent', getComponent_arn - The ARN of the component version.

Request Lenses

getComponent_arn :: Lens' GetComponent Text Source #

The ARN of the component version.

Destructuring the Response

data GetComponentResponse Source #

See: newGetComponentResponse smart constructor.

Constructors

GetComponentResponse' 

Fields

Instances

Instances details
Eq GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Read GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Show GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Generic GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Associated Types

type Rep GetComponentResponse :: Type -> Type #

NFData GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Methods

rnf :: GetComponentResponse -> () #

type Rep GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

type Rep GetComponentResponse = D1 ('MetaData "GetComponentResponse" "Amazonka.GreengrassV2.GetComponent" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "GetComponentResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "recipeOutputFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RecipeOutputFormat) :*: S1 ('MetaSel ('Just "recipe") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64))))

newGetComponentResponse Source #

Create a value of GetComponentResponse 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:tags:GetComponentResponse', getComponentResponse_tags - A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.

$sel:httpStatus:GetComponentResponse', getComponentResponse_httpStatus - The response's http status code.

$sel:recipeOutputFormat:GetComponent', getComponentResponse_recipeOutputFormat - The format of the recipe.

$sel:recipe:GetComponentResponse', getComponentResponse_recipe - The recipe of the component version.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

Response Lenses

getComponentResponse_tags :: Lens' GetComponentResponse (Maybe (HashMap Text Text)) Source #

A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.

getComponentResponse_recipe :: Lens' GetComponentResponse ByteString Source #

The recipe of the component version.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.