class Aws::CloudFront::Types::TestFunctionRequest

@note When making an API call, you may pass TestFunctionRequest

data as a hash:

    {
      name: "string", # required
      if_match: "string", # required
      stage: "DEVELOPMENT", # accepts DEVELOPMENT, LIVE
      event_object: "data", # required
    }

@!attribute [rw] name

The name of the function that you are testing.
@return [String]

@!attribute [rw] if_match

The current version (`ETag` value) of the function that you are
testing, which you can get using `DescribeFunction`.
@return [String]

@!attribute [rw] stage

The stage of the function that you are testing, either `DEVELOPMENT`
or `LIVE`.
@return [String]

@!attribute [rw] event_object

The event object to test the function with. For more information
about the structure of the event object, see [Testing functions][1]
in the *Amazon CloudFront Developer Guide*.

[1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/managing-functions.html#test-function
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TestFunctionRequest AWS API Documentation

Constants

SENSITIVE