|
4 | 4 | "apiVersion": "2020-11-30",
|
5 | 5 | "endpointPrefix": "greengrass",
|
6 | 6 | "protocol": "rest-json",
|
| 7 | + "protocols": [ |
| 8 | + "rest-json" |
| 9 | + ], |
7 | 10 | "serviceAbbreviation": "AWS GreengrassV2",
|
8 | 11 | "serviceFullName": "AWS IoT Greengrass V2",
|
9 | 12 | "serviceId": "GreengrassV2",
|
|
168 | 171 | "shape": "RequestAlreadyInProgressException"
|
169 | 172 | }
|
170 | 173 | ],
|
171 |
| - "documentation": "<p>Creates a component. Components are software that run on Greengrass core devices. After you develop and test a component on your core device, you can use this operation to upload your component to IoT Greengrass. Then, you can deploy the component to other core devices.</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\">IoT Greengrass component recipe reference</a> in the <i>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 Lambda function that runs on 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 IoT Greengrass V1 to 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>Python 3.9 – <code>python3.9</code> </p> </li> <li> <p>Java 8 – <code>java8</code> </p> </li> <li> <p>Java 11 – <code>java11</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> <li> <p>Node.js 14 – <code>nodejs14.x</code> </p> </li> </ul> <p>To create a component from a Lambda function, specify <code>lambdaFunction</code> when you call this operation.</p> <note> <p>IoT Greengrass currently supports Lambda functions on only Linux core devices.</p> </note> </li> </ul>" |
| 174 | + "documentation": "<p>Creates a component. Components are software that run on Greengrass core devices. After you develop and test a component on your core device, you can use this operation to upload your component to IoT Greengrass. Then, you can deploy the component to other core devices.</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\">IoT Greengrass component recipe reference</a> in the <i>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 Lambda function that runs on 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 IoT Greengrass V1 to IoT Greengrass V2.</p> <p>This function accepts Lambda functions in all supported versions of Python, Node.js, and Java runtimes. IoT Greengrass doesn't apply any additional restrictions on deprecated Lambda runtime versions.</p> <p>To create a component from a Lambda function, specify <code>lambdaFunction</code> when you call this operation.</p> <note> <p>IoT Greengrass currently supports Lambda functions on only Linux core devices.</p> </note> </li> </ul>" |
172 | 175 | },
|
173 | 176 | "CreateDeployment": {
|
174 | 177 | "name": "CreateDeployment",
|
|
1190 | 1193 | },
|
1191 | 1194 | "ComponentDeploymentSpecification": {
|
1192 | 1195 | "type": "structure",
|
| 1196 | + "required": [ |
| 1197 | + "componentVersion" |
| 1198 | + ], |
1193 | 1199 | "members": {
|
1194 | 1200 | "componentVersion": {
|
1195 | 1201 | "shape": "ComponentVersionString",
|
|
2028 | 2034 | "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>",
|
2029 | 2035 | "location": "uri",
|
2030 | 2036 | "locationName": "artifactName"
|
| 2037 | + }, |
| 2038 | + "s3EndpointType": { |
| 2039 | + "shape": "S3EndpointType", |
| 2040 | + "documentation": "<p>Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.</p> <p>All Amazon Web Services Regions except US East (N. Virginia) use <code>REGIONAL</code> in all cases. In the US East (N. Virginia) Region the default is <code>GLOBAL</code>, but you can change it to <code>REGIONAL</code> with this parameter.</p>", |
| 2041 | + "location": "querystring", |
| 2042 | + "locationName": "s3EndpointType" |
| 2043 | + }, |
| 2044 | + "iotEndpointType": { |
| 2045 | + "shape": "IotEndpointType", |
| 2046 | + "documentation": "<p>Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint. Specify <code>fips</code> if you want the returned Amazon S3 pre-signed URL to point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default is <code>standard</code>.</p>", |
| 2047 | + "location": "header", |
| 2048 | + "locationName": "x-amz-iot-endpoint-type" |
2031 | 2049 | }
|
2032 | 2050 | }
|
2033 | 2051 | },
|
|
2246 | 2264 | },
|
2247 | 2265 | "lastInstallationSource": {
|
2248 | 2266 | "shape": "NonEmptyString",
|
2249 |
| - "documentation": "<p>The most recent deployment source that brought the component to the Greengrass core device. For a thing group deployment or thing deployment, the source will be the The ID of the deployment. and for local deployments it will be <code>LOCAL</code>.</p> <note> <p>Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.</p> </note>" |
| 2267 | + "documentation": "<p>The most recent deployment source that brought the component to the Greengrass core device. For a thing group deployment or thing deployment, the source will be the ID of the last deployment that contained the component. For local deployments it will be <code>LOCAL</code>.</p> <note> <p>Any deployment will attempt to reinstall currently broken components on the device, which will update the last installation source.</p> </note>" |
2250 | 2268 | },
|
2251 | 2269 | "lifecycleStatusCodes": {
|
2252 | 2270 | "shape": "InstalledComponentLifecycleStatusCodeList",
|
|
2464 | 2482 | "max": 128,
|
2465 | 2483 | "min": 1
|
2466 | 2484 | },
|
| 2485 | + "IotEndpointType": { |
| 2486 | + "type": "string", |
| 2487 | + "enum": [ |
| 2488 | + "fips", |
| 2489 | + "standard" |
| 2490 | + ] |
| 2491 | + }, |
2467 | 2492 | "IsLatestForTarget": {
|
2468 | 2493 | "type": "boolean"
|
2469 | 2494 | },
|
|
2921 | 2946 | },
|
2922 | 2947 | "maxResults": {
|
2923 | 2948 | "shape": "DefaultMaxResults",
|
2924 |
| - "documentation": "<p>The maximum number of results to be returned per paginated request.</p>", |
| 2949 | + "documentation": "<p>The maximum number of results to be returned per paginated request.</p> <p>Default: <code>50</code> </p>", |
2925 | 2950 | "box": true,
|
2926 | 2951 | "location": "querystring",
|
2927 | 2952 | "locationName": "maxResults"
|
|
3169 | 3194 | "shape": "ResolvedComponentVersion"
|
3170 | 3195 | }
|
3171 | 3196 | },
|
| 3197 | + "S3EndpointType": { |
| 3198 | + "type": "string", |
| 3199 | + "enum": [ |
| 3200 | + "REGIONAL", |
| 3201 | + "GLOBAL" |
| 3202 | + ] |
| 3203 | + }, |
3172 | 3204 | "String": {
|
3173 | 3205 | "type": "string"
|
3174 | 3206 | },
|
|
0 commit comments