diff --git a/AWSEC2/AWSEC2Model.h b/AWSEC2/AWSEC2Model.h index a53df04dec4..dda68863171 100644 --- a/AWSEC2/AWSEC2Model.h +++ b/AWSEC2/AWSEC2Model.h @@ -329,6 +329,7 @@ typedef NS_ENUM(NSInteger, AWSEC2CapacityReservationInstancePlatform) { AWSEC2CapacityReservationInstancePlatformRHELWithHA, AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerStandard, AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise, + AWSEC2CapacityReservationInstancePlatformUbuntuPro, }; typedef NS_ENUM(NSInteger, AWSEC2CapacityReservationPreference) { @@ -344,6 +345,9 @@ typedef NS_ENUM(NSInteger, AWSEC2CapacityReservationState) { AWSEC2CapacityReservationStateCancelled, AWSEC2CapacityReservationStatePending, AWSEC2CapacityReservationStateFailed, + AWSEC2CapacityReservationStateScheduled, + AWSEC2CapacityReservationStatePaymentPending, + AWSEC2CapacityReservationStatePaymentFailed, }; typedef NS_ENUM(NSInteger, AWSEC2CapacityReservationTenancy) { @@ -352,6 +356,12 @@ typedef NS_ENUM(NSInteger, AWSEC2CapacityReservationTenancy) { AWSEC2CapacityReservationTenancyDedicated, }; +typedef NS_ENUM(NSInteger, AWSEC2CapacityReservationType) { + AWSEC2CapacityReservationTypeUnknown, + AWSEC2CapacityReservationTypeDefault, + AWSEC2CapacityReservationTypeCapacityBlock, +}; + typedef NS_ENUM(NSInteger, AWSEC2CarrierGatewayState) { AWSEC2CarrierGatewayStateUnknown, AWSEC2CarrierGatewayStatePending, @@ -480,6 +490,7 @@ typedef NS_ENUM(NSInteger, AWSEC2DefaultTargetCapacityType) { AWSEC2DefaultTargetCapacityTypeUnknown, AWSEC2DefaultTargetCapacityTypeSpot, AWSEC2DefaultTargetCapacityTypeOnDemand, + AWSEC2DefaultTargetCapacityTypeCapacityBlock, }; typedef NS_ENUM(NSInteger, AWSEC2DeleteFleetErrorCode) { @@ -879,6 +890,7 @@ typedef NS_ENUM(NSInteger, AWSEC2ImageState) { AWSEC2ImageStateTransient, AWSEC2ImageStateFailed, AWSEC2ImageStateError, + AWSEC2ImageStateDisabled, }; typedef NS_ENUM(NSInteger, AWSEC2ImageTypeValues) { @@ -962,6 +974,7 @@ typedef NS_ENUM(NSInteger, AWSEC2InstanceLifecycleType) { AWSEC2InstanceLifecycleTypeUnknown, AWSEC2InstanceLifecycleTypeSpot, AWSEC2InstanceLifecycleTypeScheduled, + AWSEC2InstanceLifecycleTypeCapacityBlock, }; typedef NS_ENUM(NSInteger, AWSEC2InstanceMatchCriteria) { @@ -1732,6 +1745,57 @@ typedef NS_ENUM(NSInteger, AWSEC2InstanceType) { AWSEC2InstanceTypeR7Gd_8xlarge, AWSEC2InstanceTypeR7Gd_12xlarge, AWSEC2InstanceTypeR7Gd_16xlarge, + AWSEC2InstanceTypeR7A_medium, + AWSEC2InstanceTypeR7A_large, + AWSEC2InstanceTypeR7A_xlarge, + AWSEC2InstanceTypeR7A_2xlarge, + AWSEC2InstanceTypeR7A_4xlarge, + AWSEC2InstanceTypeR7A_8xlarge, + AWSEC2InstanceTypeR7A_12xlarge, + AWSEC2InstanceTypeR7A_16xlarge, + AWSEC2InstanceTypeR7A_24xlarge, + AWSEC2InstanceTypeR7A_32xlarge, + AWSEC2InstanceTypeR7A_48xlarge, + AWSEC2InstanceTypeC7I_large, + AWSEC2InstanceTypeC7I_xlarge, + AWSEC2InstanceTypeC7I_2xlarge, + AWSEC2InstanceTypeC7I_4xlarge, + AWSEC2InstanceTypeC7I_8xlarge, + AWSEC2InstanceTypeC7I_12xlarge, + AWSEC2InstanceTypeC7I_16xlarge, + AWSEC2InstanceTypeC7I_24xlarge, + AWSEC2InstanceTypeC7I_48xlarge, + AWSEC2InstanceTypeMAC2_m2pro_metal, + AWSEC2InstanceTypeR7Iz_large, + AWSEC2InstanceTypeR7Iz_xlarge, + AWSEC2InstanceTypeR7Iz_2xlarge, + AWSEC2InstanceTypeR7Iz_4xlarge, + AWSEC2InstanceTypeR7Iz_8xlarge, + AWSEC2InstanceTypeR7Iz_12xlarge, + AWSEC2InstanceTypeR7Iz_16xlarge, + AWSEC2InstanceTypeR7Iz_32xlarge, + AWSEC2InstanceTypeC7A_medium, + AWSEC2InstanceTypeC7A_large, + AWSEC2InstanceTypeC7A_xlarge, + AWSEC2InstanceTypeC7A_2xlarge, + AWSEC2InstanceTypeC7A_4xlarge, + AWSEC2InstanceTypeC7A_8xlarge, + AWSEC2InstanceTypeC7A_12xlarge, + AWSEC2InstanceTypeC7A_16xlarge, + AWSEC2InstanceTypeC7A_24xlarge, + AWSEC2InstanceTypeC7A_32xlarge, + AWSEC2InstanceTypeC7A_48xlarge, + AWSEC2InstanceTypeC7A_metal_48xl, + AWSEC2InstanceTypeR7A_metal_48xl, + AWSEC2InstanceTypeR7I_large, + AWSEC2InstanceTypeR7I_xlarge, + AWSEC2InstanceTypeR7I_2xlarge, + AWSEC2InstanceTypeR7I_4xlarge, + AWSEC2InstanceTypeR7I_8xlarge, + AWSEC2InstanceTypeR7I_12xlarge, + AWSEC2InstanceTypeR7I_16xlarge, + AWSEC2InstanceTypeR7I_24xlarge, + AWSEC2InstanceTypeR7I_48xlarge, }; typedef NS_ENUM(NSInteger, AWSEC2InstanceTypeHypervisor) { @@ -2064,6 +2128,7 @@ typedef NS_ENUM(NSInteger, AWSEC2LogDestinationType) { typedef NS_ENUM(NSInteger, AWSEC2MarketType) { AWSEC2MarketTypeUnknown, AWSEC2MarketTypeSpot, + AWSEC2MarketTypeCapacityBlock, }; typedef NS_ENUM(NSInteger, AWSEC2MembershipType) { @@ -2567,6 +2632,13 @@ typedef NS_ENUM(NSInteger, AWSEC2SnapshotAttributeName) { AWSEC2SnapshotAttributeNameCreateVolumePermission, }; +typedef NS_ENUM(NSInteger, AWSEC2SnapshotBlockPublicAccessState) { + AWSEC2SnapshotBlockPublicAccessStateUnknown, + AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing, + AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing, + AWSEC2SnapshotBlockPublicAccessStateUnblocked, +}; + typedef NS_ENUM(NSInteger, AWSEC2SnapshotState) { AWSEC2SnapshotStateUnknown, AWSEC2SnapshotStatePending, @@ -2960,6 +3032,7 @@ typedef NS_ENUM(NSInteger, AWSEC2UsageClassType) { AWSEC2UsageClassTypeUnknown, AWSEC2UsageClassTypeSpot, AWSEC2UsageClassTypeOnDemand, + AWSEC2UsageClassTypeCapacityBlock, }; typedef NS_ENUM(NSInteger, AWSEC2UserTrustProviderType) { @@ -3299,6 +3372,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @class AWSEC2CancelSpotInstanceRequestsResult; @class AWSEC2CancelledSpotInstanceRequest; @class AWSEC2CapacityAllocation; +@class AWSEC2CapacityBlockOffering; @class AWSEC2CapacityReservation; @class AWSEC2CapacityReservationFleet; @class AWSEC2CapacityReservationFleetCancellationState; @@ -3695,6 +3769,8 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @class AWSEC2DescribeBundleTasksResult; @class AWSEC2DescribeByoipCidrsRequest; @class AWSEC2DescribeByoipCidrsResult; +@class AWSEC2DescribeCapacityBlockOfferingsRequest; +@class AWSEC2DescribeCapacityBlockOfferingsResult; @class AWSEC2DescribeCapacityReservationFleetsRequest; @class AWSEC2DescribeCapacityReservationFleetsResult; @class AWSEC2DescribeCapacityReservationsRequest; @@ -4002,10 +4078,14 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @class AWSEC2DisableImageBlockPublicAccessResult; @class AWSEC2DisableImageDeprecationRequest; @class AWSEC2DisableImageDeprecationResult; +@class AWSEC2DisableImageRequest; +@class AWSEC2DisableImageResult; @class AWSEC2DisableIpamOrganizationAdminAccountRequest; @class AWSEC2DisableIpamOrganizationAdminAccountResult; @class AWSEC2DisableSerialConsoleAccessRequest; @class AWSEC2DisableSerialConsoleAccessResult; +@class AWSEC2DisableSnapshotBlockPublicAccessRequest; +@class AWSEC2DisableSnapshotBlockPublicAccessResult; @class AWSEC2DisableTransitGatewayRouteTablePropagationRequest; @class AWSEC2DisableTransitGatewayRouteTablePropagationResult; @class AWSEC2DisableVgwRoutePropagationRequest; @@ -4083,12 +4163,16 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @class AWSEC2EnableImageBlockPublicAccessResult; @class AWSEC2EnableImageDeprecationRequest; @class AWSEC2EnableImageDeprecationResult; +@class AWSEC2EnableImageRequest; +@class AWSEC2EnableImageResult; @class AWSEC2EnableIpamOrganizationAdminAccountRequest; @class AWSEC2EnableIpamOrganizationAdminAccountResult; @class AWSEC2EnableReachabilityAnalyzerOrganizationSharingRequest; @class AWSEC2EnableReachabilityAnalyzerOrganizationSharingResult; @class AWSEC2EnableSerialConsoleAccessRequest; @class AWSEC2EnableSerialConsoleAccessResult; +@class AWSEC2EnableSnapshotBlockPublicAccessRequest; +@class AWSEC2EnableSnapshotBlockPublicAccessResult; @class AWSEC2EnableTransitGatewayRouteTablePropagationRequest; @class AWSEC2EnableTransitGatewayRouteTablePropagationResult; @class AWSEC2EnableVgwRoutePropagationRequest; @@ -4204,8 +4288,12 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @class AWSEC2GetPasswordDataResult; @class AWSEC2GetReservedInstancesExchangeQuoteRequest; @class AWSEC2GetReservedInstancesExchangeQuoteResult; +@class AWSEC2GetSecurityGroupsForVpcRequest; +@class AWSEC2GetSecurityGroupsForVpcResult; @class AWSEC2GetSerialConsoleAccessStatusRequest; @class AWSEC2GetSerialConsoleAccessStatusResult; +@class AWSEC2GetSnapshotBlockPublicAccessStateRequest; +@class AWSEC2GetSnapshotBlockPublicAccessStateResult; @class AWSEC2GetSpotPlacementScoresRequest; @class AWSEC2GetSpotPlacementScoresResult; @class AWSEC2GetSubnetCidrReservationsRequest; @@ -4653,6 +4741,8 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @class AWSEC2PublicIpv4Pool; @class AWSEC2PublicIpv4PoolRange; @class AWSEC2Purchase; +@class AWSEC2PurchaseCapacityBlockRequest; +@class AWSEC2PurchaseCapacityBlockResult; @class AWSEC2PurchaseHostReservationRequest; @class AWSEC2PurchaseHostReservationResult; @class AWSEC2PurchaseRequest; @@ -4787,6 +4877,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @class AWSEC2SearchTransitGatewayRoutesRequest; @class AWSEC2SearchTransitGatewayRoutesResult; @class AWSEC2SecurityGroup; +@class AWSEC2SecurityGroupForVpc; @class AWSEC2SecurityGroupIdentifier; @class AWSEC2SecurityGroupReference; @class AWSEC2SecurityGroupRule; @@ -4957,6 +5048,8 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @class AWSEC2VerifiedAccessLogS3Destination; @class AWSEC2VerifiedAccessLogS3DestinationOptions; @class AWSEC2VerifiedAccessLogs; +@class AWSEC2VerifiedAccessSseSpecificationRequest; +@class AWSEC2VerifiedAccessSseSpecificationResponse; @class AWSEC2VerifiedAccessTrustProvider; @class AWSEC2VerifiedAccessTrustProviderCondensed; @class AWSEC2VgwTelemetry; @@ -5752,7 +5845,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable dryRun; /** -

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.

Use DescribeAvailabilityZones to view the network border groups.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 Classic, you receive an InvalidParameterCombination error.

+

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.

Use DescribeAvailabilityZones to view the network border groups.

*/ @property (nonatomic, strong) NSString * _Nullable networkBorderGroup; @@ -8222,7 +8315,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -

The ID of the export task. This is the ID returned by CreateInstanceExportTask.

+

The ID of the export task. This is the ID returned by the CreateInstanceExportTask and ExportImage operations.

*/ @property (nonatomic, strong) NSString * _Nullable exportTaskId; @@ -8501,6 +8594,64 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** +

The recommended Capacity Block that fits your search requirements.

+ */ +@interface AWSEC2CapacityBlockOffering : AWSModel + + +/** +

The Availability Zone of the Capacity Block offering.

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

The amount of time of the Capacity Block reservation in hours.

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

The ID of the Capacity Block offering.

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

The currency of the payment for the Capacity Block.

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

The end date of the Capacity Block offering.

+ */ +@property (nonatomic, strong) NSDate * _Nullable endDate; + +/** +

The number of instances in the Capacity Block offering.

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

The instance type of the Capacity Block offering.

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

The start date of the Capacity Block offering.

+ */ +@property (nonatomic, strong) NSDate * _Nullable startDate; + +/** +

The tenancy of the Capacity Block.

+ */ +@property (nonatomic, assign) AWSEC2CapacityReservationTenancy tenancy; + +/** +

The total price to be paid up front.

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

Describes a Capacity Reservation.

*/ @@ -8597,6 +8748,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable placementGroupArn; +/** +

The type of Capacity Reservation.

+ */ +@property (nonatomic, assign) AWSEC2CapacityReservationType reservationType; + /**

The date and time at which the Capacity Reservation was started.

*/ @@ -10871,7 +11027,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2SpotOptionsRequest * _Nullable spotOptions; /** -

The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tagging your resources.

If the fleet type is instant, specify a resource type of fleet to tag the fleet or instance to tag the instances at launch.

If the fleet type is maintain or request, specify a resource type of fleet to tag the fleet. You cannot specify a resource type of instance. To tag instances at launch, specify the tags in a launch template.

+

The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources.

If the fleet type is instant, specify a resource type of fleet to tag the fleet or instance to tag the instances at launch.

If the fleet type is maintain or request, specify a resource type of fleet to tag the fleet. You cannot specify a resource type of instance. To tag instances at launch, specify the tags in a launch template.

*/ @property (nonatomic, strong) NSArray * _Nullable tagSpecifications; @@ -14067,6 +14223,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSArray * _Nullable securityGroupIds; +/** +

Options for server side encryption.

+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**

The tags to assign to the Verified Access endpoint.

*/ @@ -14118,6 +14279,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable policyDocument; +/** +

Options for server side encryption.

+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**

The tags to assign to the Verified Access group.

*/ @@ -14164,6 +14330,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable dryRun; +/** +

Enable or disable support for Federal Information Processing Standards (FIPS) on the instance.

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

The tags to assign to the Verified Access instance.

*/ @@ -14281,6 +14452,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable policyReferenceName; +/** +

Options for server side encryption.

+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**

The tags to assign to the Verified Access trust provider.

*/ @@ -18002,6 +18178,72 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2DescribeCapacityBlockOfferingsRequest : AWSRequest + + +/** +

The number of hours for which to reserve Capacity Block.

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

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.

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

The latest end date for the Capacity Block offering.

+ */ +@property (nonatomic, strong) NSDate * _Nullable endDateRange; + +/** +

The number of instances for which to reserve capacity.

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

The type of instance for which the Capacity Block offering reserves capacity.

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

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

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

The token to use to retrieve the next page of results.

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

The earliest start date for the Capacity Block offering.

+ */ +@property (nonatomic, strong) NSDate * _Nullable startDateRange; + +@end + +/** + + */ +@interface AWSEC2DescribeCapacityBlockOfferingsResult : AWSModel + + +/** +

The recommended Capacity Block offering for the dates specified.

+ */ +@property (nonatomic, strong) NSArray * _Nullable capacityBlockOfferings; + +/** +

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +@end + /** */ @@ -19711,7 +19953,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSArray * _Nullable executableUsers; /** -

The filters.

  • architecture - The image architecture (i386 | x86_64 | arm64 | x86_64_mac | arm64_mac).

  • block-device-mapping.delete-on-termination - A Boolean value that indicates whether the Amazon EBS volume is deleted on instance termination.

  • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

  • block-device-mapping.snapshot-id - The ID of the snapshot used for the Amazon EBS volume.

  • block-device-mapping.volume-size - The volume size of the Amazon EBS volume, in GiB.

  • block-device-mapping.volume-type - The volume type of the Amazon EBS volume (io1 | io2 | gp2 | gp3 | sc1 | st1 | standard).

  • block-device-mapping.encrypted - A Boolean that indicates whether the Amazon EBS volume is encrypted.

  • creation-date - The time when the image was created, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day.

  • description - The description of the image (provided during image creation).

  • ena-support - A Boolean that indicates whether enhanced networking with ENA is enabled.

  • hypervisor - The hypervisor type (ovm | xen).

  • image-id - The ID of the image.

  • image-type - The image type (machine | kernel | ramdisk).

  • is-public - A Boolean that indicates whether the image is public.

  • kernel-id - The kernel ID.

  • manifest-location - The location of the image manifest.

  • name - The name of the AMI (provided during image creation).

  • owner-alias - The owner alias (amazon | aws-marketplace). The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set using the IAM console. We recommend that you use the Owner request parameter instead of this filter.

  • owner-id - The Amazon Web Services account ID of the owner. We recommend that you use the Owner request parameter instead of this filter.

  • platform - The platform. The only supported value is windows.

  • product-code - The product code.

  • product-code.type - The type of the product code (marketplace).

  • ramdisk-id - The RAM disk ID.

  • root-device-name - The device name of the root device volume (for example, /dev/sda1).

  • root-device-type - The type of the root device volume (ebs | instance-store).

  • state - The state of the image (available | pending | failed).

  • state-reason-code - The reason code for the state change.

  • state-reason-message - The message for the state change.

  • sriov-net-support - A value of simple indicates that enhanced networking with the Intel 82599 VF interface is enabled.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • virtualization-type - The virtualization type (paravirtual | hvm).

+

The filters.

  • architecture - The image architecture (i386 | x86_64 | arm64 | x86_64_mac | arm64_mac).

  • block-device-mapping.delete-on-termination - A Boolean value that indicates whether the Amazon EBS volume is deleted on instance termination.

  • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

  • block-device-mapping.snapshot-id - The ID of the snapshot used for the Amazon EBS volume.

  • block-device-mapping.volume-size - The volume size of the Amazon EBS volume, in GiB.

  • block-device-mapping.volume-type - The volume type of the Amazon EBS volume (io1 | io2 | gp2 | gp3 | sc1 | st1 | standard).

  • block-device-mapping.encrypted - A Boolean that indicates whether the Amazon EBS volume is encrypted.

  • creation-date - The time when the image was created, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day.

  • description - The description of the image (provided during image creation).

  • ena-support - A Boolean that indicates whether enhanced networking with ENA is enabled.

  • hypervisor - The hypervisor type (ovm | xen).

  • image-id - The ID of the image.

  • image-type - The image type (machine | kernel | ramdisk).

  • is-public - A Boolean that indicates whether the image is public.

  • kernel-id - The kernel ID.

  • manifest-location - The location of the image manifest.

  • name - The name of the AMI (provided during image creation).

  • owner-alias - The owner alias (amazon | aws-marketplace). The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set using the IAM console. We recommend that you use the Owner request parameter instead of this filter.

  • owner-id - The Amazon Web Services account ID of the owner. We recommend that you use the Owner request parameter instead of this filter.

  • platform - The platform. The only supported value is windows.

  • product-code - The product code.

  • product-code.type - The type of the product code (marketplace).

  • ramdisk-id - The RAM disk ID.

  • root-device-name - The device name of the root device volume (for example, /dev/sda1).

  • root-device-type - The type of the root device volume (ebs | instance-store).

  • source-instance-id - The ID of the instance that the AMI was created from if the AMI was created using CreateImage. This filter is applicable only if the AMI was created using CreateImage.

  • state - The state of the image (available | pending | failed).

  • state-reason-code - The reason code for the state change.

  • state-reason-message - The message for the state change.

  • sriov-net-support - A value of simple indicates that enhanced networking with the Intel 82599 VF interface is enabled.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • virtualization-type - The virtualization type (paravirtual | hvm).

*/ @property (nonatomic, strong) NSArray * _Nullable filters; @@ -19725,6 +19967,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable includeDeprecated; +/** +

Specifies whether to include disabled AMIs.

Default: No disabled AMIs are included in the response.

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

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

*/ @@ -20234,7 +20481,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable dryRun; /** -

The filters.

  • affinity - The affinity setting for an instance running on a Dedicated Host (default | host).

  • architecture - The instance architecture (i386 | x86_64 | arm64).

  • availability-zone - The Availability Zone of the instance.

  • block-device-mapping.attach-time - The attach time for an EBS volume mapped to the instance, for example, 2022-09-15T17:15:20.000Z.

  • block-device-mapping.delete-on-termination - A Boolean that indicates whether the EBS volume is deleted on instance termination.

  • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

  • block-device-mapping.status - The status for the EBS volume (attaching | attached | detaching | detached).

  • block-device-mapping.volume-id - The volume ID of the EBS volume.

  • boot-mode - The boot mode that was specified by the AMI (legacy-bios | uefi | uefi-preferred).

  • capacity-reservation-id - The ID of the Capacity Reservation into which the instance was launched.

  • capacity-reservation-specification.capacity-reservation-preference - The instance's Capacity Reservation preference (open | none).

  • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id - The ID of the targeted Capacity Reservation.

  • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn - The ARN of the targeted Capacity Reservation group.

  • client-token - The idempotency token you provided when you launched the instance.

  • current-instance-boot-mode - The boot mode that is used to launch the instance at launch or start (legacy-bios | uefi).

  • dns-name - The public DNS name of the instance.

  • ebs-optimized - A Boolean that indicates whether the instance is optimized for Amazon EBS I/O.

  • ena-support - A Boolean that indicates whether the instance is enabled for enhanced networking with ENA.

  • enclave-options.enabled - A Boolean that indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

  • hibernation-options.configured - A Boolean that indicates whether the instance is enabled for hibernation. A value of true means that the instance is enabled for hibernation.

  • host-id - The ID of the Dedicated Host on which the instance is running, if applicable.

  • hypervisor - The hypervisor type of the instance (ovm | xen). The value xen is used for both Xen and Nitro hypervisors.

  • iam-instance-profile.arn - The instance profile associated with the instance. Specified as an ARN.

  • iam-instance-profile.id - The instance profile associated with the instance. Specified as an ID.

  • iam-instance-profile.name - The instance profile associated with the instance. Specified as an name.

  • image-id - The ID of the image used to launch the instance.

  • instance-id - The ID of the instance.

  • instance-lifecycle - Indicates whether this is a Spot Instance or a Scheduled Instance (spot | scheduled).

  • instance-state-code - The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).

  • instance-state-name - The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).

  • instance-type - The type of instance (for example, t2.micro).

  • instance.group-id - The ID of the security group for the instance.

  • instance.group-name - The name of the security group for the instance.

  • ip-address - The public IPv4 address of the instance.

  • ipv6-address - The IPv6 address of the instance.

  • kernel-id - The kernel ID.

  • key-name - The name of the key pair used when the instance was launched.

  • launch-index - When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on).

  • launch-time - The time when the instance was launched, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day.

  • license-pool -

  • maintenance-options.auto-recovery - The current automatic recovery behavior of the instance (disabled | default).

  • metadata-options.http-endpoint - The status of access to the HTTP metadata endpoint on your instance (enabled | disabled)

  • metadata-options.http-protocol-ipv4 - Indicates whether the IPv4 endpoint is enabled (disabled | enabled).

  • metadata-options.http-protocol-ipv6 - Indicates whether the IPv6 endpoint is enabled (disabled | enabled).

  • metadata-options.http-put-response-hop-limit - The HTTP metadata request put response hop limit (integer, possible values 1 to 64)

  • metadata-options.http-tokens - The metadata request authorization state (optional | required)

  • metadata-options.instance-metadata-tags - The status of access to instance tags from the instance metadata (enabled | disabled)

  • metadata-options.state - The state of the metadata option changes (pending | applied).

  • monitoring-state - Indicates whether detailed monitoring is enabled (disabled | enabled).

  • network-interface.addresses.primary - Specifies whether the IPv4 address of the network interface is the primary private IPv4 address.

  • network-interface.addresses.private-ip-address - The private IPv4 address associated with the network interface.

  • network-interface.addresses.association.public-ip - The ID of the association of an Elastic IP address (IPv4) with a network interface.

  • network-interface.addresses.association.ip-owner-id - The owner ID of the private IPv4 address associated with the network interface.

  • network-interface.association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

  • network-interface.association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

  • network-interface.association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

  • network-interface.association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

  • network-interface.attachment.attachment-id - The ID of the interface attachment.

  • network-interface.attachment.instance-id - The ID of the instance to which the network interface is attached.

  • network-interface.attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

  • network-interface.attachment.device-index - The device index to which the network interface is attached.

  • network-interface.attachment.status - The status of the attachment (attaching | attached | detaching | detached).

  • network-interface.attachment.attach-time - The time that the network interface was attached to an instance.

  • network-interface.attachment.delete-on-termination - Specifies whether the attachment is deleted when an instance is terminated.

  • network-interface.availability-zone - The Availability Zone for the network interface.

  • network-interface.description - The description of the network interface.

  • network-interface.group-id - The ID of a security group associated with the network interface.

  • network-interface.group-name - The name of a security group associated with the network interface.

  • network-interface.ipv6-addresses.ipv6-address - The IPv6 address associated with the network interface.

  • network-interface.mac-address - The MAC address of the network interface.

  • network-interface.network-interface-id - The ID of the network interface.

  • network-interface.owner-id - The ID of the owner of the network interface.

  • network-interface.private-dns-name - The private DNS name of the network interface.

  • network-interface.requester-id - The requester ID for the network interface.

  • network-interface.requester-managed - Indicates whether the network interface is being managed by Amazon Web Services.

  • network-interface.status - The status of the network interface (available) | in-use).

  • network-interface.source-dest-check - Whether the network interface performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

  • network-interface.subnet-id - The ID of the subnet for the network interface.

  • network-interface.vpc-id - The ID of the VPC for the network interface.

  • outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

  • owner-id - The Amazon Web Services account ID of the instance owner.

  • placement-group-name - The name of the placement group for the instance.

  • placement-partition-number - The partition in which the instance is located.

  • platform - The platform. To list only Windows instances, use windows.

  • platform-details - The platform (Linux/UNIX | Red Hat BYOL Linux | Red Hat Enterprise Linux | Red Hat Enterprise Linux with HA | Red Hat Enterprise Linux with SQL Server Standard and HA | Red Hat Enterprise Linux with SQL Server Enterprise and HA | Red Hat Enterprise Linux with SQL Server Standard | Red Hat Enterprise Linux with SQL Server Web | Red Hat Enterprise Linux with SQL Server Enterprise | SQL Server Enterprise | SQL Server Standard | SQL Server Web | SUSE Linux | Ubuntu Pro | Windows | Windows BYOL | Windows with SQL Server Enterprise | Windows with SQL Server Standard | Windows with SQL Server Web).

  • private-dns-name - The private IPv4 DNS name of the instance.

  • private-dns-name-options.enable-resource-name-dns-a-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS A records.

  • private-dns-name-options.enable-resource-name-dns-aaaa-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

  • private-dns-name-options.hostname-type - The type of hostname (ip-name | resource-name).

  • private-ip-address - The private IPv4 address of the instance.

  • product-code - The product code associated with the AMI used to launch the instance.

  • product-code.type - The type of product code (devpay | marketplace).

  • ramdisk-id - The RAM disk ID.

  • reason - The reason for the current state of the instance (for example, shows "User Initiated [date]" when you stop or terminate the instance). Similar to the state-reason-code filter.

  • requester-id - The ID of the entity that launched the instance on your behalf (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

  • reservation-id - The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID.

  • root-device-name - The device name of the root device volume (for example, /dev/sda1).

  • root-device-type - The type of the root device volume (ebs | instance-store).

  • source-dest-check - Indicates whether the instance performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform network address translation (NAT) in your VPC.

  • spot-instance-request-id - The ID of the Spot Instance request.

  • state-reason-code - The reason code for the state change.

  • state-reason-message - A message that describes the state change.

  • subnet-id - The ID of the subnet for the instance.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

  • tenancy - The tenancy of an instance (dedicated | default | host).

  • tpm-support - Indicates if the instance is configured for NitroTPM support (v2.0).

  • usage-operation - The usage operation value for the instance (RunInstances | RunInstances:00g0 | RunInstances:0010 | RunInstances:1010 | RunInstances:1014 | RunInstances:1110 | RunInstances:0014 | RunInstances:0210 | RunInstances:0110 | RunInstances:0100 | RunInstances:0004 | RunInstances:0200 | RunInstances:000g | RunInstances:0g00 | RunInstances:0002 | RunInstances:0800 | RunInstances:0102 | RunInstances:0006 | RunInstances:0202).

  • usage-operation-update-time - The time that the usage operation was last updated, for example, 2022-09-15T17:15:20.000Z.

  • virtualization-type - The virtualization type of the instance (paravirtual | hvm).

  • vpc-id - The ID of the VPC that the instance is running in.

+

The filters.

  • affinity - The affinity setting for an instance running on a Dedicated Host (default | host).

  • architecture - The instance architecture (i386 | x86_64 | arm64).

  • availability-zone - The Availability Zone of the instance.

  • block-device-mapping.attach-time - The attach time for an EBS volume mapped to the instance, for example, 2022-09-15T17:15:20.000Z.

  • block-device-mapping.delete-on-termination - A Boolean that indicates whether the EBS volume is deleted on instance termination.

  • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

  • block-device-mapping.status - The status for the EBS volume (attaching | attached | detaching | detached).

  • block-device-mapping.volume-id - The volume ID of the EBS volume.

  • boot-mode - The boot mode that was specified by the AMI (legacy-bios | uefi | uefi-preferred).

  • capacity-reservation-id - The ID of the Capacity Reservation into which the instance was launched.

  • capacity-reservation-specification.capacity-reservation-preference - The instance's Capacity Reservation preference (open | none).

  • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id - The ID of the targeted Capacity Reservation.

  • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn - The ARN of the targeted Capacity Reservation group.

  • client-token - The idempotency token you provided when you launched the instance.

  • current-instance-boot-mode - The boot mode that is used to launch the instance at launch or start (legacy-bios | uefi).

  • dns-name - The public DNS name of the instance.

  • ebs-optimized - A Boolean that indicates whether the instance is optimized for Amazon EBS I/O.

  • ena-support - A Boolean that indicates whether the instance is enabled for enhanced networking with ENA.

  • enclave-options.enabled - A Boolean that indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

  • hibernation-options.configured - A Boolean that indicates whether the instance is enabled for hibernation. A value of true means that the instance is enabled for hibernation.

  • host-id - The ID of the Dedicated Host on which the instance is running, if applicable.

  • hypervisor - The hypervisor type of the instance (ovm | xen). The value xen is used for both Xen and Nitro hypervisors.

  • iam-instance-profile.arn - The instance profile associated with the instance. Specified as an ARN.

  • iam-instance-profile.id - The instance profile associated with the instance. Specified as an ID.

  • iam-instance-profile.name - The instance profile associated with the instance. Specified as an name.

  • image-id - The ID of the image used to launch the instance.

  • instance-id - The ID of the instance.

  • instance-lifecycle - Indicates whether this is a Spot Instance or a Scheduled Instance (spot | scheduled).

  • instance-state-code - The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).

  • instance-state-name - The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).

  • instance-type - The type of instance (for example, t2.micro).

  • instance.group-id - The ID of the security group for the instance.

  • instance.group-name - The name of the security group for the instance.

  • ip-address - The public IPv4 address of the instance.

  • ipv6-address - The IPv6 address of the instance.

  • kernel-id - The kernel ID.

  • key-name - The name of the key pair used when the instance was launched.

  • launch-index - When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on).

  • launch-time - The time when the instance was launched, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day.

  • maintenance-options.auto-recovery - The current automatic recovery behavior of the instance (disabled | default).

  • metadata-options.http-endpoint - The status of access to the HTTP metadata endpoint on your instance (enabled | disabled)

  • metadata-options.http-protocol-ipv4 - Indicates whether the IPv4 endpoint is enabled (disabled | enabled).

  • metadata-options.http-protocol-ipv6 - Indicates whether the IPv6 endpoint is enabled (disabled | enabled).

  • metadata-options.http-put-response-hop-limit - The HTTP metadata request put response hop limit (integer, possible values 1 to 64)

  • metadata-options.http-tokens - The metadata request authorization state (optional | required)

  • metadata-options.instance-metadata-tags - The status of access to instance tags from the instance metadata (enabled | disabled)

  • metadata-options.state - The state of the metadata option changes (pending | applied).

  • monitoring-state - Indicates whether detailed monitoring is enabled (disabled | enabled).

  • network-interface.addresses.association.allocation-id - The allocation ID.

  • network-interface.addresses.association.association-id - The association ID.

  • network-interface.addresses.association.carrier-ip - The carrier IP address.

  • network-interface.addresses.association.customer-owned-ip - The customer-owned IP address.

  • network-interface.addresses.association.ip-owner-id - The owner ID of the private IPv4 address associated with the network interface.

  • network-interface.addresses.association.public-dns-name - The public DNS name.

  • network-interface.addresses.association.public-ip - The ID of the association of an Elastic IP address (IPv4) with a network interface.

  • network-interface.addresses.primary - Specifies whether the IPv4 address of the network interface is the primary private IPv4 address.

  • network-interface.addresses.private-dns-name - The private DNS name.

  • network-interface.addresses.private-ip-address - The private IPv4 address associated with the network interface.

  • network-interface.association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

  • network-interface.association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

  • network-interface.association.carrier-ip - The customer-owned IP address.

  • network-interface.association.customer-owned-ip - The customer-owned IP address.

  • network-interface.association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

  • network-interface.association.public-dns-name - The public DNS name.

  • network-interface.association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

  • network-interface.attachment.attach-time - The time that the network interface was attached to an instance.

  • network-interface.attachment.attachment-id - The ID of the interface attachment.

  • network-interface.attachment.delete-on-termination - Specifies whether the attachment is deleted when an instance is terminated.

  • network-interface.attachment.device-index - The device index to which the network interface is attached.

  • network-interface.attachment.instance-id - The ID of the instance to which the network interface is attached.

  • network-interface.attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

  • network-interface.attachment.network-card-index - The index of the network card.

  • network-interface.attachment.status - The status of the attachment (attaching | attached | detaching | detached).

  • network-interface.availability-zone - The Availability Zone for the network interface.

  • network-interface.deny-all-igw-traffic - A Boolean that indicates whether a network interface with an IPv6 address is unreachable from the public internet.

  • network-interface.description - The description of the network interface.

  • network-interface.group-id - The ID of a security group associated with the network interface.

  • network-interface.group-name - The name of a security group associated with the network interface.

  • network-interface.ipv4-prefixes.ipv4-prefix - The IPv4 prefixes that are assigned to the network interface.

  • network-interface.ipv6-address - The IPv6 address associated with the network interface.

  • network-interface.ipv6-addresses.ipv6-address - The IPv6 address associated with the network interface.

  • network-interface.ipv6-addresses.is-primary-ipv6 - A Boolean that indicates whether this is the primary IPv6 address.

  • network-interface.ipv6-native - A Boolean that indicates whether this is an IPv6 only network interface.

  • network-interface.ipv6-prefixes.ipv6-prefix - The IPv6 prefix assigned to the network interface.

  • network-interface.mac-address - The MAC address of the network interface.

  • network-interface.network-interface-id - The ID of the network interface.

  • network-interface.outpost-arn - The ARN of the Outpost.

  • network-interface.owner-id - The ID of the owner of the network interface.

  • network-interface.private-dns-name - The private DNS name of the network interface.

  • network-interface.private-ip-address - The private IPv4 address.

  • network-interface.public-dns-name - The public DNS name.

  • network-interface.requester-id - The requester ID for the network interface.

  • network-interface.requester-managed - Indicates whether the network interface is being managed by Amazon Web Services.

  • network-interface.status - The status of the network interface (available) | in-use).

  • network-interface.source-dest-check - Whether the network interface performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

  • network-interface.subnet-id - The ID of the subnet for the network interface.

  • network-interface.tag-key - The key of a tag assigned to the network interface.

  • network-interface.tag-value - The value of a tag assigned to the network interface.

  • network-interface.vpc-id - The ID of the VPC for the network interface.

  • outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

  • owner-id - The Amazon Web Services account ID of the instance owner.

  • placement-group-name - The name of the placement group for the instance.

  • placement-partition-number - The partition in which the instance is located.

  • platform - The platform. To list only Windows instances, use windows.

  • platform-details - The platform (Linux/UNIX | Red Hat BYOL Linux | Red Hat Enterprise Linux | Red Hat Enterprise Linux with HA | Red Hat Enterprise Linux with SQL Server Standard and HA | Red Hat Enterprise Linux with SQL Server Enterprise and HA | Red Hat Enterprise Linux with SQL Server Standard | Red Hat Enterprise Linux with SQL Server Web | Red Hat Enterprise Linux with SQL Server Enterprise | SQL Server Enterprise | SQL Server Standard | SQL Server Web | SUSE Linux | Ubuntu Pro | Windows | Windows BYOL | Windows with SQL Server Enterprise | Windows with SQL Server Standard | Windows with SQL Server Web).

  • private-dns-name - The private IPv4 DNS name of the instance.

  • private-dns-name-options.enable-resource-name-dns-a-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS A records.

  • private-dns-name-options.enable-resource-name-dns-aaaa-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

  • private-dns-name-options.hostname-type - The type of hostname (ip-name | resource-name).

  • private-ip-address - The private IPv4 address of the instance.

  • product-code - The product code associated with the AMI used to launch the instance.

  • product-code.type - The type of product code (devpay | marketplace).

  • ramdisk-id - The RAM disk ID.

  • reason - The reason for the current state of the instance (for example, shows "User Initiated [date]" when you stop or terminate the instance). Similar to the state-reason-code filter.

  • requester-id - The ID of the entity that launched the instance on your behalf (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

  • reservation-id - The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID.

  • root-device-name - The device name of the root device volume (for example, /dev/sda1).

  • root-device-type - The type of the root device volume (ebs | instance-store).

  • source-dest-check - Indicates whether the instance performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform network address translation (NAT) in your VPC.

  • spot-instance-request-id - The ID of the Spot Instance request.

  • state-reason-code - The reason code for the state change.

  • state-reason-message - A message that describes the state change.

  • subnet-id - The ID of the subnet for the instance.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

  • tenancy - The tenancy of an instance (dedicated | default | host).

  • tpm-support - Indicates if the instance is configured for NitroTPM support (v2.0).

  • usage-operation - The usage operation value for the instance (RunInstances | RunInstances:00g0 | RunInstances:0010 | RunInstances:1010 | RunInstances:1014 | RunInstances:1110 | RunInstances:0014 | RunInstances:0210 | RunInstances:0110 | RunInstances:0100 | RunInstances:0004 | RunInstances:0200 | RunInstances:000g | RunInstances:0g00 | RunInstances:0002 | RunInstances:0800 | RunInstances:0102 | RunInstances:0006 | RunInstances:0202).

  • usage-operation-update-time - The time that the usage operation was last updated, for example, 2022-09-15T17:15:20.000Z.

  • virtualization-type - The virtualization type of the instance (paravirtual | hvm).

  • vpc-id - The ID of the VPC that the instance is running in.

*/ @property (nonatomic, strong) NSArray * _Nullable filters; @@ -21667,7 +21914,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable dryRun; /** -

One or more filters.

  • addresses.private-ip-address - The private IPv4 addresses associated with the network interface.

  • addresses.primary - Whether the private IPv4 address is the primary IP address associated with the network interface.

  • addresses.association.public-ip - The association ID returned when the network interface was associated with the Elastic IP address (IPv4).

  • addresses.association.owner-id - The owner ID of the addresses associated with the network interface.

  • association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

  • association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

  • association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

  • association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

  • association.public-dns-name - The public DNS name for the network interface (IPv4).

  • attachment.attachment-id - The ID of the interface attachment.

  • attachment.attach-time - The time that the network interface was attached to an instance.

  • attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.

  • attachment.device-index - The device index to which the network interface is attached.

  • attachment.instance-id - The ID of the instance to which the network interface is attached.

  • attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

  • attachment.status - The status of the attachment (attaching | attached | detaching | detached).

  • availability-zone - The Availability Zone of the network interface.

  • description - The description of the network interface.

  • group-id - The ID of a security group associated with the network interface.

  • group-name - The name of a security group associated with the network interface.

  • ipv6-addresses.ipv6-address - An IPv6 address associated with the network interface.

  • interface-type - The type of network interface (api_gateway_managed | aws_codestar_connections_managed | branch | efa | gateway_load_balancer | gateway_load_balancer_endpoint | global_accelerator_managed | interface | iot_rules_managed | lambda | load_balancer | nat_gateway | network_load_balancer | quicksight | transit_gateway | trunk | vpc_endpoint).

  • mac-address - The MAC address of the network interface.

  • network-interface-id - The ID of the network interface.

  • owner-id - The Amazon Web Services account ID of the network interface owner.

  • private-ip-address - The private IPv4 address or addresses of the network interface.

  • private-dns-name - The private DNS name of the network interface (IPv4).

  • requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.

  • requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

  • source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

  • status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use.

  • subnet-id - The ID of the subnet for the network interface.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the network interface.

+

One or more filters.

  • association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

  • association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

  • addresses.association.owner-id - The owner ID of the addresses associated with the network interface.

  • addresses.association.public-ip - The association ID returned when the network interface was associated with the Elastic IP address (IPv4).

  • addresses.primary - Whether the private IPv4 address is the primary IP address associated with the network interface.

  • addresses.private-ip-address - The private IPv4 addresses associated with the network interface.

  • association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

  • association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

  • association.public-dns-name - The public DNS name for the network interface (IPv4).

  • attachment.attach-time - The time that the network interface was attached to an instance.

  • attachment.attachment-id - The ID of the interface attachment.

  • attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.

  • attachment.device-index - The device index to which the network interface is attached.

  • attachment.instance-id - The ID of the instance to which the network interface is attached.

  • attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

  • attachment.status - The status of the attachment (attaching | attached | detaching | detached).

  • availability-zone - The Availability Zone of the network interface.

  • description - The description of the network interface.

  • group-id - The ID of a security group associated with the network interface.

  • ipv6-addresses.ipv6-address - An IPv6 address associated with the network interface.

  • interface-type - The type of network interface (api_gateway_managed | aws_codestar_connections_managed | branch | ec2_instance_connect_endpoint | efa | efs | gateway_load_balancer | gateway_load_balancer_endpoint | global_accelerator_managed | interface | iot_rules_managed | lambda | load_balancer | nat_gateway | network_load_balancer | quicksight | transit_gateway | trunk | vpc_endpoint).

  • mac-address - The MAC address of the network interface.

  • network-interface-id - The ID of the network interface.

  • owner-id - The Amazon Web Services account ID of the network interface owner.

  • private-dns-name - The private DNS name of the network interface (IPv4).

  • private-ip-address - The private IPv4 address or addresses of the network interface.

  • requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.

  • requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

  • source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

  • status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use.

  • subnet-id - The ID of the subnet for the network interface.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the network interface.

*/ @property (nonatomic, strong) NSArray * _Nullable filters; @@ -22940,7 +23187,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSDate * _Nullable endTime; /** -

The filters.

  • availability-zone - The Availability Zone for which prices should be returned.

  • instance-type - The type of instance (for example, m3.medium).

  • product-description - The product description for the Spot price (Linux/UNIX | Red Hat Enterprise Linux | SUSE Linux | Windows | Linux/UNIX (Amazon VPC) | Red Hat Enterprise Linux (Amazon VPC) | SUSE Linux (Amazon VPC) | Windows (Amazon VPC)).

  • spot-price - The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported).

  • timestamp - The time stamp of the Spot price history, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). You can use wildcards (* and ?). Greater than or less than comparison is not supported.

+

The filters.

  • availability-zone - The Availability Zone for which prices should be returned.

  • instance-type - The type of instance (for example, m3.medium).

  • product-description - The product description for the Spot price (Linux/UNIX | Red Hat Enterprise Linux | SUSE Linux | Windows | Linux/UNIX (Amazon VPC) | Red Hat Enterprise Linux (Amazon VPC) | SUSE Linux (Amazon VPC) | Windows (Amazon VPC)).

  • spot-price - The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported).

  • timestamp - The time stamp of the Spot price history, in UTC format (for example, ddd MMM dd HH:mm:ss UTC YYYY). You can use wildcards (* and ?). Greater than or less than comparison is not supported.

*/ @property (nonatomic, strong) NSArray * _Nullable filters; @@ -23047,7 +23294,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable dryRun; /** -

The filters.

  • task-state - Returns tasks in a certain state (InProgress | Completed | Failed)

  • bucket - Returns task information for tasks that targeted a specific bucket. For the filter value, specify the bucket name.

+

The filters.

  • task-state - Returns tasks in a certain state (InProgress | Completed | Failed)

  • bucket - Returns task information for tasks that targeted a specific bucket. For the filter value, specify the bucket name.

When you specify the ImageIds parameter, any filters that you specify are ignored. To use the filters, you must remove the ImageIds parameter.

*/ @property (nonatomic, strong) NSArray * _Nullable filters; @@ -23057,7 +23304,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSArray * _Nullable imageIds; /** -

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

You cannot specify this parameter and the ImageIDs parameter in the same call.

+

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

You cannot specify this parameter and the ImageIds parameter in the same call.

*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; @@ -25678,6 +25925,37 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @interface AWSEC2DisableImageDeprecationResult : AWSModel +/** +

Returns true if the request succeeds; otherwise, it returns an error.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable returned; + +@end + +/** + + */ +@interface AWSEC2DisableImageRequest : AWSRequest + + +/** +

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.

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

The ID of the AMI.

+ */ +@property (nonatomic, strong) NSString * _Nullable imageId; + +@end + +/** + + */ +@interface AWSEC2DisableImageResult : AWSModel + + /**

Returns true if the request succeeds; otherwise, it returns an error.

*/ @@ -25742,6 +26020,32 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2DisableSnapshotBlockPublicAccessRequest : AWSRequest + + +/** +

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.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable dryRun; + +@end + +/** + + */ +@interface AWSEC2DisableSnapshotBlockPublicAccessResult : AWSModel + + +/** +

Returns unblocked if the request succeeds.

+ */ +@property (nonatomic, assign) AWSEC2SnapshotBlockPublicAccessState state; + +@end + /** */ @@ -27420,6 +27724,37 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @interface AWSEC2EnableImageDeprecationResult : AWSModel +/** +

Returns true if the request succeeds; otherwise, it returns an error.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable returned; + +@end + +/** + + */ +@interface AWSEC2EnableImageRequest : AWSRequest + + +/** +

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.

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

The ID of the AMI.

+ */ +@property (nonatomic, strong) NSString * _Nullable imageId; + +@end + +/** + + */ +@interface AWSEC2EnableImageResult : AWSModel + + /**

Returns true if the request succeeds; otherwise, it returns an error.

*/ @@ -27510,6 +27845,37 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2EnableSnapshotBlockPublicAccessRequest : AWSRequest + + +/** +

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.

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

The mode in which to enable block public access for snapshots for the Region. Specify one of the following values:

  • block-all-sharing - Prevents all public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. Additionally, snapshots that are already publicly shared are treated as private and they are no longer publicly available.

    If you enable block public access for snapshots in block-all-sharing mode, it does not change the permissions for snapshots that are already publicly shared. Instead, it prevents these snapshots from be publicly visible and publicly accessible. Therefore, the attributes for these snapshots still indicate that they are publicly shared, even though they are not publicly available.

  • block-new-sharing - Prevents only new public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. However, snapshots that are already publicly shared, remain publicly available.

+ */ +@property (nonatomic, assign) AWSEC2SnapshotBlockPublicAccessState state; + +@end + +/** + + */ +@interface AWSEC2EnableSnapshotBlockPublicAccessResult : AWSModel + + +/** +

The state of block public access for snapshots for the account and Region. Returns either block-all-sharing or block-new-sharing if the request succeeds.

+ */ +@property (nonatomic, assign) AWSEC2SnapshotBlockPublicAccessState state; + +@end + /** */ @@ -30739,6 +31105,57 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2GetSecurityGroupsForVpcRequest : AWSRequest + + +/** +

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.

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

The filters. If using multiple filters, the results include security groups which match all filters.

  • group-id: The security group ID.

  • description: The security group's description.

  • group-name: The security group name.

  • owner-id: The security group owner ID.

  • primary-vpc-id: The VPC ID in which the security group was created.

+ */ +@property (nonatomic, strong) NSArray * _Nullable filters; + +/** +

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

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

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

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

The VPC ID where the security group can be used.

+ */ +@property (nonatomic, strong) NSString * _Nullable vpcId; + +@end + +/** + + */ +@interface AWSEC2GetSecurityGroupsForVpcResult : AWSModel + + +/** +

The token to include in another request to get the next page of items. This value is null when there are no more items to return.

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

The security group that can be used by interfaces in the VPC.

+ */ +@property (nonatomic, strong) NSArray * _Nullable securityGroupForVpcs; + +@end + /** */ @@ -30765,6 +31182,32 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2GetSnapshotBlockPublicAccessStateRequest : AWSRequest + + +/** +

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.

+ */ +@property (nonatomic, strong) NSNumber * _Nullable dryRun; + +@end + +/** + + */ +@interface AWSEC2GetSnapshotBlockPublicAccessStateResult : AWSModel + + +/** +

The current state of block public access for snapshots. Possible values include:

  • block-all-sharing - All public sharing of snapshots is blocked. Users in the account can't request new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not publicly available.

  • block-new-sharing - Only new public sharing of snapshots is blocked. Users in the account can't request new public sharing. However, snapshots that were already publicly shared, remain publicly available.

  • unblocked - Public sharing is not blocked. Users can publicly share snapshots.

+ */ +@property (nonatomic, assign) AWSEC2SnapshotBlockPublicAccessState state; + +@end + /** */ @@ -31556,7 +31999,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -

Set to true to enable your instance for hibernation.

Default: false

+

Set to true to enable your instance for hibernation.

For Spot Instances, if you set Configured to true, either omit the InstanceInterruptionBehavior parameter (for SpotMarketOptions), or set it to hibernate. When Configured is true:

  • If you omit InstanceInterruptionBehavior, it defaults to hibernate.

  • If you set InstanceInterruptionBehavior to a value other than hibernate, you'll get an error.

Default: false

*/ @property (nonatomic, strong) NSNumber * _Nullable configured; @@ -32071,7 +32514,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable enaSupport; /** -

The hypervisor type of the image.

+

The hypervisor type of the image. Only xen is supported. ovm is not supported.

*/ @property (nonatomic, assign) AWSEC2HypervisorType hypervisor; @@ -32150,6 +32593,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, assign) AWSEC2DeviceType rootDeviceType; +/** +

The ID of the instance that the AMI was created from if the AMI was created using CreateImage. This field only appears if the AMI was created using CreateImage.

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

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

*/ @@ -32405,7 +32853,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSString * _Nullable architecture; /** -

The boot mode of the virtual machine.

+

The boot mode of the virtual machine.

The uefi-preferred boot mode isn't supported for importing images. For more information, see Boot modes in the VM Import/Export User Guide.

*/ @property (nonatomic, assign) AWSEC2BootModeValues bootMode; @@ -34373,7 +34821,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end /** -

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.

You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:

  • AllowedInstanceTypes - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.

  • ExcludedInstanceTypes - The instance types to exclude from the list, even if they match your specified attributes.

If you specify InstanceRequirements, you can't specify InstanceType.

Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard or with the RunInstances API, you can't specify InstanceRequirements.

For more information, see Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide.

+

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.

You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:

  • AllowedInstanceTypes - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.

  • ExcludedInstanceTypes - The instance types to exclude from the list, even if they match your specified attributes.

If you specify InstanceRequirements, you can't specify InstanceType.

Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard or with the RunInstances API, you can't specify InstanceRequirements.

For more information, see Create a mixed instances group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide, and also Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide.

*/ @interface AWSEC2InstanceRequirements : AWSModel @@ -37470,7 +37918,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -

The type of resource to tag.

The Valid Values are all the resource types that can be tagged. However, when creating a launch template, you can specify tags for the following resource types only: instance | volume | elastic-gpu | network-interface | spot-instances-request

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

+

The type of resource to tag.

Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only: instance | volume | elastic-gpu | network-interface | spot-instances-request. If the instance does include the resource type that you specify, the instance launch fails. For example, not all instance types include an Elastic GPU.

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

*/ @property (nonatomic, assign) AWSEC2ResourceType resourceType; @@ -40560,6 +41008,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable policyEnabled; +/** +

Options for server side encryption.

+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**

The ID of the Verified Access endpoint.

*/ @@ -40583,6 +41036,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable policyEnabled; +/** +

Describes the options in use for server side encryption.

+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationResponse * _Nullable sseSpecification; + @end /** @@ -40667,6 +41125,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable policyEnabled; +/** +

Options for server side encryption.

+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**

The ID of the Verified Access group.

*/ @@ -40690,6 +41153,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable policyEnabled; +/** +

Describes the options in use for server side encryption.

+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationResponse * _Nullable sseSpecification; + @end /** @@ -40889,6 +41357,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) AWSEC2ModifyVerifiedAccessTrustProviderOidcOptions * _Nullable oidcOptions; +/** +

Options for server side encryption.

+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**

The ID of the Verified Access trust provider.

*/ @@ -42952,7 +43425,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2CapacityReservationOptions * _Nullable capacityReservationOptions; /** -

The maximum amount per hour for On-Demand Instances that you're willing to pay.

+

The maximum amount per hour for On-Demand Instances that you're willing to pay.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The maxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for maxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

*/ @property (nonatomic, strong) NSString * _Nullable maxTotalPrice; @@ -42990,7 +43463,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2CapacityReservationOptionsRequest * _Nullable capacityReservationOptions; /** -

The maximum amount per hour for On-Demand Instances that you're willing to pay.

+

The maximum amount per hour for On-Demand Instances that you're willing to pay.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

*/ @property (nonatomic, strong) NSString * _Nullable maxTotalPrice; @@ -44405,6 +44878,47 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2PurchaseCapacityBlockRequest : AWSRequest + + +/** +

The ID of the Capacity Block offering.

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

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.

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

The type of operating system for which to reserve capacity.

+ */ +@property (nonatomic, assign) AWSEC2CapacityReservationInstancePlatform instancePlatform; + +/** +

The tags to apply to the Capacity Block during launch.

+ */ +@property (nonatomic, strong) NSArray * _Nullable tagSpecifications; + +@end + +/** + + */ +@interface AWSEC2PurchaseCapacityBlockResult : AWSModel + + +/** +

The Capacity Reservation.

+ */ +@property (nonatomic, strong) AWSEC2CapacityReservation * _Nullable capacityReservation; + +@end + /** */ @@ -45096,7 +45610,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable dryRun; /** -

The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

If you provide an incorrect network border group, you receive an InvalidAddress.NotFound error.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you receive an InvalidParameterCombination error.

+

The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

If you provide an incorrect network border group, you receive an InvalidAddress.NotFound error.

*/ @property (nonatomic, strong) NSString * _Nullable networkBorderGroup; @@ -45731,7 +46245,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSArray * _Nullable elasticGpuSpecifications; /** -

The elastic inference accelerator for the instance.

+

An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.

You cannot specify accelerators from different generations in the same request.

Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

*/ @property (nonatomic, strong) NSArray * _Nullable elasticInferenceAccelerators; @@ -46837,7 +47351,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSArray * _Nullable elasticGpuSpecifications; /** -

The elastic inference accelerator for the instance.

+

An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.

You cannot specify accelerators from different generations in the same request.

Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

*/ @property (nonatomic, strong) NSArray * _Nullable elasticInferenceAccelerators; @@ -48678,6 +49192,44 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** +

A security group that can be used by interfaces in the VPC.

+ */ +@interface AWSEC2SecurityGroupForVpc : AWSModel + + +/** +

The security group's description.

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

The security group ID.

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

The security group name.

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

The security group owner ID.

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

The VPC ID in which the security group was created.

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

The security group tags.

+ */ +@property (nonatomic, strong) NSArray * _Nullable tags; + +@end + /**

Describes a security group.

*/ @@ -49805,7 +50357,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable onDemandFulfilledCapacity; /** -

The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the onDemandMaxTotalPrice parameter, the spotMaxTotalPrice parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.

+

The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the onDemandMaxTotalPrice parameter, the spotMaxTotalPrice parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The onDemandMaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for onDemandMaxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

*/ @property (nonatomic, strong) NSString * _Nullable onDemandMaxTotalPrice; @@ -49825,7 +50377,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2SpotMaintenanceStrategies * _Nullable spotMaintenanceStrategies; /** -

The maximum amount per hour for Spot Instances that you're willing to pay. You can use the spotdMaxTotalPrice parameter, the onDemandMaxTotalPrice parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.

+

The maximum amount per hour for Spot Instances that you're willing to pay. You can use the spotMaxTotalPrice parameter, the onDemandMaxTotalPrice parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The spotMaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for spotMaxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

*/ @property (nonatomic, strong) NSString * _Nullable spotMaxTotalPrice; @@ -49835,7 +50387,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSString * _Nullable spotPrice; /** -

The key-value pair for tagging the Spot Fleet request on creation. The value for ResourceType must be spot-fleet-request, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you use LaunchTemplateConfigs) or in the SpotFleetTagSpecification (valid only if you use LaunchSpecifications). For information about tagging after launch, see Tagging Your Resources.

+

The key-value pair for tagging the Spot Fleet request on creation. The value for ResourceType must be spot-fleet-request, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you use LaunchTemplateConfigs) or in the SpotFleetTagSpecification (valid only if you use LaunchSpecifications). For information about tagging after launch, see Tag your resources.

*/ @property (nonatomic, strong) NSArray * _Nullable tagSpecifications; @@ -50058,7 +50610,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable blockDurationMinutes; /** -

The behavior when a Spot Instance is interrupted. The default is terminate.

+

The behavior when a Spot Instance is interrupted.

If Configured (for HibernationOptions) is set to true, the InstanceInterruptionBehavior parameter is automatically set to hibernate. If you set it to stop or terminate, you'll get an error.

If Configured (for HibernationOptions) is set to false or null, the InstanceInterruptionBehavior parameter is automatically set to terminate. You can also set it to stop or hibernate.

For more information, see Interruption behavior in the Amazon EC2 User Guide.

*/ @property (nonatomic, assign) AWSEC2InstanceInterruptionBehavior instanceInterruptionBehavior; @@ -50106,7 +50658,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2FleetSpotMaintenanceStrategies * _Nullable maintenanceStrategies; /** -

The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.

+

The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The maxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for maxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

*/ @property (nonatomic, strong) NSString * _Nullable maxTotalPrice; @@ -50154,7 +50706,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2FleetSpotMaintenanceStrategiesRequest * _Nullable maintenanceStrategies; /** -

The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.

+

The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

*/ @property (nonatomic, strong) NSString * _Nullable maxTotalPrice; @@ -53718,6 +54270,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSArray * _Nullable securityGroupIds; +/** +

Describes the options in use for server side encryption.

+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationResponse * _Nullable sseSpecification; + /**

The endpoint status.

*/ @@ -53845,6 +54402,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable owner; +/** +

Describes the options in use for server side encryption.

+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationResponse * _Nullable sseSpecification; + /**

The tags.

*/ @@ -53883,6 +54445,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable detail; +/** +

Describes whether support for Federal Information Processing Standards (FIPS) is enabled on the instance.

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

The last updated time.

*/ @@ -54153,6 +54720,42 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** +

Verified Access provides server side encryption by default to data at rest using Amazon Web Services-owned KMS keys. You also have the option of using customer managed KMS keys, which can be specified using the options below.

+ */ +@interface AWSEC2VerifiedAccessSseSpecificationRequest : AWSModel + + +/** +

Enable or disable the use of customer managed KMS keys for server side encryption.

Valid values: True | False

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

The ARN of the KMS key.

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

Describes the options in use for server side encryption.

+ */ +@interface AWSEC2VerifiedAccessSseSpecificationResponse : AWSModel + + +/** +

Describes the use of customer managed KMS keys for server side encryption.

Valid values: True | False

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

Describes the ARN of the KMS key.

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

Describes a Verified Access trust provider.

*/ @@ -54194,6 +54797,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable policyReferenceName; +/** +

Describes the options in use for server side encryption.

+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationResponse * _Nullable sseSpecification; + /**

The tags.

*/ diff --git a/AWSEC2/AWSEC2Model.m b/AWSEC2/AWSEC2Model.m index 276fc1fc859..fddb5eac88a 100644 --- a/AWSEC2/AWSEC2Model.m +++ b/AWSEC2/AWSEC2Model.m @@ -3432,6 +3432,66 @@ + (NSValueTransformer *)allocationTypeJSONTransformer { @end +@implementation AWSEC2CapacityBlockOffering + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"availabilityZone" : @"AvailabilityZone", + @"capacityBlockDurationHours" : @"CapacityBlockDurationHours", + @"capacityBlockOfferingId" : @"CapacityBlockOfferingId", + @"currencyCode" : @"CurrencyCode", + @"endDate" : @"EndDate", + @"instanceCount" : @"InstanceCount", + @"instanceType" : @"InstanceType", + @"startDate" : @"StartDate", + @"tenancy" : @"Tenancy", + @"upfrontFee" : @"UpfrontFee", + }; +} + ++ (NSValueTransformer *)endDateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)startDateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)tenancyJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"default"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationTenancyDefault); + } + if ([value caseInsensitiveCompare:@"dedicated"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationTenancyDedicated); + } + return @(AWSEC2CapacityReservationTenancyUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2CapacityReservationTenancyDefault: + return @"default"; + case AWSEC2CapacityReservationTenancyDedicated: + return @"dedicated"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSEC2CapacityReservation + (BOOL)supportsSecureCoding { @@ -3458,6 +3518,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"outpostArn" : @"OutpostArn", @"ownerId" : @"OwnerId", @"placementGroupArn" : @"PlacementGroupArn", + @"reservationType" : @"ReservationType", @"startDate" : @"StartDate", @"state" : @"State", @"tags" : @"Tags", @@ -3581,6 +3642,9 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { if ([value caseInsensitiveCompare:@"RHEL with HA and SQL Server Enterprise"] == NSOrderedSame) { return @(AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise); } + if ([value caseInsensitiveCompare:@"Ubuntu Pro"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformUbuntuPro); + } return @(AWSEC2CapacityReservationInstancePlatformUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -3618,6 +3682,29 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { return @"RHEL with HA and SQL Server Standard"; case AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise: return @"RHEL with HA and SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformUbuntuPro: + return @"Ubuntu Pro"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)reservationTypeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"default"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationTypeDefault); + } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationTypeCapacityBlock); + } + return @(AWSEC2CapacityReservationTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2CapacityReservationTypeDefault: + return @"default"; + case AWSEC2CapacityReservationTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -3649,6 +3736,15 @@ + (NSValueTransformer *)stateJSONTransformer { if ([value caseInsensitiveCompare:@"failed"] == NSOrderedSame) { return @(AWSEC2CapacityReservationStateFailed); } + if ([value caseInsensitiveCompare:@"scheduled"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStateScheduled); + } + if ([value caseInsensitiveCompare:@"payment-pending"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStatePaymentPending); + } + if ([value caseInsensitiveCompare:@"payment-failed"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStatePaymentFailed); + } return @(AWSEC2CapacityReservationStateUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -3662,6 +3758,12 @@ + (NSValueTransformer *)stateJSONTransformer { return @"pending"; case AWSEC2CapacityReservationStateFailed: return @"failed"; + case AWSEC2CapacityReservationStateScheduled: + return @"scheduled"; + case AWSEC2CapacityReservationStatePaymentPending: + return @"payment-pending"; + case AWSEC2CapacityReservationStatePaymentFailed: + return @"payment-failed"; default: return nil; } @@ -5743,6 +5845,9 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { if ([value caseInsensitiveCompare:@"RHEL with HA and SQL Server Enterprise"] == NSOrderedSame) { return @(AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise); } + if ([value caseInsensitiveCompare:@"Ubuntu Pro"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformUbuntuPro); + } return @(AWSEC2CapacityReservationInstancePlatformUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -5780,6 +5885,8 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { return @"RHEL with HA and SQL Server Standard"; case AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise: return @"RHEL with HA and SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformUbuntuPro: + return @"Ubuntu Pro"; default: return nil; } @@ -8519,6 +8626,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -9962,6 +10222,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -13263,6 +13625,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"networkInterfaceOptions" : @"NetworkInterfaceOptions", @"policyDocument" : @"PolicyDocument", @"securityGroupIds" : @"SecurityGroupIds", + @"sseSpecification" : @"SseSpecification", @"tagSpecifications" : @"TagSpecifications", @"verifiedAccessGroupId" : @"VerifiedAccessGroupId", }; @@ -13313,6 +13676,10 @@ + (NSValueTransformer *)networkInterfaceOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2CreateVerifiedAccessEndpointEniOptions class]]; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + + (NSValueTransformer *)tagSpecificationsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2TagSpecification class]]; } @@ -13349,11 +13716,16 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"detail" : @"Description", @"dryRun" : @"DryRun", @"policyDocument" : @"PolicyDocument", + @"sseSpecification" : @"SseSpecification", @"tagSpecifications" : @"TagSpecifications", @"verifiedAccessInstanceId" : @"VerifiedAccessInstanceId", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + + (NSValueTransformer *)tagSpecificationsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2TagSpecification class]]; } @@ -13389,6 +13761,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"clientToken" : @"ClientToken", @"detail" : @"Description", @"dryRun" : @"DryRun", + @"FIPSEnabled" : @"FIPSEnabled", @"tagSpecifications" : @"TagSpecifications", }; } @@ -13466,6 +13839,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"dryRun" : @"DryRun", @"oidcOptions" : @"OidcOptions", @"policyReferenceName" : @"PolicyReferenceName", + @"sseSpecification" : @"SseSpecification", @"tagSpecifications" : @"TagSpecifications", @"trustProviderType" : @"TrustProviderType", @"userTrustProviderType" : @"UserTrustProviderType", @@ -13501,6 +13875,10 @@ + (NSValueTransformer *)oidcOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2CreateVerifiedAccessTrustProviderOidcOptions class]]; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + + (NSValueTransformer *)tagSpecificationsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2TagSpecification class]]; } @@ -17280,7 +17658,7 @@ + (NSValueTransformer *)byoipCidrsJSONTransformer { @end -@implementation AWSEC2DescribeCapacityReservationFleetsRequest +@implementation AWSEC2DescribeCapacityBlockOfferingsRequest + (BOOL)supportsSecureCoding { return YES; @@ -17288,62 +17666,36 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"capacityReservationFleetIds" : @"CapacityReservationFleetIds", + @"capacityDurationHours" : @"CapacityDurationHours", @"dryRun" : @"DryRun", - @"filters" : @"Filters", + @"endDateRange" : @"EndDateRange", + @"instanceCount" : @"InstanceCount", + @"instanceType" : @"InstanceType", @"maxResults" : @"MaxResults", @"nextToken" : @"NextToken", + @"startDateRange" : @"StartDateRange", }; } -+ (NSValueTransformer *)filtersJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Filter class]]; -} - -@end - -@implementation AWSEC2DescribeCapacityReservationFleetsResult - -+ (BOOL)supportsSecureCoding { - return YES; -} - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return @{ - @"capacityReservationFleets" : @"CapacityReservationFleets", - @"nextToken" : @"NextToken", - }; -} - -+ (NSValueTransformer *)capacityReservationFleetsJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CapacityReservationFleet class]]; -} - -@end - -@implementation AWSEC2DescribeCapacityReservationsRequest - -+ (BOOL)supportsSecureCoding { - return YES; -} - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return @{ - @"capacityReservationIds" : @"CapacityReservationIds", - @"dryRun" : @"DryRun", - @"filters" : @"Filters", - @"maxResults" : @"MaxResults", - @"nextToken" : @"NextToken", - }; ++ (NSValueTransformer *)endDateRangeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; } -+ (NSValueTransformer *)filtersJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Filter class]]; ++ (NSValueTransformer *)startDateRangeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; } @end -@implementation AWSEC2DescribeCapacityReservationsResult +@implementation AWSEC2DescribeCapacityBlockOfferingsResult + (BOOL)supportsSecureCoding { return YES; @@ -17351,18 +17703,18 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"capacityReservations" : @"CapacityReservations", + @"capacityBlockOfferings" : @"CapacityBlockOfferings", @"nextToken" : @"NextToken", }; } -+ (NSValueTransformer *)capacityReservationsJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CapacityReservation class]]; ++ (NSValueTransformer *)capacityBlockOfferingsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CapacityBlockOffering class]]; } @end -@implementation AWSEC2DescribeCarrierGatewaysRequest +@implementation AWSEC2DescribeCapacityReservationFleetsRequest + (BOOL)supportsSecureCoding { return YES; @@ -17370,7 +17722,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"carrierGatewayIds" : @"CarrierGatewayIds", + @"capacityReservationFleetIds" : @"CapacityReservationFleetIds", @"dryRun" : @"DryRun", @"filters" : @"Filters", @"maxResults" : @"MaxResults", @@ -17384,7 +17736,7 @@ + (NSValueTransformer *)filtersJSONTransformer { @end -@implementation AWSEC2DescribeCarrierGatewaysResult +@implementation AWSEC2DescribeCapacityReservationFleetsResult + (BOOL)supportsSecureCoding { return YES; @@ -17392,18 +17744,18 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"carrierGateways" : @"CarrierGateways", + @"capacityReservationFleets" : @"CapacityReservationFleets", @"nextToken" : @"NextToken", }; } -+ (NSValueTransformer *)carrierGatewaysJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CarrierGateway class]]; ++ (NSValueTransformer *)capacityReservationFleetsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CapacityReservationFleet class]]; } @end -@implementation AWSEC2DescribeClassicLinkInstancesRequest +@implementation AWSEC2DescribeCapacityReservationsRequest + (BOOL)supportsSecureCoding { return YES; @@ -17411,9 +17763,9 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"capacityReservationIds" : @"CapacityReservationIds", @"dryRun" : @"DryRun", @"filters" : @"Filters", - @"instanceIds" : @"InstanceIds", @"maxResults" : @"MaxResults", @"nextToken" : @"NextToken", }; @@ -17425,7 +17777,7 @@ + (NSValueTransformer *)filtersJSONTransformer { @end -@implementation AWSEC2DescribeClassicLinkInstancesResult +@implementation AWSEC2DescribeCapacityReservationsResult + (BOOL)supportsSecureCoding { return YES; @@ -17433,18 +17785,18 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"instances" : @"Instances", + @"capacityReservations" : @"CapacityReservations", @"nextToken" : @"NextToken", }; } -+ (NSValueTransformer *)instancesJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2ClassicLinkInstance class]]; ++ (NSValueTransformer *)capacityReservationsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CapacityReservation class]]; } @end -@implementation AWSEC2DescribeClientVpnAuthorizationRulesRequest +@implementation AWSEC2DescribeCarrierGatewaysRequest + (BOOL)supportsSecureCoding { return YES; @@ -17452,7 +17804,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"clientVpnEndpointId" : @"ClientVpnEndpointId", + @"carrierGatewayIds" : @"CarrierGatewayIds", @"dryRun" : @"DryRun", @"filters" : @"Filters", @"maxResults" : @"MaxResults", @@ -17466,7 +17818,7 @@ + (NSValueTransformer *)filtersJSONTransformer { @end -@implementation AWSEC2DescribeClientVpnAuthorizationRulesResult +@implementation AWSEC2DescribeCarrierGatewaysResult + (BOOL)supportsSecureCoding { return YES; @@ -17474,18 +17826,18 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"authorizationRules" : @"AuthorizationRules", + @"carrierGateways" : @"CarrierGateways", @"nextToken" : @"NextToken", }; } -+ (NSValueTransformer *)authorizationRulesJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2AuthorizationRule class]]; ++ (NSValueTransformer *)carrierGatewaysJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CarrierGateway class]]; } @end -@implementation AWSEC2DescribeClientVpnConnectionsRequest +@implementation AWSEC2DescribeClassicLinkInstancesRequest + (BOOL)supportsSecureCoding { return YES; @@ -17493,9 +17845,9 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"clientVpnEndpointId" : @"ClientVpnEndpointId", @"dryRun" : @"DryRun", @"filters" : @"Filters", + @"instanceIds" : @"InstanceIds", @"maxResults" : @"MaxResults", @"nextToken" : @"NextToken", }; @@ -17507,7 +17859,7 @@ + (NSValueTransformer *)filtersJSONTransformer { @end -@implementation AWSEC2DescribeClientVpnConnectionsResult +@implementation AWSEC2DescribeClassicLinkInstancesResult + (BOOL)supportsSecureCoding { return YES; @@ -17515,18 +17867,18 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"connections" : @"Connections", + @"instances" : @"Instances", @"nextToken" : @"NextToken", }; } -+ (NSValueTransformer *)connectionsJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2ClientVpnConnection class]]; ++ (NSValueTransformer *)instancesJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2ClassicLinkInstance class]]; } @end -@implementation AWSEC2DescribeClientVpnEndpointsRequest +@implementation AWSEC2DescribeClientVpnAuthorizationRulesRequest + (BOOL)supportsSecureCoding { return YES; @@ -17534,7 +17886,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"clientVpnEndpointIds" : @"ClientVpnEndpointIds", + @"clientVpnEndpointId" : @"ClientVpnEndpointId", @"dryRun" : @"DryRun", @"filters" : @"Filters", @"maxResults" : @"MaxResults", @@ -17548,7 +17900,7 @@ + (NSValueTransformer *)filtersJSONTransformer { @end -@implementation AWSEC2DescribeClientVpnEndpointsResult +@implementation AWSEC2DescribeClientVpnAuthorizationRulesResult + (BOOL)supportsSecureCoding { return YES; @@ -17556,18 +17908,100 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"clientVpnEndpoints" : @"ClientVpnEndpoints", + @"authorizationRules" : @"AuthorizationRules", @"nextToken" : @"NextToken", }; } -+ (NSValueTransformer *)clientVpnEndpointsJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2ClientVpnEndpoint class]]; ++ (NSValueTransformer *)authorizationRulesJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2AuthorizationRule class]]; } @end -@implementation AWSEC2DescribeClientVpnRoutesRequest +@implementation AWSEC2DescribeClientVpnConnectionsRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"clientVpnEndpointId" : @"ClientVpnEndpointId", + @"dryRun" : @"DryRun", + @"filters" : @"Filters", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)filtersJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Filter class]]; +} + +@end + +@implementation AWSEC2DescribeClientVpnConnectionsResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"connections" : @"Connections", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)connectionsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2ClientVpnConnection class]]; +} + +@end + +@implementation AWSEC2DescribeClientVpnEndpointsRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"clientVpnEndpointIds" : @"ClientVpnEndpointIds", + @"dryRun" : @"DryRun", + @"filters" : @"Filters", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)filtersJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Filter class]]; +} + +@end + +@implementation AWSEC2DescribeClientVpnEndpointsResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"clientVpnEndpoints" : @"ClientVpnEndpoints", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)clientVpnEndpointsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2ClientVpnEndpoint class]]; +} + +@end + +@implementation AWSEC2DescribeClientVpnRoutesRequest + (BOOL)supportsSecureCoding { return YES; @@ -20593,6 +21027,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -22036,6 +22623,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -22601,6 +23290,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"filters" : @"Filters", @"imageIds" : @"ImageIds", @"includeDeprecated" : @"IncludeDeprecated", + @"includeDisabled" : @"IncludeDisabled", @"maxResults" : @"MaxResults", @"nextToken" : @"NextToken", @"owners" : @"Owners", @@ -26892,6 +27582,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -28335,6 +29178,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -31728,6 +32673,35 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2DisableImageRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + @"imageId" : @"ImageId", + }; +} + +@end + +@implementation AWSEC2DisableImageResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"returned" : @"Return", + }; +} + +@end + @implementation AWSEC2DisableIpamOrganizationAdminAccountRequest + (BOOL)supportsSecureCoding { @@ -31785,6 +32759,60 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2DisableSnapshotBlockPublicAccessRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + }; +} + +@end + +@implementation AWSEC2DisableSnapshotBlockPublicAccessResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"state" : @"State", + }; +} + ++ (NSValueTransformer *)stateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"block-all-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing); + } + if ([value caseInsensitiveCompare:@"block-new-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing); + } + if ([value caseInsensitiveCompare:@"unblocked"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateUnblocked); + } + return @(AWSEC2SnapshotBlockPublicAccessStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing: + return @"block-all-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing: + return @"block-new-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateUnblocked: + return @"unblocked"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSEC2DisableTransitGatewayRouteTablePropagationRequest + (BOOL)supportsSecureCoding { @@ -33723,6 +34751,35 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2EnableImageRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + @"imageId" : @"ImageId", + }; +} + +@end + +@implementation AWSEC2EnableImageResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"returned" : @"Return", + }; +} + +@end + @implementation AWSEC2EnableIpamOrganizationAdminAccountRequest + (BOOL)supportsSecureCoding { @@ -33808,6 +34865,87 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2EnableSnapshotBlockPublicAccessRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + @"state" : @"State", + }; +} + ++ (NSValueTransformer *)stateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"block-all-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing); + } + if ([value caseInsensitiveCompare:@"block-new-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing); + } + if ([value caseInsensitiveCompare:@"unblocked"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateUnblocked); + } + return @(AWSEC2SnapshotBlockPublicAccessStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing: + return @"block-all-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing: + return @"block-new-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateUnblocked: + return @"unblocked"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSEC2EnableSnapshotBlockPublicAccessResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"state" : @"State", + }; +} + ++ (NSValueTransformer *)stateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"block-all-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing); + } + if ([value caseInsensitiveCompare:@"block-new-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing); + } + if ([value caseInsensitiveCompare:@"unblocked"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateUnblocked); + } + return @(AWSEC2SnapshotBlockPublicAccessStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing: + return @"block-all-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing: + return @"block-new-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateUnblocked: + return @"unblocked"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSEC2EnableTransitGatewayRouteTablePropagationRequest + (BOOL)supportsSecureCoding { @@ -34938,6 +36076,9 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { if ([value caseInsensitiveCompare:@"RHEL with HA and SQL Server Enterprise"] == NSOrderedSame) { return @(AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise); } + if ([value caseInsensitiveCompare:@"Ubuntu Pro"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformUbuntuPro); + } return @(AWSEC2CapacityReservationInstancePlatformUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -34975,6 +36116,8 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { return @"RHEL with HA and SQL Server Standard"; case AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise: return @"RHEL with HA and SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformUbuntuPro: + return @"Ubuntu Pro"; default: return nil; } @@ -37143,6 +38286,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -38586,6 +39882,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -41036,6 +42434,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -42479,6 +44030,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -44677,6 +46330,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -46120,6 +47926,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -46739,6 +48647,15 @@ + (NSValueTransformer *)stateJSONTransformer { if ([value caseInsensitiveCompare:@"failed"] == NSOrderedSame) { return @(AWSEC2CapacityReservationStateFailed); } + if ([value caseInsensitiveCompare:@"scheduled"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStateScheduled); + } + if ([value caseInsensitiveCompare:@"payment-pending"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStatePaymentPending); + } + if ([value caseInsensitiveCompare:@"payment-failed"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStatePaymentFailed); + } return @(AWSEC2CapacityReservationStateUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -46752,6 +48669,12 @@ + (NSValueTransformer *)stateJSONTransformer { return @"pending"; case AWSEC2CapacityReservationStateFailed: return @"failed"; + case AWSEC2CapacityReservationStateScheduled: + return @"scheduled"; + case AWSEC2CapacityReservationStatePaymentPending: + return @"payment-pending"; + case AWSEC2CapacityReservationStatePaymentFailed: + return @"payment-failed"; default: return nil; } @@ -47860,6 +49783,47 @@ + (NSValueTransformer *)targetConfigurationValueSetJSONTransformer { @end +@implementation AWSEC2GetSecurityGroupsForVpcRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + @"filters" : @"Filters", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + @"vpcId" : @"VpcId", + }; +} + ++ (NSValueTransformer *)filtersJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Filter class]]; +} + +@end + +@implementation AWSEC2GetSecurityGroupsForVpcResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"nextToken" : @"NextToken", + @"securityGroupForVpcs" : @"SecurityGroupForVpcs", + }; +} + ++ (NSValueTransformer *)securityGroupForVpcsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2SecurityGroupForVpc class]]; +} + +@end + @implementation AWSEC2GetSerialConsoleAccessStatusRequest + (BOOL)supportsSecureCoding { @@ -47888,6 +49852,60 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2GetSnapshotBlockPublicAccessStateRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + }; +} + +@end + +@implementation AWSEC2GetSnapshotBlockPublicAccessStateResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"state" : @"State", + }; +} + ++ (NSValueTransformer *)stateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"block-all-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing); + } + if ([value caseInsensitiveCompare:@"block-new-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing); + } + if ([value caseInsensitiveCompare:@"unblocked"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateUnblocked); + } + return @(AWSEC2SnapshotBlockPublicAccessStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing: + return @"block-all-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing: + return @"block-new-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateUnblocked: + return @"unblocked"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSEC2GetSpotPlacementScoresRequest + (BOOL)supportsSecureCoding { @@ -49261,6 +51279,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"ramdiskId" : @"RamdiskId", @"rootDeviceName" : @"RootDeviceName", @"rootDeviceType" : @"RootDeviceType", + @"sourceInstanceId" : @"SourceInstanceId", @"sriovNetSupport" : @"SriovNetSupport", @"state" : @"State", @"stateReason" : @"StateReason", @@ -49464,6 +51483,9 @@ + (NSValueTransformer *)stateJSONTransformer { if ([value caseInsensitiveCompare:@"error"] == NSOrderedSame) { return @(AWSEC2ImageStateError); } + if ([value caseInsensitiveCompare:@"disabled"] == NSOrderedSame) { + return @(AWSEC2ImageStateDisabled); + } return @(AWSEC2ImageStateUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -49481,6 +51503,8 @@ + (NSValueTransformer *)stateJSONTransformer { return @"failed"; case AWSEC2ImageStateError: return @"error"; + case AWSEC2ImageStateDisabled: + return @"disabled"; default: return nil; } @@ -52144,6 +54168,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -53587,6 +55764,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -54190,6 +56469,9 @@ + (NSValueTransformer *)instanceLifecycleJSONTransformer { if ([value caseInsensitiveCompare:@"scheduled"] == NSOrderedSame) { return @(AWSEC2InstanceLifecycleTypeScheduled); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2InstanceLifecycleTypeCapacityBlock); + } return @(AWSEC2InstanceLifecycleTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -54197,6 +56479,8 @@ + (NSValueTransformer *)instanceLifecycleJSONTransformer { return @"spot"; case AWSEC2InstanceLifecycleTypeScheduled: return @"scheduled"; + case AWSEC2InstanceLifecycleTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -56365,6 +58649,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -57808,6 +60245,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -58783,11 +61322,16 @@ + (NSValueTransformer *)marketTypeJSONTransformer { if ([value caseInsensitiveCompare:@"spot"] == NSOrderedSame) { return @(AWSEC2MarketTypeSpot); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2MarketTypeCapacityBlock); + } return @(AWSEC2MarketTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { case AWSEC2MarketTypeSpot: return @"spot"; + case AWSEC2MarketTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -62267,6 +64811,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -63710,6 +66407,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -65974,6 +68773,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -67417,6 +70369,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -71370,6 +74424,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -72813,6 +76020,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -73449,11 +76758,16 @@ + (NSValueTransformer *)marketTypeJSONTransformer { if ([value caseInsensitiveCompare:@"spot"] == NSOrderedSame) { return @(AWSEC2MarketTypeSpot); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2MarketTypeCapacityBlock); + } return @(AWSEC2MarketTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { case AWSEC2MarketTypeSpot: return @"spot"; + case AWSEC2MarketTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -73484,11 +76798,16 @@ + (NSValueTransformer *)marketTypeJSONTransformer { if ([value caseInsensitiveCompare:@"spot"] == NSOrderedSame) { return @(AWSEC2MarketTypeSpot); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2MarketTypeCapacityBlock); + } return @(AWSEC2MarketTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { case AWSEC2MarketTypeSpot: return @"spot"; + case AWSEC2MarketTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -76037,6 +79356,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -77480,6 +80952,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -82123,10 +85697,15 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"dryRun" : @"DryRun", @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", @"verifiedAccessEndpointId" : @"VerifiedAccessEndpointId", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessEndpointPolicyResult @@ -82139,9 +85718,14 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessEndpointRequest @@ -82202,10 +85786,15 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"dryRun" : @"DryRun", @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", @"verifiedAccessGroupId" : @"VerifiedAccessGroupId", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessGroupPolicyResult @@ -82218,9 +85807,14 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessGroupRequest @@ -82365,6 +85959,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"detail" : @"Description", @"dryRun" : @"DryRun", @"oidcOptions" : @"OidcOptions", + @"sseSpecification" : @"SseSpecification", @"verifiedAccessTrustProviderId" : @"VerifiedAccessTrustProviderId", }; } @@ -82373,6 +85968,10 @@ + (NSValueTransformer *)oidcOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2ModifyVerifiedAccessTrustProviderOidcOptions class]]; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessTrustProviderResult @@ -85934,6 +89533,146 @@ + (NSValueTransformer *)paymentOptionJSONTransformer { @end +@implementation AWSEC2PurchaseCapacityBlockRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"capacityBlockOfferingId" : @"CapacityBlockOfferingId", + @"dryRun" : @"DryRun", + @"instancePlatform" : @"InstancePlatform", + @"tagSpecifications" : @"TagSpecifications", + }; +} + ++ (NSValueTransformer *)instancePlatformJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"Linux/UNIX"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformLinuxUNIX); + } + if ([value caseInsensitiveCompare:@"Red Hat Enterprise Linux"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRedHatEnterpriseLinux); + } + if ([value caseInsensitiveCompare:@"SUSE Linux"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformSUSELinux); + } + if ([value caseInsensitiveCompare:@"Windows"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformWindows); + } + if ([value caseInsensitiveCompare:@"Windows with SQL Server"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServer); + } + if ([value caseInsensitiveCompare:@"Windows with SQL Server Enterprise"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerEnterprise); + } + if ([value caseInsensitiveCompare:@"Windows with SQL Server Standard"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerStandard); + } + if ([value caseInsensitiveCompare:@"Windows with SQL Server Web"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerWeb); + } + if ([value caseInsensitiveCompare:@"Linux with SQL Server Standard"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerStandard); + } + if ([value caseInsensitiveCompare:@"Linux with SQL Server Web"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerWeb); + } + if ([value caseInsensitiveCompare:@"Linux with SQL Server Enterprise"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerEnterprise); + } + if ([value caseInsensitiveCompare:@"RHEL with SQL Server Standard"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerStandard); + } + if ([value caseInsensitiveCompare:@"RHEL with SQL Server Enterprise"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerEnterprise); + } + if ([value caseInsensitiveCompare:@"RHEL with SQL Server Web"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerWeb); + } + if ([value caseInsensitiveCompare:@"RHEL with HA"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithHA); + } + if ([value caseInsensitiveCompare:@"RHEL with HA and SQL Server Standard"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerStandard); + } + if ([value caseInsensitiveCompare:@"RHEL with HA and SQL Server Enterprise"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise); + } + if ([value caseInsensitiveCompare:@"Ubuntu Pro"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformUbuntuPro); + } + return @(AWSEC2CapacityReservationInstancePlatformUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2CapacityReservationInstancePlatformLinuxUNIX: + return @"Linux/UNIX"; + case AWSEC2CapacityReservationInstancePlatformRedHatEnterpriseLinux: + return @"Red Hat Enterprise Linux"; + case AWSEC2CapacityReservationInstancePlatformSUSELinux: + return @"SUSE Linux"; + case AWSEC2CapacityReservationInstancePlatformWindows: + return @"Windows"; + case AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServer: + return @"Windows with SQL Server"; + case AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerEnterprise: + return @"Windows with SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerStandard: + return @"Windows with SQL Server Standard"; + case AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerWeb: + return @"Windows with SQL Server Web"; + case AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerStandard: + return @"Linux with SQL Server Standard"; + case AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerWeb: + return @"Linux with SQL Server Web"; + case AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerEnterprise: + return @"Linux with SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerStandard: + return @"RHEL with SQL Server Standard"; + case AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerEnterprise: + return @"RHEL with SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerWeb: + return @"RHEL with SQL Server Web"; + case AWSEC2CapacityReservationInstancePlatformRHELWithHA: + return @"RHEL with HA"; + case AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerStandard: + return @"RHEL with HA and SQL Server Standard"; + case AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise: + return @"RHEL with HA and SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformUbuntuPro: + return @"Ubuntu Pro"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)tagSpecificationsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2TagSpecification class]]; +} + +@end + +@implementation AWSEC2PurchaseCapacityBlockResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"capacityReservation" : @"CapacityReservation", + }; +} + ++ (NSValueTransformer *)capacityReservationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2CapacityReservation class]]; +} + +@end + @implementation AWSEC2PurchaseHostReservationRequest + (BOOL)supportsSecureCoding { @@ -89399,6 +93138,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -90842,6 +94734,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -93227,6 +97221,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -94670,6 +98817,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -94787,6 +99036,9 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { if ([value caseInsensitiveCompare:@"RHEL with HA and SQL Server Enterprise"] == NSOrderedSame) { return @(AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise); } + if ([value caseInsensitiveCompare:@"Ubuntu Pro"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformUbuntuPro); + } return @(AWSEC2CapacityReservationInstancePlatformUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -94824,6 +99076,8 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { return @"RHEL with HA and SQL Server Standard"; case AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise: return @"RHEL with HA and SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformUbuntuPro: + return @"Ubuntu Pro"; default: return nil; } @@ -96992,6 +101246,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -98435,6 +102842,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -100750,6 +105259,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -102193,6 +106855,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -104550,6 +109314,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -105993,6 +110910,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -108421,6 +113440,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -109864,6 +115036,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -112665,6 +117939,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -114108,6 +119535,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -117072,6 +122601,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -118515,6 +124197,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -119126,6 +124910,29 @@ + (NSValueTransformer *)tagsJSONTransformer { @end +@implementation AWSEC2SecurityGroupForVpc + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"detail" : @"Description", + @"groupId" : @"GroupId", + @"groupName" : @"GroupName", + @"ownerId" : @"OwnerId", + @"primaryVpcId" : @"PrimaryVpcId", + @"tags" : @"Tags", + }; +} + ++ (NSValueTransformer *)tagsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Tag class]]; +} + +@end + @implementation AWSEC2SecurityGroupIdentifier + (BOOL)supportsSecureCoding { @@ -122329,6 +128136,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -123772,6 +129732,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -127348,6 +133410,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -128791,6 +135006,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -130483,6 +136800,9 @@ + (NSValueTransformer *)defaultTargetCapacityTypeJSONTransformer { if ([value caseInsensitiveCompare:@"on-demand"] == NSOrderedSame) { return @(AWSEC2DefaultTargetCapacityTypeOnDemand); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2DefaultTargetCapacityTypeCapacityBlock); + } return @(AWSEC2DefaultTargetCapacityTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -130490,6 +136810,8 @@ + (NSValueTransformer *)defaultTargetCapacityTypeJSONTransformer { return @"spot"; case AWSEC2DefaultTargetCapacityTypeOnDemand: return @"on-demand"; + case AWSEC2DefaultTargetCapacityTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -130548,6 +136870,9 @@ + (NSValueTransformer *)defaultTargetCapacityTypeJSONTransformer { if ([value caseInsensitiveCompare:@"on-demand"] == NSOrderedSame) { return @(AWSEC2DefaultTargetCapacityTypeOnDemand); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2DefaultTargetCapacityTypeCapacityBlock); + } return @(AWSEC2DefaultTargetCapacityTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -130555,6 +136880,8 @@ + (NSValueTransformer *)defaultTargetCapacityTypeJSONTransformer { return @"spot"; case AWSEC2DefaultTargetCapacityTypeOnDemand: return @"on-demand"; + case AWSEC2DefaultTargetCapacityTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -134356,6 +140683,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"loadBalancerOptions" : @"LoadBalancerOptions", @"networkInterfaceOptions" : @"NetworkInterfaceOptions", @"securityGroupIds" : @"SecurityGroupIds", + @"sseSpecification" : @"SseSpecification", @"status" : @"Status", @"tags" : @"Tags", @"verifiedAccessEndpointId" : @"VerifiedAccessEndpointId", @@ -134409,6 +140737,10 @@ + (NSValueTransformer *)networkInterfaceOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessEndpointEniOptions class]]; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + + (NSValueTransformer *)statusJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessEndpointStatus class]]; } @@ -134558,6 +140890,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"detail" : @"Description", @"lastUpdatedTime" : @"LastUpdatedTime", @"owner" : @"Owner", + @"sseSpecification" : @"SseSpecification", @"tags" : @"Tags", @"verifiedAccessGroupArn" : @"VerifiedAccessGroupArn", @"verifiedAccessGroupId" : @"VerifiedAccessGroupId", @@ -134565,6 +140898,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + + (NSValueTransformer *)tagsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Tag class]]; } @@ -134581,6 +140918,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"creationTime" : @"CreationTime", @"detail" : @"Description", + @"fipsEnabled" : @"FipsEnabled", @"lastUpdatedTime" : @"LastUpdatedTime", @"tags" : @"Tags", @"verifiedAccessInstanceId" : @"VerifiedAccessInstanceId", @@ -134822,6 +141160,36 @@ + (NSValueTransformer *)s3JSONTransformer { @end +@implementation AWSEC2VerifiedAccessSseSpecificationRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"customerManagedKeyEnabled" : @"CustomerManagedKeyEnabled", + @"kmsKeyArn" : @"KmsKeyArn", + }; +} + +@end + +@implementation AWSEC2VerifiedAccessSseSpecificationResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"customerManagedKeyEnabled" : @"CustomerManagedKeyEnabled", + @"kmsKeyArn" : @"KmsKeyArn", + }; +} + +@end + @implementation AWSEC2VerifiedAccessTrustProvider + (BOOL)supportsSecureCoding { @@ -134837,6 +141205,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"lastUpdatedTime" : @"LastUpdatedTime", @"oidcOptions" : @"OidcOptions", @"policyReferenceName" : @"PolicyReferenceName", + @"sseSpecification" : @"SseSpecification", @"tags" : @"Tags", @"trustProviderType" : @"TrustProviderType", @"userTrustProviderType" : @"UserTrustProviderType", @@ -134873,6 +141242,10 @@ + (NSValueTransformer *)oidcOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2OidcOptions class]]; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + + (NSValueTransformer *)tagsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Tag class]]; } diff --git a/AWSEC2/AWSEC2Resources.m b/AWSEC2/AWSEC2Resources.m index cc485f71228..eadc1cc386e 100644 --- a/AWSEC2/AWSEC2Resources.m +++ b/AWSEC2/AWSEC2Resources.m @@ -297,7 +297,7 @@ - (NSString *)definitionString { },\ \"input\":{\"shape\":\"AssociateNatGatewayAddressRequest\"},\ \"output\":{\"shape\":\"AssociateNatGatewayAddressResult\"},\ - \"documentation\":\"

Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information, see Work with NAT gateways in the Amazon VPC User Guide.

By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. You can increase the limit by requesting a quota adjustment. For more information, see Elastic IP address quotas in the Amazon VPC User Guide.

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

Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information, see Work with NAT gateways in the Amazon VPC User Guide.

By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. You can increase the limit by requesting a quota adjustment. For more information, see Elastic IP address quotas in the Amazon VPC User Guide.

When you associate an EIP or secondary EIPs with a public NAT gateway, the network border group of the EIPs must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same, the EIP will fail to associate. You can see the network border group for the subnet's AZ by viewing the details of the subnet. Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information about network border groups and EIPs, see Allocate an Elastic IP address in the Amazon VPC User Guide.

\"\ },\ \"AssociateRouteTable\":{\ \"name\":\"AssociateRouteTable\",\ @@ -934,7 +934,7 @@ - (NSString *)definitionString { },\ \"input\":{\"shape\":\"CreateNatGatewayRequest\"},\ \"output\":{\"shape\":\"CreateNatGatewayResult\"},\ - \"documentation\":\"

Creates a NAT gateway in the specified subnet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. You can create either a public NAT gateway or a private NAT gateway.

With a public NAT gateway, internet-bound traffic from a private subnet can be routed to the NAT gateway, so that instances in a private subnet can connect to the internet.

With a private NAT gateway, private communication is routed across VPCs and on-premises networks through a transit gateway or virtual private gateway. Common use cases include running large workloads behind a small pool of allowlisted IPv4 addresses, preserving private IPv4 addresses, and communicating between overlapping networks.

For more information, see NAT gateways in the Amazon VPC User Guide.

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

Creates a NAT gateway in the specified subnet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. You can create either a public NAT gateway or a private NAT gateway.

With a public NAT gateway, internet-bound traffic from a private subnet can be routed to the NAT gateway, so that instances in a private subnet can connect to the internet.

With a private NAT gateway, private communication is routed across VPCs and on-premises networks through a transit gateway or virtual private gateway. Common use cases include running large workloads behind a small pool of allowlisted IPv4 addresses, preserving private IPv4 addresses, and communicating between overlapping networks.

For more information, see NAT gateways in the Amazon VPC User Guide.

When you create a public NAT gateway and assign it an EIP or secondary EIPs, the network border group of the EIPs must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same, the NAT gateway will fail to launch. You can see the network border group for the subnet's AZ by viewing the details of the subnet. Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information about network border groups and EIPs, see Allocate an Elastic IP address in the Amazon VPC User Guide.

\"\ },\ \"CreateNetworkAcl\":{\ \"name\":\"CreateNetworkAcl\",\ @@ -2075,7 +2075,7 @@ - (NSString *)definitionString { \"requestUri\":\"/\"\ },\ \"input\":{\"shape\":\"DeleteVpcRequest\"},\ - \"documentation\":\"

Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.

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

Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on. When you delete the VPC, it deletes the VPC's default security group, network ACL, and route table.

\"\ },\ \"DeleteVpcEndpointConnectionNotifications\":{\ \"name\":\"DeleteVpcEndpointConnectionNotifications\",\ @@ -2303,6 +2303,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"DescribeByoipCidrsResult\"},\ \"documentation\":\"

Describes the IP address ranges that were specified in calls to ProvisionByoipCidr.

To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.

\"\ },\ + \"DescribeCapacityBlockOfferings\":{\ + \"name\":\"DescribeCapacityBlockOfferings\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"DescribeCapacityBlockOfferingsRequest\"},\ + \"output\":{\"shape\":\"DescribeCapacityBlockOfferingsResult\"},\ + \"documentation\":\"

Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.

\"\ + },\ \"DescribeCapacityReservationFleets\":{\ \"name\":\"DescribeCapacityReservationFleets\",\ \"http\":{\ @@ -3011,7 +3021,7 @@ - (NSString *)definitionString { },\ \"input\":{\"shape\":\"DescribeNetworkInterfacesRequest\"},\ \"output\":{\"shape\":\"DescribeNetworkInterfacesResult\"},\ - \"documentation\":\"

Describes one or more of your network interfaces.

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

Describes one or more of your network interfaces.

If you have a large number of network interfaces, the operation fails unless you use pagination or one of the following filters: group-id, mac-address, private-dns-name, private-ip-address, private-dns-name, subnet-id, or vpc-id.

\"\ },\ \"DescribePlacementGroups\":{\ \"name\":\"DescribePlacementGroups\",\ @@ -3770,6 +3780,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"DisableFastSnapshotRestoresResult\"},\ \"documentation\":\"

Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.

\"\ },\ + \"DisableImage\":{\ + \"name\":\"DisableImage\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"DisableImageRequest\"},\ + \"output\":{\"shape\":\"DisableImageResult\"},\ + \"documentation\":\"

Sets the AMI state to disabled and removes all launch permissions from the AMI. A disabled AMI can't be used for instance launches.

A disabled AMI can't be shared. If a public or shared AMI was previously shared, it is made private. If an AMI was shared with an Amazon Web Services account, organization, or Organizational Unit, they lose access to the disabled AMI.

A disabled AMI does not appear in DescribeImages API calls by default.

Only the AMI owner can disable an AMI.

You can re-enable a disabled AMI using EnableImage.

For more information, see Disable an AMI in the Amazon EC2 User Guide.

\"\ + },\ \"DisableImageBlockPublicAccess\":{\ \"name\":\"DisableImageBlockPublicAccess\",\ \"http\":{\ @@ -3810,6 +3830,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"DisableSerialConsoleAccessResult\"},\ \"documentation\":\"

Disables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.

\"\ },\ + \"DisableSnapshotBlockPublicAccess\":{\ + \"name\":\"DisableSnapshotBlockPublicAccess\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"DisableSnapshotBlockPublicAccessRequest\"},\ + \"output\":{\"shape\":\"DisableSnapshotBlockPublicAccessResult\"},\ + \"documentation\":\"

Disables the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you disable block public access for snapshots in a Region, users can publicly share snapshots in that Region.

If block public access is enabled in block-all-sharing mode, and you disable block public access, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.

For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide .

\"\ + },\ \"DisableTransitGatewayRouteTablePropagation\":{\ \"name\":\"DisableTransitGatewayRouteTablePropagation\",\ \"http\":{\ @@ -4037,6 +4067,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"EnableFastSnapshotRestoresResult\"},\ \"documentation\":\"

Enables fast snapshot restores for the specified snapshots in the specified Availability Zones.

You get the full benefit of fast snapshot restores after they enter the enabled state. To get the current state of fast snapshot restores, use DescribeFastSnapshotRestores. To disable fast snapshot restores, use DisableFastSnapshotRestores.

For more information, see Amazon EBS fast snapshot restore in the Amazon Elastic Compute Cloud User Guide.

\"\ },\ + \"EnableImage\":{\ + \"name\":\"EnableImage\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"EnableImageRequest\"},\ + \"output\":{\"shape\":\"EnableImageResult\"},\ + \"documentation\":\"

Re-enables a disabled AMI. The re-enabled AMI is marked as available and can be used for instance launches, appears in describe operations, and can be shared. Amazon Web Services accounts, organizations, and Organizational Units that lost access to the AMI when it was disabled do not regain access automatically. Once the AMI is available, it can be shared with them again.

Only the AMI owner can re-enable a disabled AMI.

For more information, see Disable an AMI in the Amazon EC2 User Guide.

\"\ + },\ \"EnableImageBlockPublicAccess\":{\ \"name\":\"EnableImageBlockPublicAccess\",\ \"http\":{\ @@ -4087,6 +4127,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"EnableSerialConsoleAccessResult\"},\ \"documentation\":\"

Enables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.

\"\ },\ + \"EnableSnapshotBlockPublicAccess\":{\ + \"name\":\"EnableSnapshotBlockPublicAccess\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"EnableSnapshotBlockPublicAccessRequest\"},\ + \"output\":{\"shape\":\"EnableSnapshotBlockPublicAccessResult\"},\ + \"documentation\":\"

Enables or modifies the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you enable block public access for snapshots in a Region, users can no longer request public sharing for snapshots in that Region. Snapshots that are already publicly shared are either treated as private or they remain publicly shared, depending on the State that you specify.

If block public access is enabled in block-all-sharing mode, and you change the mode to block-new-sharing, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.

For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.

\"\ + },\ \"EnableTransitGatewayRouteTablePropagation\":{\ \"name\":\"EnableTransitGatewayRouteTablePropagation\",\ \"http\":{\ @@ -4465,6 +4515,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"GetReservedInstancesExchangeQuoteResult\"},\ \"documentation\":\"

Returns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance. If the exchange cannot be performed, the reason is returned in the response. Use AcceptReservedInstancesExchangeQuote to perform the exchange.

\"\ },\ + \"GetSecurityGroupsForVpc\":{\ + \"name\":\"GetSecurityGroupsForVpc\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"GetSecurityGroupsForVpcRequest\"},\ + \"output\":{\"shape\":\"GetSecurityGroupsForVpcResult\"},\ + \"documentation\":\"

Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.

\"\ + },\ \"GetSerialConsoleAccessStatus\":{\ \"name\":\"GetSerialConsoleAccessStatus\",\ \"http\":{\ @@ -4475,6 +4535,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"GetSerialConsoleAccessStatusResult\"},\ \"documentation\":\"

Retrieves the access status of your account to the EC2 serial console of all instances. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.

\"\ },\ + \"GetSnapshotBlockPublicAccessState\":{\ + \"name\":\"GetSnapshotBlockPublicAccessState\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"GetSnapshotBlockPublicAccessStateRequest\"},\ + \"output\":{\"shape\":\"GetSnapshotBlockPublicAccessStateResult\"},\ + \"documentation\":\"

Gets the current state of block public access for snapshots setting for the account and Region.

For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.

\"\ + },\ \"GetSpotPlacementScores\":{\ \"name\":\"GetSpotPlacementScores\",\ \"http\":{\ @@ -5386,6 +5456,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"ProvisionPublicIpv4PoolCidrResult\"},\ \"documentation\":\"

Provision a CIDR to a public IPv4 pool.

For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.

\"\ },\ + \"PurchaseCapacityBlock\":{\ + \"name\":\"PurchaseCapacityBlock\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"PurchaseCapacityBlockRequest\"},\ + \"output\":{\"shape\":\"PurchaseCapacityBlockResult\"},\ + \"documentation\":\"

Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.

\"\ + },\ \"PurchaseHostReservation\":{\ \"name\":\"PurchaseHostReservation\",\ \"http\":{\ @@ -5785,7 +5865,7 @@ - (NSString *)definitionString { },\ \"input\":{\"shape\":\"RevokeSecurityGroupIngressRequest\"},\ \"output\":{\"shape\":\"RevokeSecurityGroupIngressResult\"},\ - \"documentation\":\"

Removes the specified inbound (ingress) rules from a security group.

You can specify rules using either rule IDs or security group rule properties. If you use rule properties, the values that you specify (for example, ports) must match the existing rule's values exactly. Each rule has a protocol, from and to ports, and source (CIDR range, security group, or prefix list). For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not need to specify the description to revoke the rule.

For a default VPC, if the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked.

Amazon Web Services recommends that you describe the security group to verify that the rules were removed.

Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.

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

Removes the specified inbound (ingress) rules from a security group.

You can specify rules using either rule IDs or security group rule properties. If you use rule properties, the values that you specify (for example, ports) must match the existing rule's values exactly. Each rule has a protocol, from and to ports, and source (CIDR range, security group, or prefix list). For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not need to specify the description to revoke the rule.

For a default VPC, if the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked.

For a non-default VPC, if the values you specify do not match the existing rule's values, an InvalidPermission.NotFound client error is returned, and no rules are revoked.

Amazon Web Services recommends that you describe the security group to verify that the rules were removed.

Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.

\"\ },\ \"RunInstances\":{\ \"name\":\"RunInstances\",\ @@ -6835,7 +6915,7 @@ - (NSString *)definitionString { },\ \"NetworkBorderGroup\":{\ \"shape\":\"String\",\ - \"documentation\":\"

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.

Use DescribeAvailabilityZones to view the network border groups.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 Classic, you receive an InvalidParameterCombination error.

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

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.

Use DescribeAvailabilityZones to view the network border groups.

\"\ },\ \"CustomerOwnedIpv4Pool\":{\ \"shape\":\"String\",\ @@ -9486,7 +9566,7 @@ - (NSString *)definitionString { \"members\":{\ \"ExportTaskId\":{\ \"shape\":\"ExportVmTaskId\",\ - \"documentation\":\"

The ID of the export task. This is the ID returned by CreateInstanceExportTask.

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

The ID of the export task. This is the ID returned by the CreateInstanceExportTask and ExportImage operations.

\",\ \"locationName\":\"exportTaskId\"\ }\ }\ @@ -9767,6 +9847,69 @@ - (NSString *)definitionString { \"locationName\":\"item\"\ }\ },\ + \"CapacityBlockOffering\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"CapacityBlockOfferingId\":{\ + \"shape\":\"OfferingId\",\ + \"documentation\":\"

The ID of the Capacity Block offering.

\",\ + \"locationName\":\"capacityBlockOfferingId\"\ + },\ + \"InstanceType\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The instance type of the Capacity Block offering.

\",\ + \"locationName\":\"instanceType\"\ + },\ + \"AvailabilityZone\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The Availability Zone of the Capacity Block offering.

\",\ + \"locationName\":\"availabilityZone\"\ + },\ + \"InstanceCount\":{\ + \"shape\":\"Integer\",\ + \"documentation\":\"

The number of instances in the Capacity Block offering.

\",\ + \"locationName\":\"instanceCount\"\ + },\ + \"StartDate\":{\ + \"shape\":\"MillisecondDateTime\",\ + \"documentation\":\"

The start date of the Capacity Block offering.

\",\ + \"locationName\":\"startDate\"\ + },\ + \"EndDate\":{\ + \"shape\":\"MillisecondDateTime\",\ + \"documentation\":\"

The end date of the Capacity Block offering.

\",\ + \"locationName\":\"endDate\"\ + },\ + \"CapacityBlockDurationHours\":{\ + \"shape\":\"Integer\",\ + \"documentation\":\"

The amount of time of the Capacity Block reservation in hours.

\",\ + \"locationName\":\"capacityBlockDurationHours\"\ + },\ + \"UpfrontFee\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The total price to be paid up front.

\",\ + \"locationName\":\"upfrontFee\"\ + },\ + \"CurrencyCode\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The currency of the payment for the Capacity Block.

\",\ + \"locationName\":\"currencyCode\"\ + },\ + \"Tenancy\":{\ + \"shape\":\"CapacityReservationTenancy\",\ + \"documentation\":\"

The tenancy of the Capacity Block.

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

The recommended Capacity Block that fits your search requirements.

\"\ + },\ + \"CapacityBlockOfferingSet\":{\ + \"type\":\"list\",\ + \"member\":{\ + \"shape\":\"CapacityBlockOffering\",\ + \"locationName\":\"item\"\ + }\ + },\ \"CapacityReservation\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -9884,6 +10027,11 @@ - (NSString *)definitionString { \"shape\":\"CapacityAllocations\",\ \"documentation\":\"

Information about instance capacity usage.

\",\ \"locationName\":\"capacityAllocationSet\"\ + },\ + \"ReservationType\":{\ + \"shape\":\"CapacityReservationType\",\ + \"documentation\":\"

The type of Capacity Reservation.

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

Describes a Capacity Reservation.

\"\ @@ -10061,7 +10209,8 @@ - (NSString *)definitionString { \"RHEL with SQL Server Web\",\ \"RHEL with HA\",\ \"RHEL with HA and SQL Server Standard\",\ - \"RHEL with HA and SQL Server Enterprise\"\ + \"RHEL with HA and SQL Server Enterprise\",\ + \"Ubuntu Pro\"\ ]\ },\ \"CapacityReservationOptions\":{\ @@ -10136,7 +10285,10 @@ - (NSString *)definitionString { \"expired\",\ \"cancelled\",\ \"pending\",\ - \"failed\"\ + \"failed\",\ + \"scheduled\",\ + \"payment-pending\",\ + \"payment-failed\"\ ]\ },\ \"CapacityReservationTarget\":{\ @@ -10176,6 +10328,13 @@ - (NSString *)definitionString { \"dedicated\"\ ]\ },\ + \"CapacityReservationType\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"default\",\ + \"capacity-block\"\ + ]\ + },\ \"CarrierGateway\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -12059,7 +12218,7 @@ - (NSString *)definitionString { \"required\":[\"AvailabilityZone\"],\ \"members\":{\ \"AvailabilityZone\":{\ - \"shape\":\"String\",\ + \"shape\":\"AvailabilityZoneName\",\ \"documentation\":\"

The Availability Zone in which to create the default subnet.

\"\ },\ \"DryRun\":{\ @@ -12298,7 +12457,7 @@ - (NSString *)definitionString { },\ \"TagSpecifications\":{\ \"shape\":\"TagSpecificationList\",\ - \"documentation\":\"

The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tagging your resources.

If the fleet type is instant, specify a resource type of fleet to tag the fleet or instance to tag the instances at launch.

If the fleet type is maintain or request, specify a resource type of fleet to tag the fleet. You cannot specify a resource type of instance. To tag instances at launch, specify the tags in a launch template.

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

The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources.

If the fleet type is instant, specify a resource type of fleet to tag the fleet or instance to tag the instances at launch.

If the fleet type is maintain or request, specify a resource type of fleet to tag the fleet. You cannot specify a resource type of instance. To tag instances at launch, specify the tags in a launch template.

\",\ \"locationName\":\"TagSpecification\"\ },\ \"Context\":{\ @@ -15050,6 +15209,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.

\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationRequest\",\ + \"documentation\":\"

Options for server side encryption.

\"\ }\ }\ },\ @@ -15099,6 +15262,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.

\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationRequest\",\ + \"documentation\":\"

Options for server side encryption.

\"\ }\ }\ },\ @@ -15132,6 +15299,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.

\"\ + },\ + \"FIPSEnabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"

Enable or disable support for Federal Information Processing Standards (FIPS) on the instance.

\"\ }\ }\ },\ @@ -15237,6 +15408,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.

\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationRequest\",\ + \"documentation\":\"

Options for server side encryption.

\"\ }\ }\ },\ @@ -15976,7 +16151,8 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"spot\",\ - \"on-demand\"\ + \"on-demand\",\ + \"capacity-block\"\ ]\ },\ \"DefaultingDhcpOptionsId\":{\"type\":\"string\"},\ @@ -18450,6 +18626,68 @@ - (NSString *)definitionString { }\ }\ },\ + \"DescribeCapacityBlockOfferingsMaxResults\":{\ + \"type\":\"integer\",\ + \"max\":1000,\ + \"min\":1\ + },\ + \"DescribeCapacityBlockOfferingsRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceType\",\ + \"InstanceCount\",\ + \"CapacityDurationHours\"\ + ],\ + \"members\":{\ + \"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.

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

The type of instance for which the Capacity Block offering reserves capacity.

\"\ + },\ + \"InstanceCount\":{\ + \"shape\":\"Integer\",\ + \"documentation\":\"

The number of instances for which to reserve capacity.

\"\ + },\ + \"StartDateRange\":{\ + \"shape\":\"MillisecondDateTime\",\ + \"documentation\":\"

The earliest start date for the Capacity Block offering.

\"\ + },\ + \"EndDateRange\":{\ + \"shape\":\"MillisecondDateTime\",\ + \"documentation\":\"

The latest end date for the Capacity Block offering.

\"\ + },\ + \"CapacityDurationHours\":{\ + \"shape\":\"Integer\",\ + \"documentation\":\"

The number of hours for which to reserve Capacity Block.

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

The token to use to retrieve the next page of results.

\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"DescribeCapacityBlockOfferingsMaxResults\",\ + \"documentation\":\"

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

\"\ + }\ + }\ + },\ + \"DescribeCapacityBlockOfferingsResult\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"CapacityBlockOfferings\":{\ + \"shape\":\"CapacityBlockOfferingSet\",\ + \"documentation\":\"

The recommended Capacity Block offering for the dates specified.

\",\ + \"locationName\":\"capacityBlockOfferingSet\"\ + },\ + \"NextToken\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

\",\ + \"locationName\":\"nextToken\"\ + }\ + }\ + },\ \"DescribeCapacityReservationFleetsMaxResults\":{\ \"type\":\"integer\",\ \"max\":100,\ @@ -20008,7 +20246,7 @@ - (NSString *)definitionString { },\ \"Filters\":{\ \"shape\":\"FilterList\",\ - \"documentation\":\"

The filters.

  • architecture - The image architecture (i386 | x86_64 | arm64 | x86_64_mac | arm64_mac).

  • block-device-mapping.delete-on-termination - A Boolean value that indicates whether the Amazon EBS volume is deleted on instance termination.

  • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

  • block-device-mapping.snapshot-id - The ID of the snapshot used for the Amazon EBS volume.

  • block-device-mapping.volume-size - The volume size of the Amazon EBS volume, in GiB.

  • block-device-mapping.volume-type - The volume type of the Amazon EBS volume (io1 | io2 | gp2 | gp3 | sc1 | st1 | standard).

  • block-device-mapping.encrypted - A Boolean that indicates whether the Amazon EBS volume is encrypted.

  • creation-date - The time when the image was created, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day.

  • description - The description of the image (provided during image creation).

  • ena-support - A Boolean that indicates whether enhanced networking with ENA is enabled.

  • hypervisor - The hypervisor type (ovm | xen).

  • image-id - The ID of the image.

  • image-type - The image type (machine | kernel | ramdisk).

  • is-public - A Boolean that indicates whether the image is public.

  • kernel-id - The kernel ID.

  • manifest-location - The location of the image manifest.

  • name - The name of the AMI (provided during image creation).

  • owner-alias - The owner alias (amazon | aws-marketplace). The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set using the IAM console. We recommend that you use the Owner request parameter instead of this filter.

  • owner-id - The Amazon Web Services account ID of the owner. We recommend that you use the Owner request parameter instead of this filter.

  • platform - The platform. The only supported value is windows.

  • product-code - The product code.

  • product-code.type - The type of the product code (marketplace).

  • ramdisk-id - The RAM disk ID.

  • root-device-name - The device name of the root device volume (for example, /dev/sda1).

  • root-device-type - The type of the root device volume (ebs | instance-store).

  • state - The state of the image (available | pending | failed).

  • state-reason-code - The reason code for the state change.

  • state-reason-message - The message for the state change.

  • sriov-net-support - A value of simple indicates that enhanced networking with the Intel 82599 VF interface is enabled.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • virtualization-type - The virtualization type (paravirtual | hvm).

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

The filters.

  • architecture - The image architecture (i386 | x86_64 | arm64 | x86_64_mac | arm64_mac).

  • block-device-mapping.delete-on-termination - A Boolean value that indicates whether the Amazon EBS volume is deleted on instance termination.

  • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

  • block-device-mapping.snapshot-id - The ID of the snapshot used for the Amazon EBS volume.

  • block-device-mapping.volume-size - The volume size of the Amazon EBS volume, in GiB.

  • block-device-mapping.volume-type - The volume type of the Amazon EBS volume (io1 | io2 | gp2 | gp3 | sc1 | st1 | standard).

  • block-device-mapping.encrypted - A Boolean that indicates whether the Amazon EBS volume is encrypted.

  • creation-date - The time when the image was created, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day.

  • description - The description of the image (provided during image creation).

  • ena-support - A Boolean that indicates whether enhanced networking with ENA is enabled.

  • hypervisor - The hypervisor type (ovm | xen).

  • image-id - The ID of the image.

  • image-type - The image type (machine | kernel | ramdisk).

  • is-public - A Boolean that indicates whether the image is public.

  • kernel-id - The kernel ID.

  • manifest-location - The location of the image manifest.

  • name - The name of the AMI (provided during image creation).

  • owner-alias - The owner alias (amazon | aws-marketplace). The valid aliases are defined in an Amazon-maintained list. This is not the Amazon Web Services account alias that can be set using the IAM console. We recommend that you use the Owner request parameter instead of this filter.

  • owner-id - The Amazon Web Services account ID of the owner. We recommend that you use the Owner request parameter instead of this filter.

  • platform - The platform. The only supported value is windows.

  • product-code - The product code.

  • product-code.type - The type of the product code (marketplace).

  • ramdisk-id - The RAM disk ID.

  • root-device-name - The device name of the root device volume (for example, /dev/sda1).

  • root-device-type - The type of the root device volume (ebs | instance-store).

  • source-instance-id - The ID of the instance that the AMI was created from if the AMI was created using CreateImage. This filter is applicable only if the AMI was created using CreateImage.

  • state - The state of the image (available | pending | failed).

  • state-reason-code - The reason code for the state change.

  • state-reason-message - The message for the state change.

  • sriov-net-support - A value of simple indicates that enhanced networking with the Intel 82599 VF interface is enabled.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • virtualization-type - The virtualization type (paravirtual | hvm).

\",\ \"locationName\":\"Filter\"\ },\ \"ImageIds\":{\ @@ -20025,6 +20263,10 @@ - (NSString *)definitionString { \"shape\":\"Boolean\",\ \"documentation\":\"

Specifies whether to include deprecated AMIs.

Default: No deprecated AMIs are included in the response.

If you are the AMI owner, all deprecated AMIs appear in the response regardless of what you specify for this parameter.

\"\ },\ + \"IncludeDisabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"

Specifies whether to include disabled AMIs.

Default: No disabled AMIs are included in the response.

\"\ + },\ \"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.

\",\ @@ -20448,7 +20690,7 @@ - (NSString *)definitionString { \"members\":{\ \"Filters\":{\ \"shape\":\"FilterList\",\ - \"documentation\":\"

The filters.

  • affinity - The affinity setting for an instance running on a Dedicated Host (default | host).

  • architecture - The instance architecture (i386 | x86_64 | arm64).

  • availability-zone - The Availability Zone of the instance.

  • block-device-mapping.attach-time - The attach time for an EBS volume mapped to the instance, for example, 2022-09-15T17:15:20.000Z.

  • block-device-mapping.delete-on-termination - A Boolean that indicates whether the EBS volume is deleted on instance termination.

  • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

  • block-device-mapping.status - The status for the EBS volume (attaching | attached | detaching | detached).

  • block-device-mapping.volume-id - The volume ID of the EBS volume.

  • boot-mode - The boot mode that was specified by the AMI (legacy-bios | uefi | uefi-preferred).

  • capacity-reservation-id - The ID of the Capacity Reservation into which the instance was launched.

  • capacity-reservation-specification.capacity-reservation-preference - The instance's Capacity Reservation preference (open | none).

  • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id - The ID of the targeted Capacity Reservation.

  • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn - The ARN of the targeted Capacity Reservation group.

  • client-token - The idempotency token you provided when you launched the instance.

  • current-instance-boot-mode - The boot mode that is used to launch the instance at launch or start (legacy-bios | uefi).

  • dns-name - The public DNS name of the instance.

  • ebs-optimized - A Boolean that indicates whether the instance is optimized for Amazon EBS I/O.

  • ena-support - A Boolean that indicates whether the instance is enabled for enhanced networking with ENA.

  • enclave-options.enabled - A Boolean that indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

  • hibernation-options.configured - A Boolean that indicates whether the instance is enabled for hibernation. A value of true means that the instance is enabled for hibernation.

  • host-id - The ID of the Dedicated Host on which the instance is running, if applicable.

  • hypervisor - The hypervisor type of the instance (ovm | xen). The value xen is used for both Xen and Nitro hypervisors.

  • iam-instance-profile.arn - The instance profile associated with the instance. Specified as an ARN.

  • iam-instance-profile.id - The instance profile associated with the instance. Specified as an ID.

  • iam-instance-profile.name - The instance profile associated with the instance. Specified as an name.

  • image-id - The ID of the image used to launch the instance.

  • instance-id - The ID of the instance.

  • instance-lifecycle - Indicates whether this is a Spot Instance or a Scheduled Instance (spot | scheduled).

  • instance-state-code - The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).

  • instance-state-name - The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).

  • instance-type - The type of instance (for example, t2.micro).

  • instance.group-id - The ID of the security group for the instance.

  • instance.group-name - The name of the security group for the instance.

  • ip-address - The public IPv4 address of the instance.

  • ipv6-address - The IPv6 address of the instance.

  • kernel-id - The kernel ID.

  • key-name - The name of the key pair used when the instance was launched.

  • launch-index - When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on).

  • launch-time - The time when the instance was launched, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day.

  • license-pool -

  • maintenance-options.auto-recovery - The current automatic recovery behavior of the instance (disabled | default).

  • metadata-options.http-endpoint - The status of access to the HTTP metadata endpoint on your instance (enabled | disabled)

  • metadata-options.http-protocol-ipv4 - Indicates whether the IPv4 endpoint is enabled (disabled | enabled).

  • metadata-options.http-protocol-ipv6 - Indicates whether the IPv6 endpoint is enabled (disabled | enabled).

  • metadata-options.http-put-response-hop-limit - The HTTP metadata request put response hop limit (integer, possible values 1 to 64)

  • metadata-options.http-tokens - The metadata request authorization state (optional | required)

  • metadata-options.instance-metadata-tags - The status of access to instance tags from the instance metadata (enabled | disabled)

  • metadata-options.state - The state of the metadata option changes (pending | applied).

  • monitoring-state - Indicates whether detailed monitoring is enabled (disabled | enabled).

  • network-interface.addresses.primary - Specifies whether the IPv4 address of the network interface is the primary private IPv4 address.

  • network-interface.addresses.private-ip-address - The private IPv4 address associated with the network interface.

  • network-interface.addresses.association.public-ip - The ID of the association of an Elastic IP address (IPv4) with a network interface.

  • network-interface.addresses.association.ip-owner-id - The owner ID of the private IPv4 address associated with the network interface.

  • network-interface.association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

  • network-interface.association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

  • network-interface.association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

  • network-interface.association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

  • network-interface.attachment.attachment-id - The ID of the interface attachment.

  • network-interface.attachment.instance-id - The ID of the instance to which the network interface is attached.

  • network-interface.attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

  • network-interface.attachment.device-index - The device index to which the network interface is attached.

  • network-interface.attachment.status - The status of the attachment (attaching | attached | detaching | detached).

  • network-interface.attachment.attach-time - The time that the network interface was attached to an instance.

  • network-interface.attachment.delete-on-termination - Specifies whether the attachment is deleted when an instance is terminated.

  • network-interface.availability-zone - The Availability Zone for the network interface.

  • network-interface.description - The description of the network interface.

  • network-interface.group-id - The ID of a security group associated with the network interface.

  • network-interface.group-name - The name of a security group associated with the network interface.

  • network-interface.ipv6-addresses.ipv6-address - The IPv6 address associated with the network interface.

  • network-interface.mac-address - The MAC address of the network interface.

  • network-interface.network-interface-id - The ID of the network interface.

  • network-interface.owner-id - The ID of the owner of the network interface.

  • network-interface.private-dns-name - The private DNS name of the network interface.

  • network-interface.requester-id - The requester ID for the network interface.

  • network-interface.requester-managed - Indicates whether the network interface is being managed by Amazon Web Services.

  • network-interface.status - The status of the network interface (available) | in-use).

  • network-interface.source-dest-check - Whether the network interface performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

  • network-interface.subnet-id - The ID of the subnet for the network interface.

  • network-interface.vpc-id - The ID of the VPC for the network interface.

  • outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

  • owner-id - The Amazon Web Services account ID of the instance owner.

  • placement-group-name - The name of the placement group for the instance.

  • placement-partition-number - The partition in which the instance is located.

  • platform - The platform. To list only Windows instances, use windows.

  • platform-details - The platform (Linux/UNIX | Red Hat BYOL Linux | Red Hat Enterprise Linux | Red Hat Enterprise Linux with HA | Red Hat Enterprise Linux with SQL Server Standard and HA | Red Hat Enterprise Linux with SQL Server Enterprise and HA | Red Hat Enterprise Linux with SQL Server Standard | Red Hat Enterprise Linux with SQL Server Web | Red Hat Enterprise Linux with SQL Server Enterprise | SQL Server Enterprise | SQL Server Standard | SQL Server Web | SUSE Linux | Ubuntu Pro | Windows | Windows BYOL | Windows with SQL Server Enterprise | Windows with SQL Server Standard | Windows with SQL Server Web).

  • private-dns-name - The private IPv4 DNS name of the instance.

  • private-dns-name-options.enable-resource-name-dns-a-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS A records.

  • private-dns-name-options.enable-resource-name-dns-aaaa-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

  • private-dns-name-options.hostname-type - The type of hostname (ip-name | resource-name).

  • private-ip-address - The private IPv4 address of the instance.

  • product-code - The product code associated with the AMI used to launch the instance.

  • product-code.type - The type of product code (devpay | marketplace).

  • ramdisk-id - The RAM disk ID.

  • reason - The reason for the current state of the instance (for example, shows \\\"User Initiated [date]\\\" when you stop or terminate the instance). Similar to the state-reason-code filter.

  • requester-id - The ID of the entity that launched the instance on your behalf (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

  • reservation-id - The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID.

  • root-device-name - The device name of the root device volume (for example, /dev/sda1).

  • root-device-type - The type of the root device volume (ebs | instance-store).

  • source-dest-check - Indicates whether the instance performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform network address translation (NAT) in your VPC.

  • spot-instance-request-id - The ID of the Spot Instance request.

  • state-reason-code - The reason code for the state change.

  • state-reason-message - A message that describes the state change.

  • subnet-id - The ID of the subnet for the instance.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

  • tenancy - The tenancy of an instance (dedicated | default | host).

  • tpm-support - Indicates if the instance is configured for NitroTPM support (v2.0).

  • usage-operation - The usage operation value for the instance (RunInstances | RunInstances:00g0 | RunInstances:0010 | RunInstances:1010 | RunInstances:1014 | RunInstances:1110 | RunInstances:0014 | RunInstances:0210 | RunInstances:0110 | RunInstances:0100 | RunInstances:0004 | RunInstances:0200 | RunInstances:000g | RunInstances:0g00 | RunInstances:0002 | RunInstances:0800 | RunInstances:0102 | RunInstances:0006 | RunInstances:0202).

  • usage-operation-update-time - The time that the usage operation was last updated, for example, 2022-09-15T17:15:20.000Z.

  • virtualization-type - The virtualization type of the instance (paravirtual | hvm).

  • vpc-id - The ID of the VPC that the instance is running in.

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

The filters.

  • affinity - The affinity setting for an instance running on a Dedicated Host (default | host).

  • architecture - The instance architecture (i386 | x86_64 | arm64).

  • availability-zone - The Availability Zone of the instance.

  • block-device-mapping.attach-time - The attach time for an EBS volume mapped to the instance, for example, 2022-09-15T17:15:20.000Z.

  • block-device-mapping.delete-on-termination - A Boolean that indicates whether the EBS volume is deleted on instance termination.

  • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

  • block-device-mapping.status - The status for the EBS volume (attaching | attached | detaching | detached).

  • block-device-mapping.volume-id - The volume ID of the EBS volume.

  • boot-mode - The boot mode that was specified by the AMI (legacy-bios | uefi | uefi-preferred).

  • capacity-reservation-id - The ID of the Capacity Reservation into which the instance was launched.

  • capacity-reservation-specification.capacity-reservation-preference - The instance's Capacity Reservation preference (open | none).

  • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id - The ID of the targeted Capacity Reservation.

  • capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn - The ARN of the targeted Capacity Reservation group.

  • client-token - The idempotency token you provided when you launched the instance.

  • current-instance-boot-mode - The boot mode that is used to launch the instance at launch or start (legacy-bios | uefi).

  • dns-name - The public DNS name of the instance.

  • ebs-optimized - A Boolean that indicates whether the instance is optimized for Amazon EBS I/O.

  • ena-support - A Boolean that indicates whether the instance is enabled for enhanced networking with ENA.

  • enclave-options.enabled - A Boolean that indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

  • hibernation-options.configured - A Boolean that indicates whether the instance is enabled for hibernation. A value of true means that the instance is enabled for hibernation.

  • host-id - The ID of the Dedicated Host on which the instance is running, if applicable.

  • hypervisor - The hypervisor type of the instance (ovm | xen). The value xen is used for both Xen and Nitro hypervisors.

  • iam-instance-profile.arn - The instance profile associated with the instance. Specified as an ARN.

  • iam-instance-profile.id - The instance profile associated with the instance. Specified as an ID.

  • iam-instance-profile.name - The instance profile associated with the instance. Specified as an name.

  • image-id - The ID of the image used to launch the instance.

  • instance-id - The ID of the instance.

  • instance-lifecycle - Indicates whether this is a Spot Instance or a Scheduled Instance (spot | scheduled).

  • instance-state-code - The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).

  • instance-state-name - The state of the instance (pending | running | shutting-down | terminated | stopping | stopped).

  • instance-type - The type of instance (for example, t2.micro).

  • instance.group-id - The ID of the security group for the instance.

  • instance.group-name - The name of the security group for the instance.

  • ip-address - The public IPv4 address of the instance.

  • ipv6-address - The IPv6 address of the instance.

  • kernel-id - The kernel ID.

  • key-name - The name of the key pair used when the instance was launched.

  • launch-index - When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on).

  • launch-time - The time when the instance was launched, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, 2021-09-29T11:04:43.305Z. You can use a wildcard (*), for example, 2021-09-29T*, which matches an entire day.

  • maintenance-options.auto-recovery - The current automatic recovery behavior of the instance (disabled | default).

  • metadata-options.http-endpoint - The status of access to the HTTP metadata endpoint on your instance (enabled | disabled)

  • metadata-options.http-protocol-ipv4 - Indicates whether the IPv4 endpoint is enabled (disabled | enabled).

  • metadata-options.http-protocol-ipv6 - Indicates whether the IPv6 endpoint is enabled (disabled | enabled).

  • metadata-options.http-put-response-hop-limit - The HTTP metadata request put response hop limit (integer, possible values 1 to 64)

  • metadata-options.http-tokens - The metadata request authorization state (optional | required)

  • metadata-options.instance-metadata-tags - The status of access to instance tags from the instance metadata (enabled | disabled)

  • metadata-options.state - The state of the metadata option changes (pending | applied).

  • monitoring-state - Indicates whether detailed monitoring is enabled (disabled | enabled).

  • network-interface.addresses.association.allocation-id - The allocation ID.

  • network-interface.addresses.association.association-id - The association ID.

  • network-interface.addresses.association.carrier-ip - The carrier IP address.

  • network-interface.addresses.association.customer-owned-ip - The customer-owned IP address.

  • network-interface.addresses.association.ip-owner-id - The owner ID of the private IPv4 address associated with the network interface.

  • network-interface.addresses.association.public-dns-name - The public DNS name.

  • network-interface.addresses.association.public-ip - The ID of the association of an Elastic IP address (IPv4) with a network interface.

  • network-interface.addresses.primary - Specifies whether the IPv4 address of the network interface is the primary private IPv4 address.

  • network-interface.addresses.private-dns-name - The private DNS name.

  • network-interface.addresses.private-ip-address - The private IPv4 address associated with the network interface.

  • network-interface.association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

  • network-interface.association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

  • network-interface.association.carrier-ip - The customer-owned IP address.

  • network-interface.association.customer-owned-ip - The customer-owned IP address.

  • network-interface.association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

  • network-interface.association.public-dns-name - The public DNS name.

  • network-interface.association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

  • network-interface.attachment.attach-time - The time that the network interface was attached to an instance.

  • network-interface.attachment.attachment-id - The ID of the interface attachment.

  • network-interface.attachment.delete-on-termination - Specifies whether the attachment is deleted when an instance is terminated.

  • network-interface.attachment.device-index - The device index to which the network interface is attached.

  • network-interface.attachment.instance-id - The ID of the instance to which the network interface is attached.

  • network-interface.attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

  • network-interface.attachment.network-card-index - The index of the network card.

  • network-interface.attachment.status - The status of the attachment (attaching | attached | detaching | detached).

  • network-interface.availability-zone - The Availability Zone for the network interface.

  • network-interface.deny-all-igw-traffic - A Boolean that indicates whether a network interface with an IPv6 address is unreachable from the public internet.

  • network-interface.description - The description of the network interface.

  • network-interface.group-id - The ID of a security group associated with the network interface.

  • network-interface.group-name - The name of a security group associated with the network interface.

  • network-interface.ipv4-prefixes.ipv4-prefix - The IPv4 prefixes that are assigned to the network interface.

  • network-interface.ipv6-address - The IPv6 address associated with the network interface.

  • network-interface.ipv6-addresses.ipv6-address - The IPv6 address associated with the network interface.

  • network-interface.ipv6-addresses.is-primary-ipv6 - A Boolean that indicates whether this is the primary IPv6 address.

  • network-interface.ipv6-native - A Boolean that indicates whether this is an IPv6 only network interface.

  • network-interface.ipv6-prefixes.ipv6-prefix - The IPv6 prefix assigned to the network interface.

  • network-interface.mac-address - The MAC address of the network interface.

  • network-interface.network-interface-id - The ID of the network interface.

  • network-interface.outpost-arn - The ARN of the Outpost.

  • network-interface.owner-id - The ID of the owner of the network interface.

  • network-interface.private-dns-name - The private DNS name of the network interface.

  • network-interface.private-ip-address - The private IPv4 address.

  • network-interface.public-dns-name - The public DNS name.

  • network-interface.requester-id - The requester ID for the network interface.

  • network-interface.requester-managed - Indicates whether the network interface is being managed by Amazon Web Services.

  • network-interface.status - The status of the network interface (available) | in-use).

  • network-interface.source-dest-check - Whether the network interface performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

  • network-interface.subnet-id - The ID of the subnet for the network interface.

  • network-interface.tag-key - The key of a tag assigned to the network interface.

  • network-interface.tag-value - The value of a tag assigned to the network interface.

  • network-interface.vpc-id - The ID of the VPC for the network interface.

  • outpost-arn - The Amazon Resource Name (ARN) of the Outpost.

  • owner-id - The Amazon Web Services account ID of the instance owner.

  • placement-group-name - The name of the placement group for the instance.

  • placement-partition-number - The partition in which the instance is located.

  • platform - The platform. To list only Windows instances, use windows.

  • platform-details - The platform (Linux/UNIX | Red Hat BYOL Linux | Red Hat Enterprise Linux | Red Hat Enterprise Linux with HA | Red Hat Enterprise Linux with SQL Server Standard and HA | Red Hat Enterprise Linux with SQL Server Enterprise and HA | Red Hat Enterprise Linux with SQL Server Standard | Red Hat Enterprise Linux with SQL Server Web | Red Hat Enterprise Linux with SQL Server Enterprise | SQL Server Enterprise | SQL Server Standard | SQL Server Web | SUSE Linux | Ubuntu Pro | Windows | Windows BYOL | Windows with SQL Server Enterprise | Windows with SQL Server Standard | Windows with SQL Server Web).

  • private-dns-name - The private IPv4 DNS name of the instance.

  • private-dns-name-options.enable-resource-name-dns-a-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS A records.

  • private-dns-name-options.enable-resource-name-dns-aaaa-record - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.

  • private-dns-name-options.hostname-type - The type of hostname (ip-name | resource-name).

  • private-ip-address - The private IPv4 address of the instance.

  • product-code - The product code associated with the AMI used to launch the instance.

  • product-code.type - The type of product code (devpay | marketplace).

  • ramdisk-id - The RAM disk ID.

  • reason - The reason for the current state of the instance (for example, shows \\\"User Initiated [date]\\\" when you stop or terminate the instance). Similar to the state-reason-code filter.

  • requester-id - The ID of the entity that launched the instance on your behalf (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

  • reservation-id - The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID.

  • root-device-name - The device name of the root device volume (for example, /dev/sda1).

  • root-device-type - The type of the root device volume (ebs | instance-store).

  • source-dest-check - Indicates whether the instance performs source/destination checking. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform network address translation (NAT) in your VPC.

  • spot-instance-request-id - The ID of the Spot Instance request.

  • state-reason-code - The reason code for the state change.

  • state-reason-message - A message that describes the state change.

  • subnet-id - The ID of the subnet for the instance.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.

  • tenancy - The tenancy of an instance (dedicated | default | host).

  • tpm-support - Indicates if the instance is configured for NitroTPM support (v2.0).

  • usage-operation - The usage operation value for the instance (RunInstances | RunInstances:00g0 | RunInstances:0010 | RunInstances:1010 | RunInstances:1014 | RunInstances:1110 | RunInstances:0014 | RunInstances:0210 | RunInstances:0110 | RunInstances:0100 | RunInstances:0004 | RunInstances:0200 | RunInstances:000g | RunInstances:0g00 | RunInstances:0002 | RunInstances:0800 | RunInstances:0102 | RunInstances:0006 | RunInstances:0202).

  • usage-operation-update-time - The time that the usage operation was last updated, for example, 2022-09-15T17:15:20.000Z.

  • virtualization-type - The virtualization type of the instance (paravirtual | hvm).

  • vpc-id - The ID of the VPC that the instance is running in.

\",\ \"locationName\":\"Filter\"\ },\ \"InstanceIds\":{\ @@ -21679,7 +21921,7 @@ - (NSString *)definitionString { \"members\":{\ \"Filters\":{\ \"shape\":\"FilterList\",\ - \"documentation\":\"

One or more filters.

  • addresses.private-ip-address - The private IPv4 addresses associated with the network interface.

  • addresses.primary - Whether the private IPv4 address is the primary IP address associated with the network interface.

  • addresses.association.public-ip - The association ID returned when the network interface was associated with the Elastic IP address (IPv4).

  • addresses.association.owner-id - The owner ID of the addresses associated with the network interface.

  • association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

  • association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

  • association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

  • association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

  • association.public-dns-name - The public DNS name for the network interface (IPv4).

  • attachment.attachment-id - The ID of the interface attachment.

  • attachment.attach-time - The time that the network interface was attached to an instance.

  • attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.

  • attachment.device-index - The device index to which the network interface is attached.

  • attachment.instance-id - The ID of the instance to which the network interface is attached.

  • attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

  • attachment.status - The status of the attachment (attaching | attached | detaching | detached).

  • availability-zone - The Availability Zone of the network interface.

  • description - The description of the network interface.

  • group-id - The ID of a security group associated with the network interface.

  • group-name - The name of a security group associated with the network interface.

  • ipv6-addresses.ipv6-address - An IPv6 address associated with the network interface.

  • interface-type - The type of network interface (api_gateway_managed | aws_codestar_connections_managed | branch | efa | gateway_load_balancer | gateway_load_balancer_endpoint | global_accelerator_managed | interface | iot_rules_managed | lambda | load_balancer | nat_gateway | network_load_balancer | quicksight | transit_gateway | trunk | vpc_endpoint).

  • mac-address - The MAC address of the network interface.

  • network-interface-id - The ID of the network interface.

  • owner-id - The Amazon Web Services account ID of the network interface owner.

  • private-ip-address - The private IPv4 address or addresses of the network interface.

  • private-dns-name - The private DNS name of the network interface (IPv4).

  • requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.

  • requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

  • source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

  • status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use.

  • subnet-id - The ID of the subnet for the network interface.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the network interface.

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

One or more filters.

  • association.allocation-id - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.

  • association.association-id - The association ID returned when the network interface was associated with an IPv4 address.

  • addresses.association.owner-id - The owner ID of the addresses associated with the network interface.

  • addresses.association.public-ip - The association ID returned when the network interface was associated with the Elastic IP address (IPv4).

  • addresses.primary - Whether the private IPv4 address is the primary IP address associated with the network interface.

  • addresses.private-ip-address - The private IPv4 addresses associated with the network interface.

  • association.ip-owner-id - The owner of the Elastic IP address (IPv4) associated with the network interface.

  • association.public-ip - The address of the Elastic IP address (IPv4) bound to the network interface.

  • association.public-dns-name - The public DNS name for the network interface (IPv4).

  • attachment.attach-time - The time that the network interface was attached to an instance.

  • attachment.attachment-id - The ID of the interface attachment.

  • attachment.delete-on-termination - Indicates whether the attachment is deleted when an instance is terminated.

  • attachment.device-index - The device index to which the network interface is attached.

  • attachment.instance-id - The ID of the instance to which the network interface is attached.

  • attachment.instance-owner-id - The owner ID of the instance to which the network interface is attached.

  • attachment.status - The status of the attachment (attaching | attached | detaching | detached).

  • availability-zone - The Availability Zone of the network interface.

  • description - The description of the network interface.

  • group-id - The ID of a security group associated with the network interface.

  • ipv6-addresses.ipv6-address - An IPv6 address associated with the network interface.

  • interface-type - The type of network interface (api_gateway_managed | aws_codestar_connections_managed | branch | ec2_instance_connect_endpoint | efa | efs | gateway_load_balancer | gateway_load_balancer_endpoint | global_accelerator_managed | interface | iot_rules_managed | lambda | load_balancer | nat_gateway | network_load_balancer | quicksight | transit_gateway | trunk | vpc_endpoint).

  • mac-address - The MAC address of the network interface.

  • network-interface-id - The ID of the network interface.

  • owner-id - The Amazon Web Services account ID of the network interface owner.

  • private-dns-name - The private DNS name of the network interface (IPv4).

  • private-ip-address - The private IPv4 address or addresses of the network interface.

  • requester-id - The alias or Amazon Web Services account ID of the principal or service that created the network interface.

  • requester-managed - Indicates whether the network interface is being managed by an Amazon Web Service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).

  • source-dest-check - Indicates whether the network interface performs source/destination checking. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the network interface to perform network address translation (NAT) in your VPC.

  • status - The status of the network interface. If the network interface is not attached to an instance, the status is available; if a network interface is attached to an instance the status is in-use.

  • subnet-id - The ID of the subnet for the network interface.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the network interface.

\",\ \"locationName\":\"filter\"\ },\ \"DryRun\":{\ @@ -22816,7 +23058,7 @@ - (NSString *)definitionString { \"members\":{\ \"Filters\":{\ \"shape\":\"FilterList\",\ - \"documentation\":\"

The filters.

  • availability-zone - The Availability Zone for which prices should be returned.

  • instance-type - The type of instance (for example, m3.medium).

  • product-description - The product description for the Spot price (Linux/UNIX | Red Hat Enterprise Linux | SUSE Linux | Windows | Linux/UNIX (Amazon VPC) | Red Hat Enterprise Linux (Amazon VPC) | SUSE Linux (Amazon VPC) | Windows (Amazon VPC)).

  • spot-price - The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported).

  • timestamp - The time stamp of the Spot price history, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). You can use wildcards (* and ?). Greater than or less than comparison is not supported.

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

The filters.

  • availability-zone - The Availability Zone for which prices should be returned.

  • instance-type - The type of instance (for example, m3.medium).

  • product-description - The product description for the Spot price (Linux/UNIX | Red Hat Enterprise Linux | SUSE Linux | Windows | Linux/UNIX (Amazon VPC) | Red Hat Enterprise Linux (Amazon VPC) | SUSE Linux (Amazon VPC) | Windows (Amazon VPC)).

  • spot-price - The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported).

  • timestamp - The time stamp of the Spot price history, in UTC format (for example, ddd MMM dd HH:mm:ss UTC YYYY). You can use wildcards (* and ?). Greater than or less than comparison is not supported.

\",\ \"locationName\":\"Filter\"\ },\ \"AvailabilityZone\":{\ @@ -22939,7 +23181,7 @@ - (NSString *)definitionString { },\ \"Filters\":{\ \"shape\":\"FilterList\",\ - \"documentation\":\"

The filters.

  • task-state - Returns tasks in a certain state (InProgress | Completed | Failed)

  • bucket - Returns task information for tasks that targeted a specific bucket. For the filter value, specify the bucket name.

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

The filters.

  • task-state - Returns tasks in a certain state (InProgress | Completed | Failed)

  • bucket - Returns task information for tasks that targeted a specific bucket. For the filter value, specify the bucket name.

When you specify the ImageIds parameter, any filters that you specify are ignored. To use the filters, you must remove the ImageIds parameter.

\",\ \"locationName\":\"Filter\"\ },\ \"NextToken\":{\ @@ -22948,7 +23190,7 @@ - (NSString *)definitionString { },\ \"MaxResults\":{\ \"shape\":\"DescribeStoreImageTasksRequestMaxResults\",\ - \"documentation\":\"

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

You cannot specify this parameter and the ImageIDs parameter in the same call.

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

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

You cannot specify this parameter and the ImageIds parameter in the same call.

\"\ }\ }\ },\ @@ -25285,6 +25527,30 @@ - (NSString *)definitionString { }\ }\ },\ + \"DisableImageRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"ImageId\"],\ + \"members\":{\ + \"ImageId\":{\ + \"shape\":\"ImageId\",\ + \"documentation\":\"

The ID of the AMI.

\"\ + },\ + \"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.

\"\ + }\ + }\ + },\ + \"DisableImageResult\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Return\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"

Returns true if the request succeeds; otherwise, it returns an error.

\",\ + \"locationName\":\"return\"\ + }\ + }\ + },\ \"DisableIpamOrganizationAdminAccountRequest\":{\ \"type\":\"structure\",\ \"required\":[\"DelegatedAdminAccountId\"],\ @@ -25328,6 +25594,25 @@ - (NSString *)definitionString { }\ }\ },\ + \"DisableSnapshotBlockPublicAccessRequest\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"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.

\"\ + }\ + }\ + },\ + \"DisableSnapshotBlockPublicAccessResult\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"State\":{\ + \"shape\":\"SnapshotBlockPublicAccessState\",\ + \"documentation\":\"

Returns unblocked if the request succeeds.

\",\ + \"locationName\":\"state\"\ + }\ + }\ + },\ \"DisableTransitGatewayRouteTablePropagationRequest\":{\ \"type\":\"structure\",\ \"required\":[\"TransitGatewayRouteTableId\"],\ @@ -27045,6 +27330,30 @@ - (NSString *)definitionString { }\ }\ },\ + \"EnableImageRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"ImageId\"],\ + \"members\":{\ + \"ImageId\":{\ + \"shape\":\"ImageId\",\ + \"documentation\":\"

The ID of the AMI.

\"\ + },\ + \"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.

\"\ + }\ + }\ + },\ + \"EnableImageResult\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Return\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"

Returns true if the request succeeds; otherwise, it returns an error.

\",\ + \"locationName\":\"return\"\ + }\ + }\ + },\ \"EnableIpamOrganizationAdminAccountRequest\":{\ \"type\":\"structure\",\ \"required\":[\"DelegatedAdminAccountId\"],\ @@ -27107,6 +27416,30 @@ - (NSString *)definitionString { }\ }\ },\ + \"EnableSnapshotBlockPublicAccessRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"State\"],\ + \"members\":{\ + \"State\":{\ + \"shape\":\"SnapshotBlockPublicAccessState\",\ + \"documentation\":\"

The mode in which to enable block public access for snapshots for the Region. Specify one of the following values:

  • block-all-sharing - Prevents all public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. Additionally, snapshots that are already publicly shared are treated as private and they are no longer publicly available.

    If you enable block public access for snapshots in block-all-sharing mode, it does not change the permissions for snapshots that are already publicly shared. Instead, it prevents these snapshots from be publicly visible and publicly accessible. Therefore, the attributes for these snapshots still indicate that they are publicly shared, even though they are not publicly available.

  • block-new-sharing - Prevents only new public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. However, snapshots that are already publicly shared, remain publicly available.

\"\ + },\ + \"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.

\"\ + }\ + }\ + },\ + \"EnableSnapshotBlockPublicAccessResult\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"State\":{\ + \"shape\":\"SnapshotBlockPublicAccessState\",\ + \"documentation\":\"

The state of block public access for snapshots for the account and Region. Returns either block-all-sharing or block-new-sharing if the request succeeds.

\",\ + \"locationName\":\"state\"\ + }\ + }\ + },\ \"EnableTransitGatewayRouteTablePropagationRequest\":{\ \"type\":\"structure\",\ \"required\":[\"TransitGatewayRouteTableId\"],\ @@ -30378,6 +30711,53 @@ - (NSString *)definitionString { },\ \"documentation\":\"

Contains the output of GetReservedInstancesExchangeQuote.

\"\ },\ + \"GetSecurityGroupsForVpcRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"VpcId\"],\ + \"members\":{\ + \"VpcId\":{\ + \"shape\":\"VpcId\",\ + \"documentation\":\"

The VPC ID where the security group can be used.

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

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"GetSecurityGroupsForVpcRequestMaxResults\",\ + \"documentation\":\"

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

\"\ + },\ + \"Filters\":{\ + \"shape\":\"FilterList\",\ + \"documentation\":\"

The filters. If using multiple filters, the results include security groups which match all filters.

  • group-id: The security group ID.

  • description: The security group's description.

  • group-name: The security group name.

  • owner-id: The security group owner ID.

  • primary-vpc-id: The VPC ID in which the security group was created.

\",\ + \"locationName\":\"Filter\"\ + },\ + \"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.

\"\ + }\ + }\ + },\ + \"GetSecurityGroupsForVpcRequestMaxResults\":{\ + \"type\":\"integer\",\ + \"max\":1000,\ + \"min\":5\ + },\ + \"GetSecurityGroupsForVpcResult\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"NextToken\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The token to include in another request to get the next page of items. This value is null when there are no more items to return.

\",\ + \"locationName\":\"nextToken\"\ + },\ + \"SecurityGroupForVpcs\":{\ + \"shape\":\"SecurityGroupForVpcList\",\ + \"documentation\":\"

The security group that can be used by interfaces in the VPC.

\",\ + \"locationName\":\"securityGroupForVpcSet\"\ + }\ + }\ + },\ \"GetSerialConsoleAccessStatusRequest\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -30397,6 +30777,25 @@ - (NSString *)definitionString { }\ }\ },\ + \"GetSnapshotBlockPublicAccessStateRequest\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"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.

\"\ + }\ + }\ + },\ + \"GetSnapshotBlockPublicAccessStateResult\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"State\":{\ + \"shape\":\"SnapshotBlockPublicAccessState\",\ + \"documentation\":\"

The current state of block public access for snapshots. Possible values include:

  • block-all-sharing - All public sharing of snapshots is blocked. Users in the account can't request new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not publicly available.

  • block-new-sharing - Only new public sharing of snapshots is blocked. Users in the account can't request new public sharing. However, snapshots that were already publicly shared, remain publicly available.

  • unblocked - Public sharing is not blocked. Users can publicly share snapshots.

\",\ + \"locationName\":\"state\"\ + }\ + }\ + },\ \"GetSpotPlacementScoresRequest\":{\ \"type\":\"structure\",\ \"required\":[\"TargetCapacity\"],\ @@ -31110,7 +31509,7 @@ - (NSString *)definitionString { \"members\":{\ \"Configured\":{\ \"shape\":\"Boolean\",\ - \"documentation\":\"

Set to true to enable your instance for hibernation.

Default: false

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

Set to true to enable your instance for hibernation.

For Spot Instances, if you set Configured to true, either omit the InstanceInterruptionBehavior parameter (for SpotMarketOptions ), or set it to hibernate. When Configured is true:

  • If you omit InstanceInterruptionBehavior, it defaults to hibernate.

  • If you set InstanceInterruptionBehavior to a value other than hibernate, you'll get an error.

Default: false

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

Indicates whether your instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your instance in the Amazon EC2 User Guide.

\"\ @@ -31785,7 +32184,7 @@ - (NSString *)definitionString { },\ \"Hypervisor\":{\ \"shape\":\"HypervisorType\",\ - \"documentation\":\"

The hypervisor type of the image.

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

The hypervisor type of the image. Only xen is supported. ovm is not supported.

\",\ \"locationName\":\"hypervisor\"\ },\ \"ImageOwnerAlias\":{\ @@ -31847,6 +32246,11 @@ - (NSString *)definitionString { \"shape\":\"ImdsSupportValues\",\ \"documentation\":\"

If v2.0, it indicates that IMDSv2 is specified in the AMI. Instances launched from this AMI will have HttpTokens automatically set to required so that, by default, the instance requires that IMDSv2 is used when requesting instance metadata. In addition, HttpPutResponseHopLimit is set to 2. For more information, see Configure the AMI in the Amazon EC2 User Guide.

\",\ \"locationName\":\"imdsSupport\"\ + },\ + \"SourceInstanceId\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The ID of the instance that the AMI was created from if the AMI was created using CreateImage. This field only appears if the AMI was created using CreateImage.

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

Describes an image.

\"\ @@ -32053,7 +32457,8 @@ - (NSString *)definitionString { \"deregistered\",\ \"transient\",\ \"failed\",\ - \"error\"\ + \"error\",\ + \"disabled\"\ ]\ },\ \"ImageTypeValues\":{\ @@ -32201,7 +32606,7 @@ - (NSString *)definitionString { },\ \"BootMode\":{\ \"shape\":\"BootModeValues\",\ - \"documentation\":\"

The boot mode of the virtual machine.

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

The boot mode of the virtual machine.

The uefi-preferred boot mode isn't supported for importing images. For more information, see Boot modes in the VM Import/Export User Guide.

\"\ }\ }\ },\ @@ -33843,7 +34248,8 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"spot\",\ - \"scheduled\"\ + \"scheduled\",\ + \"capacity-block\"\ ]\ },\ \"InstanceList\":{\ @@ -34439,7 +34845,7 @@ - (NSString *)definitionString { \"locationName\":\"allowedInstanceTypeSet\"\ }\ },\ - \"documentation\":\"

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.

You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:

  • AllowedInstanceTypes - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.

  • ExcludedInstanceTypes - The instance types to exclude from the list, even if they match your specified attributes.

If you specify InstanceRequirements, you can't specify InstanceType.

Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard or with the RunInstances API, you can't specify InstanceRequirements.

For more information, see Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide.

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

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.

You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:

  • AllowedInstanceTypes - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.

  • ExcludedInstanceTypes - The instance types to exclude from the list, even if they match your specified attributes.

If you specify InstanceRequirements, you can't specify InstanceType.

Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard or with the RunInstances API, you can't specify InstanceRequirements.

For more information, see Create a mixed instances group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide, and also Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide.

\"\ },\ \"InstanceRequirementsRequest\":{\ \"type\":\"structure\",\ @@ -35560,7 +35966,58 @@ - (NSString *)definitionString { \"r7gd.4xlarge\",\ \"r7gd.8xlarge\",\ \"r7gd.12xlarge\",\ - \"r7gd.16xlarge\"\ + \"r7gd.16xlarge\",\ + \"r7a.medium\",\ + \"r7a.large\",\ + \"r7a.xlarge\",\ + \"r7a.2xlarge\",\ + \"r7a.4xlarge\",\ + \"r7a.8xlarge\",\ + \"r7a.12xlarge\",\ + \"r7a.16xlarge\",\ + \"r7a.24xlarge\",\ + \"r7a.32xlarge\",\ + \"r7a.48xlarge\",\ + \"c7i.large\",\ + \"c7i.xlarge\",\ + \"c7i.2xlarge\",\ + \"c7i.4xlarge\",\ + \"c7i.8xlarge\",\ + \"c7i.12xlarge\",\ + \"c7i.16xlarge\",\ + \"c7i.24xlarge\",\ + \"c7i.48xlarge\",\ + \"mac2-m2pro.metal\",\ + \"r7iz.large\",\ + \"r7iz.xlarge\",\ + \"r7iz.2xlarge\",\ + \"r7iz.4xlarge\",\ + \"r7iz.8xlarge\",\ + \"r7iz.12xlarge\",\ + \"r7iz.16xlarge\",\ + \"r7iz.32xlarge\",\ + \"c7a.medium\",\ + \"c7a.large\",\ + \"c7a.xlarge\",\ + \"c7a.2xlarge\",\ + \"c7a.4xlarge\",\ + \"c7a.8xlarge\",\ + \"c7a.12xlarge\",\ + \"c7a.16xlarge\",\ + \"c7a.24xlarge\",\ + \"c7a.32xlarge\",\ + \"c7a.48xlarge\",\ + \"c7a.metal-48xl\",\ + \"r7a.metal-48xl\",\ + \"r7i.large\",\ + \"r7i.xlarge\",\ + \"r7i.2xlarge\",\ + \"r7i.4xlarge\",\ + \"r7i.8xlarge\",\ + \"r7i.12xlarge\",\ + \"r7i.16xlarge\",\ + \"r7i.24xlarge\",\ + \"r7i.48xlarge\"\ ]\ },\ \"InstanceTypeHypervisor\":{\ @@ -37408,6 +37865,7 @@ - (NSString *)definitionString { \"ed25519\"\ ]\ },\ + \"KmsKeyArn\":{\"type\":\"string\"},\ \"KmsKeyId\":{\"type\":\"string\"},\ \"LastError\":{\ \"type\":\"structure\",\ @@ -38696,7 +39154,7 @@ - (NSString *)definitionString { \"members\":{\ \"ResourceType\":{\ \"shape\":\"ResourceType\",\ - \"documentation\":\"

The type of resource to tag.

The Valid Values are all the resource types that can be tagged. However, when creating a launch template, you can specify tags for the following resource types only: instance | volume | elastic-gpu | network-interface | spot-instances-request

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

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

The type of resource to tag.

Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only: instance | volume | elastic-gpu | network-interface | spot-instances-request. If the instance does include the resource type that you specify, the instance launch fails. For example, not all instance types include an Elastic GPU.

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

\"\ },\ \"Tags\":{\ \"shape\":\"TagList\",\ @@ -39569,7 +40027,10 @@ - (NSString *)definitionString { },\ \"MarketType\":{\ \"type\":\"string\",\ - \"enum\":[\"spot\"]\ + \"enum\":[\ + \"spot\",\ + \"capacity-block\"\ + ]\ },\ \"MaxIpv4AddrPerInterface\":{\"type\":\"integer\"},\ \"MaxIpv6AddrPerInterface\":{\"type\":\"integer\"},\ @@ -41599,10 +42060,7 @@ - (NSString *)definitionString { },\ \"ModifyVerifiedAccessEndpointPolicyRequest\":{\ \"type\":\"structure\",\ - \"required\":[\ - \"VerifiedAccessEndpointId\",\ - \"PolicyEnabled\"\ - ],\ + \"required\":[\"VerifiedAccessEndpointId\"],\ \"members\":{\ \"VerifiedAccessEndpointId\":{\ \"shape\":\"VerifiedAccessEndpointId\",\ @@ -41624,6 +42082,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.

\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationRequest\",\ + \"documentation\":\"

Options for server side encryption.

\"\ }\ }\ },\ @@ -41639,6 +42101,11 @@ - (NSString *)definitionString { \"shape\":\"String\",\ \"documentation\":\"

The Verified Access policy document.

\",\ \"locationName\":\"policyDocument\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationResponse\",\ + \"documentation\":\"

Describes the options in use for server side encryption.

\",\ + \"locationName\":\"sseSpecification\"\ }\ }\ },\ @@ -41696,10 +42163,7 @@ - (NSString *)definitionString { },\ \"ModifyVerifiedAccessGroupPolicyRequest\":{\ \"type\":\"structure\",\ - \"required\":[\ - \"VerifiedAccessGroupId\",\ - \"PolicyEnabled\"\ - ],\ + \"required\":[\"VerifiedAccessGroupId\"],\ \"members\":{\ \"VerifiedAccessGroupId\":{\ \"shape\":\"VerifiedAccessGroupId\",\ @@ -41721,6 +42185,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.

\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationRequest\",\ + \"documentation\":\"

Options for server side encryption.

\"\ }\ }\ },\ @@ -41736,6 +42204,11 @@ - (NSString *)definitionString { \"shape\":\"String\",\ \"documentation\":\"

The Verified Access policy document.

\",\ \"locationName\":\"policyDocument\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationResponse\",\ + \"documentation\":\"

Describes the options in use for server side encryption.

\",\ + \"locationName\":\"sseSpecification\"\ }\ }\ },\ @@ -41903,6 +42376,10 @@ - (NSString *)definitionString { \"shape\":\"String\",\ \"documentation\":\"

A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring Idempotency.

\",\ \"idempotencyToken\":true\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationRequest\",\ + \"documentation\":\"

Options for server side encryption.

\"\ }\ }\ },\ @@ -44122,7 +44599,7 @@ - (NSString *)definitionString { },\ \"MaxTotalPrice\":{\ \"shape\":\"String\",\ - \"documentation\":\"

The maximum amount per hour for On-Demand Instances that you're willing to pay.

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

The maximum amount per hour for On-Demand Instances that you're willing to pay.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The maxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for maxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

\",\ \"locationName\":\"maxTotalPrice\"\ }\ },\ @@ -44153,7 +44630,7 @@ - (NSString *)definitionString { },\ \"MaxTotalPrice\":{\ \"shape\":\"String\",\ - \"documentation\":\"

The maximum amount per hour for On-Demand Instances that you're willing to pay.

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

The maximum amount per hour for On-Demand Instances that you're willing to pay.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

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

Describes the configuration of On-Demand Instances in an EC2 Fleet.

\"\ @@ -45882,6 +46359,42 @@ - (NSString *)definitionString { },\ \"documentation\":\"

Describes the result of the purchase.

\"\ },\ + \"PurchaseCapacityBlockRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"CapacityBlockOfferingId\",\ + \"InstancePlatform\"\ + ],\ + \"members\":{\ + \"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.

\"\ + },\ + \"TagSpecifications\":{\ + \"shape\":\"TagSpecificationList\",\ + \"documentation\":\"

The tags to apply to the Capacity Block during launch.

\",\ + \"locationName\":\"TagSpecification\"\ + },\ + \"CapacityBlockOfferingId\":{\ + \"shape\":\"OfferingId\",\ + \"documentation\":\"

The ID of the Capacity Block offering.

\"\ + },\ + \"InstancePlatform\":{\ + \"shape\":\"CapacityReservationInstancePlatform\",\ + \"documentation\":\"

The type of operating system for which to reserve capacity.

\"\ + }\ + }\ + },\ + \"PurchaseCapacityBlockResult\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"CapacityReservation\":{\ + \"shape\":\"CapacityReservation\",\ + \"documentation\":\"

The Capacity Reservation.

\",\ + \"locationName\":\"capacityReservation\"\ + }\ + }\ + },\ \"PurchaseHostReservationRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -46550,7 +47063,7 @@ - (NSString *)definitionString { },\ \"NetworkBorderGroup\":{\ \"shape\":\"String\",\ - \"documentation\":\"

The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

If you provide an incorrect network border group, you receive an InvalidAddress.NotFound error.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you receive an InvalidParameterCombination error.

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

The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

If you provide an incorrect network border group, you receive an InvalidAddress.NotFound error.

\"\ },\ \"DryRun\":{\ \"shape\":\"Boolean\",\ @@ -47253,7 +47766,7 @@ - (NSString *)definitionString { },\ \"ElasticInferenceAccelerators\":{\ \"shape\":\"LaunchTemplateElasticInferenceAcceleratorList\",\ - \"documentation\":\"

The elastic inference accelerator for the instance.

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

An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.

You cannot specify accelerators from different generations in the same request.

Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

\",\ \"locationName\":\"ElasticInferenceAccelerator\"\ },\ \"SecurityGroupIds\":{\ @@ -48533,7 +49046,7 @@ - (NSString *)definitionString { },\ \"ElasticInferenceAccelerators\":{\ \"shape\":\"LaunchTemplateElasticInferenceAcceleratorResponseList\",\ - \"documentation\":\"

The elastic inference accelerator for the instance.

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

An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.

You cannot specify accelerators from different generations in the same request.

Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

\",\ \"locationName\":\"elasticInferenceAcceleratorSet\"\ },\ \"SecurityGroupIds\":{\ @@ -50317,6 +50830,49 @@ - (NSString *)definitionString { },\ \"documentation\":\"

Describes a security group.

\"\ },\ + \"SecurityGroupForVpc\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Description\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The security group's description.

\",\ + \"locationName\":\"description\"\ + },\ + \"GroupName\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The security group name.

\",\ + \"locationName\":\"groupName\"\ + },\ + \"OwnerId\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The security group owner ID.

\",\ + \"locationName\":\"ownerId\"\ + },\ + \"GroupId\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The security group ID.

\",\ + \"locationName\":\"groupId\"\ + },\ + \"Tags\":{\ + \"shape\":\"TagList\",\ + \"documentation\":\"

The security group tags.

\",\ + \"locationName\":\"tagSet\"\ + },\ + \"PrimaryVpcId\":{\ + \"shape\":\"String\",\ + \"documentation\":\"

The VPC ID in which the security group was created.

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

A security group that can be used by interfaces in the VPC.

\"\ + },\ + \"SecurityGroupForVpcList\":{\ + \"type\":\"list\",\ + \"member\":{\ + \"shape\":\"SecurityGroupForVpc\",\ + \"locationName\":\"item\"\ + }\ + },\ \"SecurityGroupId\":{\"type\":\"string\"},\ \"SecurityGroupIdList\":{\ \"type\":\"list\",\ @@ -50964,6 +51520,14 @@ - (NSString *)definitionString { \"createVolumePermission\"\ ]\ },\ + \"SnapshotBlockPublicAccessState\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"block-all-sharing\",\ + \"block-new-sharing\",\ + \"unblocked\"\ + ]\ + },\ \"SnapshotDetail\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -51591,12 +52155,12 @@ - (NSString *)definitionString { },\ \"OnDemandMaxTotalPrice\":{\ \"shape\":\"String\",\ - \"documentation\":\"

The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the onDemandMaxTotalPrice parameter, the spotMaxTotalPrice parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.

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

The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the onDemandMaxTotalPrice parameter, the spotMaxTotalPrice parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The onDemandMaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for onDemandMaxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

\",\ \"locationName\":\"onDemandMaxTotalPrice\"\ },\ \"SpotMaxTotalPrice\":{\ \"shape\":\"String\",\ - \"documentation\":\"

The maximum amount per hour for Spot Instances that you're willing to pay. You can use the spotdMaxTotalPrice parameter, the onDemandMaxTotalPrice parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.

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

The maximum amount per hour for Spot Instances that you're willing to pay. You can use the spotMaxTotalPrice parameter, the onDemandMaxTotalPrice parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The spotMaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for spotMaxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

\",\ \"locationName\":\"spotMaxTotalPrice\"\ },\ \"TerminateInstancesWithExpiration\":{\ @@ -51651,7 +52215,7 @@ - (NSString *)definitionString { },\ \"TagSpecifications\":{\ \"shape\":\"TagSpecificationList\",\ - \"documentation\":\"

The key-value pair for tagging the Spot Fleet request on creation. The value for ResourceType must be spot-fleet-request, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you use LaunchTemplateConfigs) or in the SpotFleetTagSpecification (valid only if you use LaunchSpecifications). For information about tagging after launch, see Tagging Your Resources.

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

The key-value pair for tagging the Spot Fleet request on creation. The value for ResourceType must be spot-fleet-request, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you use LaunchTemplateConfigs) or in the SpotFleetTagSpecification (valid only if you use LaunchSpecifications). For information about tagging after launch, see Tag your resources.

\",\ \"locationName\":\"TagSpecification\"\ }\ },\ @@ -51906,7 +52470,7 @@ - (NSString *)definitionString { },\ \"InstanceInterruptionBehavior\":{\ \"shape\":\"InstanceInterruptionBehavior\",\ - \"documentation\":\"

The behavior when a Spot Instance is interrupted. The default is terminate.

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

The behavior when a Spot Instance is interrupted.

If Configured (for HibernationOptions ) is set to true, the InstanceInterruptionBehavior parameter is automatically set to hibernate. If you set it to stop or terminate, you'll get an error.

If Configured (for HibernationOptions ) is set to false or null, the InstanceInterruptionBehavior parameter is automatically set to terminate. You can also set it to stop or hibernate.

For more information, see Interruption behavior in the Amazon EC2 User Guide.

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

The options for Spot Instances.

\"\ @@ -51951,7 +52515,7 @@ - (NSString *)definitionString { },\ \"MaxTotalPrice\":{\ \"shape\":\"String\",\ - \"documentation\":\"

The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.

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

The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The maxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for maxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

\",\ \"locationName\":\"maxTotalPrice\"\ }\ },\ @@ -51990,7 +52554,7 @@ - (NSString *)definitionString { },\ \"MaxTotalPrice\":{\ \"shape\":\"String\",\ - \"documentation\":\"

The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.

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

The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.

If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.

If your fleet includes T instances that are configured as unlimited, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The MaxTotalPrice does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for MaxTotalPrice. For more information, see Surplus credits can incur charges in the EC2 User Guide.

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

Describes the configuration of Spot Instances in an EC2 Fleet request.

\"\ @@ -55946,7 +56510,8 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"spot\",\ - \"on-demand\"\ + \"on-demand\",\ + \"capacity-block\"\ ]\ },\ \"UsageClassTypeList\":{\ @@ -56263,6 +56828,11 @@ - (NSString *)definitionString { \"shape\":\"TagList\",\ \"documentation\":\"

The tags.

\",\ \"locationName\":\"tagSet\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationResponse\",\ + \"documentation\":\"

Describes the options in use for server side encryption.

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

An Amazon Web Services Verified Access endpoint specifies the application that Amazon Web Services Verified Access provides access to. It must be attached to an Amazon Web Services Verified Access group. An Amazon Web Services Verified Access endpoint must also have an attached access policy before you attached it to a group.

\"\ @@ -56432,6 +57002,11 @@ - (NSString *)definitionString { \"shape\":\"TagList\",\ \"documentation\":\"

The tags.

\",\ \"locationName\":\"tagSet\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationResponse\",\ + \"documentation\":\"

Describes the options in use for server side encryption.

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

Describes a Verified Access group.

\"\ @@ -56483,6 +57058,11 @@ - (NSString *)definitionString { \"shape\":\"TagList\",\ \"documentation\":\"

The tags.

\",\ \"locationName\":\"tagSet\"\ + },\ + \"FipsEnabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"

Describes whether support for Federal Information Processing Standards (FIPS) is enabled on the instance.

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

Describes a Verified Access instance.

\"\ @@ -56731,6 +57311,36 @@ - (NSString *)definitionString { },\ \"documentation\":\"

Describes the options for Verified Access logs.

\"\ },\ + \"VerifiedAccessSseSpecificationRequest\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"CustomerManagedKeyEnabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"

Enable or disable the use of customer managed KMS keys for server side encryption.

Valid values: True | False

\"\ + },\ + \"KmsKeyArn\":{\ + \"shape\":\"KmsKeyArn\",\ + \"documentation\":\"

The ARN of the KMS key.

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

Verified Access provides server side encryption by default to data at rest using Amazon Web Services-owned KMS keys. You also have the option of using customer managed KMS keys, which can be specified using the options below.

\"\ + },\ + \"VerifiedAccessSseSpecificationResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"CustomerManagedKeyEnabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"

Describes the use of customer managed KMS keys for server side encryption.

Valid values: True | False

\",\ + \"locationName\":\"customerManagedKeyEnabled\"\ + },\ + \"KmsKeyArn\":{\ + \"shape\":\"KmsKeyArn\",\ + \"documentation\":\"

Describes the ARN of the KMS key.

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

Describes the options in use for server side encryption.

\"\ + },\ \"VerifiedAccessTrustProvider\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -56788,6 +57398,11 @@ - (NSString *)definitionString { \"shape\":\"TagList\",\ \"documentation\":\"

The tags.

\",\ \"locationName\":\"tagSet\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationResponse\",\ + \"documentation\":\"

Describes the options in use for server side encryption.

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

Describes a Verified Access trust provider.

\"\ diff --git a/AWSEC2/AWSEC2Service.h b/AWSEC2/AWSEC2Service.h index b5eb3e5b6ff..9fcf0e099da 100644 --- a/AWSEC2/AWSEC2Service.h +++ b/AWSEC2/AWSEC2Service.h @@ -722,7 +722,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (void)associateIpamResourceDiscovery:(AWSEC2AssociateIpamResourceDiscoveryRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2AssociateIpamResourceDiscoveryResult * _Nullable response, NSError * _Nullable error))completionHandler; /** -

Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information, see Work with NAT gateways in the Amazon VPC User Guide.

By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. You can increase the limit by requesting a quota adjustment. For more information, see Elastic IP address quotas in the Amazon VPC User Guide.

+

Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information, see Work with NAT gateways in the Amazon VPC User Guide.

By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. You can increase the limit by requesting a quota adjustment. For more information, see Elastic IP address quotas in the Amazon VPC User Guide.

When you associate an EIP or secondary EIPs with a public NAT gateway, the network border group of the EIPs must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same, the EIP will fail to associate. You can see the network border group for the subnet's AZ by viewing the details of the subnet. Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information about network border groups and EIPs, see Allocate an Elastic IP address in the Amazon VPC User Guide.

@param request A container for the necessary parameters to execute the AssociateNatGatewayAddress service method. @@ -734,7 +734,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (AWSTask *)associateNatGatewayAddress:(AWSEC2AssociateNatGatewayAddressRequest *)request; /** -

Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information, see Work with NAT gateways in the Amazon VPC User Guide.

By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. You can increase the limit by requesting a quota adjustment. For more information, see Elastic IP address quotas in the Amazon VPC User Guide.

+

Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information, see Work with NAT gateways in the Amazon VPC User Guide.

By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. You can increase the limit by requesting a quota adjustment. For more information, see Elastic IP address quotas in the Amazon VPC User Guide.

When you associate an EIP or secondary EIPs with a public NAT gateway, the network border group of the EIPs must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same, the EIP will fail to associate. You can see the network border group for the subnet's AZ by viewing the details of the subnet. Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information about network border groups and EIPs, see Allocate an Elastic IP address in the Amazon VPC User Guide.

@param request A container for the necessary parameters to execute the AssociateNatGatewayAddress service method. @param completionHandler The completion handler to call when the load request is complete. @@ -2313,7 +2313,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (void)createManagedPrefixList:(AWSEC2CreateManagedPrefixListRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2CreateManagedPrefixListResult * _Nullable response, NSError * _Nullable error))completionHandler; /** -

Creates a NAT gateway in the specified subnet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. You can create either a public NAT gateway or a private NAT gateway.

With a public NAT gateway, internet-bound traffic from a private subnet can be routed to the NAT gateway, so that instances in a private subnet can connect to the internet.

With a private NAT gateway, private communication is routed across VPCs and on-premises networks through a transit gateway or virtual private gateway. Common use cases include running large workloads behind a small pool of allowlisted IPv4 addresses, preserving private IPv4 addresses, and communicating between overlapping networks.

For more information, see NAT gateways in the Amazon VPC User Guide.

+

Creates a NAT gateway in the specified subnet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. You can create either a public NAT gateway or a private NAT gateway.

With a public NAT gateway, internet-bound traffic from a private subnet can be routed to the NAT gateway, so that instances in a private subnet can connect to the internet.

With a private NAT gateway, private communication is routed across VPCs and on-premises networks through a transit gateway or virtual private gateway. Common use cases include running large workloads behind a small pool of allowlisted IPv4 addresses, preserving private IPv4 addresses, and communicating between overlapping networks.

For more information, see NAT gateways in the Amazon VPC User Guide.

When you create a public NAT gateway and assign it an EIP or secondary EIPs, the network border group of the EIPs must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same, the NAT gateway will fail to launch. You can see the network border group for the subnet's AZ by viewing the details of the subnet. Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information about network border groups and EIPs, see Allocate an Elastic IP address in the Amazon VPC User Guide.

@param request A container for the necessary parameters to execute the CreateNatGateway service method. @@ -2325,7 +2325,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (AWSTask *)createNatGateway:(AWSEC2CreateNatGatewayRequest *)request; /** -

Creates a NAT gateway in the specified subnet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. You can create either a public NAT gateway or a private NAT gateway.

With a public NAT gateway, internet-bound traffic from a private subnet can be routed to the NAT gateway, so that instances in a private subnet can connect to the internet.

With a private NAT gateway, private communication is routed across VPCs and on-premises networks through a transit gateway or virtual private gateway. Common use cases include running large workloads behind a small pool of allowlisted IPv4 addresses, preserving private IPv4 addresses, and communicating between overlapping networks.

For more information, see NAT gateways in the Amazon VPC User Guide.

+

Creates a NAT gateway in the specified subnet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. You can create either a public NAT gateway or a private NAT gateway.

With a public NAT gateway, internet-bound traffic from a private subnet can be routed to the NAT gateway, so that instances in a private subnet can connect to the internet.

With a private NAT gateway, private communication is routed across VPCs and on-premises networks through a transit gateway or virtual private gateway. Common use cases include running large workloads behind a small pool of allowlisted IPv4 addresses, preserving private IPv4 addresses, and communicating between overlapping networks.

For more information, see NAT gateways in the Amazon VPC User Guide.

When you create a public NAT gateway and assign it an EIP or secondary EIPs, the network border group of the EIPs must match the network border group of the Availability Zone (AZ) that the public NAT gateway is in. If it's not the same, the NAT gateway will fail to launch. You can see the network border group for the subnet's AZ by viewing the details of the subnet. Similarly, you can view the network border group of an EIP by viewing the details of the EIP address. For more information about network border groups and EIPs, see Allocate an Elastic IP address in the Amazon VPC User Guide.

@param request A container for the necessary parameters to execute the CreateNatGateway service method. @param completionHandler The completion handler to call when the load request is complete. @@ -5159,7 +5159,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (void)deleteVolume:(AWSEC2DeleteVolumeRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /** -

Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.

+

Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on. When you delete the VPC, it deletes the VPC's default security group, network ACL, and route table.

@param request A container for the necessary parameters to execute the DeleteVpc service method. @@ -5170,7 +5170,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (AWSTask *)deleteVpc:(AWSEC2DeleteVpcRequest *)request; /** -

Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.

+

Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on. When you delete the VPC, it deletes the VPC's default security group, network ACL, and route table.

@param request A container for the necessary parameters to execute the DeleteVpc service method. @param completionHandler The completion handler to call when the load request is complete. @@ -5743,6 +5743,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)describeByoipCidrs:(AWSEC2DescribeByoipCidrsRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DescribeByoipCidrsResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.

+ + @param request A container for the necessary parameters to execute the DescribeCapacityBlockOfferings service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2DescribeCapacityBlockOfferingsResult`. + + @see AWSEC2DescribeCapacityBlockOfferingsRequest + @see AWSEC2DescribeCapacityBlockOfferingsResult + */ +- (AWSTask *)describeCapacityBlockOfferings:(AWSEC2DescribeCapacityBlockOfferingsRequest *)request; + +/** +

Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.

+ + @param request A container for the necessary parameters to execute the DescribeCapacityBlockOfferings service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2DescribeCapacityBlockOfferingsRequest + @see AWSEC2DescribeCapacityBlockOfferingsResult + */ +- (void)describeCapacityBlockOfferings:(AWSEC2DescribeCapacityBlockOfferingsRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DescribeCapacityBlockOfferingsResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Describes one or more Capacity Reservation Fleets.

@@ -7494,7 +7519,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (void)describeNetworkInterfacePermissions:(AWSEC2DescribeNetworkInterfacePermissionsRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DescribeNetworkInterfacePermissionsResult * _Nullable response, NSError * _Nullable error))completionHandler; /** -

Describes one or more of your network interfaces.

+

Describes one or more of your network interfaces.

If you have a large number of network interfaces, the operation fails unless you use pagination or one of the following filters: group-id, mac-address, private-dns-name, private-ip-address, private-dns-name, subnet-id, or vpc-id.

@param request A container for the necessary parameters to execute the DescribeNetworkInterfaces service method. @@ -7506,7 +7531,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (AWSTask *)describeNetworkInterfaces:(AWSEC2DescribeNetworkInterfacesRequest *)request; /** -

Describes one or more of your network interfaces.

+

Describes one or more of your network interfaces.

If you have a large number of network interfaces, the operation fails unless you use pagination or one of the following filters: group-id, mac-address, private-dns-name, private-ip-address, private-dns-name, subnet-id, or vpc-id.

@param request A container for the necessary parameters to execute the DescribeNetworkInterfaces service method. @param completionHandler The completion handler to call when the load request is complete. @@ -9409,6 +9434,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)disableFastSnapshotRestores:(AWSEC2DisableFastSnapshotRestoresRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DisableFastSnapshotRestoresResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Sets the AMI state to disabled and removes all launch permissions from the AMI. A disabled AMI can't be used for instance launches.

A disabled AMI can't be shared. If a public or shared AMI was previously shared, it is made private. If an AMI was shared with an Amazon Web Services account, organization, or Organizational Unit, they lose access to the disabled AMI.

A disabled AMI does not appear in DescribeImages API calls by default.

Only the AMI owner can disable an AMI.

You can re-enable a disabled AMI using EnableImage.

For more information, see Disable an AMI in the Amazon EC2 User Guide.

+ + @param request A container for the necessary parameters to execute the DisableImage service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2DisableImageResult`. + + @see AWSEC2DisableImageRequest + @see AWSEC2DisableImageResult + */ +- (AWSTask *)disableImage:(AWSEC2DisableImageRequest *)request; + +/** +

Sets the AMI state to disabled and removes all launch permissions from the AMI. A disabled AMI can't be used for instance launches.

A disabled AMI can't be shared. If a public or shared AMI was previously shared, it is made private. If an AMI was shared with an Amazon Web Services account, organization, or Organizational Unit, they lose access to the disabled AMI.

A disabled AMI does not appear in DescribeImages API calls by default.

Only the AMI owner can disable an AMI.

You can re-enable a disabled AMI using EnableImage.

For more information, see Disable an AMI in the Amazon EC2 User Guide.

+ + @param request A container for the necessary parameters to execute the DisableImage service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2DisableImageRequest + @see AWSEC2DisableImageResult + */ +- (void)disableImage:(AWSEC2DisableImageRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DisableImageResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Disables block public access for AMIs at the account level in the specified Amazon Web Services Region. This removes the block public access restriction from your account. With the restriction removed, you can publicly share your AMIs in the specified Amazon Web Services Region.

The API can take up to 10 minutes to configure this setting. During this time, if you run GetImageBlockPublicAccessState, the response will be block-new-sharing. When the API has completed the configuration, the response will be unblocked.

For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.

@@ -9509,6 +9559,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)disableSerialConsoleAccess:(AWSEC2DisableSerialConsoleAccessRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DisableSerialConsoleAccessResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Disables the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you disable block public access for snapshots in a Region, users can publicly share snapshots in that Region.

If block public access is enabled in block-all-sharing mode, and you disable block public access, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.

For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide .

+ + @param request A container for the necessary parameters to execute the DisableSnapshotBlockPublicAccess service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2DisableSnapshotBlockPublicAccessResult`. + + @see AWSEC2DisableSnapshotBlockPublicAccessRequest + @see AWSEC2DisableSnapshotBlockPublicAccessResult + */ +- (AWSTask *)disableSnapshotBlockPublicAccess:(AWSEC2DisableSnapshotBlockPublicAccessRequest *)request; + +/** +

Disables the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you disable block public access for snapshots in a Region, users can publicly share snapshots in that Region.

If block public access is enabled in block-all-sharing mode, and you disable block public access, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.

For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide .

+ + @param request A container for the necessary parameters to execute the DisableSnapshotBlockPublicAccess service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2DisableSnapshotBlockPublicAccessRequest + @see AWSEC2DisableSnapshotBlockPublicAccessResult + */ +- (void)disableSnapshotBlockPublicAccess:(AWSEC2DisableSnapshotBlockPublicAccessRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DisableSnapshotBlockPublicAccessResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Disables the specified resource attachment from propagating routes to the specified propagation route table.

@@ -10075,6 +10150,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)enableFastSnapshotRestores:(AWSEC2EnableFastSnapshotRestoresRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2EnableFastSnapshotRestoresResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Re-enables a disabled AMI. The re-enabled AMI is marked as available and can be used for instance launches, appears in describe operations, and can be shared. Amazon Web Services accounts, organizations, and Organizational Units that lost access to the AMI when it was disabled do not regain access automatically. Once the AMI is available, it can be shared with them again.

Only the AMI owner can re-enable a disabled AMI.

For more information, see Disable an AMI in the Amazon EC2 User Guide.

+ + @param request A container for the necessary parameters to execute the EnableImage service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2EnableImageResult`. + + @see AWSEC2EnableImageRequest + @see AWSEC2EnableImageResult + */ +- (AWSTask *)enableImage:(AWSEC2EnableImageRequest *)request; + +/** +

Re-enables a disabled AMI. The re-enabled AMI is marked as available and can be used for instance launches, appears in describe operations, and can be shared. Amazon Web Services accounts, organizations, and Organizational Units that lost access to the AMI when it was disabled do not regain access automatically. Once the AMI is available, it can be shared with them again.

Only the AMI owner can re-enable a disabled AMI.

For more information, see Disable an AMI in the Amazon EC2 User Guide.

+ + @param request A container for the necessary parameters to execute the EnableImage service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2EnableImageRequest + @see AWSEC2EnableImageResult + */ +- (void)enableImage:(AWSEC2EnableImageRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2EnableImageResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Enables block public access for AMIs at the account level in the specified Amazon Web Services Region. This prevents the public sharing of your AMIs. However, if you already have public AMIs, they will remain publicly available.

The API can take up to 10 minutes to configure this setting. During this time, if you run GetImageBlockPublicAccessState, the response will be unblocked. When the API has completed the configuration, the response will be block-new-sharing.

For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.

@@ -10200,6 +10300,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)enableSerialConsoleAccess:(AWSEC2EnableSerialConsoleAccessRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2EnableSerialConsoleAccessResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Enables or modifies the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you enable block public access for snapshots in a Region, users can no longer request public sharing for snapshots in that Region. Snapshots that are already publicly shared are either treated as private or they remain publicly shared, depending on the State that you specify.

If block public access is enabled in block-all-sharing mode, and you change the mode to block-new-sharing, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.

For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.

+ + @param request A container for the necessary parameters to execute the EnableSnapshotBlockPublicAccess service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2EnableSnapshotBlockPublicAccessResult`. + + @see AWSEC2EnableSnapshotBlockPublicAccessRequest + @see AWSEC2EnableSnapshotBlockPublicAccessResult + */ +- (AWSTask *)enableSnapshotBlockPublicAccess:(AWSEC2EnableSnapshotBlockPublicAccessRequest *)request; + +/** +

Enables or modifies the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you enable block public access for snapshots in a Region, users can no longer request public sharing for snapshots in that Region. Snapshots that are already publicly shared are either treated as private or they remain publicly shared, depending on the State that you specify.

If block public access is enabled in block-all-sharing mode, and you change the mode to block-new-sharing, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.

For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.

+ + @param request A container for the necessary parameters to execute the EnableSnapshotBlockPublicAccess service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2EnableSnapshotBlockPublicAccessRequest + @see AWSEC2EnableSnapshotBlockPublicAccessResult + */ +- (void)enableSnapshotBlockPublicAccess:(AWSEC2EnableSnapshotBlockPublicAccessRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2EnableSnapshotBlockPublicAccessResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Enables the specified attachment to propagate routes to the specified propagation route table.

@@ -11144,6 +11269,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)getReservedInstancesExchangeQuote:(AWSEC2GetReservedInstancesExchangeQuoteRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2GetReservedInstancesExchangeQuoteResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.

+ + @param request A container for the necessary parameters to execute the GetSecurityGroupsForVpc service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2GetSecurityGroupsForVpcResult`. + + @see AWSEC2GetSecurityGroupsForVpcRequest + @see AWSEC2GetSecurityGroupsForVpcResult + */ +- (AWSTask *)getSecurityGroupsForVpc:(AWSEC2GetSecurityGroupsForVpcRequest *)request; + +/** +

Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.

+ + @param request A container for the necessary parameters to execute the GetSecurityGroupsForVpc service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2GetSecurityGroupsForVpcRequest + @see AWSEC2GetSecurityGroupsForVpcResult + */ +- (void)getSecurityGroupsForVpc:(AWSEC2GetSecurityGroupsForVpcRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2GetSecurityGroupsForVpcResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Retrieves the access status of your account to the EC2 serial console of all instances. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.

@@ -11169,6 +11319,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)getSerialConsoleAccessStatus:(AWSEC2GetSerialConsoleAccessStatusRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2GetSerialConsoleAccessStatusResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Gets the current state of block public access for snapshots setting for the account and Region.

For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.

+ + @param request A container for the necessary parameters to execute the GetSnapshotBlockPublicAccessState service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2GetSnapshotBlockPublicAccessStateResult`. + + @see AWSEC2GetSnapshotBlockPublicAccessStateRequest + @see AWSEC2GetSnapshotBlockPublicAccessStateResult + */ +- (AWSTask *)getSnapshotBlockPublicAccessState:(AWSEC2GetSnapshotBlockPublicAccessStateRequest *)request; + +/** +

Gets the current state of block public access for snapshots setting for the account and Region.

For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.

+ + @param request A container for the necessary parameters to execute the GetSnapshotBlockPublicAccessState service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2GetSnapshotBlockPublicAccessStateRequest + @see AWSEC2GetSnapshotBlockPublicAccessStateResult + */ +- (void)getSnapshotBlockPublicAccessState:(AWSEC2GetSnapshotBlockPublicAccessStateRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2GetSnapshotBlockPublicAccessStateResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Calculates the Spot placement score for a Region or Availability Zone based on the specified target capacity and compute requirements.

You can specify your compute requirements either by using InstanceRequirementsWithMetadata and letting Amazon EC2 choose the optimal instance types to fulfill your Spot request, or you can specify the instance types by using InstanceTypes.

For more information, see Spot placement score in the Amazon EC2 User Guide.

@@ -13442,6 +13617,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)provisionPublicIpv4PoolCidr:(AWSEC2ProvisionPublicIpv4PoolCidrRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2ProvisionPublicIpv4PoolCidrResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +

Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.

+ + @param request A container for the necessary parameters to execute the PurchaseCapacityBlock service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2PurchaseCapacityBlockResult`. + + @see AWSEC2PurchaseCapacityBlockRequest + @see AWSEC2PurchaseCapacityBlockResult + */ +- (AWSTask *)purchaseCapacityBlock:(AWSEC2PurchaseCapacityBlockRequest *)request; + +/** +

Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.

+ + @param request A container for the necessary parameters to execute the PurchaseCapacityBlock service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2PurchaseCapacityBlockRequest + @see AWSEC2PurchaseCapacityBlockResult + */ +- (void)purchaseCapacityBlock:(AWSEC2PurchaseCapacityBlockRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2PurchaseCapacityBlockResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**

Purchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account.

@@ -14416,7 +14616,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (void)revokeSecurityGroupEgress:(AWSEC2RevokeSecurityGroupEgressRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2RevokeSecurityGroupEgressResult * _Nullable response, NSError * _Nullable error))completionHandler; /** -

Removes the specified inbound (ingress) rules from a security group.

You can specify rules using either rule IDs or security group rule properties. If you use rule properties, the values that you specify (for example, ports) must match the existing rule's values exactly. Each rule has a protocol, from and to ports, and source (CIDR range, security group, or prefix list). For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not need to specify the description to revoke the rule.

For a default VPC, if the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked.

Amazon Web Services recommends that you describe the security group to verify that the rules were removed.

Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.

+

Removes the specified inbound (ingress) rules from a security group.

You can specify rules using either rule IDs or security group rule properties. If you use rule properties, the values that you specify (for example, ports) must match the existing rule's values exactly. Each rule has a protocol, from and to ports, and source (CIDR range, security group, or prefix list). For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not need to specify the description to revoke the rule.

For a default VPC, if the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked.

For a non-default VPC, if the values you specify do not match the existing rule's values, an InvalidPermission.NotFound client error is returned, and no rules are revoked.

Amazon Web Services recommends that you describe the security group to verify that the rules were removed.

Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.

@param request A container for the necessary parameters to execute the RevokeSecurityGroupIngress service method. @@ -14428,7 +14628,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (AWSTask *)revokeSecurityGroupIngress:(AWSEC2RevokeSecurityGroupIngressRequest *)request; /** -

Removes the specified inbound (ingress) rules from a security group.

You can specify rules using either rule IDs or security group rule properties. If you use rule properties, the values that you specify (for example, ports) must match the existing rule's values exactly. Each rule has a protocol, from and to ports, and source (CIDR range, security group, or prefix list). For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not need to specify the description to revoke the rule.

For a default VPC, if the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked.

Amazon Web Services recommends that you describe the security group to verify that the rules were removed.

Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.

+

Removes the specified inbound (ingress) rules from a security group.

You can specify rules using either rule IDs or security group rule properties. If you use rule properties, the values that you specify (for example, ports) must match the existing rule's values exactly. Each rule has a protocol, from and to ports, and source (CIDR range, security group, or prefix list). For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code. If the security group rule has a description, you do not need to specify the description to revoke the rule.

For a default VPC, if the values you specify do not match the existing rule's values, no error is returned, and the output describes the security group rules that were not revoked.

For a non-default VPC, if the values you specify do not match the existing rule's values, an InvalidPermission.NotFound client error is returned, and no rules are revoked.

Amazon Web Services recommends that you describe the security group to verify that the rules were removed.

Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.

@param request A container for the necessary parameters to execute the RevokeSecurityGroupIngress service method. @param completionHandler The completion handler to call when the load request is complete. diff --git a/AWSEC2/AWSEC2Service.m b/AWSEC2/AWSEC2Service.m index c98a6be897c..90b0eff0947 100644 --- a/AWSEC2/AWSEC2Service.m +++ b/AWSEC2/AWSEC2Service.m @@ -5442,6 +5442,29 @@ - (void)describeByoipCidrs:(AWSEC2DescribeByoipCidrsRequest *)request }]; } +- (AWSTask *)describeCapacityBlockOfferings:(AWSEC2DescribeCapacityBlockOfferingsRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"" + targetPrefix:@"" + operationName:@"DescribeCapacityBlockOfferings" + outputClass:[AWSEC2DescribeCapacityBlockOfferingsResult class]]; +} + +- (void)describeCapacityBlockOfferings:(AWSEC2DescribeCapacityBlockOfferingsRequest *)request + completionHandler:(void (^)(AWSEC2DescribeCapacityBlockOfferingsResult *response, NSError *error))completionHandler { + [[self describeCapacityBlockOfferings:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSEC2DescribeCapacityBlockOfferingsResult *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)describeCapacityReservationFleets:(AWSEC2DescribeCapacityReservationFleetsRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -8820,6 +8843,29 @@ - (void)disableFastSnapshotRestores:(AWSEC2DisableFastSnapshotRestoresRequest *) }]; } +- (AWSTask *)disableImage:(AWSEC2DisableImageRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"" + targetPrefix:@"" + operationName:@"DisableImage" + outputClass:[AWSEC2DisableImageResult class]]; +} + +- (void)disableImage:(AWSEC2DisableImageRequest *)request + completionHandler:(void (^)(AWSEC2DisableImageResult *response, NSError *error))completionHandler { + [[self disableImage:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSEC2DisableImageResult *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)disableImageBlockPublicAccess:(AWSEC2DisableImageBlockPublicAccessRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -8912,6 +8958,29 @@ - (void)disableSerialConsoleAccess:(AWSEC2DisableSerialConsoleAccessRequest *)re }]; } +- (AWSTask *)disableSnapshotBlockPublicAccess:(AWSEC2DisableSnapshotBlockPublicAccessRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"" + targetPrefix:@"" + operationName:@"DisableSnapshotBlockPublicAccess" + outputClass:[AWSEC2DisableSnapshotBlockPublicAccessResult class]]; +} + +- (void)disableSnapshotBlockPublicAccess:(AWSEC2DisableSnapshotBlockPublicAccessRequest *)request + completionHandler:(void (^)(AWSEC2DisableSnapshotBlockPublicAccessResult *response, NSError *error))completionHandler { + [[self disableSnapshotBlockPublicAccess:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSEC2DisableSnapshotBlockPublicAccessResult *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)disableTransitGatewayRouteTablePropagation:(AWSEC2DisableTransitGatewayRouteTablePropagationRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -9438,6 +9507,29 @@ - (void)enableFastSnapshotRestores:(AWSEC2EnableFastSnapshotRestoresRequest *)re }]; } +- (AWSTask *)enableImage:(AWSEC2EnableImageRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"" + targetPrefix:@"" + operationName:@"EnableImage" + outputClass:[AWSEC2EnableImageResult class]]; +} + +- (void)enableImage:(AWSEC2EnableImageRequest *)request + completionHandler:(void (^)(AWSEC2EnableImageResult *response, NSError *error))completionHandler { + [[self enableImage:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSEC2EnableImageResult *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)enableImageBlockPublicAccess:(AWSEC2EnableImageBlockPublicAccessRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -9553,6 +9645,29 @@ - (void)enableSerialConsoleAccess:(AWSEC2EnableSerialConsoleAccessRequest *)requ }]; } +- (AWSTask *)enableSnapshotBlockPublicAccess:(AWSEC2EnableSnapshotBlockPublicAccessRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"" + targetPrefix:@"" + operationName:@"EnableSnapshotBlockPublicAccess" + outputClass:[AWSEC2EnableSnapshotBlockPublicAccessResult class]]; +} + +- (void)enableSnapshotBlockPublicAccess:(AWSEC2EnableSnapshotBlockPublicAccessRequest *)request + completionHandler:(void (^)(AWSEC2EnableSnapshotBlockPublicAccessResult *response, NSError *error))completionHandler { + [[self enableSnapshotBlockPublicAccess:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSEC2EnableSnapshotBlockPublicAccessResult *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)enableTransitGatewayRouteTablePropagation:(AWSEC2EnableTransitGatewayRouteTablePropagationRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -10425,6 +10540,29 @@ - (void)getReservedInstancesExchangeQuote:(AWSEC2GetReservedInstancesExchangeQuo }]; } +- (AWSTask *)getSecurityGroupsForVpc:(AWSEC2GetSecurityGroupsForVpcRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"" + targetPrefix:@"" + operationName:@"GetSecurityGroupsForVpc" + outputClass:[AWSEC2GetSecurityGroupsForVpcResult class]]; +} + +- (void)getSecurityGroupsForVpc:(AWSEC2GetSecurityGroupsForVpcRequest *)request + completionHandler:(void (^)(AWSEC2GetSecurityGroupsForVpcResult *response, NSError *error))completionHandler { + [[self getSecurityGroupsForVpc:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSEC2GetSecurityGroupsForVpcResult *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)getSerialConsoleAccessStatus:(AWSEC2GetSerialConsoleAccessStatusRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -10448,6 +10586,29 @@ - (void)getSerialConsoleAccessStatus:(AWSEC2GetSerialConsoleAccessStatusRequest }]; } +- (AWSTask *)getSnapshotBlockPublicAccessState:(AWSEC2GetSnapshotBlockPublicAccessStateRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"" + targetPrefix:@"" + operationName:@"GetSnapshotBlockPublicAccessState" + outputClass:[AWSEC2GetSnapshotBlockPublicAccessStateResult class]]; +} + +- (void)getSnapshotBlockPublicAccessState:(AWSEC2GetSnapshotBlockPublicAccessStateRequest *)request + completionHandler:(void (^)(AWSEC2GetSnapshotBlockPublicAccessStateResult *response, NSError *error))completionHandler { + [[self getSnapshotBlockPublicAccessState:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSEC2GetSnapshotBlockPublicAccessStateResult *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)getSpotPlacementScores:(AWSEC2GetSpotPlacementScoresRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST @@ -12555,6 +12716,29 @@ - (void)provisionPublicIpv4PoolCidr:(AWSEC2ProvisionPublicIpv4PoolCidrRequest *) }]; } +- (AWSTask *)purchaseCapacityBlock:(AWSEC2PurchaseCapacityBlockRequest *)request { + return [self invokeRequest:request + HTTPMethod:AWSHTTPMethodPOST + URLString:@"" + targetPrefix:@"" + operationName:@"PurchaseCapacityBlock" + outputClass:[AWSEC2PurchaseCapacityBlockResult class]]; +} + +- (void)purchaseCapacityBlock:(AWSEC2PurchaseCapacityBlockRequest *)request + completionHandler:(void (^)(AWSEC2PurchaseCapacityBlockResult *response, NSError *error))completionHandler { + [[self purchaseCapacityBlock:request] continueWithBlock:^id _Nullable(AWSTask * _Nonnull task) { + AWSEC2PurchaseCapacityBlockResult *result = task.result; + NSError *error = task.error; + + if (completionHandler) { + completionHandler(result, error); + } + + return nil; + }]; +} + - (AWSTask *)purchaseHostReservation:(AWSEC2PurchaseHostReservationRequest *)request { return [self invokeRequest:request HTTPMethod:AWSHTTPMethodPOST diff --git a/AWSEC2UnitTests/AWSEC2NSSecureCodingTests.m b/AWSEC2UnitTests/AWSEC2NSSecureCodingTests.m index d7cbfb8a321..876b0a941bc 100644 --- a/AWSEC2UnitTests/AWSEC2NSSecureCodingTests.m +++ b/AWSEC2UnitTests/AWSEC2NSSecureCodingTests.m @@ -166,6 +166,7 @@ - (void) test_AWSEC2CancelSpotInstanceRequestsRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2CancelSpotInstanceRequestsResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2CancelledSpotInstanceRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2CapacityAllocation API_AVAILABLE(ios(11)); +- (void) test_AWSEC2CapacityBlockOffering API_AVAILABLE(ios(11)); - (void) test_AWSEC2CapacityReservation API_AVAILABLE(ios(11)); - (void) test_AWSEC2CapacityReservationFleet API_AVAILABLE(ios(11)); - (void) test_AWSEC2CapacityReservationFleetCancellationState API_AVAILABLE(ios(11)); @@ -562,6 +563,8 @@ - (void) test_AWSEC2DescribeBundleTasksRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2DescribeBundleTasksResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2DescribeByoipCidrsRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2DescribeByoipCidrsResult API_AVAILABLE(ios(11)); +- (void) test_AWSEC2DescribeCapacityBlockOfferingsRequest API_AVAILABLE(ios(11)); +- (void) test_AWSEC2DescribeCapacityBlockOfferingsResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2DescribeCapacityReservationFleetsRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2DescribeCapacityReservationFleetsResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2DescribeCapacityReservationsRequest API_AVAILABLE(ios(11)); @@ -869,10 +872,14 @@ - (void) test_AWSEC2DisableImageBlockPublicAccessRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2DisableImageBlockPublicAccessResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2DisableImageDeprecationRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2DisableImageDeprecationResult API_AVAILABLE(ios(11)); +- (void) test_AWSEC2DisableImageRequest API_AVAILABLE(ios(11)); +- (void) test_AWSEC2DisableImageResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2DisableIpamOrganizationAdminAccountRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2DisableIpamOrganizationAdminAccountResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2DisableSerialConsoleAccessRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2DisableSerialConsoleAccessResult API_AVAILABLE(ios(11)); +- (void) test_AWSEC2DisableSnapshotBlockPublicAccessRequest API_AVAILABLE(ios(11)); +- (void) test_AWSEC2DisableSnapshotBlockPublicAccessResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2DisableTransitGatewayRouteTablePropagationRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2DisableTransitGatewayRouteTablePropagationResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2DisableVgwRoutePropagationRequest API_AVAILABLE(ios(11)); @@ -950,12 +957,16 @@ - (void) test_AWSEC2EnableImageBlockPublicAccessRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableImageBlockPublicAccessResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableImageDeprecationRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableImageDeprecationResult API_AVAILABLE(ios(11)); +- (void) test_AWSEC2EnableImageRequest API_AVAILABLE(ios(11)); +- (void) test_AWSEC2EnableImageResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableIpamOrganizationAdminAccountRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableIpamOrganizationAdminAccountResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableReachabilityAnalyzerOrganizationSharingRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableReachabilityAnalyzerOrganizationSharingResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableSerialConsoleAccessRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableSerialConsoleAccessResult API_AVAILABLE(ios(11)); +- (void) test_AWSEC2EnableSnapshotBlockPublicAccessRequest API_AVAILABLE(ios(11)); +- (void) test_AWSEC2EnableSnapshotBlockPublicAccessResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableTransitGatewayRouteTablePropagationRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableTransitGatewayRouteTablePropagationResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2EnableVgwRoutePropagationRequest API_AVAILABLE(ios(11)); @@ -1071,8 +1082,12 @@ - (void) test_AWSEC2GetPasswordDataRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2GetPasswordDataResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2GetReservedInstancesExchangeQuoteRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2GetReservedInstancesExchangeQuoteResult API_AVAILABLE(ios(11)); +- (void) test_AWSEC2GetSecurityGroupsForVpcRequest API_AVAILABLE(ios(11)); +- (void) test_AWSEC2GetSecurityGroupsForVpcResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2GetSerialConsoleAccessStatusRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2GetSerialConsoleAccessStatusResult API_AVAILABLE(ios(11)); +- (void) test_AWSEC2GetSnapshotBlockPublicAccessStateRequest API_AVAILABLE(ios(11)); +- (void) test_AWSEC2GetSnapshotBlockPublicAccessStateResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2GetSpotPlacementScoresRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2GetSpotPlacementScoresResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2GetSubnetCidrReservationsRequest API_AVAILABLE(ios(11)); @@ -1520,6 +1535,8 @@ - (void) test_AWSEC2PtrUpdateStatus API_AVAILABLE(ios(11)); - (void) test_AWSEC2PublicIpv4Pool API_AVAILABLE(ios(11)); - (void) test_AWSEC2PublicIpv4PoolRange API_AVAILABLE(ios(11)); - (void) test_AWSEC2Purchase API_AVAILABLE(ios(11)); +- (void) test_AWSEC2PurchaseCapacityBlockRequest API_AVAILABLE(ios(11)); +- (void) test_AWSEC2PurchaseCapacityBlockResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2PurchaseHostReservationRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2PurchaseHostReservationResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2PurchaseRequest API_AVAILABLE(ios(11)); @@ -1654,6 +1671,7 @@ - (void) test_AWSEC2SearchTransitGatewayMulticastGroupsResult API_AVAILABLE(ios( - (void) test_AWSEC2SearchTransitGatewayRoutesRequest API_AVAILABLE(ios(11)); - (void) test_AWSEC2SearchTransitGatewayRoutesResult API_AVAILABLE(ios(11)); - (void) test_AWSEC2SecurityGroup API_AVAILABLE(ios(11)); +- (void) test_AWSEC2SecurityGroupForVpc API_AVAILABLE(ios(11)); - (void) test_AWSEC2SecurityGroupIdentifier API_AVAILABLE(ios(11)); - (void) test_AWSEC2SecurityGroupReference API_AVAILABLE(ios(11)); - (void) test_AWSEC2SecurityGroupRule API_AVAILABLE(ios(11)); @@ -1824,6 +1842,8 @@ - (void) test_AWSEC2VerifiedAccessLogOptions API_AVAILABLE(ios(11)); - (void) test_AWSEC2VerifiedAccessLogS3Destination API_AVAILABLE(ios(11)); - (void) test_AWSEC2VerifiedAccessLogS3DestinationOptions API_AVAILABLE(ios(11)); - (void) test_AWSEC2VerifiedAccessLogs API_AVAILABLE(ios(11)); +- (void) test_AWSEC2VerifiedAccessSseSpecificationRequest API_AVAILABLE(ios(11)); +- (void) test_AWSEC2VerifiedAccessSseSpecificationResponse API_AVAILABLE(ios(11)); - (void) test_AWSEC2VerifiedAccessTrustProvider API_AVAILABLE(ios(11)); - (void) test_AWSEC2VerifiedAccessTrustProviderCondensed API_AVAILABLE(ios(11)); - (void) test_AWSEC2VgwTelemetry API_AVAILABLE(ios(11)); @@ -2453,6 +2473,10 @@ - (void) test_AWSEC2CapacityAllocation { [self validateSecureCodingForClass:[AWSEC2CapacityAllocation class]]; } +- (void) test_AWSEC2CapacityBlockOffering { + [self validateSecureCodingForClass:[AWSEC2CapacityBlockOffering class]]; +} + - (void) test_AWSEC2CapacityReservation { [self validateSecureCodingForClass:[AWSEC2CapacityReservation class]]; } @@ -4037,6 +4061,14 @@ - (void) test_AWSEC2DescribeByoipCidrsResult { [self validateSecureCodingForClass:[AWSEC2DescribeByoipCidrsResult class]]; } +- (void) test_AWSEC2DescribeCapacityBlockOfferingsRequest { + [self validateSecureCodingForClass:[AWSEC2DescribeCapacityBlockOfferingsRequest class]]; +} + +- (void) test_AWSEC2DescribeCapacityBlockOfferingsResult { + [self validateSecureCodingForClass:[AWSEC2DescribeCapacityBlockOfferingsResult class]]; +} + - (void) test_AWSEC2DescribeCapacityReservationFleetsRequest { [self validateSecureCodingForClass:[AWSEC2DescribeCapacityReservationFleetsRequest class]]; } @@ -5265,6 +5297,14 @@ - (void) test_AWSEC2DisableImageDeprecationResult { [self validateSecureCodingForClass:[AWSEC2DisableImageDeprecationResult class]]; } +- (void) test_AWSEC2DisableImageRequest { + [self validateSecureCodingForClass:[AWSEC2DisableImageRequest class]]; +} + +- (void) test_AWSEC2DisableImageResult { + [self validateSecureCodingForClass:[AWSEC2DisableImageResult class]]; +} + - (void) test_AWSEC2DisableIpamOrganizationAdminAccountRequest { [self validateSecureCodingForClass:[AWSEC2DisableIpamOrganizationAdminAccountRequest class]]; } @@ -5281,6 +5321,14 @@ - (void) test_AWSEC2DisableSerialConsoleAccessResult { [self validateSecureCodingForClass:[AWSEC2DisableSerialConsoleAccessResult class]]; } +- (void) test_AWSEC2DisableSnapshotBlockPublicAccessRequest { + [self validateSecureCodingForClass:[AWSEC2DisableSnapshotBlockPublicAccessRequest class]]; +} + +- (void) test_AWSEC2DisableSnapshotBlockPublicAccessResult { + [self validateSecureCodingForClass:[AWSEC2DisableSnapshotBlockPublicAccessResult class]]; +} + - (void) test_AWSEC2DisableTransitGatewayRouteTablePropagationRequest { [self validateSecureCodingForClass:[AWSEC2DisableTransitGatewayRouteTablePropagationRequest class]]; } @@ -5589,6 +5637,14 @@ - (void) test_AWSEC2EnableImageDeprecationResult { [self validateSecureCodingForClass:[AWSEC2EnableImageDeprecationResult class]]; } +- (void) test_AWSEC2EnableImageRequest { + [self validateSecureCodingForClass:[AWSEC2EnableImageRequest class]]; +} + +- (void) test_AWSEC2EnableImageResult { + [self validateSecureCodingForClass:[AWSEC2EnableImageResult class]]; +} + - (void) test_AWSEC2EnableIpamOrganizationAdminAccountRequest { [self validateSecureCodingForClass:[AWSEC2EnableIpamOrganizationAdminAccountRequest class]]; } @@ -5613,6 +5669,14 @@ - (void) test_AWSEC2EnableSerialConsoleAccessResult { [self validateSecureCodingForClass:[AWSEC2EnableSerialConsoleAccessResult class]]; } +- (void) test_AWSEC2EnableSnapshotBlockPublicAccessRequest { + [self validateSecureCodingForClass:[AWSEC2EnableSnapshotBlockPublicAccessRequest class]]; +} + +- (void) test_AWSEC2EnableSnapshotBlockPublicAccessResult { + [self validateSecureCodingForClass:[AWSEC2EnableSnapshotBlockPublicAccessResult class]]; +} + - (void) test_AWSEC2EnableTransitGatewayRouteTablePropagationRequest { [self validateSecureCodingForClass:[AWSEC2EnableTransitGatewayRouteTablePropagationRequest class]]; } @@ -6073,6 +6137,14 @@ - (void) test_AWSEC2GetReservedInstancesExchangeQuoteResult { [self validateSecureCodingForClass:[AWSEC2GetReservedInstancesExchangeQuoteResult class]]; } +- (void) test_AWSEC2GetSecurityGroupsForVpcRequest { + [self validateSecureCodingForClass:[AWSEC2GetSecurityGroupsForVpcRequest class]]; +} + +- (void) test_AWSEC2GetSecurityGroupsForVpcResult { + [self validateSecureCodingForClass:[AWSEC2GetSecurityGroupsForVpcResult class]]; +} + - (void) test_AWSEC2GetSerialConsoleAccessStatusRequest { [self validateSecureCodingForClass:[AWSEC2GetSerialConsoleAccessStatusRequest class]]; } @@ -6081,6 +6153,14 @@ - (void) test_AWSEC2GetSerialConsoleAccessStatusResult { [self validateSecureCodingForClass:[AWSEC2GetSerialConsoleAccessStatusResult class]]; } +- (void) test_AWSEC2GetSnapshotBlockPublicAccessStateRequest { + [self validateSecureCodingForClass:[AWSEC2GetSnapshotBlockPublicAccessStateRequest class]]; +} + +- (void) test_AWSEC2GetSnapshotBlockPublicAccessStateResult { + [self validateSecureCodingForClass:[AWSEC2GetSnapshotBlockPublicAccessStateResult class]]; +} + - (void) test_AWSEC2GetSpotPlacementScoresRequest { [self validateSecureCodingForClass:[AWSEC2GetSpotPlacementScoresRequest class]]; } @@ -7869,6 +7949,14 @@ - (void) test_AWSEC2Purchase { [self validateSecureCodingForClass:[AWSEC2Purchase class]]; } +- (void) test_AWSEC2PurchaseCapacityBlockRequest { + [self validateSecureCodingForClass:[AWSEC2PurchaseCapacityBlockRequest class]]; +} + +- (void) test_AWSEC2PurchaseCapacityBlockResult { + [self validateSecureCodingForClass:[AWSEC2PurchaseCapacityBlockResult class]]; +} + - (void) test_AWSEC2PurchaseHostReservationRequest { [self validateSecureCodingForClass:[AWSEC2PurchaseHostReservationRequest class]]; } @@ -8405,6 +8493,10 @@ - (void) test_AWSEC2SecurityGroup { [self validateSecureCodingForClass:[AWSEC2SecurityGroup class]]; } +- (void) test_AWSEC2SecurityGroupForVpc { + [self validateSecureCodingForClass:[AWSEC2SecurityGroupForVpc class]]; +} + - (void) test_AWSEC2SecurityGroupIdentifier { [self validateSecureCodingForClass:[AWSEC2SecurityGroupIdentifier class]]; } @@ -9085,6 +9177,14 @@ - (void) test_AWSEC2VerifiedAccessLogs { [self validateSecureCodingForClass:[AWSEC2VerifiedAccessLogs class]]; } +- (void) test_AWSEC2VerifiedAccessSseSpecificationRequest { + [self validateSecureCodingForClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + +- (void) test_AWSEC2VerifiedAccessSseSpecificationResponse { + [self validateSecureCodingForClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + - (void) test_AWSEC2VerifiedAccessTrustProvider { [self validateSecureCodingForClass:[AWSEC2VerifiedAccessTrustProvider class]]; } diff --git a/AWSEC2UnitTests/AWSGeneralEC2Tests.m b/AWSEC2UnitTests/AWSGeneralEC2Tests.m index 2c0c8b6c7e8..b4f48f3b883 100644 --- a/AWSEC2UnitTests/AWSGeneralEC2Tests.m +++ b/AWSEC2UnitTests/AWSGeneralEC2Tests.m @@ -10878,6 +10878,54 @@ - (void)testDescribeByoipCidrsCompletionHandler { [AWSEC2 removeEC2ForKey:key]; } +- (void)testDescribeCapacityBlockOfferings { + NSString *key = @"testDescribeCapacityBlockOfferings"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSEC2 EC2ForKey:key] describeCapacityBlockOfferings:[AWSEC2DescribeCapacityBlockOfferingsRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + +- (void)testDescribeCapacityBlockOfferingsCompletionHandler { + NSString *key = @"testDescribeCapacityBlockOfferings"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSEC2 EC2ForKey:key] describeCapacityBlockOfferings:[AWSEC2DescribeCapacityBlockOfferingsRequest new] completionHandler:^(AWSEC2DescribeCapacityBlockOfferingsResult* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + - (void)testDescribeCapacityReservationFleets { NSString *key = @"testDescribeCapacityReservationFleets"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -17931,6 +17979,54 @@ - (void)testDisableFastSnapshotRestoresCompletionHandler { [AWSEC2 removeEC2ForKey:key]; } +- (void)testDisableImage { + NSString *key = @"testDisableImage"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSEC2 EC2ForKey:key] disableImage:[AWSEC2DisableImageRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + +- (void)testDisableImageCompletionHandler { + NSString *key = @"testDisableImage"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSEC2 EC2ForKey:key] disableImage:[AWSEC2DisableImageRequest new] completionHandler:^(AWSEC2DisableImageResult* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + - (void)testDisableImageBlockPublicAccess { NSString *key = @"testDisableImageBlockPublicAccess"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -18123,6 +18219,54 @@ - (void)testDisableSerialConsoleAccessCompletionHandler { [AWSEC2 removeEC2ForKey:key]; } +- (void)testDisableSnapshotBlockPublicAccess { + NSString *key = @"testDisableSnapshotBlockPublicAccess"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSEC2 EC2ForKey:key] disableSnapshotBlockPublicAccess:[AWSEC2DisableSnapshotBlockPublicAccessRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + +- (void)testDisableSnapshotBlockPublicAccessCompletionHandler { + NSString *key = @"testDisableSnapshotBlockPublicAccess"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSEC2 EC2ForKey:key] disableSnapshotBlockPublicAccess:[AWSEC2DisableSnapshotBlockPublicAccessRequest new] completionHandler:^(AWSEC2DisableSnapshotBlockPublicAccessResult* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + - (void)testDisableTransitGatewayRouteTablePropagation { NSString *key = @"testDisableTransitGatewayRouteTablePropagation"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -19224,6 +19368,54 @@ - (void)testEnableFastSnapshotRestoresCompletionHandler { [AWSEC2 removeEC2ForKey:key]; } +- (void)testEnableImage { + NSString *key = @"testEnableImage"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSEC2 EC2ForKey:key] enableImage:[AWSEC2EnableImageRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + +- (void)testEnableImageCompletionHandler { + NSString *key = @"testEnableImage"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSEC2 EC2ForKey:key] enableImage:[AWSEC2EnableImageRequest new] completionHandler:^(AWSEC2EnableImageResult* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + - (void)testEnableImageBlockPublicAccess { NSString *key = @"testEnableImageBlockPublicAccess"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -19464,6 +19656,54 @@ - (void)testEnableSerialConsoleAccessCompletionHandler { [AWSEC2 removeEC2ForKey:key]; } +- (void)testEnableSnapshotBlockPublicAccess { + NSString *key = @"testEnableSnapshotBlockPublicAccess"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSEC2 EC2ForKey:key] enableSnapshotBlockPublicAccess:[AWSEC2EnableSnapshotBlockPublicAccessRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + +- (void)testEnableSnapshotBlockPublicAccessCompletionHandler { + NSString *key = @"testEnableSnapshotBlockPublicAccess"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSEC2 EC2ForKey:key] enableSnapshotBlockPublicAccess:[AWSEC2EnableSnapshotBlockPublicAccessRequest new] completionHandler:^(AWSEC2EnableSnapshotBlockPublicAccessResult* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + - (void)testEnableTransitGatewayRouteTablePropagation { NSString *key = @"testEnableTransitGatewayRouteTablePropagation"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -21286,6 +21526,54 @@ - (void)testGetReservedInstancesExchangeQuoteCompletionHandler { [AWSEC2 removeEC2ForKey:key]; } +- (void)testGetSecurityGroupsForVpc { + NSString *key = @"testGetSecurityGroupsForVpc"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSEC2 EC2ForKey:key] getSecurityGroupsForVpc:[AWSEC2GetSecurityGroupsForVpcRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + +- (void)testGetSecurityGroupsForVpcCompletionHandler { + NSString *key = @"testGetSecurityGroupsForVpc"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSEC2 EC2ForKey:key] getSecurityGroupsForVpc:[AWSEC2GetSecurityGroupsForVpcRequest new] completionHandler:^(AWSEC2GetSecurityGroupsForVpcResult* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + - (void)testGetSerialConsoleAccessStatus { NSString *key = @"testGetSerialConsoleAccessStatus"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -21334,6 +21622,54 @@ - (void)testGetSerialConsoleAccessStatusCompletionHandler { [AWSEC2 removeEC2ForKey:key]; } +- (void)testGetSnapshotBlockPublicAccessState { + NSString *key = @"testGetSnapshotBlockPublicAccessState"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSEC2 EC2ForKey:key] getSnapshotBlockPublicAccessState:[AWSEC2GetSnapshotBlockPublicAccessStateRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + +- (void)testGetSnapshotBlockPublicAccessStateCompletionHandler { + NSString *key = @"testGetSnapshotBlockPublicAccessState"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSEC2 EC2ForKey:key] getSnapshotBlockPublicAccessState:[AWSEC2GetSnapshotBlockPublicAccessStateRequest new] completionHandler:^(AWSEC2GetSnapshotBlockPublicAccessStateResult* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + - (void)testGetSpotPlacementScores { NSString *key = @"testGetSpotPlacementScores"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; @@ -25741,6 +26077,54 @@ - (void)testProvisionPublicIpv4PoolCidrCompletionHandler { [AWSEC2 removeEC2ForKey:key]; } +- (void)testPurchaseCapacityBlock { + NSString *key = @"testPurchaseCapacityBlock"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + [[[[AWSEC2 EC2ForKey:key] purchaseCapacityBlock:[AWSEC2PurchaseCapacityBlockRequest new]] continueWithBlock:^id(AWSTask *task) { + XCTAssertNotNil(task.error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", task.error.domain); + XCTAssertEqual(8848, task.error.code); + XCTAssertNil(task.result); + return nil; + }] waitUntilFinished]; + + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + +- (void)testPurchaseCapacityBlockCompletionHandler { + NSString *key = @"testPurchaseCapacityBlock"; + AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil]; + [AWSEC2 registerEC2WithConfiguration:configuration forKey:key]; + + AWSEC2 *awsClient = [AWSEC2 EC2ForKey:key]; + XCTAssertNotNil(awsClient); + XCTAssertNotNil(mockNetworking); + [awsClient setValue:mockNetworking forKey:@"networking"]; + + dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); + + [[AWSEC2 EC2ForKey:key] purchaseCapacityBlock:[AWSEC2PurchaseCapacityBlockRequest new] completionHandler:^(AWSEC2PurchaseCapacityBlockResult* _Nullable response, NSError * _Nullable error) { + XCTAssertNotNil(error); + XCTAssertEqualObjects(@"OCMockExpectedNetworkingError", error.domain); + XCTAssertEqual(8848, error.code); + XCTAssertNil(response); + dispatch_semaphore_signal(semaphore); + }]; + + dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, (int)(2.0 * NSEC_PER_SEC))); + OCMVerify([mockNetworking sendRequest:[OCMArg isNotNil]]); + + [AWSEC2 removeEC2ForKey:key]; +} + - (void)testPurchaseHostReservation { NSString *key = @"testPurchaseHostReservation"; AWSServiceConfiguration *configuration = [[AWSServiceConfiguration alloc] initWithRegion:AWSRegionUSEast1 credentialsProvider:nil];