getModel

suspend fun getModel(argument: GetModelPlainArgs): GetModelResult

The `AWS::ApiGateway::Model` resource defines the structure of a request or response payload for an API method.

Return

null

Parameters

argument

null


suspend fun getModel(name: String, restApiId: String): GetModelResult

Return

null

Parameters

name

A name for the model. If you don't specify a name, CFN generates a unique physical ID and uses that ID for the model name. For more information, see Name Type. If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name.

restApiId

The string identifier of the associated RestApi.

See also


suspend fun getModel(argument: suspend GetModelPlainArgsBuilder.() -> Unit): GetModelResult

Return

null

Parameters

argument

Builder for com.pulumi.awsnative.apigateway.kotlin.inputs.GetModelPlainArgs.

See also