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)

6809
6810
6811
6812
6813
6814
# File 'lib/aws-sdk-cloudfront/types.rb', line 6809

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

#stageString

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

Returns:

  • (String)

6809
6810
6811
6812
6813
6814
# File 'lib/aws-sdk-cloudfront/types.rb', line 6809

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