class Aws::CloudFront::Types::UpdateFunctionRequest
@note When making an API call, you may pass UpdateFunctionRequest
data as a hash: { name: "string", # required if_match: "string", # required function_config: { # required comment: "string", # required runtime: "cloudfront-js-1.0", # required, accepts cloudfront-js-1.0 }, function_code: "data", # required }
@!attribute [rw] name
The name of the function that you are updating. @return [String]
@!attribute [rw] if_match
The current version (`ETag` value) of the function that you are updating, which you can get using `DescribeFunction`. @return [String]
@!attribute [rw] function_config
Configuration information about the function. @return [Types::FunctionConfig]
@!attribute [rw] function_code
The function code. For more information about writing a CloudFront function, see [Writing function code for CloudFront Functions][1] in the *Amazon CloudFront Developer Guide*. [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html @return [String]
@see docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFunctionRequest AWS API Documentation
Constants
- SENSITIVE