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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


5877
5878
5879
5880
5881
5882
5883
# File 'lib/aws-sdk-ec2/types.rb', line 5877

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>)


5877
5878
5879
5880
5881
5882
5883
# File 'lib/aws-sdk-ec2/types.rb', line 5877

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)


5877
5878
5879
5880
5881
5882
5883
# File 'lib/aws-sdk-ec2/types.rb', line 5877

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)


5877
5878
5879
5880
5881
5882
5883
# File 'lib/aws-sdk-ec2/types.rb', line 5877

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