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?: {} | null;
[key: string]: string | null | undefined;
RequestHeaders?: {} | null;
[key: string]: string | null | undefined;
RevisionId: string;
}§Properties
§
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?: {} | null
[src][key: string]: string | null | undefined;
Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).
§
RequestHeaders?: {} | null
[src][key: string]: string | null | undefined;
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.