You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ApiGatewayV2::Types::UpdateApiRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateApiRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  api_id: "__string", # required
  api_key_selection_expression: "SelectionExpression",
  cors_configuration: {
    allow_credentials: false,
    allow_headers: ["__string"],
    allow_methods: ["StringWithLengthBetween1And64"],
    allow_origins: ["__string"],
    expose_headers: ["__string"],
    max_age: 1,
  },
  credentials_arn: "Arn",
  description: "StringWithLengthBetween0And1024",
  disable_schema_validation: false,
  name: "StringWithLengthBetween1And128",
  route_key: "SelectionKey",
  route_selection_expression: "SelectionExpression",
  target: "UriWithLengthBetween1And2048",
  version: "StringWithLengthBetween1And64",
}

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

Returns:

  • (String)

#api_key_selection_expressionString

An expression used to extract information at runtime. See Selection Expressions for more information.

Returns:

  • (String)

    An expression used to extract information at runtime.

#cors_configurationTypes::Cors

Represents a CORS configuration. Supported only for HTTP APIs. See Configuring CORS for more information.

Returns:

#credentials_arnString

Represents an Amazon Resource Name (ARN).

Returns:

  • (String)

    Represents an Amazon Resource Name (ARN).

    .

#descriptionString

A string with a length between [0-1024].

Returns:

  • (String)

    A string with a length between [0-1024].

    .

#disable_schema_validationBoolean

Returns:

  • (Boolean)

#nameString

A string with a length between [1-128].

Returns:

  • (String)

    A string with a length between [1-128].

    .

#route_keyString

After evaluating a selection expression, the result is compared against one or more selection keys to find a matching key. See Selection Expressions for a list of expressions and each expression's associated selection key type.

Returns:

  • (String)

    After evaluating a selection expression, the result is compared against one or more selection keys to find a matching key.

#route_selection_expressionString

An expression used to extract information at runtime. See Selection Expressions for more information.

Returns:

  • (String)

    An expression used to extract information at runtime.

#targetString

A string representation of a URI with a length between [1-2048].

Returns:

  • (String)

    A string representation of a URI with a length between [1-2048].

    .

#versionString

A string with a length between [1-64].

Returns:

  • (String)

    A string with a length between [1-64].

    .