ResponseArgs class
The set of arguments for Response. The set of arguments for Response.
Constructors
-
ResponseArgs({Input<
String?> ? region, Input<Map< ? responseParameters, Input<String, String> ?>Map< ? responseTemplates, required Input<String, String> ?>String> responseType, required Input<String> restApiId, Input<String?> ? statusCode}) -
Creates a new ResponseArgs.
regionRegion where this resource will be managed. See the AWS Documentation for supported values. Defaults to the Region set in the provider configuration.responseParametersMap of parameters (paths, query strings and headers) of the Gateway Response.responseTemplatesMap of templates used to transform the response body.responseTypeResponse type of the associated GatewayResponse. See the AWS Documentation for supported values.restApiIdString identifier of the associated REST API.statusCodeHTTP status code of the Gateway Response.const -
ResponseArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
region
→ Input<
String?> ? -
Region where this resource will be managed. See the AWS Documentation for supported values. Defaults to the Region set in the provider configuration.
final
-
responseParameters
→ Input<
Map< ?String, String> ?> -
Map of parameters (paths, query strings and headers) of the Gateway Response.
final
-
responseTemplates
→ Input<
Map< ?String, String> ?> -
Map of templates used to transform the response body.
final
-
responseType
→ Input<
String> -
Response type of the associated GatewayResponse. See the AWS Documentation for supported values.
final
-
restApiId
→ Input<
String> -
String identifier of the associated REST API.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
statusCode
→ Input<
String?> ? -
HTTP status code of the Gateway Response.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited