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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The API ID.

Returns:

  • (String)


1895
1896
1897
1898
1899
1900
1901
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1895

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

#formatString

The type format: SDL or JSON.

Returns:

  • (String)


1895
1896
1897
1898
1899
1900
1901
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1895

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

#type_nameString

The type name.

Returns:

  • (String)


1895
1896
1897
1898
1899
1900
1901
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1895

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