Class: Aws::CloudFront::Types::TestFunctionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::TestFunctionRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[:event_object]
Instance Attribute Summary collapse
-
#event_object ⇒ String
The event object to test the function with.
-
#if_match ⇒ String
The current version (‘ETag` value) of the function that you are testing, which you can get using `DescribeFunction`.
-
#name ⇒ String
The name of the function that you are testing.
-
#stage ⇒ String
The stage of the function that you are testing, either ‘DEVELOPMENT` or `LIVE`.
Instance Attribute Details
#event_object ⇒ String
The event object to test the function with. For more information about the structure of the event object, see [Testing functions] in the *Amazon CloudFront Developer Guide*.
[1]: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function
10946 10947 10948 10949 10950 10951 10952 10953 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 10946 class TestFunctionRequest < Struct.new( :name, :if_match, :stage, :event_object) SENSITIVE = [:event_object] include Aws::Structure end |
#if_match ⇒ String
The current version (‘ETag` value) of the function that you are testing, which you can get using `DescribeFunction`.
10946 10947 10948 10949 10950 10951 10952 10953 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 10946 class TestFunctionRequest < Struct.new( :name, :if_match, :stage, :event_object) SENSITIVE = [:event_object] include Aws::Structure end |
#name ⇒ String
The name of the function that you are testing.
10946 10947 10948 10949 10950 10951 10952 10953 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 10946 class TestFunctionRequest < Struct.new( :name, :if_match, :stage, :event_object) SENSITIVE = [:event_object] include Aws::Structure end |
#stage ⇒ String
The stage of the function that you are testing, either ‘DEVELOPMENT` or `LIVE`.
10946 10947 10948 10949 10950 10951 10952 10953 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 10946 class TestFunctionRequest < Struct.new( :name, :if_match, :stage, :event_object) SENSITIVE = [:event_object] include Aws::Structure end |