Method: Aws::APIGateway::Types::PatchOperation#from

Defined in:
lib/aws-sdk-apigateway/types.rb

#fromString

The ‘copy` update operation’s source as identified by a ‘JSON-Pointer` value referencing the location within the targeted resource to copy the value from. For example, to promote a canary deployment, you copy the canary deployment ID to the affiliated deployment ID by calling a PATCH request on a Stage resource with `“op”:“copy”`, `“from”:“/canarySettings/deploymentId”` and `“path”:“/deploymentId”`.

Returns:

  • (String)
[View source]

5592
5593
5594
5595
5596
5597
5598
5599
# File 'lib/aws-sdk-apigateway/types.rb', line 5592

class PatchOperation < Struct.new(
  :op,
  :path,
  :value,
  :from)
  SENSITIVE = []
  include Aws::Structure
end