# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws module EC2 # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html class InternetGateway # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#initialize-instance_method def initialize: (String id, Hash[Symbol, untyped] options) -> void | (id: String, ?client: Client) -> void | (Hash[Symbol, untyped] args) -> void # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#id-instance_method def id: () -> String alias internet_gateway_id id # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#attachments-instance_method def attachments: () -> ::Array[Types::InternetGatewayAttachment] # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#owner_id-instance_method def owner_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#tags-instance_method def tags: () -> ::Array[Types::Tag] def client: () -> Client # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#load-instance_method def load: () -> self alias reload load # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#data-instance_method def data: () -> Types::InternetGateway # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#data_loaded?-instance_method def data_loaded?: () -> bool # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#attach_to_vpc-instance_method def attach_to_vpc: ( ?dry_run: bool, vpc_id: ::String ) -> ::Aws::EmptyStructure | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#create_tags-instance_method def create_tags: ( ?dry_run: bool, tags: Array[ { key: ::String?, value: ::String? }, ] ) -> Tag::Collection | (?Hash[Symbol, untyped]) -> Tag::Collection # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#delete_tags-instance_method def delete_tags: ( ?dry_run: bool, ?tags: Array[ { key: ::String?, value: ::String? }, ] ) -> Tag::Collection | (?Hash[Symbol, untyped]) -> Tag::Collection # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#delete-instance_method def delete: ( ?dry_run: bool ) -> ::Aws::EmptyStructure | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/InternetGateway.html#detach_from_vpc-instance_method def detach_from_vpc: ( ?dry_run: bool, vpc_id: ::String ) -> ::Aws::EmptyStructure | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure class Collection < ::Aws::Resources::Collection[InternetGateway] end end end end