Class: Aws::GreengrassV2::Types::CreateComponentVersionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-greengrassv2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique, case-sensitive identifier that you can provide to ensure that the request is idempotent. Idempotency means that the request is successfully processed only once, even if you send the request multiple times. When a request succeeds, and you specify the same client token for subsequent successful requests, the IoT Greengrass V2 service returns the successful response that it caches from the previous request. IoT Greengrass V2 caches successful responses for idempotent requests for up to 8 hours.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


762
763
764
765
766
767
768
769
# File 'lib/aws-sdk-greengrassv2/types.rb', line 762

class CreateComponentVersionRequest < Struct.new(
  :inline_recipe,
  :lambda_function,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#inline_recipeString

The recipe to use to create the component. The recipe defines the component’s metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility.

You must specify either ‘inlineRecipe` or `lambdaFunction`.

Returns:

  • (String)


762
763
764
765
766
767
768
769
# File 'lib/aws-sdk-greengrassv2/types.rb', line 762

class CreateComponentVersionRequest < Struct.new(
  :inline_recipe,
  :lambda_function,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#lambda_functionTypes::LambdaFunctionRecipeSource

The parameters to create a component from a Lambda function.

You must specify either ‘inlineRecipe` or `lambdaFunction`.



762
763
764
765
766
767
768
769
# File 'lib/aws-sdk-greengrassv2/types.rb', line 762

class CreateComponentVersionRequest < Struct.new(
  :inline_recipe,
  :lambda_function,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

A list of key-value pairs that contain metadata for the resource. For more information, see [Tag your resources] in the *IoT Greengrass V2 Developer Guide*.

[1]: docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html

Returns:

  • (Hash<String,String>)


762
763
764
765
766
767
768
769
# File 'lib/aws-sdk-greengrassv2/types.rb', line 762

class CreateComponentVersionRequest < Struct.new(
  :inline_recipe,
  :lambda_function,
  :tags,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end