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.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:47.708Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAwsApiInputstatic final classAn implementation forAwsApiInput - 
Method Summary
Modifier and TypeMethodDescriptionstatic AwsApiInput.Builderbuilder()The service action to call.default StringAPI version to use for the service.default StringThe regex pattern to use to catch API errors.default ObjectThe 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. - 
getService
The service to call. - 
getApiVersion
API version to use for the service.Default: - use latest available API version
 - 
getCatchErrorPattern
The regex pattern to use to catch API errors.The
codeproperty of theErrorobject 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
 - 
builder
- Returns:
 - a 
AwsApiInput.BuilderofAwsApiInput 
 
 -