Class: Aws::IoTTwinMaker::Types::FunctionRequest

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

Overview

Note:

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

{
  required_properties: ["Name"],
  scope: "ENTITY", # accepts ENTITY, WORKSPACE
  implemented_by: {
    lambda: {
      arn: "LambdaArn", # required
    },
    is_native: false,
  },
}

The function request body.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#implemented_byTypes::DataConnector

The data connector.



1643
1644
1645
1646
1647
1648
1649
# File 'lib/aws-sdk-iottwinmaker/types.rb', line 1643

class FunctionRequest < Struct.new(
  :required_properties,
  :scope,
  :implemented_by)
  SENSITIVE = []
  include Aws::Structure
end

#required_propertiesArray<String>

The required properties of the function.

Returns:

  • (Array<String>)


1643
1644
1645
1646
1647
1648
1649
# File 'lib/aws-sdk-iottwinmaker/types.rb', line 1643

class FunctionRequest < Struct.new(
  :required_properties,
  :scope,
  :implemented_by)
  SENSITIVE = []
  include Aws::Structure
end

#scopeString

The scope of the function.

Returns:

  • (String)


1643
1644
1645
1646
1647
1648
1649
# File 'lib/aws-sdk-iottwinmaker/types.rb', line 1643

class FunctionRequest < Struct.new(
  :required_properties,
  :scope,
  :implemented_by)
  SENSITIVE = []
  include Aws::Structure
end