@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:22.398Z") @Stability(value=Stable) public interface AwsApiInput 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.services.events.targets.*;
Object parameters;
AwsApiInput awsApiInput = AwsApiInput.builder()
.action("action")
.service("service")
// the properties below are optional
.apiVersion("apiVersion")
.catchErrorPattern("catchErrorPattern")
.parameters(parameters)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AwsApiInput.Builder
A builder for
AwsApiInput |
static class |
AwsApiInput.Jsii$Proxy
An implementation for
AwsApiInput |
| Modifier and Type | Method and Description |
|---|---|
static AwsApiInput.Builder |
builder() |
String |
getAction()
The service action to call.
|
default String |
getApiVersion()
API version to use for the service.
|
default String |
getCatchErrorPattern()
The regex pattern to use to catch API errors.
|
default Object |
getParameters()
The parameters for the service action.
|
String |
getService()
The service to call.
|
@Stability(value=Stable) @NotNull String getAction()
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html@Stability(value=Stable) @NotNull String getService()
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html@Stability(value=Stable) @Nullable default String getApiVersion()
Default: - use latest available API version
https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/locking-api-versions.html@Stability(value=Stable) @Nullable default String getCatchErrorPattern()
The code property of the
Error object will be tested against this pattern. If there is a match an
error will not be thrown.
Default: - do not catch errors
@Stability(value=Stable) @Nullable default Object getParameters()
Default: - no parameters
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html@Stability(value=Stable) static AwsApiInput.Builder builder()
AwsApiInput.Builder of AwsApiInputCopyright © 2022. All rights reserved.