@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:58.381Z") @Stability(value=Experimental) public interface AwsApiCallRequest extends software.amazon.jsii.JsiiSerializable
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() |
String |
getApi()
(experimental) The AWS api call to make i.e.
|
default String |
getFlattenResponse()
(experimental) Whether or not to flatten the response from the api call.
|
default Object |
getParameters()
(experimental) Any parameters to pass to the api call.
|
String |
getService()
(experimental) The AWS service i.e.
|
@Stability(value=Experimental) @NotNull String getApi()
@Stability(value=Experimental) @NotNull String getService()
@Stability(value=Experimental) @Nullable default 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'
@Stability(value=Experimental) @Nullable default Object getParameters()
Default: - no parameters
@Stability(value=Experimental) static AwsApiCallRequest.Builder builder()
AwsApiCallRequest.Builder of AwsApiCallRequestCopyright © 2022. All rights reserved.