Class: Aws::IoTSiteWise::Types::Identity

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

Overview

Note:

When making an API call, you may pass Identity data as a hash:

{
  user: {
    id: "IdentityId", # required
  },
  group: {
    id: "IdentityId", # required
  },
  iam_user: {
    arn: "ARN", # required
  },
  iam_role: {
    arn: "ARN", # required
  },
}

Contains an identity that can access an IoT SiteWise Monitor resource.

Currently, you can't use Amazon Web Services APIs to retrieve Amazon Web Services SSO identity IDs. You can find the Amazon Web Services SSO identity IDs in the URL of user and group pages in the Amazon Web Services SSO console.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#groupTypes::GroupIdentity

An Amazon Web Services SSO group identity.



5452
5453
5454
5455
5456
5457
5458
5459
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5452

class Identity < Struct.new(
  :user,
  :group,
  :iam_user,
  :iam_role)
  SENSITIVE = []
  include Aws::Structure
end

#iam_roleTypes::IAMRoleIdentity

An IAM role identity.



5452
5453
5454
5455
5456
5457
5458
5459
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5452

class Identity < Struct.new(
  :user,
  :group,
  :iam_user,
  :iam_role)
  SENSITIVE = []
  include Aws::Structure
end

#iam_userTypes::IAMUserIdentity

An IAM user identity.



5452
5453
5454
5455
5456
5457
5458
5459
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5452

class Identity < Struct.new(
  :user,
  :group,
  :iam_user,
  :iam_role)
  SENSITIVE = []
  include Aws::Structure
end

#userTypes::UserIdentity

An Amazon Web Services SSO user identity.

Returns:



5452
5453
5454
5455
5456
5457
5458
5459
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5452

class Identity < Struct.new(
  :user,
  :group,
  :iam_user,
  :iam_role)
  SENSITIVE = []
  include Aws::Structure
end