Class: Aws::IoT::Types::TestAuthorizationRequest

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auth_infosArray<Types::AuthInfo>

A list of authorization info objects. Simulating authorization will create a response for each authInfo object in the list.

Returns:



14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14530

class TestAuthorizationRequest < Struct.new(
  :principal,
  :cognito_identity_pool_id,
  :auth_infos,
  :client_id,
  :policy_names_to_add,
  :policy_names_to_skip)
  SENSITIVE = []
  include Aws::Structure
end

#client_idString

The MQTT client ID.

Returns:

  • (String)


14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14530

class TestAuthorizationRequest < Struct.new(
  :principal,
  :cognito_identity_pool_id,
  :auth_infos,
  :client_id,
  :policy_names_to_add,
  :policy_names_to_skip)
  SENSITIVE = []
  include Aws::Structure
end

#cognito_identity_pool_idString

The Cognito identity pool ID.

Returns:

  • (String)


14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14530

class TestAuthorizationRequest < Struct.new(
  :principal,
  :cognito_identity_pool_id,
  :auth_infos,
  :client_id,
  :policy_names_to_add,
  :policy_names_to_skip)
  SENSITIVE = []
  include Aws::Structure
end

#policy_names_to_addArray<String>

When testing custom authorization, the policies specified here are treated as if they are attached to the principal being authorized.

Returns:

  • (Array<String>)


14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14530

class TestAuthorizationRequest < Struct.new(
  :principal,
  :cognito_identity_pool_id,
  :auth_infos,
  :client_id,
  :policy_names_to_add,
  :policy_names_to_skip)
  SENSITIVE = []
  include Aws::Structure
end

#policy_names_to_skipArray<String>

When testing custom authorization, the policies specified here are treated as if they are not attached to the principal being authorized.

Returns:

  • (Array<String>)


14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14530

class TestAuthorizationRequest < Struct.new(
  :principal,
  :cognito_identity_pool_id,
  :auth_infos,
  :client_id,
  :policy_names_to_add,
  :policy_names_to_skip)
  SENSITIVE = []
  include Aws::Structure
end

#principalString

The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Returns:

  • (String)


14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14530

class TestAuthorizationRequest < Struct.new(
  :principal,
  :cognito_identity_pool_id,
  :auth_infos,
  :client_id,
  :policy_names_to_add,
  :policy_names_to_skip)
  SENSITIVE = []
  include Aws::Structure
end