send_api_asset
(**kwargs)¶This operation invokes an API Gateway API asset. The request is proxied to the provider’s API Gateway API.
See also: AWS API Documentation
Request Syntax
response = client.send_api_asset(
Body='string',
QueryStringParameters={
'string': 'string'
},
AssetId='string',
DataSetId='string',
RequestHeaders={
'string': 'string'
},
Method='string',
Path='string',
RevisionId='string'
)
Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).
[REQUIRED]
Asset ID value for the API request.
[REQUIRED]
Data set ID value for the API request.
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.
[REQUIRED]
Revision ID value for the API request.
dict
Response Syntax
{
'Body': 'string',
'ResponseHeaders': {
'string': 'string'
}
}
Response Structure
(dict) --
Body (string) --
The response body from the underlying API tracked by the API asset.
ResponseHeaders (dict) --
The response headers from the underlying API tracked by the API asset.
Exceptions
DataExchange.Client.exceptions.ResourceNotFoundException
DataExchange.Client.exceptions.ThrottlingException
DataExchange.Client.exceptions.AccessDeniedException
DataExchange.Client.exceptions.ValidationException
DataExchange.Client.exceptions.InternalServerException