Class: Aws::NetworkFlowMonitor::Types::TargetId

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

Overview

Note:

TargetId is a union - when making an API calls you must set exactly one of the members.

Note:

TargetId is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TargetId corresponding to the set member.

A target ID is an internally-generated identifier for a target. A target allows you to identify all the resources in a Network Flow Monitor scope. Currently, a target is always an Amazon Web Services account.

Defined Under Namespace

Classes: AccountId, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_id ⇒ String

The identifier for the account for a target.

Returns:

  • (String)


1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
# File 'gems/aws-sdk-networkflowmonitor/lib/aws-sdk-networkflowmonitor/types.rb', line 1540

class TargetId < Struct.new(
  :account_id,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AccountId < TargetId; end
  class Unknown < TargetId; end
end

#unknown ⇒ Object

Returns the value of attribute unknown

Returns:

  • (Object) —

    the current value of unknown



1540
1541
1542
# File 'gems/aws-sdk-networkflowmonitor/lib/aws-sdk-networkflowmonitor/types.rb', line 1540

def unknown
  @unknown
end