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

Class: Aws::SecurityHub::Types::AwsApiGatewayRestApiDetails

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

Overview

Note:

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

{
  id: "NonEmptyString",
  name: "NonEmptyString",
  description: "NonEmptyString",
  created_date: "NonEmptyString",
  version: "NonEmptyString",
  binary_media_types: ["NonEmptyString"],
  minimum_compression_size: 1,
  api_key_source: "NonEmptyString",
  endpoint_configuration: {
    types: ["NonEmptyString"],
  },
}

contains information about a REST API in version 1 of Amazon API Gateway.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_sourceString

The source of the API key for metering requests according to a usage plan.

HEADER indicates whether to read the API key from the X-API-Key header of a request.

AUTHORIZER indicates whether to read the API key from the UsageIdentifierKey from a custom authorizer.

Returns:

  • (String)

    The source of the API key for metering requests according to a usage plan.

#binary_media_typesArray<String>

The list of binary media types supported by the REST API.

Returns:

  • (Array<String>)

    The list of binary media types supported by the REST API.

#created_dateString

Indicates when the API was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String)

    Indicates when the API was created.

#descriptionString

A description of the REST API.

Returns:

  • (String)

    A description of the REST API.

#endpoint_configurationTypes::AwsApiGatewayEndpointConfiguration

The endpoint configuration of the REST API.

Returns:

#idString

The identifier of the REST API.

Returns:

  • (String)

    The identifier of the REST API.

#minimum_compression_sizeInteger

The minimum size in bytes of a payload before compression is enabled.

If null, then compression is disabled.

If 0, then all payloads are compressed.

Returns:

  • (Integer)

    The minimum size in bytes of a payload before compression is enabled.

#nameString

The name of the REST API.

Returns:

  • (String)

    The name of the REST API.

#versionString

The version identifier for the REST API.

Returns:

  • (String)

    The version identifier for the REST API.