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

Class: Aws::EFS::Types::CreateTagsRequest

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

Overview

Note:

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

{
  file_system_id: "FileSystemId", # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#file_system_idString

ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system.

Returns:

  • (String)


140
141
142
143
144
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 140

class CreateTagsRequest < Struct.new(
  :file_system_id,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Array of Tag objects to add. Each Tag object is a key-value pair.

Returns:



140
141
142
143
144
# File 'gems/aws-sdk-efs/lib/aws-sdk-efs/types.rb', line 140

class CreateTagsRequest < Struct.new(
  :file_system_id,
  :tags)
  include Aws::Structure
end