You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::DescribeEgressOnlyInternetGatewaysRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

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

{
  dry_run: false,
  egress_only_internet_gateway_ids: ["EgressOnlyInternetGatewayId"],
  max_results: 1,
  next_token: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)


6992
6993
6994
6995
6996
6997
6998
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6992

class DescribeEgressOnlyInternetGatewaysRequest < Struct.new(
  :dry_run,
  :egress_only_internet_gateway_ids,
  :max_results,
  :next_token)
  include Aws::Structure
end

#egress_only_internet_gateway_idsArray<String>

One or more egress-only Internet gateway IDs.

Returns:

  • (Array<String>)


6992
6993
6994
6995
6996
6997
6998
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6992

class DescribeEgressOnlyInternetGatewaysRequest < Struct.new(
  :dry_run,
  :egress_only_internet_gateway_ids,
  :max_results,
  :next_token)
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned.

Returns:

  • (Integer)


6992
6993
6994
6995
6996
6997
6998
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6992

class DescribeEgressOnlyInternetGatewaysRequest < Struct.new(
  :dry_run,
  :egress_only_internet_gateway_ids,
  :max_results,
  :next_token)
  include Aws::Structure
end

#next_tokenString

The token to retrieve the next page of results.

Returns:

  • (String)


6992
6993
6994
6995
6996
6997
6998
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 6992

class DescribeEgressOnlyInternetGatewaysRequest < Struct.new(
  :dry_run,
  :egress_only_internet_gateway_ids,
  :max_results,
  :next_token)
  include Aws::Structure
end