Class: Aws::AccessAnalyzer::Types::PathElement
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::AccessAnalyzer::Types::PathElement
 
- Defined in:
- gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb
Overview
PathElement is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PathElement corresponding to the set member.
A single element in a path through the JSON representation of a policy.
Defined Under Namespace
Classes: Index, Key, Substring, Unknown, Value
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #index  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Refers to an index in a JSON array. 
- 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Refers to a key in a JSON object. 
- 
  
    
      #substring  ⇒ Types::Substring 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Refers to a substring of a literal string in a JSON object. 
- 
  
    
      #unknown  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute unknown. 
- 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Refers to the value associated with a given key in a JSON object. 
Instance Attribute Details
#index ⇒ Integer
Refers to an index in a JSON array.
| 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 | # File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3558 class PathElement < Struct.new( :index, :key, :substring, :value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Index < PathElement; end class Key < PathElement; end class Substring < PathElement; end class Value < PathElement; end class Unknown < PathElement; end end | 
#key ⇒ String
Refers to a key in a JSON object.
| 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 | # File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3558 class PathElement < Struct.new( :index, :key, :substring, :value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Index < PathElement; end class Key < PathElement; end class Substring < PathElement; end class Value < PathElement; end class Unknown < PathElement; end end | 
#substring ⇒ Types::Substring
Refers to a substring of a literal string in a JSON object.
| 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 | # File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3558 class PathElement < Struct.new( :index, :key, :substring, :value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Index < PathElement; end class Key < PathElement; end class Substring < PathElement; end class Value < PathElement; end class Unknown < PathElement; end end | 
#unknown ⇒ Object
Returns the value of attribute unknown
| 3558 3559 3560 | # File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3558 def unknown @unknown end | 
#value ⇒ String
Refers to the value associated with a given key in a JSON object.
| 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 | # File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3558 class PathElement < Struct.new( :index, :key, :substring, :value, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Index < PathElement; end class Key < PathElement; end class Substring < PathElement; end class Value < PathElement; end class Unknown < PathElement; end end |