Class: Aws::CloudFront::Types::GetFunctionRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

Note:

When making an API call, you may pass GetFunctionRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the function whose code you are getting.

Returns:

  • (String)


6712
6713
6714
6715
6716
6717
# File 'lib/aws-sdk-cloudfront/types.rb', line 6712

class GetFunctionRequest < Struct.new(
  :name,
  :stage)
  SENSITIVE = []
  include Aws::Structure
end

#stageString

The function’s stage, either ‘DEVELOPMENT` or `LIVE`.

Returns:

  • (String)


6712
6713
6714
6715
6716
6717
# File 'lib/aws-sdk-cloudfront/types.rb', line 6712

class GetFunctionRequest < Struct.new(
  :name,
  :stage)
  SENSITIVE = []
  include Aws::Structure
end