AWSIoTDetachPrincipalPolicyRequest

Objective-C

@interface AWSIoTDetachPrincipalPolicyRequest

Swift

class AWSIoTDetachPrincipalPolicyRequest

The input for the DetachPrincipalPolicy operation.

Required parameters: [policyName, principal]

  • The name of the policy to detach.

    Declaration

    Objective-C

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

    Swift

    var policyName: String? { get set }
  • 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).

    Declaration

    Objective-C

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

    Swift

    var principal: String? { get set }