@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-14T16:25:26.424Z")
public interface AwsApiCallRequest
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; AwsApiCallRequest awsApiCallRequest = AwsApiCallRequest.builder() .api("api") .service("service") // the properties below are optional .flattenResponse("flattenResponse") .parameters(parameters) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
AwsApiCallRequest.Builder
A builder for
AwsApiCallRequest |
static class |
AwsApiCallRequest.Jsii$Proxy
An implementation for
AwsApiCallRequest |
Modifier and Type | Method and Description |
---|---|
static AwsApiCallRequest.Builder |
builder() |
java.lang.String |
getApi()
(experimental) The AWS api call to make i.e.
|
default java.lang.String |
getFlattenResponse()
(experimental) Whether or not to flatten the response from the api call.
|
default java.lang.Object |
getParameters()
(experimental) Any parameters to pass to the api call.
|
java.lang.String |
getService()
(experimental) The AWS service i.e.
|
java.lang.String getApi()
java.lang.String getService()
default java.lang.String getFlattenResponse()
Valid values are 'true' or 'false' as strings
Typically when using an SdkRequest you will be passing it as the
actual
value to an assertion provider so this would be set
to 'false' (you want the actual response).
If you are using the SdkRequest to perform more of a query to return
a single value to use, then this should be set to 'true'. For example,
you could make a StepFunctions.startExecution api call and retreive the
executionArn
from the response.
Default: 'false'
default java.lang.Object getParameters()
Default: - no parameters
static AwsApiCallRequest.Builder builder()
AwsApiCallRequest.Builder
of AwsApiCallRequest