A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/IoT/Types/TestAuthorizationRequest.html below:

TestAuthorizationRequest — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::TestAuthorizationRequest
Inherits:
Struct show all
Defined in:
(unknown)
Overview Note:

When passing TestAuthorizationRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  principal: "Principal",
  cognito_identity_pool_id: "CognitoIdentityPoolId",
  auth_infos: [     {
      action_type: "PUBLISH",       resources: ["Resource"],     },
  ],
  client_id: "ClientId",
  policy_names_to_add: ["PolicyName"],
  policy_names_to_skip: ["PolicyName"],
}
Instance Attribute Summary collapse Instance Attribute Details #auth_infos ⇒ Array<Types::AuthInfo>

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

#cognito_identity_pool_id ⇒ String

The Cognito identity pool ID.

#policy_names_to_add ⇒ Array<String>

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

#policy_names_to_skip ⇒ Array<String>

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

#principal ⇒ String

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).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4