Interface AwsApiInput
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
AwsApiProps
- All Known Implementing Classes:
AwsApiInput.Jsii$Proxy
,AwsApiProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:02.057Z")
@Stability(Stable)
public interface AwsApiInput
extends software.amazon.jsii.JsiiSerializable
Rule target input for an AwsApi target.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAwsApiInput
static final class
An implementation forAwsApiInput
-
Method Summary
Modifier and TypeMethodDescriptionstatic AwsApiInput.Builder
builder()
The service action to call.default String
Deprecated.the handler code was migrated to AWS SDK for JavaScript v3, which does not support this feature anymoredefault String
The regex pattern to use to catch API errors.default Object
The parameters for the service action.The service to call.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAction
The service action to call.- See Also:
-
getService
The service to call.- See Also:
-
getApiVersion
Deprecated.the handler code was migrated to AWS SDK for JavaScript v3, which does not support this feature anymore(deprecated) API version to use for the service. -
getCatchErrorPattern
The regex pattern to use to catch API errors.The
code
property of theError
object will be tested against this pattern. If there is a match an error will not be thrown.Default: - do not catch errors
-
getParameters
The parameters for the service action.Default: - no parameters
- See Also:
-
builder
- Returns:
- a
AwsApiInput.Builder
ofAwsApiInput
-