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

Class: Aws::CloudDirectory::Types::PublishSchemaRequest

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

Overview

Note:

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

{
  development_schema_arn: "Arn", # required
  version: "Version", # required
  minor_version: "Version",
  name: "SchemaName",
}

Instance Attribute Summary collapse

Instance Attribute Details

#development_schema_arnString

The Amazon Resource Name (ARN) that is associated with the development schema. For more information, see arns.

Returns:

  • (String)


5933
5934
5935
5936
5937
5938
5939
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 5933

class PublishSchemaRequest < Struct.new(
  :development_schema_arn,
  :version,
  :minor_version,
  :name)
  include Aws::Structure
end

#minor_versionString

The minor version under which the schema will be published. This parameter is recommended. Schemas have both a major and minor version associated with them.

Returns:

  • (String)


5933
5934
5935
5936
5937
5938
5939
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 5933

class PublishSchemaRequest < Struct.new(
  :development_schema_arn,
  :version,
  :minor_version,
  :name)
  include Aws::Structure
end

#nameString

The new name under which the schema will be published. If this is not provided, the development schema is considered.

Returns:

  • (String)


5933
5934
5935
5936
5937
5938
5939
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 5933

class PublishSchemaRequest < Struct.new(
  :development_schema_arn,
  :version,
  :minor_version,
  :name)
  include Aws::Structure
end

#versionString

The major version under which the schema will be published. Schemas have both a major and minor version associated with them.

Returns:

  • (String)


5933
5934
5935
5936
5937
5938
5939
# File 'gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/types.rb', line 5933

class PublishSchemaRequest < Struct.new(
  :development_schema_arn,
  :version,
  :minor_version,
  :name)
  include Aws::Structure
end