From 7468e78cca05495cd7e9945e77d297be7e911bd6 Mon Sep 17 00:00:00 2001 From: awsmobilesdk Date: Thu, 12 Oct 2023 18:21:03 +0000 Subject: [PATCH] feat(AWSEC2): update models to latest --- AWSEC2/AWSEC2Model.h | 252 +- AWSEC2/AWSEC2Model.m | 3362 +++++++++++++++++++ AWSEC2/AWSEC2Resources.m | 267 +- AWSEC2/AWSEC2Service.h | 70 +- AWSEC2/AWSEC2Service.m | 46 + AWSEC2UnitTests/AWSEC2NSSecureCodingTests.m | 30 + AWSEC2UnitTests/AWSGeneralEC2Tests.m | 96 + 7 files changed, 4054 insertions(+), 69 deletions(-) diff --git a/AWSEC2/AWSEC2Model.h b/AWSEC2/AWSEC2Model.h index a53df04dec4..3e494b4c18d 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) { @@ -879,6 +880,7 @@ typedef NS_ENUM(NSInteger, AWSEC2ImageState) { AWSEC2ImageStateTransient, AWSEC2ImageStateFailed, AWSEC2ImageStateError, + AWSEC2ImageStateDisabled, }; typedef NS_ENUM(NSInteger, AWSEC2ImageTypeValues) { @@ -1732,6 +1734,35 @@ 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, }; typedef NS_ENUM(NSInteger, AWSEC2InstanceTypeHypervisor) { @@ -4002,6 +4033,8 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @class AWSEC2DisableImageBlockPublicAccessResult; @class AWSEC2DisableImageDeprecationRequest; @class AWSEC2DisableImageDeprecationResult; +@class AWSEC2DisableImageRequest; +@class AWSEC2DisableImageResult; @class AWSEC2DisableIpamOrganizationAdminAccountRequest; @class AWSEC2DisableIpamOrganizationAdminAccountResult; @class AWSEC2DisableSerialConsoleAccessRequest; @@ -4083,6 +4116,8 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @class AWSEC2EnableImageBlockPublicAccessResult; @class AWSEC2EnableImageDeprecationRequest; @class AWSEC2EnableImageDeprecationResult; +@class AWSEC2EnableImageRequest; +@class AWSEC2EnableImageResult; @class AWSEC2EnableIpamOrganizationAdminAccountRequest; @class AWSEC2EnableIpamOrganizationAdminAccountResult; @class AWSEC2EnableReachabilityAnalyzerOrganizationSharingRequest; @@ -4957,6 +4992,8 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @class AWSEC2VerifiedAccessLogS3Destination; @class AWSEC2VerifiedAccessLogS3DestinationOptions; @class AWSEC2VerifiedAccessLogs; +@class AWSEC2VerifiedAccessSseSpecificationRequest; +@class AWSEC2VerifiedAccessSseSpecificationResponse; @class AWSEC2VerifiedAccessTrustProvider; @class AWSEC2VerifiedAccessTrustProviderCondensed; @class AWSEC2VgwTelemetry; @@ -5752,7 +5789,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 +8259,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; @@ -10871,7 +10908,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 +14104,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 +14160,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 +14211,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 +14333,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.

*/ @@ -19711,7 +19768,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 +19782,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 +20296,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 +21729,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; @@ -23047,7 +23109,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 +23119,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 +25740,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.

*/ @@ -27420,6 +27513,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.

*/ @@ -32071,7 +32195,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 +32274,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 +32534,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; @@ -37470,7 +37599,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 +40689,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 +40717,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 +40806,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 +40834,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 +41038,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 +43106,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 +43144,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; @@ -45096,7 +45250,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 +45885,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 +46991,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; @@ -49805,7 +49959,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 +49979,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 +49989,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; @@ -50106,7 +50260,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 +50308,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 +53872,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 +54004,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 +54047,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 +54322,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 +54399,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..7e3bb86f4b2 100644 --- a/AWSEC2/AWSEC2Model.m +++ b/AWSEC2/AWSEC2Model.m @@ -3581,6 +3581,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 +3621,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; } @@ -5743,6 +5748,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 +5788,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 +8529,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -9962,6 +10059,64 @@ + (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"; default: return nil; } @@ -13263,6 +13418,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"networkInterfaceOptions" : @"NetworkInterfaceOptions", @"policyDocument" : @"PolicyDocument", @"securityGroupIds" : @"SecurityGroupIds", + @"sseSpecification" : @"SseSpecification", @"tagSpecifications" : @"TagSpecifications", @"verifiedAccessGroupId" : @"VerifiedAccessGroupId", }; @@ -13313,6 +13469,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 +13509,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 +13554,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"clientToken" : @"ClientToken", @"detail" : @"Description", @"dryRun" : @"DryRun", + @"FIPSEnabled" : @"FIPSEnabled", @"tagSpecifications" : @"TagSpecifications", }; } @@ -13466,6 +13632,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"dryRun" : @"DryRun", @"oidcOptions" : @"OidcOptions", @"policyReferenceName" : @"PolicyReferenceName", + @"sseSpecification" : @"SseSpecification", @"tagSpecifications" : @"TagSpecifications", @"trustProviderType" : @"TrustProviderType", @"userTrustProviderType" : @"UserTrustProviderType", @@ -13501,6 +13668,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]]; } @@ -20593,6 +20764,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -22036,6 +22294,64 @@ + (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"; default: return nil; } @@ -22601,6 +22917,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"filters" : @"Filters", @"imageIds" : @"ImageIds", @"includeDeprecated" : @"IncludeDeprecated", + @"includeDisabled" : @"IncludeDisabled", @"maxResults" : @"MaxResults", @"nextToken" : @"NextToken", @"owners" : @"Owners", @@ -26892,6 +27209,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -28335,6 +28739,64 @@ + (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"; default: return nil; } @@ -31728,6 +32190,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 { @@ -33723,6 +34214,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 { @@ -34938,6 +35458,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 +35498,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 +37668,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -38586,6 +39198,64 @@ + (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"; default: return nil; } @@ -41036,6 +41706,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -42479,6 +43236,64 @@ + (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"; default: return nil; } @@ -44677,6 +45492,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -46120,6 +47022,64 @@ + (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"; default: return nil; } @@ -49261,6 +50221,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"ramdiskId" : @"RamdiskId", @"rootDeviceName" : @"RootDeviceName", @"rootDeviceType" : @"RootDeviceType", + @"sourceInstanceId" : @"SourceInstanceId", @"sriovNetSupport" : @"SriovNetSupport", @"state" : @"State", @"stateReason" : @"StateReason", @@ -49464,6 +50425,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 +50445,8 @@ + (NSValueTransformer *)stateJSONTransformer { return @"failed"; case AWSEC2ImageStateError: return @"error"; + case AWSEC2ImageStateDisabled: + return @"disabled"; default: return nil; } @@ -52144,6 +53110,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -53587,6 +54640,64 @@ + (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"; default: return nil; } @@ -56365,6 +57476,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -57808,6 +59006,64 @@ + (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"; default: return nil; } @@ -62267,6 +63523,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -63710,6 +65053,64 @@ + (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"; default: return nil; } @@ -65974,6 +67375,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -67417,6 +68905,64 @@ + (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"; default: return nil; } @@ -71370,6 +72916,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -72813,6 +74446,64 @@ + (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"; default: return nil; } @@ -76037,6 +77728,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -77480,6 +79258,64 @@ + (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"; default: return nil; } @@ -82123,10 +83959,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 +83980,14 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessEndpointRequest @@ -82202,10 +84048,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 +84069,14 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessGroupRequest @@ -82365,6 +84221,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"detail" : @"Description", @"dryRun" : @"DryRun", @"oidcOptions" : @"OidcOptions", + @"sseSpecification" : @"SseSpecification", @"verifiedAccessTrustProviderId" : @"VerifiedAccessTrustProviderId", }; } @@ -82373,6 +84230,10 @@ + (NSValueTransformer *)oidcOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2ModifyVerifiedAccessTrustProviderOidcOptions class]]; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessTrustProviderResult @@ -89399,6 +91260,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -90842,6 +92790,64 @@ + (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"; default: return nil; } @@ -93227,6 +95233,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -94670,6 +96763,64 @@ + (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"; default: return nil; } @@ -94787,6 +96938,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 +96978,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 +99148,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -98435,6 +100678,64 @@ + (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"; default: return nil; } @@ -100750,6 +103051,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -102193,6 +104581,64 @@ + (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"; default: return nil; } @@ -104550,6 +106996,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -105993,6 +108526,64 @@ + (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"; default: return nil; } @@ -108421,6 +111012,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -109864,6 +112542,64 @@ + (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"; default: return nil; } @@ -112665,6 +115401,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -114108,6 +116931,64 @@ + (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"; default: return nil; } @@ -117072,6 +119953,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -118515,6 +121483,64 @@ + (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"; default: return nil; } @@ -122329,6 +125355,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -123772,6 +126885,64 @@ + (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"; default: return nil; } @@ -127348,6 +130519,93 @@ + (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); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -128791,6 +132049,64 @@ + (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"; default: return nil; } @@ -134356,6 +137672,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"loadBalancerOptions" : @"LoadBalancerOptions", @"networkInterfaceOptions" : @"NetworkInterfaceOptions", @"securityGroupIds" : @"SecurityGroupIds", + @"sseSpecification" : @"SseSpecification", @"status" : @"Status", @"tags" : @"Tags", @"verifiedAccessEndpointId" : @"VerifiedAccessEndpointId", @@ -134409,6 +137726,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 +137879,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"detail" : @"Description", @"lastUpdatedTime" : @"LastUpdatedTime", @"owner" : @"Owner", + @"sseSpecification" : @"SseSpecification", @"tags" : @"Tags", @"verifiedAccessGroupArn" : @"VerifiedAccessGroupArn", @"verifiedAccessGroupId" : @"VerifiedAccessGroupId", @@ -134565,6 +137887,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + + (NSValueTransformer *)tagsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Tag class]]; } @@ -134581,6 +137907,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"creationTime" : @"CreationTime", @"detail" : @"Description", + @"fipsEnabled" : @"FipsEnabled", @"lastUpdatedTime" : @"LastUpdatedTime", @"tags" : @"Tags", @"verifiedAccessInstanceId" : @"VerifiedAccessInstanceId", @@ -134822,6 +138149,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 +138194,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"lastUpdatedTime" : @"LastUpdatedTime", @"oidcOptions" : @"OidcOptions", @"policyReferenceName" : @"PolicyReferenceName", + @"sseSpecification" : @"SseSpecification", @"tags" : @"Tags", @"trustProviderType" : @"TrustProviderType", @"userTrustProviderType" : @"UserTrustProviderType", @@ -134873,6 +138231,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..d7812915ab5 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\",\ @@ -3011,7 +3011,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 +3770,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\":{\ @@ -4037,6 +4047,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\":{\ @@ -5785,7 +5805,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 +6855,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 +9506,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\"\ }\ }\ @@ -10061,7 +10081,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\":{\ @@ -12059,7 +12080,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 +12319,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 +15071,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 +15124,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 +15161,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 +15270,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.

\"\ }\ }\ },\ @@ -20008,7 +20045,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 +20062,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 +20489,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 +21720,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\":{\ @@ -22939,7 +22980,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 +22989,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 +25326,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\"],\ @@ -27045,6 +27110,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\"],\ @@ -31785,7 +31874,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 +31936,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 +32147,8 @@ - (NSString *)definitionString { \"deregistered\",\ \"transient\",\ \"failed\",\ - \"error\"\ + \"error\",\ + \"disabled\"\ ]\ },\ \"ImageTypeValues\":{\ @@ -32201,7 +32296,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.

\"\ }\ }\ },\ @@ -35560,7 +35655,36 @@ - (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\"\ ]\ },\ \"InstanceTypeHypervisor\":{\ @@ -37408,6 +37532,7 @@ - (NSString *)definitionString { \"ed25519\"\ ]\ },\ + \"KmsKeyArn\":{\"type\":\"string\"},\ \"KmsKeyId\":{\"type\":\"string\"},\ \"LastError\":{\ \"type\":\"structure\",\ @@ -38696,7 +38821,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\",\ @@ -41599,10 +41724,7 @@ - (NSString *)definitionString { },\ \"ModifyVerifiedAccessEndpointPolicyRequest\":{\ \"type\":\"structure\",\ - \"required\":[\ - \"VerifiedAccessEndpointId\",\ - \"PolicyEnabled\"\ - ],\ + \"required\":[\"VerifiedAccessEndpointId\"],\ \"members\":{\ \"VerifiedAccessEndpointId\":{\ \"shape\":\"VerifiedAccessEndpointId\",\ @@ -41624,6 +41746,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 +41765,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 +41827,7 @@ - (NSString *)definitionString { },\ \"ModifyVerifiedAccessGroupPolicyRequest\":{\ \"type\":\"structure\",\ - \"required\":[\ - \"VerifiedAccessGroupId\",\ - \"PolicyEnabled\"\ - ],\ + \"required\":[\"VerifiedAccessGroupId\"],\ \"members\":{\ \"VerifiedAccessGroupId\":{\ \"shape\":\"VerifiedAccessGroupId\",\ @@ -41721,6 +41849,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 +41868,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 +42040,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 +44263,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 +44294,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.

\"\ @@ -46550,7 +46691,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 +47394,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 +48674,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\":{\ @@ -51591,12 +51732,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 +51792,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\"\ }\ },\ @@ -51951,7 +52092,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 +52131,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.

\"\ @@ -56263,6 +56404,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 +56578,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 +56634,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 +56887,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 +56974,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..0fdf475c110 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. @@ -7494,7 +7494,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 +7506,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 +9409,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.

@@ -10075,6 +10100,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.

@@ -14416,7 +14466,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 +14478,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..c9367c7959f 100644 --- a/AWSEC2/AWSEC2Service.m +++ b/AWSEC2/AWSEC2Service.m @@ -8820,6 +8820,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 @@ -9438,6 +9461,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 diff --git a/AWSEC2UnitTests/AWSEC2NSSecureCodingTests.m b/AWSEC2UnitTests/AWSEC2NSSecureCodingTests.m index d7cbfb8a321..363a3e32779 100644 --- a/AWSEC2UnitTests/AWSEC2NSSecureCodingTests.m +++ b/AWSEC2UnitTests/AWSEC2NSSecureCodingTests.m @@ -869,6 +869,8 @@ - (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)); @@ -950,6 +952,8 @@ - (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)); @@ -1824,6 +1828,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)); @@ -5265,6 +5271,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]]; } @@ -5589,6 +5603,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]]; } @@ -9085,6 +9107,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..3f7022c451d 100644 --- a/AWSEC2UnitTests/AWSGeneralEC2Tests.m +++ b/AWSEC2UnitTests/AWSGeneralEC2Tests.m @@ -17931,6 +17931,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]; @@ -19224,6 +19272,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];