Interface AwsApiCallOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AwsApiCallProps
- All Known Implementing Classes:
AwsApiCallOptions.Jsii$Proxy
,AwsApiCallProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-06T01:36:37.697Z")
@Stability(Experimental)
public interface AwsApiCallOptions
extends software.amazon.jsii.JsiiSerializable
(experimental) Options to perform an AWS JavaScript V2 API call.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.integtests.alpha.*; Object parameters; AwsApiCallOptions awsApiCallOptions = AwsApiCallOptions.builder() .api("api") .service("service") // the properties below are optional .outputPaths(List.of("outputPaths")) .parameters(parameters) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAwsApiCallOptions
static final class
An implementation forAwsApiCallOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic AwsApiCallOptions.Builder
builder()
getApi()
(experimental) The api call to make, i.e.(experimental) Restrict the data returned by the API call to specific paths in the API response.default Object
(experimental) Any parameters to pass to the api call.(experimental) The AWS service, i.e.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApi
(experimental) The api call to make, i.e. getBucketLifecycle. -
getService
(experimental) The AWS service, i.e. S3. -
getOutputPaths
(experimental) Restrict the data returned by the API call to specific paths in the API response.Use this to limit the data returned by the custom resource if working with API calls that could potentially result in custom response objects exceeding the hard limit of 4096 bytes.
Default: - return all data
-
getParameters
(experimental) Any parameters to pass to the api call.Default: - no parameters
-
builder
- Returns:
- a
AwsApiCallOptions.Builder
ofAwsApiCallOptions
-