amazonka-greengrassv2-2.0: Amazon IoT Greengrass V2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GreengrassV2.GetComponent

Description

Gets the recipe for a version of a component.

Synopsis

Creating a Request

data GetComponent Source #

See: newGetComponent smart constructor.

Constructors

GetComponent' 

Fields

Instances

Instances details
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

AWSRequest GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Associated Types

type AWSResponse GetComponent #

Generic GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Associated Types

type Rep GetComponent :: Type -> Type #

Read GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Show GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

NFData GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Methods

rnf :: GetComponent -> () #

Eq GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Hashable GetComponent Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

type AWSResponse 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" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" '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)))

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:

GetComponent, getComponent_recipeOutputFormat - The format of the recipe.

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
Generic GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Associated Types

type Rep GetComponentResponse :: Type -> Type #

Read GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Show GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

NFData GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

Methods

rnf :: GetComponentResponse -> () #

Eq GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

type Rep GetComponentResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponent

type Rep GetComponentResponse = D1 ('MetaData "GetComponentResponse" "Amazonka.GreengrassV2.GetComponent" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" '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.

GetComponent, getComponentResponse_recipeOutputFormat - The format of the 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.