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

Class: Aws::IoT::Types::DetachPrincipalPolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

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

{
  policy_name: "PolicyName", # required
  principal: "Principal", # required
}

The input for the DetachPrincipalPolicy operation.

Instance Attribute Summary collapse

Instance Attribute Details

#policy_nameString

The name of the policy to detach.

Returns:

  • (String)

    The name of the policy to detach.

#principalString

The principal.

If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.

Returns:

  • (String)

    The principal.