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

Class: Aws::Greengrass::Types::CreateLoggerDefinitionRequest

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

Overview

Note:

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

{
  amzn_client_token: "__string",
  initial_version: {
    loggers: [
      {
        component: "GreengrassSystem", # accepts GreengrassSystem, Lambda
        id: "__string",
        level: "DEBUG", # accepts DEBUG, INFO, WARN, ERROR, FATAL
        space: 1,
        type: "FileSystem", # accepts FileSystem, AWSCloudWatch
      },
    ],
  },
  name: "__string",
}

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


839
840
841
842
843
844
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 839

class CreateLoggerDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name)
  include Aws::Structure
end

#initial_versionTypes::LoggerDefinitionVersion

Information on logger definition version



839
840
841
842
843
844
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 839

class CreateLoggerDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name)
  include Aws::Structure
end

#nameString

Returns:

  • (String)


839
840
841
842
843
844
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 839

class CreateLoggerDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name)
  include Aws::Structure
end