send_api_asset
¶
send_api_asset(
asset_id: __string,
data_set_id: __string,
revision_id: __string,
*,
config_overrides: Optional[DataExchangeClientConfig] = None,
body: Optional[__string] = None,
query_string_parameters: Optional[MapOf__string] = None,
request_headers: Optional[MapOf__string] = None,
method: Optional[__string] = None,
path: Optional[__string] = None,
) -> SendApiAssetResponse
This operation invokes an API Gateway API asset. The request is proxied to the provider’s API Gateway API.
Parameters:
-
body(Optional[__string], default:None) –The request body.
-
query_string_parameters(Optional[MapOf__string], default:None) –Attach query string parameters to the end of the URI (for example, /v1/examplePath?exampleParam=exampleValue).
-
asset_id(__string) –Asset ID value for the API request.
-
data_set_id(__string) –Data set ID value for the API request.
-
request_headers(Optional[MapOf__string], default:None) –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.
-
method(Optional[__string], default:None) –HTTP method value for the API request. Alternatively, you can use the appropriate verb in your request.
-
path(Optional[__string], default:None) –URI path value for the API request. Alternatively, you can set the URI path directly by invoking /v1/{pathValue}.
-
revision_id(__string) –Revision ID value for the API request.
Raises:
-
AccessDeniedException–Access to the resource is denied.
-
InternalServerException–An exception occurred with the service.
-
ResourceNotFoundException–The resource couldn't be found.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request was invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_dataexchange/_services/data_exchange.py
1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 | |