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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

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)


2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2003

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#binary_media_typesArray<String>

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

Returns:

  • (Array<String>)


2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2003

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#created_dateString

Indicates when the API was created.

This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

  • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

  • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

  • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

  • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

Returns:

  • (String)


2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2003

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the REST API.

Returns:

  • (String)


2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2003

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#endpoint_configurationTypes::AwsApiGatewayEndpointConfiguration

The endpoint configuration of the REST API.



2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2003

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier of the REST API.

Returns:

  • (String)


2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2003

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#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)


2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2003

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the REST API.

Returns:

  • (String)


2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2003

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#versionString

The version identifier for the REST API.

Returns:

  • (String)


2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2003

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end