From 51a15f057922e89326ae54dbd3a6027c4e4b9e20 Mon Sep 17 00:00:00 2001 From: awsmobilesdk Date: Tue, 19 Dec 2023 19:15:25 +0000 Subject: [PATCH] feat(AWSEC2): update models to latest --- AWSEC2/AWSEC2Model.h | 36 +- AWSEC2/AWSEC2Model.m | 993 +++++++++++++++++++++++++++++++++++++++ AWSEC2/AWSEC2Resources.m | 37 +- 3 files changed, 1053 insertions(+), 13 deletions(-) diff --git a/AWSEC2/AWSEC2Model.h b/AWSEC2/AWSEC2Model.h index 96414c6db29..b1d52cbb296 100644 --- a/AWSEC2/AWSEC2Model.h +++ b/AWSEC2/AWSEC2Model.h @@ -1822,6 +1822,15 @@ typedef NS_ENUM(NSInteger, AWSEC2InstanceType) { AWSEC2InstanceTypeR7I_24xlarge, AWSEC2InstanceTypeR7I_48xlarge, AWSEC2InstanceTypeDL2q_24xlarge, + AWSEC2InstanceTypeMAC2_m2_metal, + AWSEC2InstanceTypeI4I_12xlarge, + AWSEC2InstanceTypeI4I_24xlarge, + AWSEC2InstanceTypeC7I_metal_24xl, + AWSEC2InstanceTypeC7I_metal_48xl, + AWSEC2InstanceTypeM7I_metal_24xl, + AWSEC2InstanceTypeM7I_metal_48xl, + AWSEC2InstanceTypeR7I_metal_24xl, + AWSEC2InstanceTypeR7I_metal_48xl, }; typedef NS_ENUM(NSInteger, AWSEC2InstanceTypeHypervisor) { @@ -5937,6 +5946,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable dryRun; +/** +

If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.

You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:

You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.

+ */ +@property (nonatomic, strong) NSString * _Nullable networkBorderGroup; + @end /** @@ -8421,6 +8435,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable detail; +/** +

If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.

You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:

You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.

+ */ +@property (nonatomic, strong) NSString * _Nullable networkBorderGroup; + /**

The state of the address pool.

*/ @@ -35466,7 +35485,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable associateCarrierIpAddress; /** -

Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

+

Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

*/ @property (nonatomic, strong) NSNumber * _Nullable associatePublicIpAddress; @@ -38390,7 +38409,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable httpPutResponseHopLimit; /** -

Indicates whether IMDSv2 is optional or required.

optional - When IMDSv2 is optional, you can choose to retrieve instance metadata with or without a session token in your request. If you retrieve the IAM role credentials without a token, the IMDSv1 role credentials are returned. If you retrieve the IAM role credentials using a valid session token, the IMDSv2 role credentials are returned.

required - When IMDSv2 is required, you must send a session token with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.

Default: optional

+

Indicates whether IMDSv2 is required.

*/ @property (nonatomic, assign) AWSEC2LaunchTemplateHttpTokensState httpTokens; @@ -38428,7 +38447,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable httpPutResponseHopLimit; /** -

IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to optional (in other words, set the use of IMDSv2 to optional) or required (in other words, set the use of IMDSv2 to required).

Default: optional

+

Indicates whether IMDSv2 is required.

Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, the default is required.

*/ @property (nonatomic, assign) AWSEC2LaunchTemplateHttpTokensState httpTokens; @@ -38451,7 +38470,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable associateCarrierIpAddress; /** -

Indicates whether to associate a public IPv4 address with eth0 for a new network interface.

+

Indicates whether to associate a public IPv4 address with eth0 for a new network interface.

Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

*/ @property (nonatomic, strong) NSNumber * _Nullable associatePublicIpAddress; @@ -38569,7 +38588,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable associateCarrierIpAddress; /** -

Associates a public IPv4 address with eth0 for a new network interface.

+

Associates a public IPv4 address with eth0 for a new network interface.

Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

*/ @property (nonatomic, strong) NSNumber * _Nullable associatePublicIpAddress; @@ -45860,6 +45879,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable multiRegion; +/** +

If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.

You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:

You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.

+ */ +@property (nonatomic, strong) NSString * _Nullable networkBorderGroup; + /**

The tags to apply to the address pool.

*/ @@ -47670,7 +47694,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSArray * _Nullable securityGroups; /** -

The tags to apply to the resources that are created during instance launch.

You can specify tags for the following resources only:

To tag a resource after it has been created, see CreateTags.

To tag the launch template itself, you must use the TagSpecification parameter.

+

The tags to apply to the resources that are created during instance launch. These tags are not applied to the launch template.

*/ @property (nonatomic, strong) NSArray * _Nullable tagSpecifications; diff --git a/AWSEC2/AWSEC2Model.m b/AWSEC2/AWSEC2Model.m index 96b3097c626..6bc27391d77 100644 --- a/AWSEC2/AWSEC2Model.m +++ b/AWSEC2/AWSEC2Model.m @@ -743,6 +743,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"asn" : @"Asn", @"cidr" : @"Cidr", @"dryRun" : @"DryRun", + @"networkBorderGroup" : @"NetworkBorderGroup", }; } @@ -2979,6 +2980,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"asnAssociations" : @"AsnAssociations", @"cidr" : @"Cidr", @"detail" : @"Description", + @"networkBorderGroup" : @"NetworkBorderGroup", @"state" : @"State", @"statusMessage" : @"StatusMessage", }; @@ -9020,6 +9022,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -10567,6 +10596,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -21525,6 +21572,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -23072,6 +23146,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -28203,6 +28295,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -29750,6 +29869,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -38980,6 +39117,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -40527,6 +40691,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -43133,6 +43315,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -44680,6 +44889,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -47034,6 +47261,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -48581,6 +48835,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -54934,6 +55206,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -56481,6 +56780,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -59420,6 +59737,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -60967,6 +61311,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -65659,6 +66021,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -67206,6 +67595,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -69626,6 +70033,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -71173,6 +71607,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -75600,6 +76052,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -77147,6 +77626,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -80590,6 +81087,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -82137,6 +82661,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -90661,6 +91203,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"detail" : @"Description", @"dryRun" : @"DryRun", @"multiRegion" : @"MultiRegion", + @"networkBorderGroup" : @"NetworkBorderGroup", @"poolTagSpecifications" : @"PoolTagSpecifications", @"publiclyAdvertisable" : @"PubliclyAdvertisable", }; @@ -94729,6 +95272,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -96276,6 +96846,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -98817,6 +99405,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -100364,6 +100979,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -102847,6 +103480,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -104394,6 +105054,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -106865,6 +107543,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -108412,6 +109117,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -110925,6 +111648,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -112472,6 +113222,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -115056,6 +115824,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -116603,6 +117398,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -119560,6 +120373,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -121107,6 +121947,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -124227,6 +125085,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -125774,6 +126659,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -129768,6 +130671,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -131315,6 +132245,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } @@ -135047,6 +135995,33 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeDL2q_24xlarge); } + if ([value caseInsensitiveCompare:@"mac2-m2.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2_metal); + } + if ([value caseInsensitiveCompare:@"i4i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_12xlarge); + } + if ([value caseInsensitiveCompare:@"i4i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeI4I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"c7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"m7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7I_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-24xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_24xl); + } + if ([value caseInsensitiveCompare:@"r7i.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_metal_48xl); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -136594,6 +137569,24 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7i.48xlarge"; case AWSEC2InstanceTypeDL2q_24xlarge: return @"dl2q.24xlarge"; + case AWSEC2InstanceTypeMAC2_m2_metal: + return @"mac2-m2.metal"; + case AWSEC2InstanceTypeI4I_12xlarge: + return @"i4i.12xlarge"; + case AWSEC2InstanceTypeI4I_24xlarge: + return @"i4i.24xlarge"; + case AWSEC2InstanceTypeC7I_metal_24xl: + return @"c7i.metal-24xl"; + case AWSEC2InstanceTypeC7I_metal_48xl: + return @"c7i.metal-48xl"; + case AWSEC2InstanceTypeM7I_metal_24xl: + return @"m7i.metal-24xl"; + case AWSEC2InstanceTypeM7I_metal_48xl: + return @"m7i.metal-48xl"; + case AWSEC2InstanceTypeR7I_metal_24xl: + return @"r7i.metal-24xl"; + case AWSEC2InstanceTypeR7I_metal_48xl: + return @"r7i.metal-48xl"; default: return nil; } diff --git a/AWSEC2/AWSEC2Resources.m b/AWSEC2/AWSEC2Resources.m index e2d180881dd..849bcd093c2 100644 --- a/AWSEC2/AWSEC2Resources.m +++ b/AWSEC2/AWSEC2Resources.m @@ -6986,6 +6986,10 @@ - (NSString *)definitionString { \"DryRun\":{\ \"shape\":\"Boolean\",\ \"documentation\":\"

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

\"\ + },\ + \"NetworkBorderGroup\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.

You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:

  • us-east-1-dfw-2

  • us-west-2-lax-1

  • us-west-2-phx-2

You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.

\"\ }\ }\ },\ @@ -9667,6 +9671,11 @@ - (NSString *)definitionString { \"shape\":\"ByoipCidrState\",\ \"documentation\":\"

The state of the address pool.

\",\ \"locationName\":\"state\"\ + },\ + \"NetworkBorderGroup\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.

You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:

  • us-east-1-dfw-2

  • us-west-2-lax-1

  • us-west-2-phx-2

You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.

\",\ + \"locationName\":\"networkBorderGroup\"\ }\ },\ \"documentation\":\"

Information about an address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP).

\"\ @@ -35308,7 +35317,7 @@ - (NSString *)definitionString { \"members\":{\ \"AssociatePublicIpAddress\":{\ \"shape\":\"Boolean\",\ - \"documentation\":\"

Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

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

Indicates whether to assign a public IPv4 address to an instance you launch in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

\",\ \"locationName\":\"associatePublicIpAddress\"\ },\ \"DeleteOnTermination\":{\ @@ -36788,7 +36797,16 @@ - (NSString *)definitionString { \"r7i.16xlarge\",\ \"r7i.24xlarge\",\ \"r7i.48xlarge\",\ - \"dl2q.24xlarge\"\ + \"dl2q.24xlarge\",\ + \"mac2-m2.metal\",\ + \"i4i.12xlarge\",\ + \"i4i.24xlarge\",\ + \"c7i.metal-24xl\",\ + \"c7i.metal-48xl\",\ + \"m7i.metal-24xl\",\ + \"m7i.metal-48xl\",\ + \"r7i.metal-24xl\",\ + \"r7i.metal-48xl\"\ ]\ },\ \"InstanceTypeHypervisor\":{\ @@ -37836,6 +37854,7 @@ - (NSString *)definitionString { },\ \"SourceResource\":{\ \"shape\":\"IpamPoolSourceResource\",\ + \"documentation\":\"

The resource used to provision CIDRs to a resource planning pool.

\",\ \"locationName\":\"sourceResource\"\ }\ },\ @@ -39610,7 +39629,7 @@ - (NSString *)definitionString { },\ \"HttpTokens\":{\ \"shape\":\"LaunchTemplateHttpTokensState\",\ - \"documentation\":\"

Indicates whether IMDSv2 is optional or required.

optional - When IMDSv2 is optional, you can choose to retrieve instance metadata with or without a session token in your request. If you retrieve the IAM role credentials without a token, the IMDSv1 role credentials are returned. If you retrieve the IAM role credentials using a valid session token, the IMDSv2 role credentials are returned.

required - When IMDSv2 is required, you must send a session token with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.

Default: optional

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

Indicates whether IMDSv2 is required.

  • optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.

  • required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.

\",\ \"locationName\":\"httpTokens\"\ },\ \"HttpPutResponseHopLimit\":{\ @@ -39641,7 +39660,7 @@ - (NSString *)definitionString { \"members\":{\ \"HttpTokens\":{\ \"shape\":\"LaunchTemplateHttpTokensState\",\ - \"documentation\":\"

IMDSv2 uses token-backed sessions. Set the use of HTTP tokens to optional (in other words, set the use of IMDSv2 to optional) or required (in other words, set the use of IMDSv2 to required).

  • optional - When IMDSv2 is optional, you can choose to retrieve instance metadata with or without a session token in your request. If you retrieve the IAM role credentials without a token, the IMDSv1 role credentials are returned. If you retrieve the IAM role credentials using a valid session token, the IMDSv2 role credentials are returned.

  • required - When IMDSv2 is required, you must send a session token with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.

Default: optional

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

Indicates whether IMDSv2 is required.

  • optional - IMDSv2 is optional. You can choose whether to send a session token in your instance metadata retrieval requests. If you retrieve IAM role credentials without a session token, you receive the IMDSv1 role credentials. If you retrieve IAM role credentials using a valid session token, you receive the IMDSv2 role credentials.

  • required - IMDSv2 is required. You must send a session token in your instance metadata retrieval requests. With this option, retrieving the IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials are not available.

Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, the default is required.

\"\ },\ \"HttpPutResponseHopLimit\":{\ \"shape\":\"Integer\",\ @@ -39693,7 +39712,7 @@ - (NSString *)definitionString { },\ \"AssociatePublicIpAddress\":{\ \"shape\":\"Boolean\",\ - \"documentation\":\"

Indicates whether to associate a public IPv4 address with eth0 for a new network interface.

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

Indicates whether to associate a public IPv4 address with eth0 for a new network interface.

Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

\",\ \"locationName\":\"associatePublicIpAddress\"\ },\ \"DeleteOnTermination\":{\ @@ -39815,7 +39834,7 @@ - (NSString *)definitionString { },\ \"AssociatePublicIpAddress\":{\ \"shape\":\"Boolean\",\ - \"documentation\":\"

Associates a public IPv4 address with eth0 for a new network interface.

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

Associates a public IPv4 address with eth0 for a new network interface.

Starting on February 1, 2024, Amazon Web Services will charge for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.

\"\ },\ \"DeleteOnTermination\":{\ \"shape\":\"Boolean\",\ @@ -47363,6 +47382,10 @@ - (NSString *)definitionString { \"MultiRegion\":{\ \"shape\":\"Boolean\",\ \"documentation\":\"

Reserved.

\"\ + },\ + \"NetworkBorderGroup\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.

You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:

  • us-east-1-dfw-2

  • us-west-2-lax-1

  • us-west-2-phx-2

You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.

\"\ }\ }\ },\ @@ -49085,7 +49108,7 @@ - (NSString *)definitionString { },\ \"TagSpecifications\":{\ \"shape\":\"LaunchTemplateTagSpecificationRequestList\",\ - \"documentation\":\"

The tags to apply to the resources that are created during instance launch.

You can specify tags for the following resources only:

  • Instances

  • Volumes

  • Elastic graphics

  • Spot Instance requests

  • Network interfaces

To tag a resource after it has been created, see CreateTags.

To tag the launch template itself, you must use the TagSpecification parameter.

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

The tags to apply to the resources that are created during instance launch. These tags are not applied to the launch template.

\",\ \"locationName\":\"TagSpecification\"\ },\ \"ElasticGpuSpecifications\":{\