AWSIoTAttachThingPrincipalRequest

Objective-C

@interface AWSIoTAttachThingPrincipalRequest

Swift

class 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 (nonatomic, strong) NSString *_Nullable principal;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var thingName: String? { get set }