| Package | Description |
|---|---|
| software.amazon.awscdk.services.apigateway |
Amazon API Gateway Construct Library
|
| software.amazon.awscdk.services.lambda.eventsources |
AWS Lambda Event Sources
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IModel.Jsii$Default
Internal default implementation for
IModel. |
| Modifier and Type | Class and Description |
|---|---|
static class |
IModel.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
class |
Model
Example:
|
| Modifier and Type | Field and Description |
|---|---|
static IModel |
Model.EMPTY_MODEL
Represents a reference to a REST API's Empty model, which is available as part of the model collection by default.
|
static IModel |
Model.ERROR_MODEL
Represents a reference to a REST API's Error model, which is available as part of the model collection by default.
|
| Modifier and Type | Method and Description |
|---|---|
static IModel |
Model.fromModelName(software.constructs.Construct scope,
String id,
String modelName) |
| Modifier and Type | Method and Description |
|---|---|
default Map<String,IModel> |
MethodOptions.getRequestModels()
The models which describe data structure of request payload.
|
Map<String,IModel> |
MethodOptions.Jsii$Proxy.getRequestModels() |
default Map<String,IModel> |
MethodResponse.getResponseModels()
The resources used for the response's content type.
|
Map<String,IModel> |
MethodResponse.Jsii$Proxy.getResponseModels() |
| Modifier and Type | Method and Description |
|---|---|
MethodOptions.Builder |
MethodOptions.Builder.requestModels(Map<String,? extends IModel> requestModels)
Sets the value of
MethodOptions.getRequestModels() |
MethodResponse.Builder |
MethodResponse.Builder.responseModels(Map<String,? extends IModel> responseModels)
Sets the value of
MethodResponse.getResponseModels() |
| Modifier and Type | Method and Description |
|---|---|
ApiEventSource.Builder |
ApiEventSource.Builder.requestModels(Map<String,? extends IModel> requestModels)
The models which describe data structure of request payload.
|
Copyright © 2022. All rights reserved.