diff --git a/AWSLocation/AWSLocationModel.h b/AWSLocation/AWSLocationModel.h index 4c5029fff52..2ed4fbf71fb 100644 --- a/AWSLocation/AWSLocationModel.h +++ b/AWSLocation/AWSLocationModel.h @@ -317,7 +317,7 @@ typedef NS_ENUM(NSInteger, AWSLocationVehicleWeightUnit) { @property (nonatomic, strong) NSArray * _Nullable allowReferers; /** -

A list of allowed resource ARNs that a API key bearer can perform actions on.

For more information about ARN format, see Amazon Resource Names (ARNs).

+

A list of allowed resource ARNs that a API key bearer can perform actions on.

For more information about ARN format, see Amazon Resource Names (ARNs).

*/ @property (nonatomic, strong) NSArray * _Nullable allowResources; @@ -1463,6 +1463,11 @@ typedef NS_ENUM(NSInteger, AWSLocationVehicleWeightUnit) { @interface AWSLocationDeleteKeyRequest : AWSRequest +/** +

ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter true to delete the key or to false to not preemptively delete the API key.

Valid values: true, or false.

Required: No

This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable forceDelete; + /**

The name of the API key to delete.

*/ diff --git a/AWSLocation/AWSLocationModel.m b/AWSLocation/AWSLocationModel.m index 1bf7cfe59d0..0fe4eaa29b1 100644 --- a/AWSLocation/AWSLocationModel.m +++ b/AWSLocation/AWSLocationModel.m @@ -1454,6 +1454,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"forceDelete" : @"ForceDelete", @"keyName" : @"KeyName", }; } diff --git a/AWSLocation/AWSLocationResources.m b/AWSLocation/AWSLocationResources.m index da2b0145e13..16765c2958b 100644 --- a/AWSLocation/AWSLocationResources.m +++ b/AWSLocation/AWSLocationResources.m @@ -1250,7 +1250,7 @@ - (NSString *)definitionString { },\ \"AllowResources\":{\ \"shape\":\"ApiKeyRestrictionsAllowResourcesList\",\ - \"documentation\":\"

A list of allowed resource ARNs that a API key bearer can perform actions on.

For more information about ARN format, see Amazon Resource Names (ARNs).

\"\ + \"documentation\":\"

A list of allowed resource ARNs that a API key bearer can perform actions on.

For more information about ARN format, see Amazon Resource Names (ARNs).

\"\ }\ },\ \"documentation\":\"

API Restrictions on the allowed actions, resources, and referers for an API key resource.

\"\ @@ -2513,6 +2513,12 @@ - (NSString *)definitionString { \"type\":\"structure\",\ \"required\":[\"KeyName\"],\ \"members\":{\ + \"ForceDelete\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"

ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter true to delete the key or to false to not preemptively delete the API key.

Valid values: true, or false.

Required: No

This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.

\",\ + \"location\":\"querystring\",\ + \"locationName\":\"forceDelete\"\ + },\ \"KeyName\":{\ \"shape\":\"ResourceName\",\ \"documentation\":\"

The name of the API key to delete.

\",\