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

Description

Retrieves a list of components that meet the component, version, and platform requirements of a deployment. Greengrass core devices call this operation when they receive a deployment to identify the components to install.

This operation identifies components that meet all dependency requirements for a deployment. If the requirements conflict, then this operation returns an error and the deployment fails. For example, this occurs if component A requires version >2.0.0 and component B requires version <2.0.0 of a component dependency.

When you specify the component candidates to resolve, IoT Greengrass compares each component's digest from the core device with the component's digest in the Amazon Web Services Cloud. If the digests don't match, then IoT Greengrass specifies to use the version from the Amazon Web Services Cloud.

To use this operation, you must use the data plane API endpoint and authenticate with an IoT device certificate. For more information, see IoT Greengrass endpoints and quotas.

Synopsis

Creating a Request

data ResolveComponentCandidates Source #

See: newResolveComponentCandidates smart constructor.

Constructors

ResolveComponentCandidates' 

Fields

Instances

Instances details
ToJSON ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

ToHeaders ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

ToPath ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

ToQuery ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

AWSRequest ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Generic ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Associated Types

type Rep ResolveComponentCandidates :: Type -> Type #

Read ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Show ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

NFData ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Eq ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Hashable ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

type AWSResponse ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

type Rep ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

type Rep ResolveComponentCandidates = D1 ('MetaData "ResolveComponentCandidates" "Amazonka.GreengrassV2.ResolveComponentCandidates" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" 'False) (C1 ('MetaCons "ResolveComponentCandidates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "componentCandidates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ComponentCandidate])) :*: S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComponentPlatform))))

newResolveComponentCandidates :: ResolveComponentCandidates Source #

Create a value of ResolveComponentCandidates 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:componentCandidates:ResolveComponentCandidates', resolveComponentCandidates_componentCandidates - The list of components to resolve.

$sel:platform:ResolveComponentCandidates', resolveComponentCandidates_platform - The platform to use to resolve compatible components.

Request Lenses

resolveComponentCandidates_platform :: Lens' ResolveComponentCandidates (Maybe ComponentPlatform) Source #

The platform to use to resolve compatible components.

Destructuring the Response

data ResolveComponentCandidatesResponse Source #

Constructors

ResolveComponentCandidatesResponse' 

Fields

Instances

Instances details
Generic ResolveComponentCandidatesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Associated Types

type Rep ResolveComponentCandidatesResponse :: Type -> Type #

Read ResolveComponentCandidatesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Show ResolveComponentCandidatesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

NFData ResolveComponentCandidatesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Eq ResolveComponentCandidatesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

type Rep ResolveComponentCandidatesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

type Rep ResolveComponentCandidatesResponse = D1 ('MetaData "ResolveComponentCandidatesResponse" "Amazonka.GreengrassV2.ResolveComponentCandidates" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" 'False) (C1 ('MetaCons "ResolveComponentCandidatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resolvedComponentVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResolvedComponentVersion])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newResolveComponentCandidatesResponse Source #

Create a value of ResolveComponentCandidatesResponse 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:resolvedComponentVersions:ResolveComponentCandidatesResponse', resolveComponentCandidatesResponse_resolvedComponentVersions - A list of components that meet the requirements that you specify in the request. This list includes each component's recipe that you can use to install the component.

$sel:httpStatus:ResolveComponentCandidatesResponse', resolveComponentCandidatesResponse_httpStatus - The response's http status code.

Response Lenses

resolveComponentCandidatesResponse_resolvedComponentVersions :: Lens' ResolveComponentCandidatesResponse (Maybe [ResolvedComponentVersion]) Source #

A list of components that meet the requirements that you specify in the request. This list includes each component's recipe that you can use to install the component.