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

Class: Aws::AppSync::Types::GetTypeRequest

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 GetTypeRequest data as a hash:

{
  api_id: "String", # required
  type_name: "ResourceName", # required
  format: "SDL", # required, accepts SDL, JSON
}

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The API ID.

Returns:

  • (String)


854
855
856
857
858
859
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 854

class GetTypeRequest < Struct.new(
  :api_id,
  :type_name,
  :format)
  include Aws::Structure
end

#formatString

The type format: SDL or JSON.

Returns:

  • (String)


854
855
856
857
858
859
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 854

class GetTypeRequest < Struct.new(
  :api_id,
  :type_name,
  :format)
  include Aws::Structure
end

#type_nameString

The type name.

Returns:

  • (String)


854
855
856
857
858
859
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 854

class GetTypeRequest < Struct.new(
  :api_id,
  :type_name,
  :format)
  include Aws::Structure
end