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

Class: Aws::Greengrass::Types::CreateFunctionDefinitionVersionRequest

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 CreateFunctionDefinitionVersionRequest data as a hash:

{
  amzn_client_token: "__string",
  function_definition_id: "__string", # required
  functions: [
    {
      function_arn: "__string",
      function_configuration: {
        environment: {
          variables: {
            "__string" => "__string",
          },
        },
        exec_args: "__string",
        executable: "__string",
        memory_size: 1,
        pinned: false,
        timeout: 1,
      },
      id: "__string",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


608
609
610
611
612
613
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 608

class CreateFunctionDefinitionVersionRequest < Struct.new(
  :amzn_client_token,
  :function_definition_id,
  :functions)
  include Aws::Structure
end

#function_definition_idString

Returns:

  • (String)


608
609
610
611
612
613
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 608

class CreateFunctionDefinitionVersionRequest < Struct.new(
  :amzn_client_token,
  :function_definition_id,
  :functions)
  include Aws::Structure
end

#functionsArray<Types::Function>

Returns:



608
609
610
611
612
613
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 608

class CreateFunctionDefinitionVersionRequest < Struct.new(
  :amzn_client_token,
  :function_definition_id,
  :functions)
  include Aws::Structure
end