SendApiAsset - AWS Data Exchange

SendApiAsset

This operation invokes an API Gateway API asset. The request is proxied to the provider’s API Gateway API.

Request Syntax

POST /v1?QueryStringParameters HTTP/1.1 x-amzn-dataexchange-asset-id: AssetId x-amzn-dataexchange-data-set-id: DataSetId x-amzn-dataexchange-http-method: Method x-amzn-dataexchange-path: Path x-amzn-dataexchange-revision-id: RevisionId Body

URI Request Parameters

The request uses the following URI parameters.

AssetId

Asset ID value for the API request.

Required: Yes

DataSetId

Data set ID value for the API request.

Required: Yes

Method

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

Path

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

QueryStringParameters

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

RevisionId

Revision ID value for the API request.

Required: Yes

Request Body

The request accepts the following string data.

Body

The request body.

Response Syntax

HTTP/1.1 200 Body

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The response returns the following as the HTTP body.

Body

The response body from the underlying API tracked by the API asset.

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

Access to the resource is denied.

HTTP Status Code: 403

InternalServerException

An exception occurred with the service.

HTTP Status Code: 500

ResourceNotFoundException

The resource couldn't be found.

HTTP Status Code: 404

ThrottlingException

The limit on the number of requests per second was exceeded.

HTTP Status Code: 429

ValidationException

The request was invalid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: