@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:09.091Z") @Stability(value=Experimental) 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()
(experimental) The service action to call.
|
default String |
getApiVersion()
(experimental) API version to use for the service.
|
default String |
getCatchErrorPattern()
(experimental) The regex pattern to use to catch API errors.
|
default Object |
getParameters()
(experimental) The parameters for the service action.
|
String |
getService()
(experimental) The service to call.
|
@Stability(value=Experimental) @NotNull String getAction()
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html@Stability(value=Experimental) @NotNull String getService()
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html@Stability(value=Experimental) @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=Experimental) @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=Experimental) @Nullable default Object getParameters()
Default: - no parameters
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html@Stability(value=Experimental) static AwsApiInput.Builder builder()
AwsApiInput.Builder of AwsApiInputCopyright © 2022. All rights reserved.