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

SendApiAssetRequest

import type { SendApiAssetRequest } from "https://aws-api.deno.dev/v0.3/services/dataexchange.ts?docs=full";

The request body for SendApiAsset.

interface SendApiAssetRequest {
AssetId: string;
Body?: string | null;
DataSetId: string;
Method?: string | null;
Path?: string | null;
QueryStringParameters?: {
[key: string]: string | null | undefined;
}
| null;
RequestHeaders?: {
[key: string]: string | null | undefined;
}
| null;
RevisionId: string;
}

§Properties

§
AssetId: string
[src]

Asset ID value for the API request.

§
Body?: string | null
[src]

The request body.

§
DataSetId: string
[src]

Data set ID value for the API request.

§
Method?: string | null
[src]

HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.

§
Path?: string | null
[src]

URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/{pathValue}

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

Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).

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

Any header value prefixed with x-amzn-dataexchange-header- will have that stripped before sending the Asset API request. Use this when you want to override a header that AWS Data Exchange uses. Alternatively, you can use the header without a prefix to the HTTP request.

§
RevisionId: string
[src]

Revision ID value for the API request.