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

Class: Aws::EC2::Types::IcmpTypeCode

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

{
  code: 1,
  type: 1,
}

Describes the ICMP type and code.

Instance Attribute Summary collapse

Instance Attribute Details

#codeInteger

The ICMP code. A value of -1 means all codes for the specified ICMP type.

Returns:

  • (Integer)


13593
13594
13595
13596
13597
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13593

class IcmpTypeCode < Struct.new(
  :code,
  :type)
  include Aws::Structure
end

#typeInteger

The ICMP type. A value of -1 means all types.

Returns:

  • (Integer)


13593
13594
13595
13596
13597
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13593

class IcmpTypeCode < Struct.new(
  :code,
  :type)
  include Aws::Structure
end