@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.319Z") @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()
@Stability(value=Stable) @NotNull String getService()
@Stability(value=Stable) @Nullable default String getApiVersion()
Default: - use latest available API version
@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
@Stability(value=Stable) static AwsApiInput.Builder builder()
AwsApiInput.Builder of AwsApiInputCopyright © 2022. All rights reserved.