AWSIoTDetachPrincipalPolicyRequest

@interface AWSIoTDetachPrincipalPolicyRequest

The input for the DetachPrincipalPolicy operation.

Required parameters: [policyName, principal]

  • The name of the policy to detach.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable policyName;

    Swift

    var policyName: String? { get set }
  • The principal.

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

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable principal;

    Swift

    var principal: String? { get set }