{ "version": "2.0", "metadata": { "apiVersion": "2020-11-30", "endpointPrefix": "greengrass", "protocol": "rest-json", "protocols": [ "rest-json" ], "serviceAbbreviation": "AWS GreengrassV2", "serviceFullName": "AWS IoT Greengrass V2", "serviceId": "GreengrassV2", "signatureVersion": "v4", "uid": "greengrassv2-2020-11-30" }, "operations": { "AssociateServiceRoleToAccount": { "name": "AssociateServiceRoleToAccount", "http": { "method": "PUT", "requestUri": "/greengrass/servicerole", "responseCode": 200 }, "input": { "shape": "AssociateServiceRoleToAccountRequest" }, "output": { "shape": "AssociateServiceRoleToAccountResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Associates a Greengrass service role with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region. IoT Greengrass uses this role to verify the identity of client devices and manage core device connectivity information. The role must include the AWSGreengrassResourceAccessRolePolicy managed policy or a custom policy that defines equivalent permissions for the IoT Greengrass features that you use. For more information, see Greengrass service role in the IoT Greengrass Version 2 Developer Guide.

" }, "BatchAssociateClientDeviceWithCoreDevice": { "name": "BatchAssociateClientDeviceWithCoreDevice", "http": { "method": "POST", "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/associateClientDevices", "responseCode": 200 }, "input": { "shape": "BatchAssociateClientDeviceWithCoreDeviceRequest" }, "output": { "shape": "BatchAssociateClientDeviceWithCoreDeviceResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" } ], "documentation": "

Associates a list of client devices with a core device. Use this API operation to specify which client devices can discover a core device through cloud discovery. With cloud discovery, client devices connect to IoT Greengrass to retrieve associated core devices' connectivity information and certificates. For more information, see Configure cloud discovery in the IoT Greengrass V2 Developer Guide.

Client devices are local IoT devices that connect to and communicate with an IoT Greengrass core device over MQTT. You can connect client devices to a core device to sync MQTT messages and data to Amazon Web Services IoT Core and interact with client devices in Greengrass components. For more information, see Interact with local IoT devices in the IoT Greengrass V2 Developer Guide.

" }, "BatchDisassociateClientDeviceFromCoreDevice": { "name": "BatchDisassociateClientDeviceFromCoreDevice", "http": { "method": "POST", "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/disassociateClientDevices", "responseCode": 200 }, "input": { "shape": "BatchDisassociateClientDeviceFromCoreDeviceRequest" }, "output": { "shape": "BatchDisassociateClientDeviceFromCoreDeviceResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" } ], "documentation": "

Disassociates a list of client devices from a core device. After you disassociate a client device from a core device, the client device won't be able to use cloud discovery to retrieve the core device's connectivity information and certificates.

" }, "CancelDeployment": { "name": "CancelDeployment", "http": { "method": "POST", "requestUri": "/greengrass/v2/deployments/{deploymentId}/cancel" }, "input": { "shape": "CancelDeploymentRequest" }, "output": { "shape": "CancelDeploymentResponse" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ConflictException" }, { "shape": "ThrottlingException" } ], "documentation": "

Cancels a deployment. This operation cancels the deployment for devices that haven't yet received it. If a device already received the deployment, this operation doesn't change anything for that device.

" }, "CreateComponentVersion": { "name": "CreateComponentVersion", "http": { "method": "POST", "requestUri": "/greengrass/v2/createComponentVersion", "responseCode": 201 }, "input": { "shape": "CreateComponentVersionRequest" }, "output": { "shape": "CreateComponentVersionResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ServiceQuotaExceededException" }, { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "ThrottlingException" }, { "shape": "InternalServerException" }, { "shape": "RequestAlreadyInProgressException" } ], "documentation": "

Creates a component. Components are software that run on Greengrass core devices. After you develop and test a component on your core device, you can use this operation to upload your component to IoT Greengrass. Then, you can deploy the component to other core devices.

You can use this operation to do the following:

" }, "CreateDeployment": { "name": "CreateDeployment", "http": { "method": "POST", "requestUri": "/greengrass/v2/deployments", "responseCode": 201 }, "input": { "shape": "CreateDeploymentRequest" }, "output": { "shape": "CreateDeploymentResponse" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "ThrottlingException" }, { "shape": "InternalServerException" }, { "shape": "ConflictException" }, { "shape": "RequestAlreadyInProgressException" } ], "documentation": "

Creates a continuous deployment for a target, which is a Greengrass core device or group of core devices. When you add a new core device to a group of core devices that has a deployment, IoT Greengrass deploys that group's deployment to the new device.

You can define one deployment for each target. When you create a new deployment for a target that has an existing deployment, you replace the previous deployment. IoT Greengrass applies the new deployment to the target devices.

Every deployment has a revision number that indicates how many deployment revisions you define for a target. Use this operation to create a new revision of an existing deployment.

For more information, see the Create deployments in the IoT Greengrass V2 Developer Guide.

" }, "DeleteComponent": { "name": "DeleteComponent", "http": { "method": "DELETE", "requestUri": "/greengrass/v2/components/{arn}", "responseCode": 204 }, "input": { "shape": "DeleteComponentRequest" }, "errors": [ { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "ConflictException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalServerException" } ], "documentation": "

Deletes a version of a component from IoT Greengrass.

This operation deletes the component's recipe and artifacts. As a result, deployments that refer to this component version will fail. If you have deployments that use this component version, you can remove the component from the deployment or update the deployment to use a valid version.

" }, "DeleteCoreDevice": { "name": "DeleteCoreDevice", "http": { "method": "DELETE", "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}", "responseCode": 204 }, "input": { "shape": "DeleteCoreDeviceRequest" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" }, { "shape": "ConflictException" } ], "documentation": "

Deletes a Greengrass core device, which is an IoT thing. This operation removes the core device from the list of core devices. This operation doesn't delete the IoT thing. For more information about how to delete the IoT thing, see DeleteThing in the IoT API Reference.

" }, "DeleteDeployment": { "name": "DeleteDeployment", "http": { "method": "DELETE", "requestUri": "/greengrass/v2/deployments/{deploymentId}", "responseCode": 204 }, "input": { "shape": "DeleteDeploymentRequest" }, "errors": [ { "shape": "ResourceNotFoundException" }, { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ConflictException" }, { "shape": "ThrottlingException" } ], "documentation": "

Deletes a deployment. To delete an active deployment, you must first cancel it. For more information, see CancelDeployment.

Deleting a deployment doesn't affect core devices that run that deployment, because core devices store the deployment's configuration on the device. Additionally, core devices can roll back to a previous deployment that has been deleted.

" }, "DescribeComponent": { "name": "DescribeComponent", "http": { "method": "GET", "requestUri": "/greengrass/v2/components/{arn}/metadata" }, "input": { "shape": "DescribeComponentRequest" }, "output": { "shape": "DescribeComponentResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalServerException" } ], "documentation": "

Retrieves metadata for a version of a component.

" }, "DisassociateServiceRoleFromAccount": { "name": "DisassociateServiceRoleFromAccount", "http": { "method": "DELETE", "requestUri": "/greengrass/servicerole", "responseCode": 200 }, "input": { "shape": "DisassociateServiceRoleFromAccountRequest" }, "output": { "shape": "DisassociateServiceRoleFromAccountResponse" }, "errors": [ { "shape": "InternalServerException" } ], "documentation": "

Disassociates the Greengrass service role from IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region. Without a service role, IoT Greengrass can't verify the identity of client devices or manage core device connectivity information. For more information, see Greengrass service role in the IoT Greengrass Version 2 Developer Guide.

" }, "GetComponent": { "name": "GetComponent", "http": { "method": "GET", "requestUri": "/greengrass/v2/components/{arn}" }, "input": { "shape": "GetComponentRequest" }, "output": { "shape": "GetComponentResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalServerException" } ], "documentation": "

Gets the recipe for a version of a component.

" }, "GetComponentVersionArtifact": { "name": "GetComponentVersionArtifact", "http": { "method": "GET", "requestUri": "/greengrass/v2/components/{arn}/artifacts/{artifactName+}" }, "input": { "shape": "GetComponentVersionArtifactRequest" }, "output": { "shape": "GetComponentVersionArtifactResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalServerException" } ], "documentation": "

Gets the pre-signed URL to download a public or a Lambda component artifact. Core devices call this operation to identify the URL that they can use to download an artifact to install.

" }, "GetConnectivityInfo": { "name": "GetConnectivityInfo", "http": { "method": "GET", "requestUri": "/greengrass/things/{thingName}/connectivityInfo", "responseCode": 200 }, "input": { "shape": "GetConnectivityInfoRequest" }, "output": { "shape": "GetConnectivityInfoResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Retrieves connectivity information for a Greengrass core device.

Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the IoT Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide.

" }, "GetCoreDevice": { "name": "GetCoreDevice", "http": { "method": "GET", "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}" }, "input": { "shape": "GetCoreDeviceRequest" }, "output": { "shape": "GetCoreDeviceResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" } ], "documentation": "

Retrieves metadata for a Greengrass core device.

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then the reported status of that device might not reflect its current status. The status timestamp indicates when the device status was last updated.

Core devices send status updates at the following times:

" }, "GetDeployment": { "name": "GetDeployment", "http": { "method": "GET", "requestUri": "/greengrass/v2/deployments/{deploymentId}" }, "input": { "shape": "GetDeploymentRequest" }, "output": { "shape": "GetDeploymentResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" } ], "documentation": "

Gets a deployment. Deployments define the components that run on Greengrass core devices.

" }, "GetServiceRoleForAccount": { "name": "GetServiceRoleForAccount", "http": { "method": "GET", "requestUri": "/greengrass/servicerole", "responseCode": 200 }, "input": { "shape": "GetServiceRoleForAccountRequest" }, "output": { "shape": "GetServiceRoleForAccountResponse" }, "errors": [ { "shape": "InternalServerException" } ], "documentation": "

Gets the service role associated with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region. IoT Greengrass uses this role to verify the identity of client devices and manage core device connectivity information. For more information, see Greengrass service role in the IoT Greengrass Version 2 Developer Guide.

" }, "ListClientDevicesAssociatedWithCoreDevice": { "name": "ListClientDevicesAssociatedWithCoreDevice", "http": { "method": "GET", "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/associatedClientDevices", "responseCode": 200 }, "input": { "shape": "ListClientDevicesAssociatedWithCoreDeviceRequest" }, "output": { "shape": "ListClientDevicesAssociatedWithCoreDeviceResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" } ], "documentation": "

Retrieves a paginated list of client devices that are associated with a core device.

" }, "ListComponentVersions": { "name": "ListComponentVersions", "http": { "method": "GET", "requestUri": "/greengrass/v2/components/{arn}/versions" }, "input": { "shape": "ListComponentVersionsRequest" }, "output": { "shape": "ListComponentVersionsResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalServerException" } ], "documentation": "

Retrieves a paginated list of all versions for a component. Greater versions are listed first.

" }, "ListComponents": { "name": "ListComponents", "http": { "method": "GET", "requestUri": "/greengrass/v2/components" }, "input": { "shape": "ListComponentsRequest" }, "output": { "shape": "ListComponentsResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ThrottlingException" }, { "shape": "InternalServerException" } ], "documentation": "

Retrieves a paginated list of component summaries. This list includes components that you have permission to view.

" }, "ListCoreDevices": { "name": "ListCoreDevices", "http": { "method": "GET", "requestUri": "/greengrass/v2/coreDevices" }, "input": { "shape": "ListCoreDevicesRequest" }, "output": { "shape": "ListCoreDevicesResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" } ], "documentation": "

Retrieves a paginated list of Greengrass core devices.

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then the reported status of that device might not reflect its current status. The status timestamp indicates when the device status was last updated.

Core devices send status updates at the following times:

" }, "ListDeployments": { "name": "ListDeployments", "http": { "method": "GET", "requestUri": "/greengrass/v2/deployments" }, "input": { "shape": "ListDeploymentsRequest" }, "output": { "shape": "ListDeploymentsResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" } ], "documentation": "

Retrieves a paginated list of deployments.

" }, "ListEffectiveDeployments": { "name": "ListEffectiveDeployments", "http": { "method": "GET", "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/effectiveDeployments" }, "input": { "shape": "ListEffectiveDeploymentsRequest" }, "output": { "shape": "ListEffectiveDeploymentsResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" } ], "documentation": "

Retrieves a paginated list of deployment jobs that IoT Greengrass sends to Greengrass core devices.

" }, "ListInstalledComponents": { "name": "ListInstalledComponents", "http": { "method": "GET", "requestUri": "/greengrass/v2/coreDevices/{coreDeviceThingName}/installedComponents" }, "input": { "shape": "ListInstalledComponentsRequest" }, "output": { "shape": "ListInstalledComponentsResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" }, { "shape": "AccessDeniedException" }, { "shape": "InternalServerException" }, { "shape": "ThrottlingException" } ], "documentation": "

Retrieves a paginated list of the components that a Greengrass core device runs. By default, this list doesn't include components that are deployed as dependencies of other components. To include dependencies in the response, set the topologyFilter parameter to ALL.

IoT Greengrass relies on individual devices to send status updates to the Amazon Web Services Cloud. If the IoT Greengrass Core software isn't running on the device, or if device isn't connected to the Amazon Web Services Cloud, then the reported status of that device might not reflect its current status. The status timestamp indicates when the device status was last updated.

Core devices send status updates at the following times:

" }, "ListTagsForResource": { "name": "ListTagsForResource", "http": { "method": "GET", "requestUri": "/tags/{resourceArn}" }, "input": { "shape": "ListTagsForResourceRequest" }, "output": { "shape": "ListTagsForResourceResponse" }, "errors": [ { "shape": "InternalServerException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Retrieves the list of tags for an IoT Greengrass resource.

" }, "ResolveComponentCandidates": { "name": "ResolveComponentCandidates", "http": { "method": "POST", "requestUri": "/greengrass/v2/resolveComponentCandidates" }, "input": { "shape": "ResolveComponentCandidatesRequest" }, "output": { "shape": "ResolveComponentCandidatesResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "AccessDeniedException" }, { "shape": "ResourceNotFoundException" }, { "shape": "ConflictException" }, { "shape": "ThrottlingException" }, { "shape": "InternalServerException" } ], "documentation": "

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.

" }, "TagResource": { "name": "TagResource", "http": { "method": "POST", "requestUri": "/tags/{resourceArn}" }, "input": { "shape": "TagResourceRequest" }, "output": { "shape": "TagResourceResponse" }, "errors": [ { "shape": "InternalServerException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Adds tags to an IoT Greengrass resource. If a tag already exists for the resource, this operation updates the tag's value.

" }, "UntagResource": { "name": "UntagResource", "http": { "method": "DELETE", "requestUri": "/tags/{resourceArn}" }, "input": { "shape": "UntagResourceRequest" }, "output": { "shape": "UntagResourceResponse" }, "errors": [ { "shape": "InternalServerException" }, { "shape": "ValidationException" }, { "shape": "ResourceNotFoundException" } ], "documentation": "

Removes a tag from an IoT Greengrass resource.

" }, "UpdateConnectivityInfo": { "name": "UpdateConnectivityInfo", "http": { "method": "PUT", "requestUri": "/greengrass/things/{thingName}/connectivityInfo", "responseCode": 200 }, "input": { "shape": "UpdateConnectivityInfoRequest" }, "output": { "shape": "UpdateConnectivityInfoResponse" }, "errors": [ { "shape": "ValidationException" }, { "shape": "InternalServerException" } ], "documentation": "

Updates connectivity information for a Greengrass core device.

Connectivity information includes endpoints and ports where client devices can connect to an MQTT broker on the core device. When a client device calls the IoT Greengrass discovery API, IoT Greengrass returns connectivity information for all of the core devices where the client device can connect. For more information, see Connect client devices to core devices in the IoT Greengrass Version 2 Developer Guide.

" } }, "shapes": { "AssociateClientDeviceWithCoreDeviceEntry": { "type": "structure", "required": [ "thingName" ], "members": { "thingName": { "shape": "IoTThingName", "documentation": "

The name of the IoT thing that represents the client device to associate.

" } }, "documentation": "

Contains a request to associate a client device with a core device. The BatchAssociateClientDeviceWithCoreDevice operation consumes a list of these requests.

" }, "AssociateClientDeviceWithCoreDeviceEntryList": { "type": "list", "member": { "shape": "AssociateClientDeviceWithCoreDeviceEntry" }, "max": 100, "min": 1 }, "AssociateClientDeviceWithCoreDeviceErrorEntry": { "type": "structure", "members": { "thingName": { "shape": "IoTThingName", "documentation": "

The name of the IoT thing whose associate request failed.

" }, "code": { "shape": "NonEmptyString", "documentation": "

The error code for the request.

" }, "message": { "shape": "NonEmptyString", "documentation": "

A message that provides additional information about the error.

" } }, "documentation": "

Contains an error that occurs from a request to associate a client device with a core device. The BatchAssociateClientDeviceWithCoreDevice operation returns a list of these errors.

" }, "AssociateClientDeviceWithCoreDeviceErrorList": { "type": "list", "member": { "shape": "AssociateClientDeviceWithCoreDeviceErrorEntry" }, "max": 100 }, "AssociateServiceRoleToAccountRequest": { "type": "structure", "required": [ "roleArn" ], "members": { "roleArn": { "shape": "String", "documentation": "

The Amazon Resource Name (ARN) of the service role to associate with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.

", "locationName": "RoleArn" } } }, "AssociateServiceRoleToAccountResponse": { "type": "structure", "members": { "associatedAt": { "shape": "String", "documentation": "

The time when the service role was associated with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.

", "locationName": "AssociatedAt" } } }, "AssociatedClientDevice": { "type": "structure", "members": { "thingName": { "shape": "IoTThingName", "documentation": "

The name of the IoT thing that represents the associated client device.

" }, "associationTimestamp": { "shape": "Timestamp", "documentation": "

The time that the client device was associated, expressed in ISO 8601 format.

" } }, "documentation": "

Contains information about a client device that is associated to a core device for cloud discovery.

" }, "AssociatedClientDeviceList": { "type": "list", "member": { "shape": "AssociatedClientDevice" }, "max": 100, "min": 1 }, "BatchAssociateClientDeviceWithCoreDeviceRequest": { "type": "structure", "required": [ "coreDeviceThingName" ], "members": { "entries": { "shape": "AssociateClientDeviceWithCoreDeviceEntryList", "documentation": "

The list of client devices to associate.

" }, "coreDeviceThingName": { "shape": "IoTThingName", "documentation": "

The name of the core device. This is also the name of the IoT thing.

", "location": "uri", "locationName": "coreDeviceThingName" } } }, "BatchAssociateClientDeviceWithCoreDeviceResponse": { "type": "structure", "members": { "errorEntries": { "shape": "AssociateClientDeviceWithCoreDeviceErrorList", "documentation": "

The list of any errors for the entries in the request. Each error entry contains the name of the IoT thing that failed to associate.

" } } }, "BatchDisassociateClientDeviceFromCoreDeviceRequest": { "type": "structure", "required": [ "coreDeviceThingName" ], "members": { "entries": { "shape": "DisassociateClientDeviceFromCoreDeviceEntryList", "documentation": "

The list of client devices to disassociate.

" }, "coreDeviceThingName": { "shape": "IoTThingName", "documentation": "

The name of the core device. This is also the name of the IoT thing.

", "location": "uri", "locationName": "coreDeviceThingName" } } }, "BatchDisassociateClientDeviceFromCoreDeviceResponse": { "type": "structure", "members": { "errorEntries": { "shape": "DisassociateClientDeviceFromCoreDeviceErrorList", "documentation": "

The list of any errors for the entries in the request. Each error entry contains the name of the IoT thing that failed to disassociate.

" } } }, "CPU": { "type": "double", "min": 0 }, "CancelDeploymentRequest": { "type": "structure", "required": [ "deploymentId" ], "members": { "deploymentId": { "shape": "NonEmptyString", "documentation": "

The ID of the deployment.

", "location": "uri", "locationName": "deploymentId" } } }, "CancelDeploymentResponse": { "type": "structure", "members": { "message": { "shape": "NonEmptyString", "documentation": "

A message that communicates if the cancel was successful.

" } } }, "ClientTokenString": { "type": "string", "max": 64, "min": 1, "pattern": "^[a-zA-Z0-9-]+$" }, "CloudComponentState": { "type": "string", "enum": [ "REQUESTED", "INITIATED", "DEPLOYABLE", "FAILED", "DEPRECATED" ] }, "CloudComponentStatus": { "type": "structure", "members": { "componentState": { "shape": "CloudComponentState", "documentation": "

The state of the component version.

" }, "message": { "shape": "NonEmptyString", "documentation": "

A message that communicates details, such as errors, about the status of the component version.

" }, "errors": { "shape": "StringMap", "documentation": "

A dictionary of errors that communicate why the component version is in an error state. For example, if IoT Greengrass can't access an artifact for the component version, then errors contains the artifact's URI as a key, and the error message as the value for that key.

" }, "vendorGuidance": { "shape": "VendorGuidance", "documentation": "

The vendor guidance state for the component version. This state indicates whether the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:

" }, "vendorGuidanceMessage": { "shape": "NonEmptyString", "documentation": "

A message that communicates details about the vendor guidance state of the component version. This message communicates why a component version is discontinued or deleted.

" } }, "documentation": "

Contains the status of a component version in the IoT Greengrass service.

" }, "Component": { "type": "structure", "members": { "arn": { "shape": "ComponentARN", "documentation": "

The ARN of the component version.

" }, "componentName": { "shape": "ComponentNameString", "documentation": "

The name of the component.

" }, "latestVersion": { "shape": "ComponentLatestVersion", "documentation": "

The latest version of the component and its details.

" } }, "documentation": "

Contains information about a component.

" }, "ComponentARN": { "type": "string", "pattern": "arn:[^:]*:greengrass:[^:]*:(aws|[0-9]+):components:[^:]+" }, "ComponentCandidate": { "type": "structure", "members": { "componentName": { "shape": "ComponentNameString", "documentation": "

The name of the component.

" }, "componentVersion": { "shape": "ComponentVersionString", "documentation": "

The version of the component.

" }, "versionRequirements": { "shape": "ComponentVersionRequirementMap", "documentation": "

The version requirements for the component's dependencies. Greengrass core devices get the version requirements from component recipes.

IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.

" } }, "documentation": "

Contains information about a component that is a candidate to deploy to a Greengrass core device.

" }, "ComponentCandidateList": { "type": "list", "member": { "shape": "ComponentCandidate" } }, "ComponentConfigurationPath": { "type": "string", "max": 256, "min": 0 }, "ComponentConfigurationPathList": { "type": "list", "member": { "shape": "ComponentConfigurationPath" } }, "ComponentConfigurationString": { "type": "string", "max": 10485760, "min": 1 }, "ComponentConfigurationUpdate": { "type": "structure", "members": { "merge": { "shape": "ComponentConfigurationString", "documentation": "

A serialized JSON string that contains the configuration object to merge to target devices. The core device merges this configuration with the component's existing configuration. If this is the first time a component deploys on a device, the core device merges this configuration with the component's default configuration. This means that the core device keeps it's existing configuration for keys and values that you don't specify in this object. For more information, see Merge configuration updates in the IoT Greengrass V2 Developer Guide.

" }, "reset": { "shape": "ComponentConfigurationPathList", "documentation": "

The list of configuration nodes to reset to default values on target devices. Use JSON pointers to specify each node to reset. JSON pointers start with a forward slash (/) and use forward slashes to separate the key for each level in the object. For more information, see the JSON pointer specification and Reset configuration updates in the IoT Greengrass V2 Developer Guide.

" } }, "documentation": "

Contains information about a deployment's update to a component's configuration on Greengrass core devices. For more information, see Update component configurations in the IoT Greengrass V2 Developer Guide.

" }, "ComponentDependencyMap": { "type": "map", "key": { "shape": "NonEmptyString" }, "value": { "shape": "ComponentDependencyRequirement" } }, "ComponentDependencyRequirement": { "type": "structure", "members": { "versionRequirement": { "shape": "NonEmptyString", "documentation": "

The component version requirement for the component dependency.

IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.

" }, "dependencyType": { "shape": "ComponentDependencyType", "documentation": "

The type of this dependency. Choose from the following options:

Default: HARD

" } }, "documentation": "

Contains information about a component dependency for a Lambda function component.

" }, "ComponentDependencyType": { "type": "string", "enum": [ "HARD", "SOFT" ] }, "ComponentDeploymentSpecification": { "type": "structure", "required": [ "componentVersion" ], "members": { "componentVersion": { "shape": "ComponentVersionString", "documentation": "

The version of the component.

" }, "configurationUpdate": { "shape": "ComponentConfigurationUpdate", "documentation": "

The configuration updates to deploy for the component. You can define reset updates and merge updates. A reset updates the keys that you specify to the default configuration for the component. A merge updates the core device's component configuration with the keys and values that you specify. The IoT Greengrass Core software applies reset updates before it applies merge updates. For more information, see Update component configurations in the IoT Greengrass V2 Developer Guide.

" }, "runWith": { "shape": "ComponentRunWith", "documentation": "

The system user and group that the IoT Greengrass Core software uses to run component processes on the core device. If you omit this parameter, the IoT Greengrass Core software uses the system user and group that you configure for the core device. For more information, see Configure the user and group that run components in the IoT Greengrass V2 Developer Guide.

" } }, "documentation": "

Contains information about a component to deploy.

" }, "ComponentDeploymentSpecifications": { "type": "map", "key": { "shape": "NonEmptyString" }, "value": { "shape": "ComponentDeploymentSpecification" } }, "ComponentLatestVersion": { "type": "structure", "members": { "arn": { "shape": "ComponentVersionARN", "documentation": "

The ARN of the component version.

" }, "componentVersion": { "shape": "ComponentVersionString", "documentation": "

The version of the component.

" }, "creationTimestamp": { "shape": "Timestamp", "documentation": "

The time at which the component was created, expressed in ISO 8601 format.

" }, "description": { "shape": "NonEmptyString", "documentation": "

The description of the component version.

" }, "publisher": { "shape": "NonEmptyString", "documentation": "

The publisher of the component version.

" }, "platforms": { "shape": "ComponentPlatformList", "documentation": "

The platforms that the component version supports.

" } }, "documentation": "

Contains information about the latest version of a component.

" }, "ComponentList": { "type": "list", "member": { "shape": "Component" } }, "ComponentNameString": { "type": "string", "max": 128, "min": 1 }, "ComponentPlatform": { "type": "structure", "members": { "name": { "shape": "NonEmptyString", "documentation": "

The friendly name of the platform. This name helps you identify the platform.

If you omit this parameter, IoT Greengrass creates a friendly name from the os and architecture of the platform.

" }, "attributes": { "shape": "PlatformAttributesMap", "documentation": "

A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os and architecture by default. You can specify additional platform attributes for a core device when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.

" } }, "documentation": "

Contains information about a platform that a component supports.

" }, "ComponentPlatformList": { "type": "list", "member": { "shape": "ComponentPlatform" } }, "ComponentRunWith": { "type": "structure", "members": { "posixUser": { "shape": "NonEmptyString", "documentation": "

The POSIX system user and, optionally, group to use to run this component on Linux core devices. The user, and group if specified, must exist on each Linux core device. Specify the user and group separated by a colon (:) in the following format: user:group. The group is optional. If you don't specify a group, the IoT Greengrass Core software uses the primary user for the group.

If you omit this parameter, the IoT Greengrass Core software uses the default system user and group that you configure on the Greengrass nucleus component. For more information, see Configure the user and group that run components.

" }, "systemResourceLimits": { "shape": "SystemResourceLimits", "documentation": "

The system resource limits to apply to this component's process on the core device. IoT Greengrass currently supports this feature on only Linux core devices.

If you omit this parameter, the IoT Greengrass Core software uses the default system resource limits that you configure on the Greengrass nucleus component. For more information, see Configure system resource limits for components.

" }, "windowsUser": { "shape": "NonEmptyString", "documentation": "

The Windows user to use to run this component on Windows core devices. The user must exist on each Windows core device, and its name and password must be in the LocalSystem account's Credentials Manager instance.

If you omit this parameter, the IoT Greengrass Core software uses the default Windows user that you configure on the Greengrass nucleus component. For more information, see Configure the user and group that run components.

" } }, "documentation": "

Contains information system user and group that the IoT Greengrass Core software uses to run component processes on the core device. For more information, see Configure the user and group that run components in the IoT Greengrass V2 Developer Guide.

" }, "ComponentVersionARN": { "type": "string", "pattern": "arn:[^:]*:greengrass:[^:]*:(aws|[0-9]+):components:[^:]+:versions:[^:]+" }, "ComponentVersionList": { "type": "list", "member": { "shape": "ComponentVersionListItem" } }, "ComponentVersionListItem": { "type": "structure", "members": { "componentName": { "shape": "ComponentNameString", "documentation": "

The name of the component.

" }, "componentVersion": { "shape": "ComponentVersionString", "documentation": "

The version of the component.

" }, "arn": { "shape": "NonEmptyString", "documentation": "

The ARN of the component version.

" } }, "documentation": "

Contains information about a component version in a list.

" }, "ComponentVersionRequirementMap": { "type": "map", "key": { "shape": "NonEmptyString" }, "value": { "shape": "NonEmptyString" } }, "ComponentVersionString": { "type": "string", "max": 64, "min": 1 }, "ComponentVisibilityScope": { "type": "string", "enum": [ "PRIVATE", "PUBLIC" ] }, "ConnectivityInfo": { "type": "structure", "members": { "id": { "shape": "String", "documentation": "

An ID for the connectivity information.

", "locationName": "Id" }, "hostAddress": { "shape": "String", "documentation": "

The IP address or DNS address where client devices can connect to an MQTT broker on the Greengrass core device.

", "locationName": "HostAddress" }, "portNumber": { "shape": "PortNumberInt", "documentation": "

The port where the MQTT broker operates on the core device. This port is typically 8883, which is the default port for the MQTT broker component that runs on core devices.

", "locationName": "PortNumber" }, "metadata": { "shape": "String", "documentation": "

Additional metadata to provide to client devices that connect to this core device.

", "locationName": "Metadata" } }, "documentation": "

Contains information about an endpoint and port where client devices can connect to an MQTT broker on a Greengrass core device.

" }, "CoreDevice": { "type": "structure", "members": { "coreDeviceThingName": { "shape": "CoreDeviceThingName", "documentation": "

The name of the core device. This is also the name of the IoT thing.

" }, "status": { "shape": "CoreDeviceStatus", "documentation": "

The status of the core device. Core devices can have the following statuses:

" }, "lastStatusUpdateTimestamp": { "shape": "Timestamp", "documentation": "

The time at which the core device's status last updated, expressed in ISO 8601 format.

" } }, "documentation": "

Contains information about a Greengrass core device, which is an IoT thing that runs the IoT Greengrass Core software.

" }, "CoreDeviceArchitectureString": { "type": "string", "max": 255, "min": 1 }, "CoreDevicePlatformString": { "type": "string", "max": 255, "min": 1 }, "CoreDeviceStatus": { "type": "string", "enum": [ "HEALTHY", "UNHEALTHY" ] }, "CoreDeviceThingName": { "type": "string", "max": 128, "min": 1 }, "CoreDevicesList": { "type": "list", "member": { "shape": "CoreDevice" } }, "CreateComponentVersionRequest": { "type": "structure", "members": { "inlineRecipe": { "shape": "RecipeBlob", "documentation": "

The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility.

You must specify either inlineRecipe or lambdaFunction.

" }, "lambdaFunction": { "shape": "LambdaFunctionRecipeSource", "documentation": "

The parameters to create a component from a Lambda function.

You must specify either inlineRecipe or lambdaFunction.

" }, "tags": { "shape": "TagMap", "documentation": "

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.

" }, "clientToken": { "shape": "ClientTokenString", "documentation": "

A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.

", "idempotencyToken": true } } }, "CreateComponentVersionResponse": { "type": "structure", "required": [ "componentName", "componentVersion", "creationTimestamp", "status" ], "members": { "arn": { "shape": "ComponentVersionARN", "documentation": "

The ARN of the component version.

" }, "componentName": { "shape": "ComponentNameString", "documentation": "

The name of the component.

" }, "componentVersion": { "shape": "ComponentVersionString", "documentation": "

The version of the component.

" }, "creationTimestamp": { "shape": "Timestamp", "documentation": "

The time at which the component was created, expressed in ISO 8601 format.

" }, "status": { "shape": "CloudComponentStatus", "documentation": "

The status of the component version in IoT Greengrass V2. This status is different from the status of the component on a core device.

" } } }, "CreateDeploymentRequest": { "type": "structure", "required": [ "targetArn" ], "members": { "targetArn": { "shape": "TargetARN", "documentation": "

The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.

" }, "deploymentName": { "shape": "DeploymentNameString", "documentation": "

The name of the deployment.

" }, "components": { "shape": "ComponentDeploymentSpecifications", "documentation": "

The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.

" }, "iotJobConfiguration": { "shape": "DeploymentIoTJobConfiguration", "documentation": "

The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.

" }, "deploymentPolicies": { "shape": "DeploymentPolicies", "documentation": "

The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.

" }, "parentTargetArn": { "shape": "ThingGroupARN", "documentation": "

The parent deployment's target ARN within a subdeployment.

" }, "tags": { "shape": "TagMap", "documentation": "

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.

" }, "clientToken": { "shape": "ClientTokenString", "documentation": "

A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.

", "idempotencyToken": true } } }, "CreateDeploymentResponse": { "type": "structure", "members": { "deploymentId": { "shape": "NonEmptyString", "documentation": "

The ID of the deployment.

" }, "iotJobId": { "shape": "NonEmptyString", "documentation": "

The ID of the IoT job that applies the deployment to target devices.

" }, "iotJobArn": { "shape": "IoTJobARN", "documentation": "

The ARN of the IoT job that applies the deployment to target devices.

" } } }, "DefaultMaxResults": { "type": "integer", "max": 100, "min": 1 }, "DeleteComponentRequest": { "type": "structure", "required": [ "arn" ], "members": { "arn": { "shape": "ComponentVersionARN", "documentation": "

The ARN of the component version.

", "location": "uri", "locationName": "arn" } } }, "DeleteCoreDeviceRequest": { "type": "structure", "required": [ "coreDeviceThingName" ], "members": { "coreDeviceThingName": { "shape": "CoreDeviceThingName", "documentation": "

The name of the core device. This is also the name of the IoT thing.

", "location": "uri", "locationName": "coreDeviceThingName" } } }, "DeleteDeploymentRequest": { "type": "structure", "required": [ "deploymentId" ], "members": { "deploymentId": { "shape": "NonEmptyString", "documentation": "

The ID of the deployment.

", "location": "uri", "locationName": "deploymentId" } } }, "Deployment": { "type": "structure", "members": { "targetArn": { "shape": "TargetARN", "documentation": "

The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.

" }, "revisionId": { "shape": "NonEmptyString", "documentation": "

The revision number of the deployment.

" }, "deploymentId": { "shape": "NonEmptyString", "documentation": "

The ID of the deployment.

" }, "deploymentName": { "shape": "NonEmptyString", "documentation": "

The name of the deployment.

" }, "creationTimestamp": { "shape": "Timestamp", "documentation": "

The time at which the deployment was created, expressed in ISO 8601 format.

" }, "deploymentStatus": { "shape": "DeploymentStatus", "documentation": "

The status of the deployment.

" }, "isLatestForTarget": { "shape": "IsLatestForTarget", "documentation": "

Whether or not the deployment is the latest revision for its target.

" }, "parentTargetArn": { "shape": "ThingGroupARN", "documentation": "

The parent deployment's target ARN within a subdeployment.

" } }, "documentation": "

Contains information about a deployment.

" }, "DeploymentComponentUpdatePolicy": { "type": "structure", "members": { "timeoutInSeconds": { "shape": "OptionalInteger", "documentation": "

The amount of time in seconds that each component on a device has to report that it's safe to update. If the component waits for longer than this timeout, then the deployment proceeds on the device.

Default: 60

", "box": true }, "action": { "shape": "DeploymentComponentUpdatePolicyAction", "documentation": "

Whether or not to notify components and wait for components to become safe to update. Choose from the following options:

Default: NOTIFY_COMPONENTS

" } }, "documentation": "

Contains information about a deployment's policy that defines when components are safe to update.

Each component on a device can report whether or not it's ready to update. After a component and its dependencies are ready, they can apply the update in the deployment. You can configure whether or not the deployment notifies components of an update and waits for a response. You specify the amount of time each component has to respond to the update notification.

" }, "DeploymentComponentUpdatePolicyAction": { "type": "string", "enum": [ "NOTIFY_COMPONENTS", "SKIP_NOTIFY_COMPONENTS" ] }, "DeploymentConfigurationValidationPolicy": { "type": "structure", "members": { "timeoutInSeconds": { "shape": "OptionalInteger", "documentation": "

The amount of time in seconds that a component can validate its configuration updates. If the validation time exceeds this timeout, then the deployment proceeds for the device.

Default: 30

", "box": true } }, "documentation": "

Contains information about how long a component on a core device can validate its configuration updates before it times out. Components can use the SubscribeToValidateConfigurationUpdates IPC operation to receive notifications when a deployment specifies a configuration update. Then, components can respond with the SendConfigurationValidityReport IPC operation. For more information, see Create deployments in the IoT Greengrass V2 Developer Guide.

" }, "DeploymentFailureHandlingPolicy": { "type": "string", "enum": [ "ROLLBACK", "DO_NOTHING" ] }, "DeploymentHistoryFilter": { "type": "string", "enum": [ "ALL", "LATEST_ONLY" ] }, "DeploymentID": { "type": "string" }, "DeploymentIoTJobConfiguration": { "type": "structure", "members": { "jobExecutionsRolloutConfig": { "shape": "IoTJobExecutionsRolloutConfig", "documentation": "

The rollout configuration for the job. This configuration defines the rate at which the job rolls out to the fleet of target devices.

" }, "abortConfig": { "shape": "IoTJobAbortConfig", "documentation": "

The stop configuration for the job. This configuration defines when and how to stop a job rollout.

" }, "timeoutConfig": { "shape": "IoTJobTimeoutConfig", "documentation": "

The timeout configuration for the job. This configuration defines the amount of time each device has to complete the job.

" } }, "documentation": "

Contains information about an IoT job configuration.

" }, "DeploymentList": { "type": "list", "member": { "shape": "Deployment" } }, "DeploymentName": { "type": "string" }, "DeploymentNameString": { "type": "string", "max": 256, "min": 1 }, "DeploymentPolicies": { "type": "structure", "members": { "failureHandlingPolicy": { "shape": "DeploymentFailureHandlingPolicy", "documentation": "

The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.

Default: ROLLBACK

" }, "componentUpdatePolicy": { "shape": "DeploymentComponentUpdatePolicy", "documentation": "

The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.

" }, "configurationValidationPolicy": { "shape": "DeploymentConfigurationValidationPolicy", "documentation": "

The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.

" } }, "documentation": "

Contains information about policies that define how a deployment updates components and handles failure.

" }, "DeploymentStatus": { "type": "string", "enum": [ "ACTIVE", "COMPLETED", "CANCELED", "FAILED", "INACTIVE" ] }, "DescribeComponentRequest": { "type": "structure", "required": [ "arn" ], "members": { "arn": { "shape": "ComponentVersionARN", "documentation": "

The ARN of the component version.

", "location": "uri", "locationName": "arn" } } }, "DescribeComponentResponse": { "type": "structure", "members": { "arn": { "shape": "ComponentVersionARN", "documentation": "

The ARN of the component version.

" }, "componentName": { "shape": "ComponentNameString", "documentation": "

The name of the component.

" }, "componentVersion": { "shape": "ComponentVersionString", "documentation": "

The version of the component.

" }, "creationTimestamp": { "shape": "Timestamp", "documentation": "

The time at which the component was created, expressed in ISO 8601 format.

" }, "publisher": { "shape": "PublisherString", "documentation": "

The publisher of the component version.

" }, "description": { "shape": "DescriptionString", "documentation": "

The description of the component version.

" }, "status": { "shape": "CloudComponentStatus", "documentation": "

The status of the component version in IoT Greengrass V2. This status is different from the status of the component on a core device.

" }, "platforms": { "shape": "ComponentPlatformList", "documentation": "

The platforms that the component version supports.

" }, "tags": { "shape": "TagMap", "documentation": "

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.

" } } }, "Description": { "type": "string", "max": 500, "min": 1 }, "DescriptionString": { "type": "string" }, "DisassociateClientDeviceFromCoreDeviceEntry": { "type": "structure", "required": [ "thingName" ], "members": { "thingName": { "shape": "IoTThingName", "documentation": "

The name of the IoT thing that represents the client device to disassociate.

" } }, "documentation": "

Contains a request to disassociate a client device from a core device. The BatchDisassociateClientDeviceWithCoreDevice operation consumes a list of these requests.

" }, "DisassociateClientDeviceFromCoreDeviceEntryList": { "type": "list", "member": { "shape": "DisassociateClientDeviceFromCoreDeviceEntry" }, "max": 100, "min": 1 }, "DisassociateClientDeviceFromCoreDeviceErrorEntry": { "type": "structure", "members": { "thingName": { "shape": "IoTThingName", "documentation": "

The name of the IoT thing whose disassociate request failed.

" }, "code": { "shape": "NonEmptyString", "documentation": "

The error code for the request.

" }, "message": { "shape": "NonEmptyString", "documentation": "

A message that provides additional information about the error.

" } }, "documentation": "

Contains an error that occurs from a request to disassociate a client device from a core device. The BatchDisassociateClientDeviceWithCoreDevice operation returns a list of these errors.

" }, "DisassociateClientDeviceFromCoreDeviceErrorList": { "type": "list", "member": { "shape": "DisassociateClientDeviceFromCoreDeviceErrorEntry" }, "max": 100 }, "DisassociateServiceRoleFromAccountRequest": { "type": "structure", "members": {} }, "DisassociateServiceRoleFromAccountResponse": { "type": "structure", "members": { "disassociatedAt": { "shape": "String", "documentation": "

The time when the service role was disassociated from IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.

", "locationName": "DisassociatedAt" } } }, "EffectiveDeployment": { "type": "structure", "required": [ "deploymentId", "deploymentName", "targetArn", "coreDeviceExecutionStatus", "creationTimestamp", "modifiedTimestamp" ], "members": { "deploymentId": { "shape": "DeploymentID", "documentation": "

The ID of the deployment.

" }, "deploymentName": { "shape": "DeploymentName", "documentation": "

The name of the deployment.

" }, "iotJobId": { "shape": "IoTJobId", "documentation": "

The ID of the IoT job that applies the deployment to target devices.

" }, "iotJobArn": { "shape": "IoTJobARN", "documentation": "

The ARN of the IoT job that applies the deployment to target devices.

" }, "description": { "shape": "Description", "documentation": "

The description of the deployment job.

" }, "targetArn": { "shape": "TargetARN", "documentation": "

The ARN of the target IoT thing or thing group.

" }, "coreDeviceExecutionStatus": { "shape": "EffectiveDeploymentExecutionStatus", "documentation": "

The status of the deployment job on the Greengrass core device.

" }, "reason": { "shape": "Reason", "documentation": "

The reason code for the update, if the job was updated.

" }, "creationTimestamp": { "shape": "Timestamp", "documentation": "

The time at which the deployment was created, expressed in ISO 8601 format.

" }, "modifiedTimestamp": { "shape": "Timestamp", "documentation": "

The time at which the deployment job was last modified, expressed in ISO 8601 format.

" }, "statusDetails": { "shape": "EffectiveDeploymentStatusDetails", "documentation": "

The status details that explain why a deployment has an error. This response will be null if the deployment is in a success state.

" } }, "documentation": "

Contains information about a deployment job that IoT Greengrass sends to a Greengrass core device.

" }, "EffectiveDeploymentErrorCode": { "type": "string", "max": 255, "min": 1 }, "EffectiveDeploymentErrorStack": { "type": "list", "member": { "shape": "EffectiveDeploymentErrorCode" } }, "EffectiveDeploymentErrorType": { "type": "string", "max": 255, "min": 1 }, "EffectiveDeploymentErrorTypeList": { "type": "list", "member": { "shape": "EffectiveDeploymentErrorType" } }, "EffectiveDeploymentExecutionStatus": { "type": "string", "enum": [ "IN_PROGRESS", "QUEUED", "FAILED", "COMPLETED", "TIMED_OUT", "CANCELED", "REJECTED", "SUCCEEDED" ] }, "EffectiveDeploymentStatusDetails": { "type": "structure", "members": { "errorStack": { "shape": "EffectiveDeploymentErrorStack", "documentation": "

Contains an ordered list of short error codes that range from the most generic error to the most specific one. The error codes describe the reason for failure whenever the coreDeviceExecutionStatus is in a failed state. The response will be an empty list if there is no error.

" }, "errorTypes": { "shape": "EffectiveDeploymentErrorTypeList", "documentation": "

Contains tags which describe the error. You can use the error types to classify errors to assist with remediating the failure. The response will be an empty list if there is no error.

" } }, "documentation": "

Contains all error-related information for the deployment record. The status details will be null if the deployment is in a success state.

Greengrass nucleus v2.8.0 or later is required to get an accurate errorStack and errorTypes response. This field will not be returned for earlier Greengrass nucleus versions.

" }, "EffectiveDeploymentsList": { "type": "list", "member": { "shape": "EffectiveDeployment" } }, "FileSystemPath": { "type": "string" }, "GGCVersion": { "type": "string", "max": 255, "min": 1 }, "GenericV2ARN": { "type": "string", "pattern": "arn:[^:]*:greengrass:[^:]*:(aws|[0-9]+):(components|deployments|coreDevices):.*" }, "GetComponentRequest": { "type": "structure", "required": [ "arn" ], "members": { "recipeOutputFormat": { "shape": "RecipeOutputFormat", "documentation": "

The format of the recipe.

", "location": "querystring", "locationName": "recipeOutputFormat" }, "arn": { "shape": "ComponentVersionARN", "documentation": "

The ARN of the component version.

", "location": "uri", "locationName": "arn" } } }, "GetComponentResponse": { "type": "structure", "required": [ "recipeOutputFormat", "recipe" ], "members": { "recipeOutputFormat": { "shape": "RecipeOutputFormat", "documentation": "

The format of the recipe.

" }, "recipe": { "shape": "RecipeBlob", "documentation": "

The recipe of the component version.

" }, "tags": { "shape": "TagMap", "documentation": "

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.

" } } }, "GetComponentVersionArtifactRequest": { "type": "structure", "required": [ "arn", "artifactName" ], "members": { "arn": { "shape": "ComponentVersionARN", "documentation": "

The ARN of the component version. Specify the ARN of a public or a Lambda component version.

", "location": "uri", "locationName": "arn" }, "artifactName": { "shape": "NonEmptyString", "documentation": "

The name of the artifact.

You can use the GetComponent operation to download the component recipe, which includes the URI of the artifact. The artifact name is the section of the URI after the scheme. For example, in the artifact URI greengrass:SomeArtifact.zip, the artifact name is SomeArtifact.zip.

", "location": "uri", "locationName": "artifactName" }, "s3EndpointType": { "shape": "S3EndpointType", "documentation": "

Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.

All Amazon Web Services Regions except US East (N. Virginia) use REGIONAL in all cases. In the US East (N. Virginia) Region the default is GLOBAL, but you can change it to REGIONAL with this parameter.

", "location": "querystring", "locationName": "s3EndpointType" }, "iotEndpointType": { "shape": "IotEndpointType", "documentation": "

Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint. Specify fips if you want the returned Amazon S3 pre-signed URL to point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default is standard.

", "location": "header", "locationName": "x-amz-iot-endpoint-type" } } }, "GetComponentVersionArtifactResponse": { "type": "structure", "required": [ "preSignedUrl" ], "members": { "preSignedUrl": { "shape": "NonEmptyString", "documentation": "

The URL of the artifact.

" } } }, "GetConnectivityInfoRequest": { "type": "structure", "required": [ "thingName" ], "members": { "thingName": { "shape": "CoreDeviceThingName", "documentation": "

The name of the core device. This is also the name of the IoT thing.

", "location": "uri", "locationName": "thingName" } } }, "GetConnectivityInfoResponse": { "type": "structure", "members": { "connectivityInfo": { "shape": "connectivityInfoList", "documentation": "

The connectivity information for the core device.

", "locationName": "ConnectivityInfo" }, "message": { "shape": "String", "documentation": "

A message about the connectivity information request.

", "locationName": "Message" } } }, "GetCoreDeviceRequest": { "type": "structure", "required": [ "coreDeviceThingName" ], "members": { "coreDeviceThingName": { "shape": "CoreDeviceThingName", "documentation": "

The name of the core device. This is also the name of the IoT thing.

", "location": "uri", "locationName": "coreDeviceThingName" } } }, "GetCoreDeviceResponse": { "type": "structure", "members": { "coreDeviceThingName": { "shape": "CoreDeviceThingName", "documentation": "

The name of the core device. This is also the name of the IoT thing.

" }, "coreVersion": { "shape": "GGCVersion", "documentation": "

The version of the IoT Greengrass Core software that the core device runs. This version is equivalent to the version of the Greengrass nucleus component that runs on the core device. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.

" }, "platform": { "shape": "CoreDevicePlatformString", "documentation": "

The operating system platform that the core device runs.

" }, "architecture": { "shape": "CoreDeviceArchitectureString", "documentation": "

The computer architecture of the core device.

" }, "status": { "shape": "CoreDeviceStatus", "documentation": "

The status of the core device. The core device status can be:

" }, "lastStatusUpdateTimestamp": { "shape": "Timestamp", "documentation": "

The time at which the core device's status last updated, expressed in ISO 8601 format.

" }, "tags": { "shape": "TagMap", "documentation": "

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.

" } } }, "GetDeploymentRequest": { "type": "structure", "required": [ "deploymentId" ], "members": { "deploymentId": { "shape": "NonEmptyString", "documentation": "

The ID of the deployment.

", "location": "uri", "locationName": "deploymentId" } } }, "GetDeploymentResponse": { "type": "structure", "members": { "targetArn": { "shape": "TargetARN", "documentation": "

The ARN of the target IoT thing or thing group.

" }, "revisionId": { "shape": "NonEmptyString", "documentation": "

The revision number of the deployment.

" }, "deploymentId": { "shape": "NonEmptyString", "documentation": "

The ID of the deployment.

" }, "deploymentName": { "shape": "NullableString", "documentation": "

The name of the deployment.

" }, "deploymentStatus": { "shape": "DeploymentStatus", "documentation": "

The status of the deployment.

" }, "iotJobId": { "shape": "NullableString", "documentation": "

The ID of the IoT job that applies the deployment to target devices.

" }, "iotJobArn": { "shape": "IoTJobARN", "documentation": "

The ARN of the IoT job that applies the deployment to target devices.

" }, "components": { "shape": "ComponentDeploymentSpecifications", "documentation": "

The components to deploy. This is a dictionary, where each key is the name of a component, and each key's value is the version and configuration to deploy for that component.

" }, "deploymentPolicies": { "shape": "DeploymentPolicies", "documentation": "

The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.

" }, "iotJobConfiguration": { "shape": "DeploymentIoTJobConfiguration", "documentation": "

The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.

" }, "creationTimestamp": { "shape": "Timestamp", "documentation": "

The time at which the deployment was created, expressed in ISO 8601 format.

" }, "isLatestForTarget": { "shape": "IsLatestForTarget", "documentation": "

Whether or not the deployment is the latest revision for its target.

" }, "parentTargetArn": { "shape": "ThingGroupARN", "documentation": "

The parent deployment's target ARN within a subdeployment.

" }, "tags": { "shape": "TagMap", "documentation": "

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.

" } } }, "GetServiceRoleForAccountRequest": { "type": "structure", "members": {} }, "GetServiceRoleForAccountResponse": { "type": "structure", "members": { "associatedAt": { "shape": "String", "documentation": "

The time when the service role was associated with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.

", "locationName": "AssociatedAt" }, "roleArn": { "shape": "String", "documentation": "

The ARN of the service role that is associated with IoT Greengrass for your Amazon Web Services account in this Amazon Web Services Region.

", "locationName": "RoleArn" } } }, "InstalledComponent": { "type": "structure", "members": { "componentName": { "shape": "ComponentNameString", "documentation": "

The name of the component.

" }, "componentVersion": { "shape": "ComponentVersionString", "documentation": "

The version of the component.

" }, "lifecycleState": { "shape": "InstalledComponentLifecycleState", "documentation": "

The lifecycle state of the component.

" }, "lifecycleStateDetails": { "shape": "LifecycleStateDetails", "documentation": "

A detailed response about the lifecycle state of the component that explains the reason why a component has an error or is broken.

" }, "isRoot": { "shape": "IsRoot", "documentation": "

Whether or not the component is a root component.

" }, "lastStatusChangeTimestamp": { "shape": "Timestamp", "documentation": "

The status of how current the data is.

This response is based off of component state changes. The status reflects component disruptions and deployments. If a component only sees a configuration update during a deployment, it might not undergo a state change and this status would not be updated.

" }, "lastReportedTimestamp": { "shape": "Timestamp", "documentation": "

The last time the Greengrass core device sent a message containing a component's state to the Amazon Web Services Cloud.

A component does not need to see a state change for this field to update.

" }, "lastInstallationSource": { "shape": "NonEmptyString", "documentation": "

The most recent deployment source that brought the component to the Greengrass core device. For a thing group deployment or thing deployment, the source will be the ID of the last deployment that contained the component. For local deployments it will be LOCAL.

Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.

" }, "lifecycleStatusCodes": { "shape": "InstalledComponentLifecycleStatusCodeList", "documentation": "

The status codes that indicate the reason for failure whenever the lifecycleState has an error or is in a broken state.

Greengrass nucleus v2.8.0 or later is required to get an accurate lifecycleStatusCodes response. This response can be inaccurate in earlier Greengrass nucleus versions.

" } }, "documentation": "

Contains information about a component on a Greengrass core device.

" }, "InstalledComponentLifecycleState": { "type": "string", "enum": [ "NEW", "INSTALLED", "STARTING", "RUNNING", "STOPPING", "ERRORED", "BROKEN", "FINISHED" ] }, "InstalledComponentLifecycleStatusCode": { "type": "string", "max": 255, "min": 1 }, "InstalledComponentLifecycleStatusCodeList": { "type": "list", "member": { "shape": "InstalledComponentLifecycleStatusCode" } }, "InstalledComponentList": { "type": "list", "member": { "shape": "InstalledComponent" } }, "InstalledComponentTopologyFilter": { "type": "string", "enum": [ "ALL", "ROOT" ] }, "IoTJobARN": { "type": "string", "pattern": "arn:[^:]*:iot:[^:]+:[0-9]+:job/.+" }, "IoTJobAbortAction": { "type": "string", "enum": [ "CANCEL" ] }, "IoTJobAbortConfig": { "type": "structure", "required": [ "criteriaList" ], "members": { "criteriaList": { "shape": "IoTJobAbortCriteriaList", "documentation": "

The list of criteria that define when and how to cancel the configuration deployment.

" } }, "documentation": "

Contains a list of criteria that define when and how to cancel a configuration deployment.

" }, "IoTJobAbortCriteria": { "type": "structure", "required": [ "failureType", "action", "thresholdPercentage", "minNumberOfExecutedThings" ], "members": { "failureType": { "shape": "IoTJobExecutionFailureType", "documentation": "

The type of job deployment failure that can cancel a job.

" }, "action": { "shape": "IoTJobAbortAction", "documentation": "

The action to perform when the criteria are met.

" }, "thresholdPercentage": { "shape": "IoTJobAbortThresholdPercentage", "documentation": "

The minimum percentage of failureType failures that occur before the job can cancel.

This parameter supports up to two digits after the decimal (for example, you can specify 10.9 or 10.99, but not 10.999).

" }, "minNumberOfExecutedThings": { "shape": "IoTJobMinimumNumberOfExecutedThings", "documentation": "

The minimum number of things that receive the configuration before the job can cancel.

" } }, "documentation": "

Contains criteria that define when and how to cancel a job.

The deployment stops if the following conditions are true:

  1. The number of things that receive the deployment exceeds the minNumberOfExecutedThings.

  2. The percentage of failures with type failureType exceeds the thresholdPercentage.

" }, "IoTJobAbortCriteriaList": { "type": "list", "member": { "shape": "IoTJobAbortCriteria" }, "min": 1 }, "IoTJobAbortThresholdPercentage": { "type": "double", "max": 100 }, "IoTJobExecutionFailureType": { "type": "string", "enum": [ "FAILED", "REJECTED", "TIMED_OUT", "ALL" ] }, "IoTJobExecutionsRolloutConfig": { "type": "structure", "members": { "exponentialRate": { "shape": "IoTJobExponentialRolloutRate", "documentation": "

The exponential rate to increase the job rollout rate.

" }, "maximumPerMinute": { "shape": "IoTJobMaxExecutionsPerMin", "documentation": "

The maximum number of devices that receive a pending job notification, per minute.

", "box": true } }, "documentation": "

Contains information about the rollout configuration for a job. This configuration defines the rate at which the job deploys a configuration to a fleet of target devices.

" }, "IoTJobExponentialRolloutRate": { "type": "structure", "required": [ "baseRatePerMinute", "incrementFactor", "rateIncreaseCriteria" ], "members": { "baseRatePerMinute": { "shape": "IoTJobRolloutBaseRatePerMinute", "documentation": "

The minimum number of devices that receive a pending job notification, per minute, when the job starts. This parameter defines the initial rollout rate of the job.

" }, "incrementFactor": { "shape": "IoTJobRolloutIncrementFactor", "documentation": "

The exponential factor to increase the rollout rate for the job.

This parameter supports up to one digit after the decimal (for example, you can specify 1.5, but not 1.55).

" }, "rateIncreaseCriteria": { "shape": "IoTJobRateIncreaseCriteria", "documentation": "

The criteria to increase the rollout rate for the job.

" } }, "documentation": "

Contains information about an exponential rollout rate for a configuration deployment job.

" }, "IoTJobId": { "type": "string", "max": 255, "min": 1 }, "IoTJobInProgressTimeoutInMinutes": { "type": "long" }, "IoTJobMaxExecutionsPerMin": { "type": "integer", "max": 1000, "min": 1 }, "IoTJobMinimumNumberOfExecutedThings": { "type": "integer", "min": 1 }, "IoTJobNumberOfThings": { "type": "integer", "min": 1 }, "IoTJobRateIncreaseCriteria": { "type": "structure", "members": { "numberOfNotifiedThings": { "shape": "IoTJobNumberOfThings", "documentation": "

The number of devices to receive the job notification before the rollout rate increases.

", "box": true }, "numberOfSucceededThings": { "shape": "IoTJobNumberOfThings", "documentation": "

The number of devices to successfully run the configuration job before the rollout rate increases.

", "box": true } }, "documentation": "

Contains information about criteria to meet before a job increases its rollout rate. Specify either numberOfNotifiedThings or numberOfSucceededThings.

" }, "IoTJobRolloutBaseRatePerMinute": { "type": "integer", "max": 1000, "min": 1 }, "IoTJobRolloutIncrementFactor": { "type": "double", "max": 5, "min": 1 }, "IoTJobTimeoutConfig": { "type": "structure", "members": { "inProgressTimeoutInMinutes": { "shape": "IoTJobInProgressTimeoutInMinutes", "documentation": "

The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set to IN_PROGRESS. If the job status doesn't change to a terminal state before the time expires, then the job status is set to TIMED_OUT.

The timeout interval must be between 1 minute and 7 days (10080 minutes).

", "box": true } }, "documentation": "

Contains information about the timeout configuration for a job.

" }, "IoTThingName": { "type": "string", "max": 128, "min": 1 }, "IotEndpointType": { "type": "string", "enum": [ "fips", "standard" ] }, "IsLatestForTarget": { "type": "boolean" }, "IsRoot": { "type": "boolean" }, "LambdaContainerParams": { "type": "structure", "members": { "memorySizeInKB": { "shape": "OptionalInteger", "documentation": "

The memory size of the container, expressed in kilobytes.

Default: 16384 (16 MB)

", "box": true }, "mountROSysfs": { "shape": "OptionalBoolean", "documentation": "

Whether or not the container can read information from the device's /sys folder.

Default: false

", "box": true }, "volumes": { "shape": "LambdaVolumeList", "documentation": "

The list of volumes that the container can access.

" }, "devices": { "shape": "LambdaDeviceList", "documentation": "

The list of system devices that the container can access.

" } }, "documentation": "

Contains information about a container in which Lambda functions run on Greengrass core devices.

" }, "LambdaDeviceList": { "type": "list", "member": { "shape": "LambdaDeviceMount" } }, "LambdaDeviceMount": { "type": "structure", "required": [ "path" ], "members": { "path": { "shape": "FileSystemPath", "documentation": "

The mount path for the device in the file system.

" }, "permission": { "shape": "LambdaFilesystemPermission", "documentation": "

The permission to access the device: read/only (ro) or read/write (rw).

Default: ro

" }, "addGroupOwner": { "shape": "OptionalBoolean", "documentation": "

Whether or not to add the component's system user as an owner of the device.

Default: false

", "box": true } }, "documentation": "

Contains information about a device that Linux processes in a container can access.

" }, "LambdaEnvironmentVariables": { "type": "map", "key": { "shape": "NonEmptyString" }, "value": { "shape": "String" } }, "LambdaEventSource": { "type": "structure", "required": [ "topic", "type" ], "members": { "topic": { "shape": "TopicString", "documentation": "

The topic to which to subscribe to receive event messages.

" }, "type": { "shape": "LambdaEventSourceType", "documentation": "

The type of event source. Choose from the following options:

" } }, "documentation": "

Contains information about an event source for an Lambda function. The event source defines the topics on which this Lambda function subscribes to receive messages that run the function.

" }, "LambdaEventSourceList": { "type": "list", "member": { "shape": "LambdaEventSource" } }, "LambdaEventSourceType": { "type": "string", "enum": [ "PUB_SUB", "IOT_CORE" ] }, "LambdaExecArg": { "type": "string" }, "LambdaExecArgsList": { "type": "list", "member": { "shape": "LambdaExecArg" } }, "LambdaExecutionParameters": { "type": "structure", "members": { "eventSources": { "shape": "LambdaEventSourceList", "documentation": "

The list of event sources to which to subscribe to receive work messages. The Lambda function runs when it receives a message from an event source. You can subscribe this function to local publish/subscribe messages and Amazon Web Services IoT Core MQTT messages.

" }, "maxQueueSize": { "shape": "OptionalInteger", "documentation": "

The maximum size of the message queue for the Lambda function component. The IoT Greengrass core stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.

", "box": true }, "maxInstancesCount": { "shape": "OptionalInteger", "documentation": "

The maximum number of instances that a non-pinned Lambda function can run at the same time.

", "box": true }, "maxIdleTimeInSeconds": { "shape": "OptionalInteger", "documentation": "

The maximum amount of time in seconds that a non-pinned Lambda function can idle before the IoT Greengrass Core software stops its process.

", "box": true }, "timeoutInSeconds": { "shape": "OptionalInteger", "documentation": "

The maximum amount of time in seconds that the Lambda function can process a work item.

", "box": true }, "statusTimeoutInSeconds": { "shape": "OptionalInteger", "documentation": "

The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.

", "box": true }, "pinned": { "shape": "OptionalBoolean", "documentation": "

Whether or not the Lambda function is pinned, or long-lived.

Default: true

", "box": true }, "inputPayloadEncodingType": { "shape": "LambdaInputPayloadEncodingType", "documentation": "

The encoding type that the Lambda function supports.

Default: json

" }, "execArgs": { "shape": "LambdaExecArgsList", "documentation": "

The list of arguments to pass to the Lambda function when it runs.

" }, "environmentVariables": { "shape": "LambdaEnvironmentVariables", "documentation": "

The map of environment variables that are available to the Lambda function when it runs.

" }, "linuxProcessParams": { "shape": "LambdaLinuxProcessParams", "documentation": "

The parameters for the Linux process that contains the Lambda function.

" } }, "documentation": "

Contains parameters for a Lambda function that runs on IoT Greengrass.

" }, "LambdaFilesystemPermission": { "type": "string", "enum": [ "ro", "rw" ] }, "LambdaFunctionRecipeSource": { "type": "structure", "required": [ "lambdaArn" ], "members": { "lambdaArn": { "shape": "NonEmptyString", "documentation": "

The ARN of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like $LATEST.

" }, "componentName": { "shape": "ComponentNameString", "documentation": "

The name of the component.

Defaults to the name of the Lambda function.

" }, "componentVersion": { "shape": "ComponentVersionString", "documentation": "

The version of the component.

Defaults to the version of the Lambda function as a semantic version. For example, if your function version is 3, the component version becomes 3.0.0.

" }, "componentPlatforms": { "shape": "ComponentPlatformList", "documentation": "

The platforms that the component version supports.

" }, "componentDependencies": { "shape": "ComponentDependencyMap", "documentation": "

The component versions on which this Lambda function component depends.

" }, "componentLambdaParameters": { "shape": "LambdaExecutionParameters", "documentation": "

The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.

" } }, "documentation": "

Contains information about an Lambda function to import to create a component.

" }, "LambdaInputPayloadEncodingType": { "type": "string", "enum": [ "json", "binary" ] }, "LambdaIsolationMode": { "type": "string", "enum": [ "GreengrassContainer", "NoContainer" ] }, "LambdaLinuxProcessParams": { "type": "structure", "members": { "isolationMode": { "shape": "LambdaIsolationMode", "documentation": "

The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the IoT Greengrass container, or as a regular process outside any container.

Default: GreengrassContainer

" }, "containerParams": { "shape": "LambdaContainerParams", "documentation": "

The parameters for the container in which the Lambda function runs.

" } }, "documentation": "

Contains parameters for a Linux process that contains an Lambda function.

" }, "LambdaVolumeList": { "type": "list", "member": { "shape": "LambdaVolumeMount" } }, "LambdaVolumeMount": { "type": "structure", "required": [ "sourcePath", "destinationPath" ], "members": { "sourcePath": { "shape": "FileSystemPath", "documentation": "

The path to the physical volume in the file system.

" }, "destinationPath": { "shape": "FileSystemPath", "documentation": "

The path to the logical volume in the file system.

" }, "permission": { "shape": "LambdaFilesystemPermission", "documentation": "

The permission to access the volume: read/only (ro) or read/write (rw).

Default: ro

" }, "addGroupOwner": { "shape": "OptionalBoolean", "documentation": "

Whether or not to add the IoT Greengrass user group as an owner of the volume.

Default: false

", "box": true } }, "documentation": "

Contains information about a volume that Linux processes in a container can access. When you define a volume, the IoT Greengrass Core software mounts the source files to the destination inside the container.

" }, "LifecycleStateDetails": { "type": "string", "max": 1000, "min": 1 }, "ListClientDevicesAssociatedWithCoreDeviceRequest": { "type": "structure", "required": [ "coreDeviceThingName" ], "members": { "coreDeviceThingName": { "shape": "IoTThingName", "documentation": "

The name of the core device. This is also the name of the IoT thing.

", "location": "uri", "locationName": "coreDeviceThingName" }, "maxResults": { "shape": "DefaultMaxResults", "documentation": "

The maximum number of results to be returned per paginated request.

", "box": true, "location": "querystring", "locationName": "maxResults" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token to be used for the next set of paginated results.

", "box": true, "location": "querystring", "locationName": "nextToken" } } }, "ListClientDevicesAssociatedWithCoreDeviceResponse": { "type": "structure", "members": { "associatedClientDevices": { "shape": "AssociatedClientDeviceList", "documentation": "

A list that describes the client devices that are associated with the core device.

" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token for the next set of results, or null if there are no additional results.

", "box": true } } }, "ListComponentVersionsRequest": { "type": "structure", "required": [ "arn" ], "members": { "arn": { "shape": "ComponentARN", "documentation": "

The ARN of the component.

", "location": "uri", "locationName": "arn" }, "maxResults": { "shape": "DefaultMaxResults", "documentation": "

The maximum number of results to be returned per paginated request.

", "box": true, "location": "querystring", "locationName": "maxResults" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token to be used for the next set of paginated results.

", "box": true, "location": "querystring", "locationName": "nextToken" } } }, "ListComponentVersionsResponse": { "type": "structure", "members": { "componentVersions": { "shape": "ComponentVersionList", "documentation": "

A list of versions that exist for the component.

" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token for the next set of results, or null if there are no additional results.

" } } }, "ListComponentsRequest": { "type": "structure", "members": { "scope": { "shape": "ComponentVisibilityScope", "documentation": "

The scope of the components to list.

Default: PRIVATE

", "location": "querystring", "locationName": "scope" }, "maxResults": { "shape": "DefaultMaxResults", "documentation": "

The maximum number of results to be returned per paginated request.

", "box": true, "location": "querystring", "locationName": "maxResults" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token to be used for the next set of paginated results.

", "box": true, "location": "querystring", "locationName": "nextToken" } } }, "ListComponentsResponse": { "type": "structure", "members": { "components": { "shape": "ComponentList", "documentation": "

A list that summarizes each component.

" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token for the next set of results, or null if there are no additional results.

" } } }, "ListCoreDevicesRequest": { "type": "structure", "members": { "thingGroupArn": { "shape": "ThingGroupARN", "documentation": "

The ARN of the IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that have successfully deployed a deployment that targets the thing group. When you remove a core device from a thing group, the list continues to include that core device.

", "location": "querystring", "locationName": "thingGroupArn" }, "status": { "shape": "CoreDeviceStatus", "documentation": "

The core device status by which to filter. If you specify this parameter, the list includes only core devices that have this status. Choose one of the following options:

", "location": "querystring", "locationName": "status" }, "maxResults": { "shape": "DefaultMaxResults", "documentation": "

The maximum number of results to be returned per paginated request.

", "box": true, "location": "querystring", "locationName": "maxResults" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token to be used for the next set of paginated results.

", "box": true, "location": "querystring", "locationName": "nextToken" } } }, "ListCoreDevicesResponse": { "type": "structure", "members": { "coreDevices": { "shape": "CoreDevicesList", "documentation": "

A list that summarizes each core device.

" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token for the next set of results, or null if there are no additional results.

" } } }, "ListDeploymentsRequest": { "type": "structure", "members": { "targetArn": { "shape": "TargetARN", "documentation": "

The ARN of the target IoT thing or thing group.

", "location": "querystring", "locationName": "targetArn" }, "historyFilter": { "shape": "DeploymentHistoryFilter", "documentation": "

The filter for the list of deployments. Choose one of the following options:

Default: LATEST_ONLY

", "location": "querystring", "locationName": "historyFilter" }, "parentTargetArn": { "shape": "ThingGroupARN", "documentation": "

The parent deployment's target ARN within a subdeployment.

", "location": "querystring", "locationName": "parentTargetArn" }, "maxResults": { "shape": "DefaultMaxResults", "documentation": "

The maximum number of results to be returned per paginated request.

Default: 50

", "box": true, "location": "querystring", "locationName": "maxResults" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token to be used for the next set of paginated results.

", "box": true, "location": "querystring", "locationName": "nextToken" } } }, "ListDeploymentsResponse": { "type": "structure", "members": { "deployments": { "shape": "DeploymentList", "documentation": "

A list that summarizes each deployment.

" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token for the next set of results, or null if there are no additional results.

" } } }, "ListEffectiveDeploymentsRequest": { "type": "structure", "required": [ "coreDeviceThingName" ], "members": { "coreDeviceThingName": { "shape": "CoreDeviceThingName", "documentation": "

The name of the core device. This is also the name of the IoT thing.

", "location": "uri", "locationName": "coreDeviceThingName" }, "maxResults": { "shape": "DefaultMaxResults", "documentation": "

The maximum number of results to be returned per paginated request.

", "box": true, "location": "querystring", "locationName": "maxResults" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token to be used for the next set of paginated results.

", "box": true, "location": "querystring", "locationName": "nextToken" } } }, "ListEffectiveDeploymentsResponse": { "type": "structure", "members": { "effectiveDeployments": { "shape": "EffectiveDeploymentsList", "documentation": "

A list that summarizes each deployment on the core device.

" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token for the next set of results, or null if there are no additional results.

" } } }, "ListInstalledComponentsRequest": { "type": "structure", "required": [ "coreDeviceThingName" ], "members": { "coreDeviceThingName": { "shape": "CoreDeviceThingName", "documentation": "

The name of the core device. This is also the name of the IoT thing.

", "location": "uri", "locationName": "coreDeviceThingName" }, "maxResults": { "shape": "DefaultMaxResults", "documentation": "

The maximum number of results to be returned per paginated request.

", "box": true, "location": "querystring", "locationName": "maxResults" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token to be used for the next set of paginated results.

", "box": true, "location": "querystring", "locationName": "nextToken" }, "topologyFilter": { "shape": "InstalledComponentTopologyFilter", "documentation": "

The filter for the list of components. Choose from the following options:

Default: ROOT

", "box": true, "location": "querystring", "locationName": "topologyFilter" } } }, "ListInstalledComponentsResponse": { "type": "structure", "members": { "installedComponents": { "shape": "InstalledComponentList", "documentation": "

A list that summarizes each component on the core device.

Greengrass nucleus v2.7.0 or later is required to get an accurate lastStatusChangeTimestamp response. This response can be inaccurate in earlier Greengrass nucleus versions.

Greengrass nucleus v2.8.0 or later is required to get an accurate lastInstallationSource and lastReportedTimestamp response. This response can be inaccurate or null in earlier Greengrass nucleus versions.

" }, "nextToken": { "shape": "NextTokenString", "documentation": "

The token for the next set of results, or null if there are no additional results.

" } } }, "ListTagsForResourceRequest": { "type": "structure", "required": [ "resourceArn" ], "members": { "resourceArn": { "shape": "GenericV2ARN", "documentation": "

The ARN of the resource.

", "location": "uri", "locationName": "resourceArn" } } }, "ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "shape": "TagMap", "documentation": "

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.

" } } }, "Memory": { "type": "long", "max": 9223372036854772000, "min": 0 }, "NextTokenString": { "type": "string" }, "NonEmptyString": { "type": "string", "min": 1 }, "NullableString": { "type": "string" }, "OptionalBoolean": { "type": "boolean" }, "OptionalInteger": { "type": "integer" }, "PlatformAttributesMap": { "type": "map", "key": { "shape": "NonEmptyString" }, "value": { "shape": "NonEmptyString" } }, "PortNumberInt": { "type": "integer", "max": 65535, "min": 0 }, "PublisherString": { "type": "string" }, "Reason": { "type": "string" }, "RecipeBlob": { "type": "blob" }, "RecipeOutputFormat": { "type": "string", "enum": [ "JSON", "YAML" ] }, "ResolveComponentCandidatesRequest": { "type": "structure", "members": { "platform": { "shape": "ComponentPlatform", "documentation": "

The platform to use to resolve compatible components.

" }, "componentCandidates": { "shape": "ComponentCandidateList", "documentation": "

The list of components to resolve.

" } } }, "ResolveComponentCandidatesResponse": { "type": "structure", "members": { "resolvedComponentVersions": { "shape": "ResolvedComponentVersionsList", "documentation": "

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.

" } } }, "ResolvedComponentVersion": { "type": "structure", "members": { "arn": { "shape": "ComponentVersionARN", "documentation": "

The ARN of the component version.

" }, "componentName": { "shape": "ComponentNameString", "documentation": "

The name of the component.

" }, "componentVersion": { "shape": "ComponentVersionString", "documentation": "

The version of the component.

" }, "recipe": { "shape": "RecipeBlob", "documentation": "

The recipe of the component version.

" }, "vendorGuidance": { "shape": "VendorGuidance", "documentation": "

The vendor guidance state for the component version. This state indicates whether the component version has any issues that you should consider before you deploy it. The vendor guidance state can be:

" }, "message": { "shape": "NonEmptyString", "documentation": "

A message that communicates details about the vendor guidance state of the component version. This message communicates why a component version is discontinued or deleted.

" } }, "documentation": "

Contains information about a component version that is compatible to run on a Greengrass core device.

" }, "ResolvedComponentVersionsList": { "type": "list", "member": { "shape": "ResolvedComponentVersion" } }, "S3EndpointType": { "type": "string", "enum": [ "REGIONAL", "GLOBAL" ] }, "String": { "type": "string" }, "StringMap": { "type": "map", "key": { "shape": "NonEmptyString" }, "value": { "shape": "NonEmptyString" } }, "SystemResourceLimits": { "type": "structure", "members": { "memory": { "shape": "Memory", "documentation": "

The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on the core device.

" }, "cpus": { "shape": "CPU", "documentation": "

The maximum amount of CPU time that a component's processes can use on the core device. A core device's total CPU time is equivalent to the device's number of CPU cores. For example, on a core device with 4 CPU cores, you can set this value to 2 to limit the component's processes to 50 percent usage of each CPU core. On a device with 1 CPU core, you can set this value to 0.25 to limit the component's processes to 25 percent usage of the CPU. If you set this value to a number greater than the number of CPU cores, the IoT Greengrass Core software doesn't limit the component's CPU usage.

" } }, "documentation": "

Contains information about system resource limits that the IoT Greengrass Core software applies to a component's processes. For more information, see Configure system resource limits for components.

" }, "TagKey": { "type": "string", "max": 128, "min": 1 }, "TagKeyList": { "type": "list", "member": { "shape": "TagKey" }, "max": 200, "min": 1 }, "TagMap": { "type": "map", "key": { "shape": "TagKey" }, "value": { "shape": "TagValue" }, "max": 200, "min": 1 }, "TagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tags" ], "members": { "resourceArn": { "shape": "GenericV2ARN", "documentation": "

The ARN of the resource to tag.

", "location": "uri", "locationName": "resourceArn" }, "tags": { "shape": "TagMap", "documentation": "

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.

" } } }, "TagResourceResponse": { "type": "structure", "members": {} }, "TagValue": { "type": "string", "max": 256 }, "TargetARN": { "type": "string", "pattern": "arn:[^:]*:iot:[^:]*:[0-9]+:(thing|thinggroup)/.+" }, "ThingGroupARN": { "type": "string", "pattern": "arn:[^:]*:iot:[^:]*:[0-9]+:thinggroup/.+" }, "Timestamp": { "type": "timestamp" }, "TopicString": { "type": "string" }, "UntagResourceRequest": { "type": "structure", "required": [ "resourceArn", "tagKeys" ], "members": { "resourceArn": { "shape": "GenericV2ARN", "documentation": "

The ARN of the resource to untag.

", "location": "uri", "locationName": "resourceArn" }, "tagKeys": { "shape": "TagKeyList", "documentation": "

A list of keys for tags to remove from the resource.

", "location": "querystring", "locationName": "tagKeys" } } }, "UntagResourceResponse": { "type": "structure", "members": {} }, "UpdateConnectivityInfoRequest": { "type": "structure", "required": [ "thingName", "connectivityInfo" ], "members": { "thingName": { "shape": "CoreDeviceThingName", "documentation": "

The name of the core device. This is also the name of the IoT thing.

", "location": "uri", "locationName": "thingName" }, "connectivityInfo": { "shape": "connectivityInfoList", "documentation": "

The connectivity information for the core device.

", "locationName": "ConnectivityInfo" } } }, "UpdateConnectivityInfoResponse": { "type": "structure", "members": { "version": { "shape": "String", "documentation": "

The new version of the connectivity information for the core device.

", "locationName": "Version" }, "message": { "shape": "String", "documentation": "

A message about the connectivity information update request.

", "locationName": "Message" } } }, "VendorGuidance": { "type": "string", "enum": [ "ACTIVE", "DISCONTINUED", "DELETED" ] }, "connectivityInfoList": { "type": "list", "member": { "shape": "ConnectivityInfo" } } }, "documentation": "

IoT Greengrass brings local compute, messaging, data management, sync, and ML inference capabilities to edge devices. This enables devices to collect and analyze data closer to the source of information, react autonomously to local events, and communicate securely with each other on local networks. Local devices can also communicate securely with Amazon Web Services IoT Core and export IoT data to the Amazon Web Services Cloud. IoT Greengrass developers can use Lambda functions and components to create and deploy applications to fleets of edge devices for local operation.

IoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console. Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components, manage deployments, and core devices.

For more information, see What is IoT Greengrass? in the IoT Greengrass V2 Developer Guide.

" }