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.84.0 (build 5404dcf)", date="2023-06-19T16:30:36.691Z") @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.*;
 Object parameters;
 AwsApiCallOptions awsApiCallOptions = AwsApiCallOptions.builder()
         .api("api")
         .service("service")
         // the properties below are optional
         .parameters(parameters)
         .build();
 
  • Method Details

    • getApi

      @Stability(Experimental) @NotNull String getApi()
      (experimental) The api call to make, i.e. getBucketLifecycle.
    • getService

      @Stability(Experimental) @NotNull String getService()
      (experimental) The AWS service, i.e. S3.
    • getParameters

      @Stability(Experimental) @Nullable default Object getParameters()
      (experimental) Any parameters to pass to the api call.

      Default: - no parameters

    • builder

      @Stability(Experimental) static AwsApiCallOptions.Builder builder()
      Returns:
      a AwsApiCallOptions.Builder of AwsApiCallOptions