Class: Aws::AppSync::Types::UpdateApiKeyRequest

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

Overview

Note:

When making an API call, you may pass UpdateApiKeyRequest data as a hash:

{
  api_id: "String", # required
  id: "String", # required
  description: "String",
  expires: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The ID for the GraphQL API.

Returns:

  • (String)


3021
3022
3023
3024
3025
3026
3027
3028
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3021

class UpdateApiKeyRequest < Struct.new(
  :api_id,
  :id,
  :description,
  :expires)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the purpose of the API key.

Returns:

  • (String)


3021
3022
3023
3024
3025
3026
3027
3028
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3021

class UpdateApiKeyRequest < Struct.new(
  :api_id,
  :id,
  :description,
  :expires)
  SENSITIVE = []
  include Aws::Structure
end

#expiresInteger

The time from update time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .

Returns:

  • (Integer)


3021
3022
3023
3024
3025
3026
3027
3028
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3021

class UpdateApiKeyRequest < Struct.new(
  :api_id,
  :id,
  :description,
  :expires)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The API key ID.

Returns:

  • (String)


3021
3022
3023
3024
3025
3026
3027
3028
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3021

class UpdateApiKeyRequest < Struct.new(
  :api_id,
  :id,
  :description,
  :expires)
  SENSITIVE = []
  include Aws::Structure
end