AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Seahorse::Model::Shapes::UnionShape

Inherits:
StructureShape show all
Defined in:
gems/aws-sdk-core/lib/seahorse/model/shapes.rb

Instance Attribute Summary

Attributes inherited from StructureShape

#required, #struct_class

Attributes inherited from Shape

#documentation, #name, #union

Instance Method Summary collapse

Methods inherited from StructureShape

#add_member, #member, #member?, #member_names, #members

Methods inherited from Shape

#[], #[]=

Constructor Details

#initialize(options = {}) ⇒ UnionShape

Returns a new instance of UnionShape.



274
275
276
277
# File 'gems/aws-sdk-core/lib/seahorse/model/shapes.rb', line 274

def initialize(options = {})
  @member_subclasses = {}
  super options.merge(union: true)
end