Class: Aws::ElementalInference::Types::UpdateFunctionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:request_expression, :response_expression, :description]

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ String

A new description for the function.

Returns:

  • (String)


3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3469

class UpdateFunctionRequest < Struct.new(
  :id,
  :name,
  :target,
  :request_expression,
  :response_expression,
  :description,
  :event_bridge_delivery)
  SENSITIVE = [:request_expression, :response_expression, :description]
  include Aws::Structure
end

#event_bridge_delivery ⇒ String

Specifies whether Elemental Inference also sends this function's marked results to Amazon EventBridge, as described for CreateFunction. If you omit this parameter, the current value is kept. While a feed references the function, you can change this value to DISABLED, but not to ENABLED.

Returns:

  • (String)


3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3469

class UpdateFunctionRequest < Struct.new(
  :id,
  :name,
  :target,
  :request_expression,
  :response_expression,
  :description,
  :event_bridge_delivery)
  SENSITIVE = [:request_expression, :response_expression, :description]
  include Aws::Structure
end

#id ⇒ String

The ID of the function.

Returns:

  • (String)


3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3469

class UpdateFunctionRequest < Struct.new(
  :id,
  :name,
  :target,
  :request_expression,
  :response_expression,
  :description,
  :event_bridge_delivery)
  SENSITIVE = [:request_expression, :response_expression, :description]
  include Aws::Structure
end

#name ⇒ String

A new name for the function. You can't change the name while the function is referenced by a feed.

Returns:

  • (String)


3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3469

class UpdateFunctionRequest < Struct.new(
  :id,
  :name,
  :target,
  :request_expression,
  :response_expression,
  :description,
  :event_bridge_delivery)
  SENSITIVE = [:request_expression, :response_expression, :description]
  include Aws::Structure
end

#request_expression ⇒ String

A new request expression for the function. Elemental Inference derives contextTypes again from the new expression. While a feed references the function, the new expression must reference the same media context as the current one.

Returns:

  • (String)


3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3469

class UpdateFunctionRequest < Struct.new(
  :id,
  :name,
  :target,
  :request_expression,
  :response_expression,
  :description,
  :event_bridge_delivery)
  SENSITIVE = [:request_expression, :response_expression, :description]
  include Aws::Structure
end

#response_expression ⇒ String

A new response expression for the function. To remove the response expression, specify an empty string. A function with a Bedrock target and eventBridgeDelivery set to ENABLED must keep a response expression.

Returns:

  • (String)


3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3469

class UpdateFunctionRequest < Struct.new(
  :id,
  :name,
  :target,
  :request_expression,
  :response_expression,
  :description,
  :event_bridge_delivery)
  SENSITIVE = [:request_expression, :response_expression, :description]
  include Aws::Structure
end

#target ⇒ Types::FunctionTarget

A new target for the function. You can't change the target while the function is referenced by a feed.



3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 3469

class UpdateFunctionRequest < Struct.new(
  :id,
  :name,
  :target,
  :request_expression,
  :response_expression,
  :description,
  :event_bridge_delivery)
  SENSITIVE = [:request_expression, :response_expression, :description]
  include Aws::Structure
end