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.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
Eq ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Read ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Show 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 #

NFData ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Hashable ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

ToJSON ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

AWSRequest 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

type Rep ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

type Rep ResolveComponentCandidates = D1 ('MetaData "ResolveComponentCandidates" "Amazonka.GreengrassV2.ResolveComponentCandidates" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "ResolveComponentCandidates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ComponentPlatform) :*: S1 ('MetaSel ('Just "componentCandidates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ComponentCandidate])))
type AWSResponse ResolveComponentCandidates Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

newResolveComponentCandidates 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:platform:ResolveComponentCandidates', resolveComponentCandidates_platform - The platform to use to resolve compatible components.

$sel:componentCandidates:ResolveComponentCandidates', resolveComponentCandidates_componentCandidates - The list of components to resolve.

Request Lenses

resolveComponentCandidates_platform :: Lens' ResolveComponentCandidates ComponentPlatform Source #

The platform to use to resolve compatible components.

Destructuring the Response

data ResolveComponentCandidatesResponse Source #

Constructors

ResolveComponentCandidatesResponse' 

Fields

Instances

Instances details
Eq ResolveComponentCandidatesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Read ResolveComponentCandidatesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Show ResolveComponentCandidatesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Generic ResolveComponentCandidatesResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ResolveComponentCandidates

Associated Types

type Rep ResolveComponentCandidatesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" '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.