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.

Direct Known Subclasses

AccountId, Unknown

Defined Under Namespace

Classes: AccountId, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The identifier for the account for a target.

Returns:

  • (String)


1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
# File 'gems/aws-sdk-networkflowmonitor/lib/aws-sdk-networkflowmonitor/types.rb', line 1470

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

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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1470
1471
1472
# File 'gems/aws-sdk-networkflowmonitor/lib/aws-sdk-networkflowmonitor/types.rb', line 1470

def unknown
  @unknown
end