{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2020-11-30",
    "endpointPrefix":"greengrass",
    "jsonVersion":"1.1",
    "protocol":"rest-json",
    "serviceAbbreviation":"AWS GreengrassV2",
    "serviceFullName":"AWS IoT Greengrass V2",
    "serviceId":"GreengrassV2",
    "signatureVersion":"v4",
    "uid":"greengrassv2-2020-11-30"
  },
  "operations":{
    "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":"<p>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.</p>"
    },
    "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"}
      ],
      "documentation":"<p>Creates a component. Components are software that run on AWS IoT Greengrass core devices. After you develop and test a component on your core device, you can use this operation to upload your component to AWS IoT Greengrass. Then, you can deploy the component to other core devices.</p> <p>You can use this operation to do the following:</p> <ul> <li> <p> <b>Create components from recipes</b> </p> <p>Create a component from a recipe, which is a file that defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform capability. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html\">AWS IoT Greengrass component recipe reference</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p> <p>To create a component from a recipe, specify <code>inlineRecipe</code> when you call this operation.</p> </li> <li> <p> <b>Create components from Lambda functions</b> </p> <p>Create a component from an AWS Lambda function that runs on AWS IoT Greengrass. This creates a recipe and artifacts from the Lambda function's deployment package. You can use this operation to migrate Lambda functions from AWS IoT Greengrass V1 to AWS IoT Greengrass V2.</p> <p>This function only accepts Lambda functions that use the following runtimes:</p> <ul> <li> <p>Python 2.7 – <code>python2.7</code> </p> </li> <li> <p>Python 3.7 – <code>python3.7</code> </p> </li> <li> <p>Python 3.8 – <code>python3.8</code> </p> </li> <li> <p>Java 8 – <code>java8</code> </p> </li> <li> <p>Node.js 10 – <code>nodejs10.x</code> </p> </li> <li> <p>Node.js 12 – <code>nodejs12.x</code> </p> </li> </ul> <p>To create a component from a Lambda function, specify <code>lambdaFunction</code> when you call this operation.</p> </li> </ul>"
    },
    "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"}
      ],
      "documentation":"<p>Creates a continuous deployment for a target, which is a AWS IoT 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, AWS IoT Greengrass deploys that group's deployment to the new device.</p> <p>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. AWS IoT Greengrass applies the new deployment to the target devices.</p> <p>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. This operation returns the revision number of the new deployment when you create it.</p> <p>For more information, see the <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html\">Create deployments</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
    },
    "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":"<p>Deletes a version of a component from AWS IoT Greengrass.</p> <note> <p>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.</p> </note>"
    },
    "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":"<p>Deletes a AWS IoT Greengrass core device, which is an AWS IoT thing. This operation removes the core device from the list of core devices. This operation doesn't delete the AWS IoT thing. For more information about how to delete the AWS IoT thing, see <a href=\"https://docs.aws.amazon.com/iot/latest/apireference/API_DeleteThing.html\">DeleteThing</a> in the <i>AWS IoT API Reference</i>.</p>"
    },
    "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":"<p>Retrieves metadata for a version of a component.</p>"
    },
    "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":"<p>Gets the recipe for a version of a component. Core devices can call this operation to identify the artifacts and requirements to install a component.</p>"
    },
    "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":"<p>Gets the pre-signed URL to download a public component artifact. Core devices call this operation to identify the URL that they can use to download an artifact to install.</p>"
    },
    "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":"<p>Retrieves metadata for a AWS IoT Greengrass core device.</p>"
    },
    "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":"<p>Gets a deployment. Deployments define the components that run on AWS IoT Greengrass core devices.</p>"
    },
    "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":"<p>Retrieves a paginated list of all versions for a component.</p>"
    },
    "ListComponents":{
      "name":"ListComponents",
      "http":{
        "method":"GET",
        "requestUri":"/greengrass/v2/components"
      },
      "input":{"shape":"ListComponentsRequest"},
      "output":{"shape":"ListComponentsResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Retrieves a paginated list of component summaries. This list includes components that you have permission to view.</p>"
    },
    "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":"<p>Retrieves a paginated list of AWS IoT Greengrass core devices.</p>"
    },
    "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":"<p>Retrieves a paginated list of deployments.</p>"
    },
    "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":"<p>Retrieves a paginated list of deployment jobs that AWS IoT Greengrass sends to AWS IoT Greengrass core devices.</p>"
    },
    "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":"<p>Retrieves a paginated list of the components that a AWS IoT Greengrass core device runs.</p>"
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"GET",
        "requestUri":"/tags/{resourceArn}"
      },
      "input":{"shape":"ListTagsForResourceRequest"},
      "output":{"shape":"ListTagsForResourceResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Retrieves the list of tags for an AWS IoT Greengrass resource.</p>"
    },
    "ResolveComponentCandidates":{
      "name":"ResolveComponentCandidates",
      "http":{
        "method":"POST",
        "requestUri":"/greengrass/v2/resolveComponentCandidates"
      },
      "input":{"shape":"ResolveComponentCandidatesRequest"},
      "output":{"shape":"ResolveComponentCandidatesResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"},
        {"shape":"ConflictException"}
      ],
      "documentation":"<p>Retrieves a list of components that meet the component, version, and platform requirements of a deployment. AWS IoT Greengrass core devices call this operation when they receive a deployment to identify the components to install.</p> <p>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 <code>A</code> requires version <code>&gt;2.0.0</code> and component <code>B</code> requires version <code>&lt;2.0.0</code> of a component dependency.</p> <p>When you specify the component candidates to resolve, AWS IoT Greengrass compares each component's digest from the core device with the component's digest in the AWS Cloud. If the digests don't match, then AWS IoT Greengrass specifies to use the version from the AWS Cloud.</p> <important> <p>To use this operation, you must use the data plane API endpoint and authenticate with an AWS IoT device certificate. For more information, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/greengrass.html\">AWS IoT Greengrass endpoints and quotas</a>.</p> </important>"
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/tags/{resourceArn}"
      },
      "input":{"shape":"TagResourceRequest"},
      "output":{"shape":"TagResourceResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Adds tags to an AWS IoT Greengrass resource. If a tag already exists for the resource, this operation updates the tag's value.</p>"
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"DELETE",
        "requestUri":"/tags/{resourceArn}"
      },
      "input":{"shape":"UntagResourceRequest"},
      "output":{"shape":"UntagResourceResponse"},
      "errors":[
        {"shape":"InternalServerException"},
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"}
      ],
      "documentation":"<p>Removes a tag from an AWS IoT Greengrass resource.</p>"
    }
  },
  "shapes":{
    "AccessDeniedException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"}
      },
      "documentation":"<p>You don't have permission to perform the action.</p>",
      "error":{"httpStatusCode":403},
      "exception":true
    },
    "CancelDeploymentRequest":{
      "type":"structure",
      "required":["deploymentId"],
      "members":{
        "deploymentId":{
          "shape":"NonEmptyString",
          "documentation":"<p>The ID of the deployment.</p>",
          "location":"uri",
          "locationName":"deploymentId"
        }
      }
    },
    "CancelDeploymentResponse":{
      "type":"structure",
      "members":{
        "message":{
          "shape":"NonEmptyString",
          "documentation":"<p>A message that communicates if the cancel was successful.</p>"
        }
      }
    },
    "CloudComponentState":{
      "type":"string",
      "enum":[
        "REQUESTED",
        "INITIATED",
        "DEPLOYABLE",
        "FAILED",
        "DEPRECATED"
      ]
    },
    "CloudComponentStatus":{
      "type":"structure",
      "members":{
        "componentState":{
          "shape":"CloudComponentState",
          "documentation":"<p>The state of the component.</p>"
        },
        "message":{
          "shape":"NonEmptyString",
          "documentation":"<p>A message that communicates details, such as errors, about the status of the component.</p>"
        },
        "errors":{
          "shape":"StringMap",
          "documentation":"<p>A dictionary of errors that communicate why the component is in an error state. For example, if AWS IoT Greengrass can't access an artifact for the component, then <code>errors</code> contains the artifact's URI as a key, and the error message as the value for that key.</p>"
        }
      },
      "documentation":"<p>Contains the status of a component in the AWS IoT Greengrass service.</p>"
    },
    "Component":{
      "type":"structure",
      "members":{
        "arn":{
          "shape":"ComponentARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the component version.</p>"
        },
        "componentName":{
          "shape":"ComponentNameString",
          "documentation":"<p>The name of the component.</p>"
        },
        "latestVersion":{
          "shape":"ComponentLatestVersion",
          "documentation":"<p>The latest version of the component and its details.</p>"
        }
      },
      "documentation":"<p>Contains information about a component.</p>"
    },
    "ComponentARN":{
      "type":"string",
      "pattern":"arn:aws(-cn|-us-gov)?:greengrass:[^:]+:(aws|[0-9]+):components:[^:]+"
    },
    "ComponentCandidate":{
      "type":"structure",
      "members":{
        "componentName":{
          "shape":"ComponentNameString",
          "documentation":"<p>The name of the component.</p>"
        },
        "componentVersion":{
          "shape":"ComponentVersionString",
          "documentation":"<p>The version of the component.</p>"
        },
        "versionRequirements":{
          "shape":"ComponentVersionRequirementMap",
          "documentation":"<p>The version requirements for the component's dependencies. AWS IoT Greengrass core devices get the version requirements from component recipes.</p> <p>AWS IoT Greengrass V2 uses semantic version constraints. For more information, see <a href=\"https://semver.org/\">Semantic Versioning</a>.</p>"
        }
      },
      "documentation":"<p>Contains information about a component that is a candidate to deploy to a AWS IoT Greengrass core device.</p>"
    },
    "ComponentCandidateList":{
      "type":"list",
      "member":{"shape":"ComponentCandidate"}
    },
    "ComponentConfigurationPath":{
      "type":"string",
      "max":256,
      "min":0
    },
    "ComponentConfigurationPathList":{
      "type":"list",
      "member":{"shape":"ComponentConfigurationPath"}
    },
    "ComponentConfigurationString":{
      "type":"string",
      "max":65536,
      "min":1
    },
    "ComponentConfigurationUpdate":{
      "type":"structure",
      "members":{
        "merge":{
          "shape":"ComponentConfigurationString",
          "documentation":"<p>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 <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/update-component-configurations.html#merge-configuration-update\">Merge configuration updates</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        },
        "reset":{
          "shape":"ComponentConfigurationPathList",
          "documentation":"<p>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 (<code>/</code>) and use forward slashes to separate the key for each level in the object. For more information, see the <a href=\"https://tools.ietf.org/html/rfc6901\">JSON pointer specification</a> and <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/update-component-configurations.html#reset-configuration-update\">Reset configuration updates</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        }
      },
      "documentation":"<p>Contains information about a deployment's update to a component's configuration on Greengrass core devices. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/update-component-configurations.html\">Update component configurations</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
    },
    "ComponentDependencyMap":{
      "type":"map",
      "key":{"shape":"NonEmptyString"},
      "value":{"shape":"ComponentDependencyRequirement"}
    },
    "ComponentDependencyRequirement":{
      "type":"structure",
      "members":{
        "versionRequirement":{
          "shape":"NonEmptyString",
          "documentation":"<p>The component version requirement for the component dependency.</p> <p>AWS IoT Greengrass V2 uses semantic version constraints. For more information, see <a href=\"https://semver.org/\">Semantic Versioning</a>.</p>"
        },
        "dependencyType":{
          "shape":"ComponentDependencyType",
          "documentation":"<p>The type of this dependency. Choose from the following options:</p> <ul> <li> <p> <code>SOFT</code> – The component doesn't restart if the dependency changes state.</p> </li> <li> <p> <code>HARD</code> – The component restarts if the dependency changes state.</p> </li> </ul> <p>Default: <code>HARD</code> </p>"
        }
      },
      "documentation":"<p>Contains information about a component dependency for a Lambda function component.</p>"
    },
    "ComponentDependencyType":{
      "type":"string",
      "enum":[
        "HARD",
        "SOFT"
      ]
    },
    "ComponentDeploymentSpecification":{
      "type":"structure",
      "members":{
        "componentVersion":{
          "shape":"ComponentVersionString",
          "documentation":"<p>The version of the component.</p>"
        },
        "configurationUpdate":{
          "shape":"ComponentConfigurationUpdate",
          "documentation":"<p>The configuration updates to deploy for the component. You can define <i>reset</i> updates and <i>merge</i> 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 AWS IoT Greengrass Core software applies reset updates before it applies merge updates. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/update-component-configurations.html\">Update component configurations</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        },
        "runWith":{
          "shape":"ComponentRunWith",
          "documentation":"<p>The system user and group that the AWS IoT Greengrass Core software uses to run component processes on the core device. If you omit this parameter, the AWS IoT Greengrass Core software uses the system user and group that you configure for the core device. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-user\">Configure the user and group that run components</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        }
      },
      "documentation":"<p>Contains information about a component to deploy.</p>"
    },
    "ComponentDeploymentSpecifications":{
      "type":"map",
      "key":{"shape":"NonEmptyString"},
      "value":{"shape":"ComponentDeploymentSpecification"}
    },
    "ComponentLatestVersion":{
      "type":"structure",
      "members":{
        "arn":{
          "shape":"ComponentVersionARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the component version.</p>"
        },
        "componentVersion":{
          "shape":"ComponentVersionString",
          "documentation":"<p>The version of the component.</p>"
        },
        "creationTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the component was created, expressed in ISO 8601 format.</p>"
        },
        "description":{
          "shape":"NonEmptyString",
          "documentation":"<p>The description of the component version.</p>"
        },
        "publisher":{
          "shape":"NonEmptyString",
          "documentation":"<p>The publisher of the component version.</p>"
        },
        "platforms":{
          "shape":"ComponentPlatformList",
          "documentation":"<p>The platforms that the component version supports.</p>"
        }
      },
      "documentation":"<p>Contains information about the latest version of a component.</p>"
    },
    "ComponentList":{
      "type":"list",
      "member":{"shape":"Component"}
    },
    "ComponentNameString":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"[a-zA-Z0-9-_.]+"
    },
    "ComponentPlatform":{
      "type":"structure",
      "members":{
        "name":{
          "shape":"NonEmptyString",
          "documentation":"<p>The friendly name of the platform. This name helps you identify the platform.</p> <p>If you omit this parameter, AWS IoT Greengrass creates a friendly name from the <code>os</code> and <code>architecture</code> of the platform.</p>"
        },
        "attributes":{
          "shape":"PlatformAttributesMap",
          "documentation":"<p>A dictionary of attributes for the platform. The AWS IoT Greengrass Core software defines the <code>os</code> and <code>platform</code> by default. You can specify additional platform attributes for a core device when you deploy the AWS IoT Greengrass nucleus component. For more information, see the <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html\">AWS IoT Greengrass nucleus component</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        }
      },
      "documentation":"<p>Contains information about a platform that a component supports.</p>"
    },
    "ComponentPlatformList":{
      "type":"list",
      "member":{"shape":"ComponentPlatform"}
    },
    "ComponentRunWith":{
      "type":"structure",
      "members":{
        "posixUser":{
          "shape":"NonEmptyString",
          "documentation":"<p>The POSIX system user and (optional) group to use to run this component. Specify the user and group separated by a colon (<code>:</code>) in the following format: <code>user:group</code>. The group is optional. If you don't specify a group, the AWS IoT Greengrass Core software uses the primary user for the group.</p>"
        }
      },
      "documentation":"<p>Contains information system user and group that the AWS IoT Greengrass Core software uses to run component processes on the core device. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-greengrass-core-v2.html#configure-component-user\">Configure the user and group that run components</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
    },
    "ComponentVersionARN":{
      "type":"string",
      "pattern":"arn:aws(-cn|-us-gov)?:greengrass:[^:]+:(aws|[0-9]+):components:[^:]+:versions:[^:]+"
    },
    "ComponentVersionList":{
      "type":"list",
      "member":{"shape":"ComponentVersionListItem"}
    },
    "ComponentVersionListItem":{
      "type":"structure",
      "members":{
        "componentName":{
          "shape":"ComponentNameString",
          "documentation":"<p>The name of the component.</p>"
        },
        "componentVersion":{
          "shape":"ComponentVersionString",
          "documentation":"<p>The version of the component.</p>"
        },
        "arn":{
          "shape":"NonEmptyString",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the component version.</p>"
        }
      },
      "documentation":"<p>Contains information about a component version in a list.</p>"
    },
    "ComponentVersionRequirementMap":{
      "type":"map",
      "key":{"shape":"NonEmptyString"},
      "value":{"shape":"NonEmptyString"}
    },
    "ComponentVersionString":{
      "type":"string",
      "max":64,
      "min":1,
      "pattern":"[0-9a-zA-Z-.+]+"
    },
    "ComponentVisibilityScope":{
      "type":"string",
      "enum":[
        "PRIVATE",
        "PUBLIC"
      ]
    },
    "ConflictException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{
          "shape":"String",
          "documentation":"<p>The ID of the resource that conflicts with the request.</p>"
        },
        "resourceType":{
          "shape":"String",
          "documentation":"<p>The type of the resource that conflicts with the request.</p>"
        }
      },
      "documentation":"<p>Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.</p>",
      "error":{"httpStatusCode":409},
      "exception":true
    },
    "CoreDevice":{
      "type":"structure",
      "members":{
        "coreDeviceThingName":{
          "shape":"CoreDeviceThingName",
          "documentation":"<p>The name of the core device. This is also the name of the AWS IoT thing.</p>"
        },
        "status":{
          "shape":"CoreDeviceStatus",
          "documentation":"<p>The status of the core device. Core devices can have the following statuses:</p> <ul> <li> <p> <code>HEALTHY</code> – The AWS IoT Greengrass Core software and all components run on the core device without issue.</p> </li> <li> <p> <code>UNHEALTHY</code> – The AWS IoT Greengrass Core software or a component is in a failed state on the core device.</p> </li> </ul>"
        },
        "lastStatusUpdateTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the core device's status last updated, expressed in ISO 8601 format.</p>"
        }
      },
      "documentation":"<p>Contains information about a AWS IoT Greengrass core device, which is an AWS IoT thing that runs the AWS IoT Greengrass Core software.</p>"
    },
    "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":"<p>The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility.</p> <p>You must specify either <code>inlineRecipe</code> or <code>lambdaFunction</code>.</p>"
        },
        "lambdaFunction":{
          "shape":"LambdaFunctionRecipeSource",
          "documentation":"<p>The parameters to create a component from a Lambda function.</p> <p>You must specify either <code>inlineRecipe</code> or <code>lambdaFunction</code>.</p>"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A list of key-value pairs that contain metadata for the resource. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html\">Tag your resources</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        }
      }
    },
    "CreateComponentVersionResponse":{
      "type":"structure",
      "required":[
        "componentName",
        "componentVersion",
        "creationTimestamp",
        "status"
      ],
      "members":{
        "arn":{
          "shape":"ComponentVersionARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the component version.</p>"
        },
        "componentName":{
          "shape":"ComponentNameString",
          "documentation":"<p>The name of the component.</p>"
        },
        "componentVersion":{
          "shape":"ComponentVersionString",
          "documentation":"<p>The version of the component.</p>"
        },
        "creationTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the component was created, expressed in ISO 8601 format.</p>"
        },
        "status":{
          "shape":"CloudComponentStatus",
          "documentation":"<p>The status of the component version in AWS IoT Greengrass V2. This status is different from the status of the component on a core device.</p>"
        }
      }
    },
    "CreateDeploymentRequest":{
      "type":"structure",
      "required":["targetArn"],
      "members":{
        "targetArn":{
          "shape":"TargetARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the target AWS IoT thing or thing group.</p>"
        },
        "deploymentName":{
          "shape":"NonEmptyString",
          "documentation":"<p>The name of the deployment.</p> <p>You can create deployments without names. If you create a deployment without a name, the AWS IoT Greengrass V2 console shows the deployment name as <code>&lt;targetType&gt;:&lt;targetName&gt;</code>, where <code>targetType</code> and <code>targetName</code> are the type and name of the deployment target.</p>"
        },
        "components":{
          "shape":"ComponentDeploymentSpecifications",
          "documentation":"<p>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.</p>"
        },
        "iotJobConfiguration":{
          "shape":"DeploymentIoTJobConfiguration",
          "documentation":"<p>The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.</p>"
        },
        "deploymentPolicies":{
          "shape":"DeploymentPolicies",
          "documentation":"<p>The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.</p>"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A list of key-value pairs that contain metadata for the resource. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html\">Tag your resources</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        }
      }
    },
    "CreateDeploymentResponse":{
      "type":"structure",
      "members":{
        "deploymentId":{
          "shape":"NonEmptyString",
          "documentation":"<p>The ID of the deployment.</p>"
        },
        "iotJobId":{
          "shape":"NonEmptyString",
          "documentation":"<p>The ID of the AWS IoT job that applies the deployment to target devices.</p>"
        },
        "iotJobArn":{
          "shape":"IoTJobARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the AWS IoT job that applies the deployment to target devices.</p>"
        }
      }
    },
    "DefaultMaxResults":{
      "type":"integer",
      "max":100,
      "min":1
    },
    "DeleteComponentRequest":{
      "type":"structure",
      "required":["arn"],
      "members":{
        "arn":{
          "shape":"ComponentVersionARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the component version.</p>",
          "location":"uri",
          "locationName":"arn"
        }
      }
    },
    "DeleteCoreDeviceRequest":{
      "type":"structure",
      "required":["coreDeviceThingName"],
      "members":{
        "coreDeviceThingName":{
          "shape":"CoreDeviceThingName",
          "documentation":"<p>The name of the core device. This is also the name of the AWS IoT thing.</p>",
          "location":"uri",
          "locationName":"coreDeviceThingName"
        }
      }
    },
    "Deployment":{
      "type":"structure",
      "members":{
        "targetArn":{
          "shape":"TargetARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the target AWS IoT thing or thing group.</p>"
        },
        "revisionId":{
          "shape":"NonEmptyString",
          "documentation":"<p>The revision number of the deployment.</p>"
        },
        "deploymentId":{
          "shape":"NonEmptyString",
          "documentation":"<p>The ID of the deployment.</p>"
        },
        "deploymentName":{
          "shape":"NonEmptyString",
          "documentation":"<p>The name of the deployment.</p> <p>You can create deployments without names. If you create a deployment without a name, the AWS IoT Greengrass V2 console shows the deployment name as <code>&lt;targetType&gt;:&lt;targetName&gt;</code>, where <code>targetType</code> and <code>targetName</code> are the type and name of the deployment target.</p>"
        },
        "creationTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the deployment was created, expressed in ISO 8601 format.</p>"
        },
        "deploymentStatus":{
          "shape":"DeploymentStatus",
          "documentation":"<p>The status of the deployment.</p>"
        },
        "isLatestForTarget":{
          "shape":"IsLatestForTarget",
          "documentation":"<p>Whether or not the deployment is the latest revision for its target.</p>"
        }
      },
      "documentation":"<p>Contains information about a deployment.</p>"
    },
    "DeploymentComponentUpdatePolicy":{
      "type":"structure",
      "members":{
        "timeoutInSeconds":{
          "shape":"OptionalInteger",
          "documentation":"<p>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.</p> <p>Default: <code>60</code> </p>",
          "box":true
        },
        "action":{
          "shape":"DeploymentComponentUpdatePolicyAction",
          "documentation":"<p>Whether or not to notify components and wait for components to become safe to update. Choose from the following options:</p> <ul> <li> <p> <code>NOTIFY_COMPONENTS</code> – The deployment notifies each component before it stops and updates that component. Components can use the <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/interprocess-communication.html#ipc-operation-subscribetocomponentupdates\">SubscribeToComponentUpdates</a> IPC operation to receive these notifications. Then, components can respond with the <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/interprocess-communication.html#ipc-operation-defercomponentupdate\">DeferComponentUpdate</a> IPC operation. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html\">Create deployments</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p> </li> <li> <p> <code>SKIP_NOTIFY_COMPONENTS</code> – The deployment doesn't notify components or wait for them to be safe to update.</p> </li> </ul> <p>Default: <code>NOTIFY_COMPONENTS</code> </p>"
        }
      },
      "documentation":"<p>Contains information about a deployment's policy that defines when components are safe to update.</p> <p>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.</p>"
    },
    "DeploymentComponentUpdatePolicyAction":{
      "type":"string",
      "enum":[
        "NOTIFY_COMPONENTS",
        "SKIP_NOTIFY_COMPONENTS"
      ]
    },
    "DeploymentConfigurationValidationPolicy":{
      "type":"structure",
      "members":{
        "timeoutInSeconds":{
          "shape":"OptionalInteger",
          "documentation":"<p>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.</p> <p>Default: <code>30</code> </p>",
          "box":true
        }
      },
      "documentation":"<p>Contains information about how long a component on a core device can validate its configuration updates before it times out. Components can use the <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/interprocess-communication.html#ipc-operation-subscribetovalidateconfigurationupdates\">SubscribeToValidateConfigurationUpdates</a> IPC operation to receive notifications when a deployment specifies a configuration update. Then, components can respond with the <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/interprocess-communication.html#ipc-operation-sendconfigurationvalidityreport\">SendConfigurationValidityReport</a> IPC operation. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/create-deployments.html\">Create deployments</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
    },
    "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":"<p>The rollout configuration for the job. This configuration defines the rate at which the job rolls out to the fleet of target devices.</p>"
        },
        "abortConfig":{
          "shape":"IoTJobAbortConfig",
          "documentation":"<p>The stop configuration for the job. This configuration defines when and how to stop a job rollout.</p>"
        },
        "timeoutConfig":{
          "shape":"IoTJobTimeoutConfig",
          "documentation":"<p>The timeout configuration for the job. This configuration defines the amount of time each device has to complete the job.</p>"
        }
      },
      "documentation":"<p>Contains information about an AWS IoT job configuration.</p>"
    },
    "DeploymentList":{
      "type":"list",
      "member":{"shape":"Deployment"}
    },
    "DeploymentName":{"type":"string"},
    "DeploymentPolicies":{
      "type":"structure",
      "members":{
        "failureHandlingPolicy":{
          "shape":"DeploymentFailureHandlingPolicy",
          "documentation":"<p>The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.</p> <p>Default: <code>ROLLBACK</code> </p>"
        },
        "componentUpdatePolicy":{
          "shape":"DeploymentComponentUpdatePolicy",
          "documentation":"<p>The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.</p>"
        },
        "configurationValidationPolicy":{
          "shape":"DeploymentConfigurationValidationPolicy",
          "documentation":"<p>The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.</p>"
        }
      },
      "documentation":"<p>Contains information about policies that define how a deployment updates components and handles failure.</p>"
    },
    "DeploymentStatus":{
      "type":"string",
      "enum":[
        "ACTIVE",
        "COMPLETED",
        "CANCELED",
        "FAILED",
        "INACTIVE"
      ]
    },
    "DescribeComponentRequest":{
      "type":"structure",
      "required":["arn"],
      "members":{
        "arn":{
          "shape":"ComponentVersionARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the component version.</p>",
          "location":"uri",
          "locationName":"arn"
        }
      }
    },
    "DescribeComponentResponse":{
      "type":"structure",
      "members":{
        "arn":{
          "shape":"ComponentVersionARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the component version.</p>"
        },
        "componentName":{
          "shape":"ComponentNameString",
          "documentation":"<p>The name of the component.</p>"
        },
        "componentVersion":{
          "shape":"ComponentVersionString",
          "documentation":"<p>The version of the component.</p>"
        },
        "creationTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the component was created, expressed in ISO 8601 format.</p>"
        },
        "publisher":{
          "shape":"PublisherString",
          "documentation":"<p>The publisher of the component version.</p>"
        },
        "description":{
          "shape":"DescriptionString",
          "documentation":"<p>The description of the component version.</p>"
        },
        "status":{
          "shape":"CloudComponentStatus",
          "documentation":"<p>The status of the component version in AWS IoT Greengrass V2. This status is different from the status of the component on a core device.</p>"
        },
        "platforms":{
          "shape":"ComponentPlatformList",
          "documentation":"<p>The platforms that the component version supports.</p>"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A list of key-value pairs that contain metadata for the resource. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html\">Tag your resources</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        }
      }
    },
    "Description":{
      "type":"string",
      "max":500,
      "min":1
    },
    "DescriptionString":{"type":"string"},
    "EffectiveDeployment":{
      "type":"structure",
      "required":[
        "deploymentId",
        "deploymentName",
        "targetArn",
        "coreDeviceExecutionStatus",
        "creationTimestamp",
        "modifiedTimestamp"
      ],
      "members":{
        "deploymentId":{
          "shape":"DeploymentID",
          "documentation":"<p>The ID of the deployment.</p>"
        },
        "deploymentName":{
          "shape":"DeploymentName",
          "documentation":"<p>The name of the deployment.</p> <p>You can create deployments without names. If you create a deployment without a name, the AWS IoT Greengrass V2 console shows the deployment name as <code>&lt;targetType&gt;:&lt;targetName&gt;</code>, where <code>targetType</code> and <code>targetName</code> are the type and name of the deployment target.</p>"
        },
        "iotJobId":{
          "shape":"IoTJobId",
          "documentation":"<p>The ID of the AWS IoT job that applies the deployment to target devices.</p>"
        },
        "iotJobArn":{
          "shape":"IoTJobARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the AWS IoT job that applies the deployment to target devices.</p>"
        },
        "description":{
          "shape":"Description",
          "documentation":"<p>The description of the deployment job.</p>"
        },
        "targetArn":{
          "shape":"TargetARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the target AWS IoT thing or thing group.</p>"
        },
        "coreDeviceExecutionStatus":{
          "shape":"EffectiveDeploymentExecutionStatus",
          "documentation":"<p>The status of the deployment job on the AWS IoT Greengrass core device.</p>"
        },
        "reason":{
          "shape":"Reason",
          "documentation":"<p>The reason code for the update, if the job was updated.</p>"
        },
        "creationTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the deployment was created, expressed in ISO 8601 format.</p>"
        },
        "modifiedTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the deployment job was last modified, expressed in ISO 8601 format.</p>"
        }
      },
      "documentation":"<p>Contains information about a deployment job that AWS IoT Greengrass sends to a AWS IoT Greengrass core device.</p>"
    },
    "EffectiveDeploymentExecutionStatus":{
      "type":"string",
      "enum":[
        "IN_PROGRESS",
        "QUEUED",
        "FAILED",
        "COMPLETED",
        "TIMED_OUT",
        "CANCELED",
        "REJECTED"
      ]
    },
    "EffectiveDeploymentsList":{
      "type":"list",
      "member":{"shape":"EffectiveDeployment"}
    },
    "FileSystemPath":{"type":"string"},
    "GGCVersion":{
      "type":"string",
      "max":255,
      "min":1
    },
    "GenericV2ARN":{
      "type":"string",
      "pattern":"arn:aws(-cn|-us-gov)?:greengrass:[^:]+:(aws|[0-9]+):(components|deployments|coreDevices):.+"
    },
    "GetComponentRequest":{
      "type":"structure",
      "required":["arn"],
      "members":{
        "recipeOutputFormat":{
          "shape":"RecipeOutputFormat",
          "documentation":"<p>The format of the recipe.</p>",
          "location":"querystring",
          "locationName":"recipeOutputFormat"
        },
        "arn":{
          "shape":"ComponentVersionARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the component version.</p>",
          "location":"uri",
          "locationName":"arn"
        }
      }
    },
    "GetComponentResponse":{
      "type":"structure",
      "required":[
        "recipeOutputFormat",
        "recipe"
      ],
      "members":{
        "recipeOutputFormat":{
          "shape":"RecipeOutputFormat",
          "documentation":"<p>The format of the recipe.</p>"
        },
        "recipe":{
          "shape":"RecipeBlob",
          "documentation":"<p>The recipe of the component version.</p>"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A list of key-value pairs that contain metadata for the resource. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html\">Tag your resources</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        }
      }
    },
    "GetComponentVersionArtifactRequest":{
      "type":"structure",
      "required":[
        "arn",
        "artifactName"
      ],
      "members":{
        "arn":{
          "shape":"ComponentVersionARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the component version. Specify the ARN of a public component version.</p>",
          "location":"uri",
          "locationName":"arn"
        },
        "artifactName":{
          "shape":"NonEmptyString",
          "documentation":"<p>The name of the artifact.</p> <p>You can use the <a href=\"https://docs.aws.amazon.com/greengrass/v2/APIReference/API_GetComponent.html\">GetComponent</a> 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 <code>greengrass:SomeArtifact.zip</code>, the artifact name is <code>SomeArtifact.zip</code>.</p>",
          "location":"uri",
          "locationName":"artifactName"
        }
      }
    },
    "GetComponentVersionArtifactResponse":{
      "type":"structure",
      "required":["preSignedUrl"],
      "members":{
        "preSignedUrl":{
          "shape":"NonEmptyString",
          "documentation":"<p>The URL of the artifact.</p>"
        }
      }
    },
    "GetCoreDeviceRequest":{
      "type":"structure",
      "required":["coreDeviceThingName"],
      "members":{
        "coreDeviceThingName":{
          "shape":"CoreDeviceThingName",
          "documentation":"<p>The name of the core device. This is also the name of the AWS IoT thing.</p>",
          "location":"uri",
          "locationName":"coreDeviceThingName"
        }
      }
    },
    "GetCoreDeviceResponse":{
      "type":"structure",
      "members":{
        "coreDeviceThingName":{
          "shape":"CoreDeviceThingName",
          "documentation":"<p>The name of the core device. This is also the name of the AWS IoT thing.</p>"
        },
        "coreVersion":{
          "shape":"GGCVersion",
          "documentation":"<p>The version of the AWS IoT Greengrass Core software that the core device runs. This version is equivalent to the version of the AWS IoT Greengrass nucleus component that runs on the core device. For more information, see the <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html\">AWS IoT Greengrass nucleus component</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        },
        "platform":{
          "shape":"CoreDevicePlatformString",
          "documentation":"<p>The operating system platform that the core device runs.</p>"
        },
        "architecture":{
          "shape":"CoreDeviceArchitectureString",
          "documentation":"<p>The computer architecture of the core device.</p>"
        },
        "status":{
          "shape":"CoreDeviceStatus",
          "documentation":"<p>The status of the core device. The core device status can be:</p> <ul> <li> <p> <code>HEALTHY</code> – The AWS IoT Greengrass Core software and all components run on the core device without issue.</p> </li> <li> <p> <code>UNHEALTHY</code> – The AWS IoT Greengrass Core software or a component is in a failed state on the core device.</p> </li> </ul>"
        },
        "lastStatusUpdateTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the core device's status last updated, expressed in ISO 8601 format.</p>"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A list of key-value pairs that contain metadata for the resource. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html\">Tag your resources</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        }
      }
    },
    "GetDeploymentRequest":{
      "type":"structure",
      "required":["deploymentId"],
      "members":{
        "deploymentId":{
          "shape":"NonEmptyString",
          "documentation":"<p>The ID of the deployment.</p>",
          "location":"uri",
          "locationName":"deploymentId"
        }
      }
    },
    "GetDeploymentResponse":{
      "type":"structure",
      "members":{
        "targetArn":{
          "shape":"TargetARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the target AWS IoT thing or thing group.</p>"
        },
        "revisionId":{
          "shape":"NonEmptyString",
          "documentation":"<p>The revision number of the deployment.</p>"
        },
        "deploymentId":{
          "shape":"NonEmptyString",
          "documentation":"<p>The ID of the deployment.</p>"
        },
        "deploymentName":{
          "shape":"NullableString",
          "documentation":"<p>The name of the deployment.</p> <p>You can create deployments without names. If you create a deployment without a name, the AWS IoT Greengrass V2 console shows the deployment name as <code>&lt;targetType&gt;:&lt;targetName&gt;</code>, where <code>targetType</code> and <code>targetName</code> are the type and name of the deployment target.</p>"
        },
        "deploymentStatus":{
          "shape":"DeploymentStatus",
          "documentation":"<p>The status of the deployment.</p>"
        },
        "iotJobId":{
          "shape":"NullableString",
          "documentation":"<p>The ID of the AWS IoT job that applies the deployment to target devices.</p>"
        },
        "iotJobArn":{
          "shape":"IoTJobARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the AWS IoT job that applies the deployment to target devices.</p>"
        },
        "components":{
          "shape":"ComponentDeploymentSpecifications",
          "documentation":"<p>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.</p>"
        },
        "deploymentPolicies":{
          "shape":"DeploymentPolicies",
          "documentation":"<p>The deployment policies for the deployment. These policies define how the deployment updates components and handles failure.</p>"
        },
        "iotJobConfiguration":{
          "shape":"DeploymentIoTJobConfiguration",
          "documentation":"<p>The job configuration for the deployment configuration. The job configuration specifies the rollout, timeout, and stop configurations for the deployment configuration.</p>"
        },
        "creationTimestamp":{
          "shape":"Timestamp",
          "documentation":"<p>The time at which the deployment was created, expressed in ISO 8601 format.</p>"
        },
        "isLatestForTarget":{
          "shape":"IsLatestForTarget",
          "documentation":"<p>Whether or not the deployment is the latest revision for its target.</p>"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A list of key-value pairs that contain metadata for the resource. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html\">Tag your resources</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        }
      }
    },
    "InstalledComponent":{
      "type":"structure",
      "members":{
        "componentName":{
          "shape":"ComponentNameString",
          "documentation":"<p>The name of the component.</p>"
        },
        "componentVersion":{
          "shape":"ComponentVersionString",
          "documentation":"<p>The version of the component.</p>"
        },
        "lifecycleState":{
          "shape":"InstalledComponentLifecycleState",
          "documentation":"<p>The lifecycle state of the component.</p>"
        },
        "lifecycleStateDetails":{
          "shape":"LifecycleStateDetails",
          "documentation":"<p>The details about the lifecycle state of the component.</p>"
        },
        "isRoot":{
          "shape":"IsRoot",
          "documentation":"<p>Whether or not the component is a root component.</p>"
        }
      },
      "documentation":"<p>Contains information about a component on a AWS IoT Greengrass core device.</p>"
    },
    "InstalledComponentLifecycleState":{
      "type":"string",
      "enum":[
        "NEW",
        "INSTALLED",
        "STARTING",
        "RUNNING",
        "STOPPING",
        "ERRORED",
        "BROKEN",
        "FINISHED"
      ]
    },
    "InstalledComponentList":{
      "type":"list",
      "member":{"shape":"InstalledComponent"}
    },
    "InternalServerException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "retryAfterSeconds":{
          "shape":"RetryAfterSeconds",
          "documentation":"<p>The amount of time to wait before you retry the request.</p>",
          "location":"header",
          "locationName":"Retry-After"
        }
      },
      "documentation":"<p>AWS IoT Greengrass can't process your request right now. Try again later.</p>",
      "error":{"httpStatusCode":500},
      "exception":true,
      "fault":true
    },
    "IoTJobARN":{
      "type":"string",
      "pattern":"arn:aws(-cn|-us-gov)?:iot:[^:]+:[0-9]+:job/.+"
    },
    "IoTJobAbortAction":{
      "type":"string",
      "enum":["CANCEL"]
    },
    "IoTJobAbortConfig":{
      "type":"structure",
      "required":["criteriaList"],
      "members":{
        "criteriaList":{
          "shape":"IoTJobAbortCriteriaList",
          "documentation":"<p>The list of criteria that define when and how to cancel the configuration deployment.</p>"
        }
      },
      "documentation":"<p>Contains a list of criteria that define when and how to cancel a configuration deployment.</p>"
    },
    "IoTJobAbortCriteria":{
      "type":"structure",
      "required":[
        "failureType",
        "action",
        "thresholdPercentage",
        "minNumberOfExecutedThings"
      ],
      "members":{
        "failureType":{
          "shape":"IoTJobExecutionFailureType",
          "documentation":"<p>The type of job deployment failure that can cancel a job.</p>"
        },
        "action":{
          "shape":"IoTJobAbortAction",
          "documentation":"<p>The action to perform when the criteria are met.</p>"
        },
        "thresholdPercentage":{
          "shape":"IoTJobAbortThresholdPercentage",
          "documentation":"<p>The minimum percentage of <code>failureType</code> failures that occur before the job can cancel.</p> <p>This parameter supports up to two digits after the decimal (for example, you can specify <code>10.9</code> or <code>10.99</code>, but not <code>10.999</code>).</p>"
        },
        "minNumberOfExecutedThings":{
          "shape":"IoTJobMinimumNumberOfExecutedThings",
          "documentation":"<p>The minimum number of things that receive the configuration before the job can cancel.</p>"
        }
      },
      "documentation":"<p>Contains criteria that define when and how to cancel a job.</p> <p>The deployment stops if the following conditions are true:</p> <ol> <li> <p>The number of things that receive the deployment exceeds the <code>minNumberOfExecutedThings</code>.</p> </li> <li> <p>The percentage of failures with type <code>failureType</code> exceeds the <code>thresholdPercentage</code>.</p> </li> </ol>"
    },
    "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":"<p>The exponential rate to increase the job rollout rate.</p>"
        },
        "maximumPerMinute":{
          "shape":"IoTJobMaxExecutionsPerMin",
          "documentation":"<p>The maximum number of devices that receive a pending job notification, per minute.</p>",
          "box":true
        }
      },
      "documentation":"<p>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.</p>"
    },
    "IoTJobExponentialRolloutRate":{
      "type":"structure",
      "required":[
        "baseRatePerMinute",
        "incrementFactor",
        "rateIncreaseCriteria"
      ],
      "members":{
        "baseRatePerMinute":{
          "shape":"IoTJobRolloutBaseRatePerMinute",
          "documentation":"<p>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.</p>"
        },
        "incrementFactor":{
          "shape":"IoTJobRolloutIncrementFactor",
          "documentation":"<p>The exponential factor to increase the rollout rate for the job.</p> <p>This parameter supports up to one digit after the decimal (for example, you can specify <code>1.5</code>, but not <code>1.55</code>).</p>"
        },
        "rateIncreaseCriteria":{
          "shape":"IoTJobRateIncreaseCriteria",
          "documentation":"<p>The criteria to increase the rollout rate for the job.</p>"
        }
      },
      "documentation":"<p>Contains information about an exponential rollout rate for a configuration deployment job.</p>"
    },
    "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":"<p>The number of devices to receive the job notification before the rollout rate increases.</p>",
          "box":true
        },
        "numberOfSucceededThings":{
          "shape":"IoTJobNumberOfThings",
          "documentation":"<p>The number of devices to successfully run the configuration job before the rollout rate increases.</p>",
          "box":true
        }
      },
      "documentation":"<p>Contains information about criteria to meet before a job increases its rollout rate. Specify either <code>numberOfNotifiedThings</code> or <code>numberOfSucceededThings</code>.</p>"
    },
    "IoTJobRolloutBaseRatePerMinute":{
      "type":"integer",
      "max":1000,
      "min":1
    },
    "IoTJobRolloutIncrementFactor":{
      "type":"double",
      "max":5,
      "min":1
    },
    "IoTJobTimeoutConfig":{
      "type":"structure",
      "members":{
        "inProgressTimeoutInMinutes":{
          "shape":"IoTJobInProgressTimeoutInMinutes",
          "documentation":"<p>The amount of time, in minutes, that devices have to complete the job. The timer starts when the job status is set to <code>IN_PROGRESS</code>. If the job status doesn't change to a terminal state before the time expires, then the job status is set to <code>TIMED_OUT</code>.</p> <p>The timeout interval must be between 1 minute and 7 days (10080 minutes).</p>",
          "box":true
        }
      },
      "documentation":"<p>Contains information about the timeout configuration for a job.</p>"
    },
    "IsLatestForTarget":{"type":"boolean"},
    "IsRoot":{"type":"boolean"},
    "LambdaContainerParams":{
      "type":"structure",
      "members":{
        "memorySizeInKB":{
          "shape":"OptionalInteger",
          "documentation":"<p>The memory size of the container, expressed in kilobytes.</p> <p>Default: <code>16384</code> (16 MB)</p>",
          "box":true
        },
        "mountROSysfs":{
          "shape":"OptionalBoolean",
          "documentation":"<p>Whether or not the container can read information from the device's <code>/sys</code> folder.</p> <p>Default: <code>false</code> </p>",
          "box":true
        },
        "volumes":{
          "shape":"LambdaVolumeList",
          "documentation":"<p>The list of volumes that the container can access.</p>"
        },
        "devices":{
          "shape":"LambdaDeviceList",
          "documentation":"<p>The list of system devices that the container can access.</p>"
        }
      },
      "documentation":"<p>Contains information about a container in which AWS Lambda functions run on AWS IoT Greengrass core devices.</p>"
    },
    "LambdaDeviceList":{
      "type":"list",
      "member":{"shape":"LambdaDeviceMount"}
    },
    "LambdaDeviceMount":{
      "type":"structure",
      "required":["path"],
      "members":{
        "path":{
          "shape":"FileSystemPath",
          "documentation":"<p>The mount path for the device in the file system.</p>"
        },
        "permission":{
          "shape":"LambdaFilesystemPermission",
          "documentation":"<p>The permission to access the device: read/only (<code>ro</code>) or read/write (<code>rw</code>).</p> <p>Default: <code>ro</code> </p>"
        },
        "addGroupOwner":{
          "shape":"OptionalBoolean",
          "documentation":"<p>Whether or not to add the component's system user as an owner of the device.</p> <p>Default: <code>false</code> </p>",
          "box":true
        }
      },
      "documentation":"<p>Contains information about a device that Linux processes in a container can access.</p>"
    },
    "LambdaEnvironmentVariables":{
      "type":"map",
      "key":{"shape":"NonEmptyString"},
      "value":{"shape":"String"}
    },
    "LambdaEventSource":{
      "type":"structure",
      "required":[
        "topic",
        "type"
      ],
      "members":{
        "topic":{
          "shape":"TopicString",
          "documentation":"<p>The topic to which to subscribe to receive event messages.</p>"
        },
        "type":{
          "shape":"LambdaEventSourceType",
          "documentation":"<p>The type of event source. Choose from the following options:</p> <ul> <li> <p> <code>PUB_SUB</code> – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (<code>+</code> and <code>#</code>) in the event source topic.</p> </li> <li> <p> <code>IOT_CORE</code> – Subscribe to AWS IoT Core MQTT messages. This event source type supports MQTT wildcards (<code>+</code> and <code>#</code>) in the event source topic.</p> </li> </ul>"
        }
      },
      "documentation":"<p>Contains information about an event source for an AWS Lambda function. The event source defines the topics on which this Lambda function subscribes to receive messages that run the function.</p>"
    },
    "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":"<p>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 AWS IoT Core MQTT messages.</p>"
        },
        "maxQueueSize":{
          "shape":"OptionalInteger",
          "documentation":"<p>The maximum size of the message queue for the Lambda function component. The AWS IoT Greengrass core stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to consume each message.</p>",
          "box":true
        },
        "maxInstancesCount":{
          "shape":"OptionalInteger",
          "documentation":"<p>The maximum number of instances that a non-pinned Lambda function can run at the same time.</p>",
          "box":true
        },
        "maxIdleTimeInSeconds":{
          "shape":"OptionalInteger",
          "documentation":"<p>The maximum amount of time in seconds that a non-pinned Lambda function can idle before the AWS IoT Greengrass Core software stops its process.</p>",
          "box":true
        },
        "timeoutInSeconds":{
          "shape":"OptionalInteger",
          "documentation":"<p>The maximum amount of time in seconds that the Lambda function can process a work item.</p>",
          "box":true
        },
        "statusTimeoutInSeconds":{
          "shape":"OptionalInteger",
          "documentation":"<p>The interval in seconds at which a pinned (also known as long-lived) Lambda function component sends status updates to the Lambda manager component.</p>",
          "box":true
        },
        "pinned":{
          "shape":"OptionalBoolean",
          "documentation":"<p>Whether or not the Lambda function is pinned, or long-lived.</p> <ul> <li> <p>A pinned Lambda function starts when AWS IoT Greengrass starts and keeps running in its own container.</p> </li> <li> <p>A non-pinned Lambda function starts only when it receives a work item and exists after it idles for <code>maxIdleTimeInSeconds</code>. If the function has multiple work items, the AWS IoT Greengrass Core software creates multiple instances of the function.</p> </li> </ul> <p>Default: <code>true</code> </p>",
          "box":true
        },
        "inputPayloadEncodingType":{
          "shape":"LambdaInputPayloadEncodingType",
          "documentation":"<p>The encoding type that the Lambda function supports.</p> <p>Default: <code>json</code> </p>"
        },
        "execArgs":{
          "shape":"LambdaExecArgsList",
          "documentation":"<p>The list of arguments to pass to the Lambda function when it runs.</p>"
        },
        "environmentVariables":{
          "shape":"LambdaEnvironmentVariables",
          "documentation":"<p>The map of environment variables that are available to the Lambda function when it runs.</p>"
        },
        "linuxProcessParams":{
          "shape":"LambdaLinuxProcessParams",
          "documentation":"<p>The parameters for the Linux process that contains the Lambda function.</p>"
        }
      },
      "documentation":"<p>Contains parameters for a Lambda function that runs on AWS IoT Greengrass.</p>"
    },
    "LambdaFilesystemPermission":{
      "type":"string",
      "enum":[
        "ro",
        "rw"
      ]
    },
    "LambdaFunctionARNWithVersionNumber":{
      "type":"string",
      "pattern":"arn:aws(-cn|-us-gov)?:lambda:[^:]+:[0-9]+:function:[a-zA-Z0-9-_]+:[0-9]+"
    },
    "LambdaFunctionRecipeSource":{
      "type":"structure",
      "required":["lambdaArn"],
      "members":{
        "lambdaArn":{
          "shape":"LambdaFunctionARNWithVersionNumber",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the Lambda function. The ARN must include the version of the function to import. You can't use version aliases like <code>$LATEST</code>.</p>"
        },
        "componentName":{
          "shape":"ComponentNameString",
          "documentation":"<p>The name of the component.</p> <p>Defaults to the name of the Lambda function.</p>"
        },
        "componentVersion":{
          "shape":"ComponentVersionString",
          "documentation":"<p>The version of the component.</p> <p>Defaults to the version of the Lambda function as a semantic version. For example, if your function version is <code>3</code>, the component version becomes <code>3.0.0</code>.</p>"
        },
        "componentPlatforms":{
          "shape":"ComponentPlatformList",
          "documentation":"<p>The platforms that the component version supports.</p>"
        },
        "componentDependencies":{
          "shape":"ComponentDependencyMap",
          "documentation":"<p>The component versions on which this Lambda function component depends.</p>"
        },
        "componentLambdaParameters":{
          "shape":"LambdaExecutionParameters",
          "documentation":"<p>The system and runtime parameters for the Lambda function as it runs on the AWS IoT Greengrass core device.</p>"
        }
      },
      "documentation":"<p>Contains information about an AWS Lambda function to import to create a component.</p>"
    },
    "LambdaInputPayloadEncodingType":{
      "type":"string",
      "enum":[
        "json",
        "binary"
      ]
    },
    "LambdaIsolationMode":{
      "type":"string",
      "enum":[
        "GreengrassContainer",
        "NoContainer"
      ]
    },
    "LambdaLinuxProcessParams":{
      "type":"structure",
      "members":{
        "isolationMode":{
          "shape":"LambdaIsolationMode",
          "documentation":"<p>The isolation mode for the process that contains the Lambda function. The process can run in an isolated runtime environment inside the AWS IoT Greengrass container, or as a regular process outside any container.</p> <p>Default: <code>GreengrassContainer</code> </p>"
        },
        "containerParams":{
          "shape":"LambdaContainerParams",
          "documentation":"<p>The parameters for the container in which the Lambda function runs.</p>"
        }
      },
      "documentation":"<p>Contains parameters for a Linux process that contains an AWS Lambda function.</p>"
    },
    "LambdaVolumeList":{
      "type":"list",
      "member":{"shape":"LambdaVolumeMount"}
    },
    "LambdaVolumeMount":{
      "type":"structure",
      "required":[
        "sourcePath",
        "destinationPath"
      ],
      "members":{
        "sourcePath":{
          "shape":"FileSystemPath",
          "documentation":"<p>The path to the physical volume in the file system.</p>"
        },
        "destinationPath":{
          "shape":"FileSystemPath",
          "documentation":"<p>The path to the logical volume in the file system.</p>"
        },
        "permission":{
          "shape":"LambdaFilesystemPermission",
          "documentation":"<p>The permission to access the volume: read/only (<code>ro</code>) or read/write (<code>rw</code>).</p> <p>Default: <code>ro</code> </p>"
        },
        "addGroupOwner":{
          "shape":"OptionalBoolean",
          "documentation":"<p>Whether or not to add the AWS IoT Greengrass user group as an owner of the volume.</p> <p>Default: <code>false</code> </p>",
          "box":true
        }
      },
      "documentation":"<p>Contains information about a volume that Linux processes in a container can access. When you define a volume, the AWS IoT Greengrass Core software mounts the source files to the destination inside the container.</p>"
    },
    "LifecycleStateDetails":{
      "type":"string",
      "max":1000,
      "min":1
    },
    "ListComponentVersionsRequest":{
      "type":"structure",
      "required":["arn"],
      "members":{
        "arn":{
          "shape":"ComponentARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the component version.</p>",
          "location":"uri",
          "locationName":"arn"
        },
        "maxResults":{
          "shape":"DefaultMaxResults",
          "documentation":"<p>The maximum number of results to be returned per paginated request.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token to be used for the next set of paginated results.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListComponentVersionsResponse":{
      "type":"structure",
      "members":{
        "componentVersions":{
          "shape":"ComponentVersionList",
          "documentation":"<p>A list of versions that exist for the component.</p>"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token for the next set of results, or null if there are no additional results.</p>"
        }
      }
    },
    "ListComponentsRequest":{
      "type":"structure",
      "members":{
        "scope":{
          "shape":"ComponentVisibilityScope",
          "documentation":"<p>The scope of the components to list.</p> <p>Default: <code>PRIVATE</code> </p>",
          "location":"querystring",
          "locationName":"scope"
        },
        "maxResults":{
          "shape":"DefaultMaxResults",
          "documentation":"<p>The maximum number of results to be returned per paginated request.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token to be used for the next set of paginated results.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListComponentsResponse":{
      "type":"structure",
      "members":{
        "components":{
          "shape":"ComponentList",
          "documentation":"<p>A list that summarizes each component.</p>"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token for the next set of results, or null if there are no additional results.</p>"
        }
      }
    },
    "ListCoreDevicesRequest":{
      "type":"structure",
      "members":{
        "thingGroupArn":{
          "shape":"ThingGroupARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the AWS IoT thing group by which to filter. If you specify this parameter, the list includes only core devices that are members of this thing group.</p>",
          "location":"querystring",
          "locationName":"thingGroupArn"
        },
        "status":{
          "shape":"CoreDeviceStatus",
          "documentation":"<p>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:</p> <ul> <li> <p> <code>HEALTHY</code> – The AWS IoT Greengrass Core software and all components run on the core device without issue.</p> </li> <li> <p> <code>UNHEALTHY</code> – The AWS IoT Greengrass Core software or a component is in a failed state on the core device.</p> </li> </ul>",
          "location":"querystring",
          "locationName":"status"
        },
        "maxResults":{
          "shape":"DefaultMaxResults",
          "documentation":"<p>The maximum number of results to be returned per paginated request.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token to be used for the next set of paginated results.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListCoreDevicesResponse":{
      "type":"structure",
      "members":{
        "coreDevices":{
          "shape":"CoreDevicesList",
          "documentation":"<p>A list that summarizes each core device.</p>"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token for the next set of results, or null if there are no additional results.</p>"
        }
      }
    },
    "ListDeploymentsRequest":{
      "type":"structure",
      "members":{
        "targetArn":{
          "shape":"TargetARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the target AWS IoT thing or thing group.</p>",
          "location":"querystring",
          "locationName":"targetArn"
        },
        "historyFilter":{
          "shape":"DeploymentHistoryFilter",
          "documentation":"<p>The filter for the list of deployments. Choose one of the following options:</p> <ul> <li> <p> <code>ALL</code> – The list includes all deployments.</p> </li> <li> <p> <code>LATEST_ONLY</code> – The list includes only the latest revision of each deployment.</p> </li> </ul> <p>Default: <code>LATEST_ONLY</code> </p>",
          "location":"querystring",
          "locationName":"historyFilter"
        },
        "maxResults":{
          "shape":"DefaultMaxResults",
          "documentation":"<p>The maximum number of results to be returned per paginated request.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token to be used for the next set of paginated results.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListDeploymentsResponse":{
      "type":"structure",
      "members":{
        "deployments":{
          "shape":"DeploymentList",
          "documentation":"<p>A list that summarizes each deployment.</p>"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token for the next set of results, or null if there are no additional results.</p>"
        }
      }
    },
    "ListEffectiveDeploymentsRequest":{
      "type":"structure",
      "required":["coreDeviceThingName"],
      "members":{
        "coreDeviceThingName":{
          "shape":"CoreDeviceThingName",
          "documentation":"<p>The name of the core device. This is also the name of the AWS IoT thing.</p>",
          "location":"uri",
          "locationName":"coreDeviceThingName"
        },
        "maxResults":{
          "shape":"DefaultMaxResults",
          "documentation":"<p>The maximum number of results to be returned per paginated request.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token to be used for the next set of paginated results.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListEffectiveDeploymentsResponse":{
      "type":"structure",
      "members":{
        "effectiveDeployments":{
          "shape":"EffectiveDeploymentsList",
          "documentation":"<p>A list that summarizes each deployment on the core device.</p>"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token for the next set of results, or null if there are no additional results.</p>"
        }
      }
    },
    "ListInstalledComponentsRequest":{
      "type":"structure",
      "required":["coreDeviceThingName"],
      "members":{
        "coreDeviceThingName":{
          "shape":"CoreDeviceThingName",
          "documentation":"<p>The name of the core device. This is also the name of the AWS IoT thing.</p>",
          "location":"uri",
          "locationName":"coreDeviceThingName"
        },
        "maxResults":{
          "shape":"DefaultMaxResults",
          "documentation":"<p>The maximum number of results to be returned per paginated request.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"maxResults"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token to be used for the next set of paginated results.</p>",
          "box":true,
          "location":"querystring",
          "locationName":"nextToken"
        }
      }
    },
    "ListInstalledComponentsResponse":{
      "type":"structure",
      "members":{
        "installedComponents":{
          "shape":"InstalledComponentList",
          "documentation":"<p>A list that summarizes each component on the core device.</p>"
        },
        "nextToken":{
          "shape":"NextTokenString",
          "documentation":"<p>The token for the next set of results, or null if there are no additional results.</p>"
        }
      }
    },
    "ListTagsForResourceRequest":{
      "type":"structure",
      "required":["resourceArn"],
      "members":{
        "resourceArn":{
          "shape":"GenericV2ARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the resource.</p>",
          "location":"uri",
          "locationName":"resourceArn"
        }
      }
    },
    "ListTagsForResourceResponse":{
      "type":"structure",
      "members":{
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A list of key-value pairs that contain metadata for the resource. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html\">Tag your resources</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        }
      }
    },
    "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"}
    },
    "PublisherString":{"type":"string"},
    "Reason":{"type":"string"},
    "RecipeBlob":{"type":"blob"},
    "RecipeOutputFormat":{
      "type":"string",
      "enum":[
        "JSON",
        "YAML"
      ]
    },
    "ResolveComponentCandidatesRequest":{
      "type":"structure",
      "required":[
        "platform",
        "componentCandidates"
      ],
      "members":{
        "platform":{
          "shape":"ComponentPlatform",
          "documentation":"<p>The platform to use to resolve compatible components.</p>"
        },
        "componentCandidates":{
          "shape":"ComponentCandidateList",
          "documentation":"<p>The list of components to resolve.</p>"
        }
      }
    },
    "ResolveComponentCandidatesResponse":{
      "type":"structure",
      "members":{
        "resolvedComponentVersions":{
          "shape":"ResolvedComponentVersionsList",
          "documentation":"<p>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.</p>"
        }
      }
    },
    "ResolvedComponentVersion":{
      "type":"structure",
      "members":{
        "arn":{
          "shape":"ComponentVersionARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the component version.</p>"
        },
        "componentName":{
          "shape":"ComponentNameString",
          "documentation":"<p>The name of the component.</p>"
        },
        "componentVersion":{
          "shape":"ComponentVersionString",
          "documentation":"<p>The version of the component.</p>"
        },
        "recipe":{
          "shape":"RecipeBlob",
          "documentation":"<p>The recipe of the component version.</p>"
        }
      },
      "documentation":"<p>Contains information about a component version that is compatible to run on a AWS IoT Greengrass core device.</p>"
    },
    "ResolvedComponentVersionsList":{
      "type":"list",
      "member":{"shape":"ResolvedComponentVersion"}
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "required":[
        "message",
        "resourceId",
        "resourceType"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{
          "shape":"String",
          "documentation":"<p>The ID of the resource that isn't found.</p>"
        },
        "resourceType":{
          "shape":"String",
          "documentation":"<p>The type of the resource that isn't found.</p>"
        }
      },
      "documentation":"<p>The requested resource can't be found.</p>",
      "error":{"httpStatusCode":404},
      "exception":true
    },
    "RetryAfterSeconds":{"type":"integer"},
    "ServiceQuotaExceededException":{
      "type":"structure",
      "required":[
        "message",
        "quotaCode",
        "serviceCode"
      ],
      "members":{
        "message":{"shape":"String"},
        "resourceId":{
          "shape":"String",
          "documentation":"<p>The ID of the resource that exceeds the service quota.</p>"
        },
        "resourceType":{
          "shape":"String",
          "documentation":"<p>The type of the resource that exceeds the service quota.</p>"
        },
        "quotaCode":{
          "shape":"String",
          "documentation":"<p>The code for the quota in <a href=\"https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html\">Service Quotas</a>.</p>"
        },
        "serviceCode":{
          "shape":"String",
          "documentation":"<p>The code for the service in <a href=\"https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html\">Service Quotas</a>.</p>"
        }
      },
      "documentation":"<p>Your request exceeds a service quota. For example, you might have the maximum number of components that you can create.</p>",
      "error":{"httpStatusCode":402},
      "exception":true
    },
    "String":{"type":"string"},
    "StringMap":{
      "type":"map",
      "key":{"shape":"NonEmptyString"},
      "value":{"shape":"NonEmptyString"}
    },
    "TagKey":{
      "type":"string",
      "max":128,
      "min":1,
      "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$"
    },
    "TagKeyList":{
      "type":"list",
      "member":{"shape":"TagKey"},
      "max":50,
      "min":1
    },
    "TagMap":{
      "type":"map",
      "key":{"shape":"TagKey"},
      "value":{"shape":"TagValue"},
      "max":50,
      "min":1
    },
    "TagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tags"
      ],
      "members":{
        "resourceArn":{
          "shape":"GenericV2ARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the resource to tag.</p>",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tags":{
          "shape":"TagMap",
          "documentation":"<p>A list of key-value pairs that contain metadata for the resource. For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html\">Tag your resources</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
        }
      }
    },
    "TagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "TagValue":{
      "type":"string",
      "max":256
    },
    "TargetARN":{
      "type":"string",
      "pattern":"arn:aws(-cn|-us-gov)?:iot:[^:]+:[0-9]+:(thing|thinggroup)/.+"
    },
    "ThingGroupARN":{
      "type":"string",
      "pattern":"arn:aws(-cn|-us-gov)?:iot:[^:]+:[0-9]+:thinggroup/.+"
    },
    "ThrottlingException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "quotaCode":{
          "shape":"String",
          "documentation":"<p>The code for the quota in <a href=\"https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html\">Service Quotas</a>.</p>"
        },
        "serviceCode":{
          "shape":"String",
          "documentation":"<p>The code for the service in <a href=\"https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html\">Service Quotas</a>.</p>"
        },
        "retryAfterSeconds":{
          "shape":"RetryAfterSeconds",
          "documentation":"<p>The amount of time to wait before you retry the request.</p>",
          "location":"header",
          "locationName":"Retry-After"
        }
      },
      "documentation":"<p>Your request exceeded a request rate quota. For example, you might have exceeded the amount of times that you can retrieve device or deployment status per second.</p>",
      "error":{"httpStatusCode":429},
      "exception":true
    },
    "Timestamp":{"type":"timestamp"},
    "TopicString":{"type":"string"},
    "UntagResourceRequest":{
      "type":"structure",
      "required":[
        "resourceArn",
        "tagKeys"
      ],
      "members":{
        "resourceArn":{
          "shape":"GenericV2ARN",
          "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html\">ARN</a> of the resource to untag.</p>",
          "location":"uri",
          "locationName":"resourceArn"
        },
        "tagKeys":{
          "shape":"TagKeyList",
          "documentation":"<p>A list of keys for tags to remove from the resource.</p>",
          "location":"querystring",
          "locationName":"tagKeys"
        }
      }
    },
    "UntagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "ValidationException":{
      "type":"structure",
      "required":["message"],
      "members":{
        "message":{"shape":"String"},
        "reason":{
          "shape":"ValidationExceptionReason",
          "documentation":"<p>The reason for the validation exception.</p>"
        },
        "fields":{
          "shape":"ValidationExceptionFieldList",
          "documentation":"<p>The list of fields that failed to validate.</p>"
        }
      },
      "documentation":"<p>The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.</p>",
      "error":{"httpStatusCode":400},
      "exception":true
    },
    "ValidationExceptionField":{
      "type":"structure",
      "required":[
        "name",
        "message"
      ],
      "members":{
        "name":{
          "shape":"String",
          "documentation":"<p>The name of the exception field.</p>"
        },
        "message":{
          "shape":"String",
          "documentation":"<p>The message of the exception field.</p>"
        }
      },
      "documentation":"<p>Contains information about a validation exception field.</p>"
    },
    "ValidationExceptionFieldList":{
      "type":"list",
      "member":{"shape":"ValidationExceptionField"}
    },
    "ValidationExceptionReason":{
      "type":"string",
      "enum":[
        "UNKNOWN_OPERATION",
        "CANNOT_PARSE",
        "FIELD_VALIDATION_FAILED",
        "OTHER"
      ]
    }
  },
  "documentation":"<p>AWS 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 AWS IoT Core and export IoT data to the AWS Cloud. AWS IoT Greengrass developers can use AWS Lambda functions and components to create and deploy applications to fleets of edge devices for local operation.</p> <p>AWS IoT Greengrass Version 2 provides a new major version of the AWS IoT Greengrass Core software, new APIs, and a new console. Use this API reference to learn how to use the AWS IoT Greengrass V2 API operations to manage components, manage deployments, and core devices.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/greengrass/v2/developerguide/what-is-iot-greengrass.html\">What is AWS IoT Greengrass?</a> in the <i>AWS IoT Greengrass V2 Developer Guide</i>.</p>"
}
