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

Class: Aws::EC2::Types::DescribeMovingAddressesRequest

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 DescribeMovingAddressesRequest data as a hash:

{
  filters: [
    {
      name: "String",
      values: ["String"],
    },
  ],
  dry_run: false,
  max_results: 1,
  next_token: "String",
  public_ips: ["String"],
}

Contains the parameters for DescribeMovingAddresses.

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)


9093
9094
9095
9096
9097
9098
9099
9100
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9093

class DescribeMovingAddressesRequest < Struct.new(
  :filters,
  :dry_run,
  :max_results,
  :next_token,
  :public_ips)
  include Aws::Structure
end

#filtersArray<Types::Filter>

One or more filters.

  • moving-status - The status of the Elastic IP address (MovingToVpc | RestoringToClassic).

^

Returns:



9093
9094
9095
9096
9097
9098
9099
9100
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9093

class DescribeMovingAddressesRequest < Struct.new(
  :filters,
  :dry_run,
  :max_results,
  :next_token,
  :public_ips)
  include Aws::Structure
end

#max_resultsInteger

The maximum number of results to return for the request in a single page. The remaining results of the initial request 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 outside of this range, an error is returned.

Default: If no value is provided, the default is 1000.

Returns:

  • (Integer)


9093
9094
9095
9096
9097
9098
9099
9100
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9093

class DescribeMovingAddressesRequest < Struct.new(
  :filters,
  :dry_run,
  :max_results,
  :next_token,
  :public_ips)
  include Aws::Structure
end

#next_tokenString

The token to use to retrieve the next page of results.

Returns:

  • (String)


9093
9094
9095
9096
9097
9098
9099
9100
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9093

class DescribeMovingAddressesRequest < Struct.new(
  :filters,
  :dry_run,
  :max_results,
  :next_token,
  :public_ips)
  include Aws::Structure
end

#public_ipsArray<String>

One or more Elastic IP addresses.

Returns:

  • (Array<String>)


9093
9094
9095
9096
9097
9098
9099
9100
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 9093

class DescribeMovingAddressesRequest < Struct.new(
  :filters,
  :dry_run,
  :max_results,
  :next_token,
  :public_ips)
  include Aws::Structure
end