Class: Aws::Connect::Types::CreatedByInfo

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-connect/types.rb

Overview

Note:

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

Note:

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

Information on the identity that created the file.

Direct Known Subclasses

AwsIdentityArn, ConnectUserArn, Unknown

Defined Under Namespace

Classes: AwsIdentityArn, ConnectUserArn, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_identity_arnString

STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is calculated automatically if ‘ConnectUserArn` is not provided.

Returns:

  • (String)


4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
# File 'lib/aws-sdk-connect/types.rb', line 4766

class CreatedByInfo < Struct.new(
  :connect_user_arn,
  :aws_identity_arn,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ConnectUserArn < CreatedByInfo; end
  class AwsIdentityArn < CreatedByInfo; end
  class Unknown < CreatedByInfo; end
end

#connect_user_arnString

Returns:

  • (String)


4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
# File 'lib/aws-sdk-connect/types.rb', line 4766

class CreatedByInfo < Struct.new(
  :connect_user_arn,
  :aws_identity_arn,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class ConnectUserArn < CreatedByInfo; end
  class AwsIdentityArn < CreatedByInfo; end
  class Unknown < CreatedByInfo; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



4766
4767
4768
# File 'lib/aws-sdk-connect/types.rb', line 4766

def unknown
  @unknown
end