AWSLocationUpdateKeyRequest

Objective-C

@interface AWSLocationUpdateKeyRequest

Swift

class AWSLocationUpdateKeyRequest
  • Updates the description for the API key resource.

    Declaration

    Objective-C

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

    Swift

    var detail: String? { get set }
  • Updates the timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable expireTime;

    Swift

    var expireTime: Date? { get set }
  • The boolean flag to be included for updating ExpireTime or Restrictions details.

    Must be set to true to update an API key resource that has been used in the past 7 days.

    False if force update is not preferred

    Default value: False

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable forceUpdate;

    Swift

    var forceUpdate: NSNumber? { get set }
  • The name of the API key resource to update.

    Declaration

    Objective-C

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

    Swift

    var keyName: String? { get set }
  • Whether the API key should expire. Set to true to set the API key to have no expiration time.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable noExpiry;

    Swift

    var noExpiry: NSNumber? { get set }
  • Updates the API key restrictions for the API key resource.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLocationApiKeyRestrictions *_Nullable restrictions;

    Swift

    var restrictions: AWSLocationApiKeyRestrictions? { get set }