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)


4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
# File 'lib/aws-sdk-connect/types.rb', line 4882

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)


4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
# File 'lib/aws-sdk-connect/types.rb', line 4882

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



4882
4883
4884
# File 'lib/aws-sdk-connect/types.rb', line 4882

def unknown
  @unknown
end