software.aws.awsprototypingsdk.openapigateway.Integration Maven / Gradle / Ivy
Show all versions of open-api-gateway Show documentation
package software.aws.awsprototypingsdk.openapigateway;
/**
* (experimental) An integration for an API operation.
*
* You can extend this to implement your own integration if you like.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.82.0 (build 2d2ddd7)", date = "2023-08-15T05:38:04.576Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = software.aws.awsprototypingsdk.openapigateway.$Module.class, fqn = "@aws-prototyping-sdk/open-api-gateway.Integration")
public abstract class Integration extends software.amazon.jsii.JsiiObject {
protected Integration(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected Integration(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
protected Integration() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* (experimental) Grant permissions for the API to invoke the integration.
*
* @param _props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public void grant(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.openapigateway.IntegrationGrantProps _props) {
software.amazon.jsii.Kernel.call(this, "grant", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(_props, "_props is required") });
}
/**
* (experimental) Render the integration into an API Gateway OpenAPI extension.
*
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public abstract @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.openapigateway.ApiGatewayIntegration render(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.openapigateway.IntegrationRenderProps props);
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
private static final class Jsii$Proxy extends software.aws.awsprototypingsdk.openapigateway.Integration {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* (experimental) Render the integration into an API Gateway OpenAPI extension.
*
* @param props This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.openapigateway.ApiGatewayIntegration render(final @org.jetbrains.annotations.NotNull software.aws.awsprototypingsdk.openapigateway.IntegrationRenderProps props) {
return software.amazon.jsii.Kernel.call(this, "render", software.amazon.jsii.NativeType.forClass(software.aws.awsprototypingsdk.openapigateway.ApiGatewayIntegration.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
}
}
}