@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:46.063Z") @Stability(value=Experimental) public interface MethodResponse extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
MethodResponse.Builder
A builder for
MethodResponse |
static class |
MethodResponse.Jsii$Proxy
An implementation for
MethodResponse |
| Modifier and Type | Method and Description |
|---|---|
static MethodResponse.Builder |
builder() |
default Map<String,IModel> |
getResponseModels()
(experimental) The resources used for the response's content type.
|
default Map<String,Boolean> |
getResponseParameters()
(experimental) Response parameters that API Gateway sends to the client that called a method.
|
String |
getStatusCode()
(experimental) The method response's status code, which you map to an IntegrationResponse.
|
@Stability(value=Experimental) @NotNull String getStatusCode()
Required.
@Stability(value=Experimental) @Nullable default Map<String,IModel> getResponseModels()
Specify response models as key-value pairs (string-to-string maps), with a content type as the key and a Model resource name as the value.
Default: None
@Stability(value=Experimental) @Nullable default Map<String,Boolean> getResponseParameters()
Specify response parameters as key-value pairs (string-to-Boolean maps), with a destination as the key and a Boolean as the value. Specify the destination using the following pattern: method.response.header.name, where the name is a valid, unique header name. The Boolean specifies whether a parameter is required.
Default: None
@Stability(value=Experimental) static MethodResponse.Builder builder()
MethodResponse.Builder of MethodResponseCopyright © 2021. All rights reserved.