AWSIoTAttachThingPrincipalRequest

@interface AWSIoTAttachThingPrincipalRequest

The input for the AttachThingPrincipal operation.

Required parameters: [thingName, principal]

  • The principal, which can be a certificate ARN (as returned from the CreateCertificate operation) or an Amazon Cognito ID.

    Declaration

    Objective-C

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

    Swift

    var principal: String? { get set }
  • The name of the thing.

    Declaration

    Objective-C

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

    Swift

    var thingName: String? { get set }