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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connect/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)


4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 4456

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

An agent ARN representing a connect user.

Returns:

  • (String)


4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 4456

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



4456
4457
4458
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 4456

def unknown
  @unknown
end