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)


1868
1869
1870
1871
1872
1873
1874
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1868

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

#formatString

The type format: SDL or JSON.

Returns:

  • (String)


1868
1869
1870
1871
1872
1873
1874
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1868

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

#type_nameString

The type name.

Returns:

  • (String)


1868
1869
1870
1871
1872
1873
1874
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 1868

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