Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateComponentVersionRequest

import type { CreateComponentVersionRequest } from "https://aws-api.deno.dev/v0.4/services/greengrassv2.ts?docs=full";
interface CreateComponentVersionRequest {
clientToken?: string | null;
inlineRecipe?: Uint8Array | string | null;
lambdaFunction?: LambdaFunctionRecipeSource | null;
tags?: {
[key: string]: string | null | undefined;
}
| null;
}

§Properties

§
clientToken?: string | null
[src]

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

§
inlineRecipe?: Uint8Array | string | null
[src]

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

You must specify either inlineRecipe or lambdaFunction.

§
lambdaFunction?: LambdaFunctionRecipeSource | null
[src]

The parameters to create a component from a Lambda function.

You must specify either inlineRecipe or lambdaFunction.

§
tags?: {
[key: string]: string | null | undefined;
}
| null
[src]

A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the IoT Greengrass V2 Developer Guide.