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

Class: Aws::SSM::Types::UpdateDocumentRequest

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

Overview

Note:

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

{
  content: "DocumentContent", # required
  name: "DocumentName", # required
  document_version: "DocumentVersion",
  document_format: "YAML", # accepts YAML, JSON
  target_type: "TargetType",
}

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The content in a document that you want to update.

Returns:

  • (String)


9926
9927
9928
9929
9930
9931
9932
9933
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9926

class UpdateDocumentRequest < Struct.new(
  :content,
  :name,
  :document_version,
  :document_format,
  :target_type)
  include Aws::Structure
end

#document_formatString

Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.

Returns:

  • (String)


9926
9927
9928
9929
9930
9931
9932
9933
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9926

class UpdateDocumentRequest < Struct.new(
  :content,
  :name,
  :document_version,
  :document_format,
  :target_type)
  include Aws::Structure
end

#document_versionString

The version of the document that you want to update.

Returns:

  • (String)


9926
9927
9928
9929
9930
9931
9932
9933
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9926

class UpdateDocumentRequest < Struct.new(
  :content,
  :name,
  :document_version,
  :document_format,
  :target_type)
  include Aws::Structure
end

#nameString

The name of the document that you want to update.

Returns:

  • (String)


9926
9927
9928
9929
9930
9931
9932
9933
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9926

class UpdateDocumentRequest < Struct.new(
  :content,
  :name,
  :document_version,
  :document_format,
  :target_type)
  include Aws::Structure
end

#target_typeString

Specify a new target type for the document.

Returns:

  • (String)


9926
9927
9928
9929
9930
9931
9932
9933
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 9926

class UpdateDocumentRequest < Struct.new(
  :content,
  :name,
  :document_version,
  :document_format,
  :target_type)
  include Aws::Structure
end