From af4bc203df630afa8198f132b9ffbc8c9b95091c Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Bot <46607340+awsmobilesdk@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:33:37 -0700 Subject: [PATCH 01/17] feat(AWSConnect): update models to latest (#5005) --- AWSConnect/AWSConnectModel.h | 226 +++++++++++-- AWSConnect/AWSConnectModel.m | 232 ++++++++++++++ AWSConnect/AWSConnectResources.m | 302 +++++++++++++++--- AWSConnect/AWSConnectService.h | 101 ++++-- AWSConnect/AWSConnectService.m | 45 +++ .../AWSConnectNSSecureCodingTests.m | 30 ++ AWSConnectUnitTests/AWSGeneralConnectTests.m | 95 ++++++ 7 files changed, 926 insertions(+), 105 deletions(-) diff --git a/AWSConnect/AWSConnectModel.h b/AWSConnect/AWSConnectModel.h index 7d02cde69c3..9275350b39b 100644 --- a/AWSConnect/AWSConnectModel.h +++ b/AWSConnect/AWSConnectModel.h @@ -324,6 +324,17 @@ typedef NS_ENUM(NSInteger, AWSConnectIntegrationType) { AWSConnectIntegrationTypeWisdomAssistant, AWSConnectIntegrationTypeWisdomKnowledgeBase, AWSConnectIntegrationTypeCasesDomain, + AWSConnectIntegrationTypeApplication, +}; + +typedef NS_ENUM(NSInteger, AWSConnectIntervalPeriod) { + AWSConnectIntervalPeriodUnknown, + AWSConnectIntervalPeriodFifteenMin, + AWSConnectIntervalPeriodThirtyMin, + AWSConnectIntervalPeriodHour, + AWSConnectIntervalPeriodDay, + AWSConnectIntervalPeriodWeek, + AWSConnectIntervalPeriodTotal, }; typedef NS_ENUM(NSInteger, AWSConnectLexVersion) { @@ -877,6 +888,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectAgentStatusReference; @class AWSConnectAgentStatusSummary; @class AWSConnectAnswerMachineDetectionConfig; +@class AWSConnectApplication; @class AWSConnectAssignContactCategoryActionDefinition; @class AWSConnectAssociateApprovedOriginRequest; @class AWSConnectAssociateBotRequest; @@ -1123,6 +1135,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectInstanceStorageConfig; @class AWSConnectInstanceSummary; @class AWSConnectIntegrationAssociationSummary; +@class AWSConnectIntervalDetails; @class AWSConnectInvisibleFieldInfo; @class AWSConnectKinesisFirehoseConfig; @class AWSConnectKinesisStreamConfig; @@ -1185,6 +1198,8 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectListRulesResponse; @class AWSConnectListSecurityKeysRequest; @class AWSConnectListSecurityKeysResponse; +@class AWSConnectListSecurityProfileApplicationsRequest; +@class AWSConnectListSecurityProfileApplicationsResponse; @class AWSConnectListSecurityProfilePermissionsRequest; @class AWSConnectListSecurityProfilePermissionsResponse; @class AWSConnectListSecurityProfilesRequest; @@ -1210,6 +1225,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectMediaConcurrency; @class AWSConnectMetricDataV2; @class AWSConnectMetricFilterV2; +@class AWSConnectMetricInterval; @class AWSConnectMetricResultV2; @class AWSConnectMetricV2; @class AWSConnectMonitorContactRequest; @@ -1371,6 +1387,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @class AWSConnectUpdateParticipantRoleConfigChannelInfo; @class AWSConnectUpdateParticipantRoleConfigRequest; @class AWSConnectUpdateParticipantRoleConfigResponse; +@class AWSConnectUpdatePhoneNumberMetadataRequest; @class AWSConnectUpdatePhoneNumberRequest; @class AWSConnectUpdatePhoneNumberResponse; @class AWSConnectUpdatePromptRequest; @@ -1680,6 +1697,24 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +
This API is in preview release for Amazon Connect and is subject to change.
A third party application's metadata.
+ */ +@interface AWSConnectApplication : AWSModel + + +/** +The permissions that the agent is granted on the application. Only the ACCESS
permission is supported.
Namespace of the application that you want to give access to.
+ */ +@property (nonatomic, strong) NSString * _Nullable namespace; + +@end + /**This action must be set if TriggerEventSource
is one of the following values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnPostChatAnalysisAvailable
. Contact is categorized using the rule name.
RuleName
is used as ContactCategory
.
The status of the phone number.
CLAIMED
means the previous ClaimedPhoneNumber or UpdatePhoneNumber operation succeeded.
IN_PROGRESS
means a ClaimedPhoneNumber or UpdatePhoneNumber operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.
FAILED
indicates that the previous ClaimedPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that the TargetArn
value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received a FAILED
status from a ClaimPhoneNumber
API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.
You will not be billed for the phone number during the 1-day period if number claiming fails.
The status of the phone number.
CLAIMED
means the previous ClaimPhoneNumber or UpdatePhoneNumber operation succeeded.
IN_PROGRESS
means a ClaimPhoneNumber, UpdatePhoneNumber, or UpdatePhoneNumberMetadata operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.
FAILED
indicates that the previous ClaimPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that the TargetArn
value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received a FAILED
status from a ClaimPhoneNumber
API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.
You will not be billed for the phone number during the 1-day period if number claiming fails.
The content of the flow.
+The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
*/ @property (nonatomic, strong) NSString * _Nullable content; @@ -2339,7 +2374,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable arn; /** -The content of the flow module.
+The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
*/ @property (nonatomic, strong) NSString * _Nullable content; @@ -2527,7 +2562,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable clientToken; /** -The content of the flow module.
+The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
*/ @property (nonatomic, strong) NSString * _Nullable content; @@ -2578,7 +2613,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { /** -The content of the flow.
+The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
*/ @property (nonatomic, strong) NSString * _Nullable content; @@ -3036,7 +3071,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable instanceId; /** -The name of the quick connect.
+A unique name of the quick connect.
*/ @property (nonatomic, strong) NSString * _Nullable name; @@ -3208,6 +3243,11 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSDictionaryThis API is in preview release for Amazon Connect and is subject to change.
A list of third party applications that the security profile will give access to.
+ */ +@property (nonatomic, strong) NSArrayThe description of the security profile.
*/ @@ -6487,7 +6527,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { /** -The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be later than the start time timestamp. It cannot be later than the current timestamp.
The time range between the start and end time must be less than 24 hours.
+The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be later than the start time timestamp. It cannot be later than the current timestamp.
*/ @property (nonatomic, strong) NSDate * _Nullable endTime; @@ -6501,13 +6541,18 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSArrayThe interval period and timezone to apply to returned metrics.
IntervalPeriod
: An aggregated grouping applied to request metrics. Valid IntervalPeriod
values are: FIFTEEN_MIN
| THIRTY_MIN
| HOUR
| DAY
| WEEK
| TOTAL
.
For example, if IntervalPeriod
is selected THIRTY_MIN
, StartTime
and EndTime
differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the TOTAL
interval period.
The following list describes restrictions on StartTime
and EndTime
based on which IntervalPeriod
is requested.
FIFTEEN_MIN
: The difference between StartTime
and EndTime
must be less than 3 days.
THIRTY_MIN
: The difference between StartTime
and EndTime
must be less than 3 days.
HOUR
: The difference between StartTime
and EndTime
must be less than 3 days.
DAY
: The difference between StartTime
and EndTime
must be less than 35 days.
WEEK
: The difference between StartTime
and EndTime
must be less than 35 days.
TOTAL
: The difference between StartTime
and EndTime
must be less than 35 days.
TimeZone
: The timezone applied to requested metrics.
The maximum number of results to return per page.
*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /** -The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's Guide.
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Percentage
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid metric filter key: INITIATION_METHOD
. For now, this metric only supports the following as INITIATION_METHOD
: INBOUND
| OUTBOUND
| CALLBACK
| API
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid metric filter key: INITIATION_METHOD
. For now, this metric only supports the following as INITIATION_METHOD
: INBOUND
| OUTBOUND
| CALLBACK
| API
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid metric filter key: INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid metric filter key: INITIATION_METHOD
, DISCONNECT_REASON
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
You can include up to 20 SERVICE_LEVEL metrics in a request.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for "Less than").
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for "Less than").
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for "Less than").
Valid metric filter key: DISCONNECT_REASON
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's Guide.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Data for this metric is available starting from October 1, 2023 0:00:00 GMT.
Unit: Percentage
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid metric filter key: INITIATION_METHOD
. For now, this metric only supports the following as INITIATION_METHOD
: INBOUND
| OUTBOUND
| CALLBACK
| API
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
The Negate
key in Metric Level Filters is not applicable for this metric.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid metric filter key: INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid metric filter key: INITIATION_METHOD
, DISCONNECT_REASON
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for "Less than").
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
You can include up to 20 SERVICE_LEVEL metrics in a request.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for "Less than").
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for "Less than").
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for "Less than").
Valid metric filter key: DISCONNECT_REASON
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be before the end time timestamp. The time range between the start and end time must be less than 24 hours. The start time cannot be earlier than 35 days before the time of the request. Historical metrics are available for 35 days.
+The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be before the end time timestamp. The start and end time depends on the IntervalPeriod
selected. By default the time range between start and end time is 35 days. Historical metrics are available for 3 months.
The distribution of allowing signing in to the instance and its replica(s).
+The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
*/ @property (nonatomic, strong) AWSConnectSignInConfig * _Nullable signInConfig; @@ -7415,6 +7460,24 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** +Information about the interval period to use for returning results.
+ */ +@interface AWSConnectIntervalDetails : AWSModel + + +/** +IntervalPeriod
: An aggregated grouping applied to request metrics. Valid IntervalPeriod
values are: FIFTEEN_MIN
| THIRTY_MIN
| HOUR
| DAY
| WEEK
| TOTAL
.
For example, if IntervalPeriod
is selected THIRTY_MIN
, StartTime
and EndTime
differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the TOTAL
interval period.
The following list describes restrictions on StartTime
and EndTime
based on what IntervalPeriod
is requested.
FIFTEEN_MIN
: The difference between StartTime
and EndTime
must be less than 3 days.
THIRTY_MIN
: The difference between StartTime
and EndTime
must be less than 3 days.
HOUR
: The difference between StartTime
and EndTime
must be less than 3 days.
DAY
: The difference between StartTime
and EndTime
must be less than 35 days.
WEEK
: The difference between StartTime
and EndTime
must be less than 35 days.
TOTAL
: The difference between StartTime
and EndTime
must be less than 35 days.
The timezone applied to requested metrics.
+ */ +@property (nonatomic, strong) NSString * _Nullable timeZone; + +@end + /**A field that is invisible to an agent.
*/ @@ -8294,7 +8357,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSArrayThe type of phone number.
+The type of phone number.
We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types UIFN
, SHARED
, THIRD_PARTY_TF
, and THIRD_PARTY_DID
, it incorrectly lists them as TOLL_FREE
or DID
.
The instance identifier.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +The maximum number of results to return per page.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable maxResults; + +/** +The token for the next set of results. The next set of results can be retrieved by using the token value returned in the previous response when making the next request.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +The security profile identifier.
+ */ +@property (nonatomic, strong) NSString * _Nullable securityProfileId; + +@end + +/** + + */ +@interface AWSConnectListSecurityProfileApplicationsResponse : AWSModel + + +/** +This API is in preview release for Amazon Connect and is subject to change.
A list of the third party application's metadata.
+ */ +@property (nonatomic, strong) NSArrayThe token for the next set of results. The next set of results can be retrieved by using the token value returned in the previous response when making the next request.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +@end + /** */ @@ -9295,6 +9404,34 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSArrayThe flag to use to filter on requested metric filter values or to not filter on requested metric filter values. By default the negate is false
, which indicates to filter on the requested metric filter.
The interval period with the start and end time for the metrics.
+ */ +@interface AWSConnectMetricInterval : AWSModel + + +/** +The timestamp, in UNIX Epoch time format. End time is based on the interval period selected. For example, If IntervalPeriod
is selected THIRTY_MIN
, StartTime
and EndTime
in the API request differs by 1 day, then 48 results are returned in the response. Each result is aggregated by the 30 minutes period, with each StartTime
and EndTime
differing by 30 minutes.
The interval period provided in the API request.
+ */ +@property (nonatomic, assign) AWSConnectIntervalPeriod interval; + +/** +The timestamp, in UNIX Epoch time format. Start time is based on the interval period selected.
+ */ +@property (nonatomic, strong) NSDate * _Nullable startTime; + @end /** @@ -9313,6 +9450,11 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSDictionaryThe interval period with the start and end time for the metrics.
+ */ +@property (nonatomic, strong) AWSConnectMetricInterval * _Nullable metricInterval; + @end /** @@ -9587,7 +9729,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end /** -The status of the phone number.
CLAIMED
means the previous ClaimedPhoneNumber or UpdatePhoneNumber operation succeeded.
IN_PROGRESS
means a ClaimedPhoneNumber or UpdatePhoneNumber operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.
FAILED
indicates that the previous ClaimedPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that the TargetArn
value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received a FAILED
status from a ClaimPhoneNumber
API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.
The status of the phone number.
CLAIMED
means the previous ClaimPhoneNumber or UpdatePhoneNumber operation succeeded.
IN_PROGRESS
means a ClaimPhoneNumber, UpdatePhoneNumber, or UpdatePhoneNumberMetadata operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.
FAILED
indicates that the previous ClaimPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that the TargetArn
value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received a FAILED
status from a ClaimPhoneNumber
API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.
Information about the contact category action.
+Information about the contact category action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
Information about the EventBridge action.
+Information about the EventBridge action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnContactEvaluationSubmit
| OnMetricDataUpdate
Information about the send notification action.
+Information about the send notification action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnContactEvaluationSubmit
| OnMetricDataUpdate
The name of the event source. This field is required if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
The name of the event source. This field is required if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
| OnContactEvaluationSubmit
| OnMetricDataUpdate
.
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
+The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
InstanceID is a required field. The "Required: No" below is incorrect.
The distribution of allowing signing in to the instance and its replica(s).
+The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
Required parameters: [Distributions] */ @interface AWSConnectSignInConfig : AWSModel @@ -11839,22 +11981,22 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable name; /** -The identifier of the previous chat, voice, or task contact.
+The identifier of the previous chat, voice, or task contact. Any updates to user-defined attributes to task contacts linked using the same PreviousContactID
will affect every contact in the chain. There can be a maximum of 12 linked task contacts in a chain.
The identifier for the quick connect.
+The identifier for the quick connect. Tasks that are created by using QuickConnectId
will use the flow that is defined on agent or queue quick connect. For more information about quick connects, see Create quick connects.
A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
+A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation: URL
| NUMBER
| STRING
| DATE
| EMAIL
. ATTACHMENT
is not a supported reference type during task creation.
The contactId that is related to this contact.
+The contactId that is related to this contact. Linking tasks together by using RelatedContactID
copies over contact attributes from the related task contact to the new task contact. All updates to user-defined attributes in the new task contact are limited to the individual contact ID, unlike what happens when tasks are linked by using PreviousContactID
. There are no limits to the number of contacts that can be linked by using RelatedContactId
.
A unique identifier for the task template.
+A unique identifier for the task template. For more information about task templates, see Create task templates in the Amazon Connect Administrator Guide.
*/ @property (nonatomic, strong) NSString * _Nullable taskTemplateId; @@ -12416,7 +12558,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable instanceArn; /** -Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup
API. The default traffic distribution group is deleted as part of the process for deleting a replica.
You can change the SignInConfig
distribution only for a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup
API. The default traffic distribution group is deleted as part of the process for deleting a replica.
The SignInConfig
distribution is available only on the default TrafficDistributionGroup
. If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
The status of the traffic distribution group.
CREATION_IN_PROGRESS
means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
ACTIVE
means the previous CreateTrafficDistributionGroup operation has succeeded.
CREATION_FAILED
indicates that the previous CreateTrafficDistributionGroup operation has failed.
PENDING_DELETION
means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
DELETION_FAILED
means the previous DeleteTrafficDistributionGroup operation has failed.
UPDATE_IN_PROGRESS
means the previous UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
The status of the traffic distribution group.
CREATION_IN_PROGRESS
means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
ACTIVE
means the previous CreateTrafficDistributionGroup operation has succeeded.
CREATION_FAILED
indicates that the previous CreateTrafficDistributionGroup operation has failed.
PENDING_DELETION
means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
DELETION_FAILED
means the previous DeleteTrafficDistributionGroup operation has failed.
UPDATE_IN_PROGRESS
means the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
The JSON string that represents flow's content. For an example, see Example contact flow in Amazon Connect Flow language.
+The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
*/ @property (nonatomic, strong) NSString * _Nullable content; @@ -12766,7 +12908,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable contactFlowModuleId; /** -The content of the flow module.
+The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
*/ @property (nonatomic, strong) NSString * _Nullable content; @@ -13141,6 +13283,29 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @interface AWSConnectUpdateParticipantRoleConfigResponse : AWSModel +@end + +/** + + */ +@interface AWSConnectUpdatePhoneNumberMetadataRequest : AWSRequest + + +/** +A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
+ */ +@property (nonatomic, strong) NSString * _Nullable clientToken; + +/** +The description of the phone number.
+ */ +@property (nonatomic, strong) NSString * _Nullable phoneNumberDescription; + +/** +The Amazon Resource Name (ARN) or resource ID of the phone number.
+ */ +@property (nonatomic, strong) NSString * _Nullable phoneNumberId; + @end /** @@ -13575,6 +13740,11 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSDictionaryThis API is in preview release for Amazon Connect and is subject to change.
A list of the third party application's metadata.
+ */ +@property (nonatomic, strong) NSArrayThe description of the security profile.
*/ @@ -13740,7 +13910,7 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @property (nonatomic, strong) NSString * _Nullable identifier; /** -The distribution of allowing signing in to the instance and its replica(s).
+The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
*/ @property (nonatomic, strong) AWSConnectSignInConfig * _Nullable signInConfig; diff --git a/AWSConnect/AWSConnectModel.m b/AWSConnect/AWSConnectModel.m index 807d1376aa0..4ee9fe58c30 100644 --- a/AWSConnect/AWSConnectModel.m +++ b/AWSConnect/AWSConnectModel.m @@ -464,6 +464,21 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectApplication + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"applicationPermissions" : @"ApplicationPermissions", + @"namespace" : @"Namespace", + }; +} + +@end + @implementation AWSConnectAssignContactCategoryActionDefinition + (BOOL)supportsSecureCoding { @@ -4448,6 +4463,9 @@ + (NSValueTransformer *)integrationTypeJSONTransformer { if ([value caseInsensitiveCompare:@"CASES_DOMAIN"] == NSOrderedSame) { return @(AWSConnectIntegrationTypeCasesDomain); } + if ([value caseInsensitiveCompare:@"APPLICATION"] == NSOrderedSame) { + return @(AWSConnectIntegrationTypeApplication); + } return @(AWSConnectIntegrationTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -4463,6 +4481,8 @@ + (NSValueTransformer *)integrationTypeJSONTransformer { return @"WISDOM_KNOWLEDGE_BASE"; case AWSConnectIntegrationTypeCasesDomain: return @"CASES_DOMAIN"; + case AWSConnectIntegrationTypeApplication: + return @"APPLICATION"; default: return nil; } @@ -4795,6 +4815,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"allowedAccessControlTags" : @"AllowedAccessControlTags", + @"applications" : @"Applications", @"detail" : @"Description", @"instanceId" : @"InstanceId", @"permissions" : @"Permissions", @@ -4804,6 +4825,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)applicationsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectApplication class]]; +} + @end @implementation AWSConnectCreateSecurityProfileResponse @@ -8627,6 +8652,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"endTime" : @"EndTime", @"filters" : @"Filters", @"groupings" : @"Groupings", + @"interval" : @"Interval", @"maxResults" : @"MaxResults", @"metrics" : @"Metrics", @"nextToken" : @"NextToken", @@ -8647,6 +8673,10 @@ + (NSValueTransformer *)filtersJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectFilterV2 class]]; } ++ (NSValueTransformer *)intervalJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectIntervalDetails class]]; +} + + (NSValueTransformer *)metricsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectMetricV2 class]]; } @@ -9828,6 +9858,9 @@ + (NSValueTransformer *)integrationTypeJSONTransformer { if ([value caseInsensitiveCompare:@"CASES_DOMAIN"] == NSOrderedSame) { return @(AWSConnectIntegrationTypeCasesDomain); } + if ([value caseInsensitiveCompare:@"APPLICATION"] == NSOrderedSame) { + return @(AWSConnectIntegrationTypeApplication); + } return @(AWSConnectIntegrationTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -9843,6 +9876,8 @@ + (NSValueTransformer *)integrationTypeJSONTransformer { return @"WISDOM_KNOWLEDGE_BASE"; case AWSConnectIntegrationTypeCasesDomain: return @"CASES_DOMAIN"; + case AWSConnectIntegrationTypeApplication: + return @"APPLICATION"; default: return nil; } @@ -9872,6 +9907,62 @@ + (NSValueTransformer *)sourceTypeJSONTransformer { @end +@implementation AWSConnectIntervalDetails + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"intervalPeriod" : @"IntervalPeriod", + @"timeZone" : @"TimeZone", + }; +} + ++ (NSValueTransformer *)intervalPeriodJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"FIFTEEN_MIN"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodFifteenMin); + } + if ([value caseInsensitiveCompare:@"THIRTY_MIN"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodThirtyMin); + } + if ([value caseInsensitiveCompare:@"HOUR"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodHour); + } + if ([value caseInsensitiveCompare:@"DAY"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodDay); + } + if ([value caseInsensitiveCompare:@"WEEK"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodWeek); + } + if ([value caseInsensitiveCompare:@"TOTAL"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodTotal); + } + return @(AWSConnectIntervalPeriodUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectIntervalPeriodFifteenMin: + return @"FIFTEEN_MIN"; + case AWSConnectIntervalPeriodThirtyMin: + return @"THIRTY_MIN"; + case AWSConnectIntervalPeriodHour: + return @"HOUR"; + case AWSConnectIntervalPeriodDay: + return @"DAY"; + case AWSConnectIntervalPeriodWeek: + return @"WEEK"; + case AWSConnectIntervalPeriodTotal: + return @"TOTAL"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSConnectInvisibleFieldInfo + (BOOL)supportsSecureCoding { @@ -10747,6 +10838,9 @@ + (NSValueTransformer *)integrationTypeJSONTransformer { if ([value caseInsensitiveCompare:@"CASES_DOMAIN"] == NSOrderedSame) { return @(AWSConnectIntegrationTypeCasesDomain); } + if ([value caseInsensitiveCompare:@"APPLICATION"] == NSOrderedSame) { + return @(AWSConnectIntegrationTypeApplication); + } return @(AWSConnectIntegrationTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -10762,6 +10856,8 @@ + (NSValueTransformer *)integrationTypeJSONTransformer { return @"WISDOM_KNOWLEDGE_BASE"; case AWSConnectIntegrationTypeCasesDomain: return @"CASES_DOMAIN"; + case AWSConnectIntegrationTypeApplication: + return @"APPLICATION"; default: return nil; } @@ -12544,6 +12640,42 @@ + (NSValueTransformer *)securityKeysJSONTransformer { @end +@implementation AWSConnectListSecurityProfileApplicationsRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + @"securityProfileId" : @"SecurityProfileId", + }; +} + +@end + +@implementation AWSConnectListSecurityProfileApplicationsResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"applications" : @"Applications", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)applicationsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectApplication class]]; +} + +@end + @implementation AWSConnectListSecurityProfilePermissionsRequest + (BOOL)supportsSecureCoding { @@ -13041,11 +13173,85 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"metricFilterKey" : @"MetricFilterKey", @"metricFilterValues" : @"MetricFilterValues", + @"negate" : @"Negate", }; } @end +@implementation AWSConnectMetricInterval + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"endTime" : @"EndTime", + @"interval" : @"Interval", + @"startTime" : @"StartTime", + }; +} + ++ (NSValueTransformer *)endTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)intervalJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"FIFTEEN_MIN"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodFifteenMin); + } + if ([value caseInsensitiveCompare:@"THIRTY_MIN"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodThirtyMin); + } + if ([value caseInsensitiveCompare:@"HOUR"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodHour); + } + if ([value caseInsensitiveCompare:@"DAY"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodDay); + } + if ([value caseInsensitiveCompare:@"WEEK"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodWeek); + } + if ([value caseInsensitiveCompare:@"TOTAL"] == NSOrderedSame) { + return @(AWSConnectIntervalPeriodTotal); + } + return @(AWSConnectIntervalPeriodUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectIntervalPeriodFifteenMin: + return @"FIFTEEN_MIN"; + case AWSConnectIntervalPeriodThirtyMin: + return @"THIRTY_MIN"; + case AWSConnectIntervalPeriodHour: + return @"HOUR"; + case AWSConnectIntervalPeriodDay: + return @"DAY"; + case AWSConnectIntervalPeriodWeek: + return @"WEEK"; + case AWSConnectIntervalPeriodTotal: + return @"TOTAL"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)startTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + +@end + @implementation AWSConnectMetricResultV2 + (BOOL)supportsSecureCoding { @@ -13056,6 +13262,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"collections" : @"Collections", @"dimensions" : @"Dimensions", + @"metricInterval" : @"MetricInterval", }; } @@ -13063,6 +13270,10 @@ + (NSValueTransformer *)collectionsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectMetricDataV2 class]]; } ++ (NSValueTransformer *)metricIntervalJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectMetricInterval class]]; +} + @end @implementation AWSConnectMetricV2 @@ -19863,6 +20074,22 @@ + (BOOL)supportsSecureCoding { @end +@implementation AWSConnectUpdatePhoneNumberMetadataRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"clientToken" : @"ClientToken", + @"phoneNumberDescription" : @"PhoneNumberDescription", + @"phoneNumberId" : @"PhoneNumberId", + }; +} + +@end + @implementation AWSConnectUpdatePhoneNumberRequest + (BOOL)supportsSecureCoding { @@ -20233,6 +20460,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"allowedAccessControlTags" : @"AllowedAccessControlTags", + @"applications" : @"Applications", @"detail" : @"Description", @"instanceId" : @"InstanceId", @"permissions" : @"Permissions", @@ -20241,6 +20469,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)applicationsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectApplication class]]; +} + @end @implementation AWSConnectUpdateTaskTemplateRequest diff --git a/AWSConnect/AWSConnectResources.m b/AWSConnect/AWSConnectResources.m index e71a11bee78..ae59675b08c 100644 --- a/AWSConnect/AWSConnectResources.m +++ b/AWSConnect/AWSConnectResources.m @@ -561,7 +561,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"},\ {\"shape\":\"InternalServiceException\"}\ ],\ - \"documentation\":\"This API is in preview release for Amazon Connect and is subject to change.
Creates a security profile.
\"\ + \"documentation\":\"Creates a security profile.
\"\ },\ \"CreateTaskTemplate\":{\ \"name\":\"CreateTaskTemplate\",\ @@ -599,7 +599,7 @@ - (NSString *)definitionString { {\"shape\":\"ResourceConflictException\"},\ {\"shape\":\"ResourceNotReadyException\"}\ ],\ - \"documentation\":\"Creates a traffic distribution group given an Amazon Connect instance that has been replicated.
You can change the SignInConfig
distribution only for a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
\"\ + \"documentation\":\"Creates a traffic distribution group given an Amazon Connect instance that has been replicated.
The SignInConfig
distribution is available only on a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
\"\ },\ \"CreateUseCase\":{\ \"name\":\"CreateUseCase\",\ @@ -635,7 +635,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"},\ {\"shape\":\"InternalServiceException\"}\ ],\ - \"documentation\":\"Creates a user account for the specified Amazon Connect instance.
For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon Connect Administrator Guide.
\"\ + \"documentation\":\"Creates a user account for the specified Amazon Connect instance.
Certain UserIdentityInfo parameters are required in some situations. For example, Email
is required if you are using SAML for identity management. FirstName
and LastName
are required if you are using Amazon Connect or SAML for identity management.
For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon Connect Administrator Guide.
\"\ },\ \"CreateUserHierarchyGroup\":{\ \"name\":\"CreateUserHierarchyGroup\",\ @@ -948,7 +948,7 @@ - (NSString *)definitionString { {\"shape\":\"AccessDeniedException\"},\ {\"shape\":\"ResourceInUseException\"}\ ],\ - \"documentation\":\"This API is in preview release for Amazon Connect and is subject to change.
Deletes a security profile.
\"\ + \"documentation\":\"Deletes a security profile.
\"\ },\ \"DeleteTaskTemplate\":{\ \"name\":\"DeleteTaskTemplate\",\ @@ -1373,7 +1373,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"},\ {\"shape\":\"InternalServiceException\"}\ ],\ - \"documentation\":\"This API is in preview release for Amazon Connect and is subject to change.
Gets basic information about the security profle.
\"\ + \"documentation\":\"Gets basic information about the security profle.
\"\ },\ \"DescribeTrafficDistributionGroup\":{\ \"name\":\"DescribeTrafficDistributionGroup\",\ @@ -1723,7 +1723,7 @@ - (NSString *)definitionString { {\"shape\":\"InternalServiceException\"},\ {\"shape\":\"DuplicateResourceException\"}\ ],\ - \"documentation\":\"Retrieves a token for federation.
This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error message similar to the following one appears:
Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect
Supports SAML sign-in for Amazon Connect. Retrieves a token for federation. The token is for the Amazon Connect user which corresponds to the IAM credentials that were used to invoke this action.
For more information about how SAML sign-in works in Amazon Connect, see Configure SAML with IAM for Amazon Connect in the Amazon Connect Administrator Guide.
This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error message similar to the following one appears:
Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect
Gets historical metric data from the specified Amazon Connect instance.
For a description of each historical metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.
\"\ + \"documentation\":\"Gets historical metric data from the specified Amazon Connect instance.
For a description of each historical metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.
We recommend using the GetMetricDataV2 API. It provides more flexibility, features, and the ability to query longer time ranges than GetMetricData
. Use it to retrieve historical agent and contact metrics for the last 3 months, at varying intervals. You can also use it to build custom dashboards to measure historical queue and agent performance. For example, you can track the number of incoming contacts for the last 7 days, with data split by day, to see how contact volume changed per day of the week.
Gets metric data from the specified Amazon Connect instance.
GetMetricDataV2
offers more features than GetMetricData, the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 35 days, in 24-hour intervals.
For a description of the historical metrics that are supported by GetMetricDataV2
and GetMetricData
, see Historical metrics definitions in the Amazon Connect Administrator's Guide.
Gets metric data from the specified Amazon Connect instance.
GetMetricDataV2
offers more features than GetMetricData, the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 3 months, at varying intervals.
For a description of the historical metrics that are supported by GetMetricDataV2
and GetMetricData
, see Historical metrics definitions in the Amazon Connect Administrator's Guide.
This API is in preview release for Amazon Connect and is subject to change.
Returns a paginated list of all security keys associated with the instance.
\"\ },\ + \"ListSecurityProfileApplications\":{\ + \"name\":\"ListSecurityProfileApplications\",\ + \"http\":{\ + \"method\":\"GET\",\ + \"requestUri\":\"/security-profiles-applications/{InstanceId}/{SecurityProfileId}\"\ + },\ + \"input\":{\"shape\":\"ListSecurityProfileApplicationsRequest\"},\ + \"output\":{\"shape\":\"ListSecurityProfileApplicationsResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"InternalServiceException\"}\ + ],\ + \"documentation\":\"Returns a list of third party applications in a specific security profile.
\"\ + },\ \"ListSecurityProfilePermissions\":{\ \"name\":\"ListSecurityProfilePermissions\",\ \"http\":{\ @@ -2276,7 +2293,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"},\ {\"shape\":\"InternalServiceException\"}\ ],\ - \"documentation\":\"This API is in preview release for Amazon Connect and is subject to change.
Lists the permissions granted to a security profile.
\"\ + \"documentation\":\"Lists the permissions granted to a security profile.
\"\ },\ \"ListSecurityProfiles\":{\ \"name\":\"ListSecurityProfiles\",\ @@ -2689,7 +2706,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"},\ {\"shape\":\"InternalServiceException\"}\ ],\ - \"documentation\":\"Searches users in an Amazon Connect instance, with optional filtering.
AfterContactWorkTimeLimit
is returned in milliseconds.
Searches users in an Amazon Connect instance, with optional filtering.
AfterContactWorkTimeLimit
is returned in milliseconds.
Initiates a flow to start a new task.
\"\ + \"documentation\":\"Initiates a flow to start a new task contact. For more information about task contacts, see Concepts: Tasks in Amazon Connect in the Amazon Connect Administrator Guide.
When using PreviousContactId
and RelatedContactId
input parameters, note the following:
PreviousContactId
Any updates to user-defined task contact attributes on any contact linked through the same PreviousContactId
will affect every contact in the chain.
There can be a maximum of 12 linked task contacts in a chain. That is, 12 task contacts can be created that share the same PreviousContactId
.
RelatedContactId
Copies contact attributes from the related task contact to the new contact.
Any update on attributes in a new task contact does not update attributes on previous contact.
Thereâs no limit on the number of task contacts that can be created that use the same RelatedContactId
.
In addition, when calling StartTaskContact include only one of these parameters: ContactFlowID
, QuickConnectID
, or TaskTemplateID
. Only one parameter is required as long as the task template has a flow configured to run it. If more than one parameter is specified, or only the TaskTemplateID
is specified but it does not have a flow configured, the request returns an error because Amazon Connect cannot identify the unique flow to run when the task is created.
A ServiceQuotaExceededException
occurs when the number of open tasks exceeds the active tasks quota or there are already 12 tasks referencing the same PreviousContactId
. For more information about service quotas for task contacts, see Amazon Connect service quotas in the Amazon Connect Administrator Guide.
Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region.
After using this API, you must verify that the phone number is attached to the correct flow in the target instance or traffic distribution group. You need to do this because the API switches only the phone number to a new instance or traffic distribution group. It doesn't migrate the flow configuration of the phone number, too.
You can call DescribePhoneNumber API to verify the status of a previous UpdatePhoneNumber operation.
Updates a phone numberâs metadata.
To verify the status of a previous UpdatePhoneNumberMetadata operation, call the DescribePhoneNumber API.
This API is in preview release for Amazon Connect and is subject to change.
Updates a security profile.
\"\ + \"documentation\":\"Updates a security profile.
\"\ },\ \"UpdateTaskTemplate\":{\ \"name\":\"UpdateTaskTemplate\",\ @@ -3504,7 +3540,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"},\ {\"shape\":\"InternalServiceException\"}\ ],\ - \"documentation\":\"Updates the traffic distribution for a given traffic distribution group.
You can change the SignInConfig
distribution only for a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
\"\ + \"documentation\":\"Updates the traffic distribution for a given traffic distribution group.
The SignInConfig
distribution is available only on a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
\"\ },\ \"UpdateUserHierarchy\":{\ \"name\":\"UpdateUserHierarchy\",\ @@ -3988,6 +4024,31 @@ - (NSString *)definitionString { },\ \"documentation\":\"Configuration of the answering machine detection.
\"\ },\ + \"Application\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Namespace\":{\ + \"shape\":\"Namespace\",\ + \"documentation\":\"Namespace of the application that you want to give access to.
\"\ + },\ + \"ApplicationPermissions\":{\ + \"shape\":\"ApplicationPermissions\",\ + \"documentation\":\"The permissions that the agent is granted on the application. Only the ACCESS
permission is supported.
This API is in preview release for Amazon Connect and is subject to change.
A third party application's metadata.
\"\ + },\ + \"ApplicationPermissions\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"Permission\"},\ + \"max\":10,\ + \"min\":1\ + },\ + \"Applications\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"Application\"},\ + \"max\":10\ + },\ \"ApproximateTotalCount\":{\"type\":\"long\"},\ \"AssignContactCategoryActionDefinition\":{\ \"type\":\"structure\",\ @@ -4362,10 +4423,7 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"max\":50\ },\ - \"BoxedBoolean\":{\ - \"type\":\"boolean\",\ - \"box\":true\ - },\ + \"BoxedBoolean\":{\"type\":\"boolean\"},\ \"BucketName\":{\ \"type\":\"string\",\ \"max\":128,\ @@ -4534,7 +4592,7 @@ - (NSString *)definitionString { },\ \"PhoneNumberStatus\":{\ \"shape\":\"PhoneNumberStatus\",\ - \"documentation\":\"The status of the phone number.
CLAIMED
means the previous ClaimedPhoneNumber or UpdatePhoneNumber operation succeeded.
IN_PROGRESS
means a ClaimedPhoneNumber or UpdatePhoneNumber operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.
FAILED
indicates that the previous ClaimedPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that the TargetArn
value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received a FAILED
status from a ClaimPhoneNumber
API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.
You will not be billed for the phone number during the 1-day period if number claiming fails.
The status of the phone number.
CLAIMED
means the previous ClaimPhoneNumber or UpdatePhoneNumber operation succeeded.
IN_PROGRESS
means a ClaimPhoneNumber, UpdatePhoneNumber, or UpdatePhoneNumberMetadata operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.
FAILED
indicates that the previous ClaimPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that the TargetArn
value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received a FAILED
status from a ClaimPhoneNumber
API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.
You will not be billed for the phone number during the 1-day period if number claiming fails.
Information about a phone number that has been claimed to your Amazon Connect instance or traffic distribution group.
\"\ @@ -4666,7 +4724,7 @@ - (NSString *)definitionString { },\ \"Content\":{\ \"shape\":\"ContactFlowContent\",\ - \"documentation\":\"The content of the flow.
\"\ + \"documentation\":\"The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
\"\ },\ \"Tags\":{\ \"shape\":\"TagMap\",\ @@ -4698,7 +4756,7 @@ - (NSString *)definitionString { },\ \"Content\":{\ \"shape\":\"ContactFlowModuleContent\",\ - \"documentation\":\"The content of the flow module.
\"\ + \"documentation\":\"The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
\"\ },\ \"Description\":{\ \"shape\":\"ContactFlowModuleDescription\",\ @@ -5002,7 +5060,7 @@ - (NSString *)definitionString { },\ \"Content\":{\ \"shape\":\"ContactFlowModuleContent\",\ - \"documentation\":\"The content of the flow module.
\"\ + \"documentation\":\"The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
\"\ },\ \"Tags\":{\ \"shape\":\"TagMap\",\ @@ -5057,7 +5115,7 @@ - (NSString *)definitionString { },\ \"Content\":{\ \"shape\":\"ContactFlowContent\",\ - \"documentation\":\"The content of the flow.
\"\ + \"documentation\":\"The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
\"\ },\ \"Tags\":{\ \"shape\":\"TagMap\",\ @@ -5441,7 +5499,7 @@ - (NSString *)definitionString { },\ \"Name\":{\ \"shape\":\"QuickConnectName\",\ - \"documentation\":\"The name of the quick connect.
\"\ + \"documentation\":\"A unique name of the quick connect.
\"\ },\ \"Description\":{\ \"shape\":\"QuickConnectDescription\",\ @@ -5632,6 +5690,10 @@ - (NSString *)definitionString { \"TagRestrictedResources\":{\ \"shape\":\"TagRestrictedResourceList\",\ \"documentation\":\"The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: User
| SecurityProfile
| Queue
| RoutingProfile
This API is in preview release for Amazon Connect and is subject to change.
A list of third party applications that the security profile will give access to.
\"\ }\ }\ },\ @@ -6373,6 +6435,7 @@ - (NSString *)definitionString { \"EvaluationFormVersion\":{\ \"shape\":\"VersionNumber\",\ \"documentation\":\"The unique identifier for the evaluation form.
\",\ + \"box\":true,\ \"location\":\"querystring\",\ \"locationName\":\"version\"\ }\ @@ -6953,6 +7016,7 @@ - (NSString *)definitionString { \"EvaluationFormVersion\":{\ \"shape\":\"VersionNumber\",\ \"documentation\":\"A version of the evaluation form.
\",\ + \"box\":true,\ \"location\":\"querystring\",\ \"locationName\":\"version\"\ }\ @@ -8492,7 +8556,8 @@ - (NSString *)definitionString { },\ \"ActiveVersion\":{\ \"shape\":\"VersionNumber\",\ - \"documentation\":\"The version of the active evaluation form version.
\"\ + \"documentation\":\"The version of the active evaluation form version.
\",\ + \"box\":true\ }\ },\ \"documentation\":\"Summary information about an evaluation form.
\"\ @@ -9038,11 +9103,15 @@ - (NSString *)definitionString { },\ \"StartTime\":{\ \"shape\":\"Timestamp\",\ - \"documentation\":\"The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be before the end time timestamp. The time range between the start and end time must be less than 24 hours. The start time cannot be earlier than 35 days before the time of the request. Historical metrics are available for 35 days.
\"\ + \"documentation\":\"The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be before the end time timestamp. The start and end time depends on the IntervalPeriod
selected. By default the time range between start and end time is 35 days. Historical metrics are available for 3 months.
The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be later than the start time timestamp. It cannot be later than the current timestamp.
The time range between the start and end time must be less than 24 hours.
\"\ + \"documentation\":\"The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be later than the start time timestamp. It cannot be later than the current timestamp.
\"\ + },\ + \"Interval\":{\ + \"shape\":\"IntervalDetails\",\ + \"documentation\":\"The interval period and timezone to apply to returned metrics.
IntervalPeriod
: An aggregated grouping applied to request metrics. Valid IntervalPeriod
values are: FIFTEEN_MIN
| THIRTY_MIN
| HOUR
| DAY
| WEEK
| TOTAL
.
For example, if IntervalPeriod
is selected THIRTY_MIN
, StartTime
and EndTime
differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the TOTAL
interval period.
The following list describes restrictions on StartTime
and EndTime
based on which IntervalPeriod
is requested.
FIFTEEN_MIN
: The difference between StartTime
and EndTime
must be less than 3 days.
THIRTY_MIN
: The difference between StartTime
and EndTime
must be less than 3 days.
HOUR
: The difference between StartTime
and EndTime
must be less than 3 days.
DAY
: The difference between StartTime
and EndTime
must be less than 35 days.
WEEK
: The difference between StartTime
and EndTime
must be less than 35 days.
TOTAL
: The difference between StartTime
and EndTime
must be less than 35 days.
TimeZone
: The timezone applied to requested metrics.
The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's Guide.
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Percentage
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid metric filter key: INITIATION_METHOD
. For now, this metric only supports the following as INITIATION_METHOD
: INBOUND
| OUTBOUND
| CALLBACK
| API
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid metric filter key: INITIATION_METHOD
. For now, this metric only supports the following as INITIATION_METHOD
: INBOUND
| OUTBOUND
| CALLBACK
| API
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid metric filter key: INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid metric filter key: INITIATION_METHOD
, DISCONNECT_REASON
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
You can include up to 20 SERVICE_LEVEL metrics in a request.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for \\\"Less than\\\").
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for \\\"Less than\\\").
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for \\\"Less than\\\").
Valid metric filter key: DISCONNECT_REASON
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's Guide.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Data for this metric is available starting from October 1, 2023 0:00:00 GMT.
Unit: Percentage
Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid metric filter key: INITIATION_METHOD
. For now, this metric only supports the following as INITIATION_METHOD
: INBOUND
| OUTBOUND
| CALLBACK
| API
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
The Negate
key in Metric Level Filters is not applicable for this metric.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
This metric is available only for contacts analyzed by Contact Lens conversational analytics.
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid metric filter key: INITIATION_METHOD
Valid groupings and filters: Queue, Channel, Routing Profile, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid metric filter key: INITIATION_METHOD
, DISCONNECT_REASON
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for \\\"Less than\\\").
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature
Feature is a valid filter but not a valid grouping.
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
Unit: Seconds
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
You can include up to 20 SERVICE_LEVEL metrics in a request.
Unit: Percent
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for \\\"Less than\\\").
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for \\\"Less than\\\").
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Threshold: For ThresholdValue
, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison
, you must enter LT
(for \\\"Less than\\\").
Valid metric filter key: DISCONNECT_REASON
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
Unit: Count
Valid groupings and filters: Queue, Channel, Routing Profile
The distribution of allowing signing in to the instance and its replica(s).
\"\ + \"documentation\":\"The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
\"\ },\ \"AgentConfig\":{\ \"shape\":\"AgentConfig\",\ @@ -10015,7 +10084,8 @@ - (NSString *)definitionString { \"PINPOINT_APP\",\ \"WISDOM_ASSISTANT\",\ \"WISDOM_KNOWLEDGE_BASE\",\ - \"CASES_DOMAIN\"\ + \"CASES_DOMAIN\",\ + \"APPLICATION\"\ ]\ },\ \"InternalServiceException\":{\ @@ -10030,6 +10100,31 @@ - (NSString *)definitionString { \"error\":{\"httpStatusCode\":500},\ \"exception\":true\ },\ + \"IntervalDetails\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"TimeZone\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The timezone applied to requested metrics.
\"\ + },\ + \"IntervalPeriod\":{\ + \"shape\":\"IntervalPeriod\",\ + \"documentation\":\" IntervalPeriod
: An aggregated grouping applied to request metrics. Valid IntervalPeriod
values are: FIFTEEN_MIN
| THIRTY_MIN
| HOUR
| DAY
| WEEK
| TOTAL
.
For example, if IntervalPeriod
is selected THIRTY_MIN
, StartTime
and EndTime
differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the TOTAL
interval period.
The following list describes restrictions on StartTime
and EndTime
based on what IntervalPeriod
is requested.
FIFTEEN_MIN
: The difference between StartTime
and EndTime
must be less than 3 days.
THIRTY_MIN
: The difference between StartTime
and EndTime
must be less than 3 days.
HOUR
: The difference between StartTime
and EndTime
must be less than 3 days.
DAY
: The difference between StartTime
and EndTime
must be less than 35 days.
WEEK
: The difference between StartTime
and EndTime
must be less than 35 days.
TOTAL
: The difference between StartTime
and EndTime
must be less than 35 days.
Information about the interval period to use for returning results.
\"\ + },\ + \"IntervalPeriod\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"FIFTEEN_MIN\",\ + \"THIRTY_MIN\",\ + \"HOUR\",\ + \"DAY\",\ + \"WEEK\",\ + \"TOTAL\"\ + ]\ + },\ \"InvalidContactFlowException\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -10928,7 +11023,7 @@ - (NSString *)definitionString { },\ \"PhoneNumberTypes\":{\ \"shape\":\"PhoneNumberTypes\",\ - \"documentation\":\"The type of phone number.
\",\ + \"documentation\":\"The type of phone number.
We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types UIFN
, SHARED
, THIRD_PARTY_TF
, and THIRD_PARTY_DID
, it incorrectly lists them as TOLL_FREE
or DID
.
The security profile identifier.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"SecurityProfileId\"\ + },\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"The instance identifier.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"NextToken\":{\ + \"shape\":\"NextToken\",\ + \"documentation\":\"The token for the next set of results. The next set of results can be retrieved by using the token value returned in the previous response when making the next request.
\",\ + \"location\":\"querystring\",\ + \"locationName\":\"nextToken\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"MaxResult1000\",\ + \"documentation\":\"The maximum number of results to return per page.
\",\ + \"location\":\"querystring\",\ + \"locationName\":\"maxResults\"\ + }\ + }\ + },\ + \"ListSecurityProfileApplicationsResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Applications\":{\ + \"shape\":\"Applications\",\ + \"documentation\":\"This API is in preview release for Amazon Connect and is subject to change.
A list of the third party application's metadata.
\"\ + },\ + \"NextToken\":{\ + \"shape\":\"NextToken\",\ + \"documentation\":\"The token for the next set of results. The next set of results can be retrieved by using the token value returned in the previous response when making the next request.
\"\ + }\ + }\ + },\ \"ListSecurityProfilePermissionsRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -11939,6 +12080,10 @@ - (NSString *)definitionString { \"MetricFilterValues\":{\ \"shape\":\"MetricFilterValueList\",\ \"documentation\":\"The values to use for filtering data.
Valid metric filter values for INITIATION_METHOD
: INBOUND
| OUTBOUND
| TRANSFER
| QUEUE_TRANSFER
| CALLBACK
| API
Valid metric filter values for DISCONNECT_REASON
: CUSTOMER_DISCONNECT
| AGENT_DISCONNECT
| THIRD_PARTY_DISCONNECT
| TELECOM_PROBLEM
| BARGED
| CONTACT_FLOW_DISCONNECT
| OTHER
| EXPIRED
| API
The flag to use to filter on requested metric filter values or to not filter on requested metric filter values. By default the negate is false
, which indicates to filter on the requested metric filter.
Contains information about the filter used when retrieving metrics. MetricFiltersV2
can be used on the following metrics: AVG_AGENT_CONNECTING_TIME
, CONTACTS_CREATED
, CONTACTS_HANDLED
, SUM_CONTACTS_DISCONNECTED
.
The interval period provided in the API request.
\"\ + },\ + \"StartTime\":{\ + \"shape\":\"Timestamp\",\ + \"documentation\":\"The timestamp, in UNIX Epoch time format. Start time is based on the interval period selected.
\"\ + },\ + \"EndTime\":{\ + \"shape\":\"Timestamp\",\ + \"documentation\":\"The timestamp, in UNIX Epoch time format. End time is based on the interval period selected. For example, If IntervalPeriod
is selected THIRTY_MIN
, StartTime
and EndTime
in the API request differs by 1 day, then 48 results are returned in the response. Each result is aggregated by the 30 minutes period, with each StartTime
and EndTime
differing by 30 minutes.
The interval period with the start and end time for the metrics.
\"\ + },\ \"MetricNameV2\":{\"type\":\"string\"},\ \"MetricResultV2\":{\ \"type\":\"structure\",\ @@ -11962,6 +12125,10 @@ - (NSString *)definitionString { \"shape\":\"DimensionsV2Map\",\ \"documentation\":\"The dimension for the metrics.
\"\ },\ + \"MetricInterval\":{\ + \"shape\":\"MetricInterval\",\ + \"documentation\":\"The interval period with the start and end time for the metrics.
\"\ + },\ \"Collections\":{\ \"shape\":\"MetricDataCollectionsV2\",\ \"documentation\":\"The set of metrics.
\"\ @@ -12062,6 +12229,11 @@ - (NSString *)definitionString { \"min\":1,\ \"pattern\":\"(^[\\\\S].*[\\\\S]$)|(^[\\\\S]$)\"\ },\ + \"Namespace\":{\ + \"type\":\"string\",\ + \"max\":128,\ + \"min\":1\ + },\ \"NextToken\":{\"type\":\"string\"},\ \"NextToken2500\":{\ \"type\":\"string\",\ @@ -12304,6 +12476,11 @@ - (NSString *)definitionString { \"max\":100,\ \"min\":0\ },\ + \"Permission\":{\ + \"type\":\"string\",\ + \"max\":128,\ + \"min\":1\ + },\ \"PermissionsList\":{\ \"type\":\"list\",\ \"member\":{\"shape\":\"SecurityProfilePermission\"},\ @@ -12608,7 +12785,7 @@ - (NSString *)definitionString { \"documentation\":\"The status message.
\"\ }\ },\ - \"documentation\":\"The status of the phone number.
CLAIMED
means the previous ClaimedPhoneNumber or UpdatePhoneNumber operation succeeded.
IN_PROGRESS
means a ClaimedPhoneNumber or UpdatePhoneNumber operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.
FAILED
indicates that the previous ClaimedPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that the TargetArn
value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received a FAILED
status from a ClaimPhoneNumber
API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.
The status of the phone number.
CLAIMED
means the previous ClaimPhoneNumber or UpdatePhoneNumber operation succeeded.
IN_PROGRESS
means a ClaimPhoneNumber, UpdatePhoneNumber, or UpdatePhoneNumberMetadata operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.
FAILED
indicates that the previous ClaimPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that the TargetArn
value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received a FAILED
status from a ClaimPhoneNumber
API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.
Information about the EventBridge action.
\"\ + \"documentation\":\"Information about the EventBridge action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnContactEvaluationSubmit
| OnMetricDataUpdate
Information about the contact category action.
\"\ + \"documentation\":\"Information about the contact category action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
Information about the send notification action.
\"\ + \"documentation\":\"Information about the send notification action.
Supported only for TriggerEventSource
values: OnPostCallAnalysisAvailable
| OnRealTimeCallAnalysisAvailable
| OnPostChatAnalysisAvailable
| OnContactEvaluationSubmit
| OnMetricDataUpdate
Information about the action to be performed when a rule is triggered.
\"\ @@ -13928,7 +14105,7 @@ - (NSString *)definitionString { \"documentation\":\"The identifier for the integration association.
\"\ }\ },\ - \"documentation\":\"The name of the event source. This field is required if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
The name of the event source. This field is required if TriggerEventSource
is one of the following values: OnZendeskTicketCreate
| OnZendeskTicketStatusUpdate
| OnSalesforceCaseCreate
| OnContactEvaluationSubmit
| OnMetricDataUpdate
.
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
\"\ + \"documentation\":\"The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
InstanceID is a required field. The \\\"Required: No\\\" below is incorrect.
Information about traffic distributions.
\"\ }\ },\ - \"documentation\":\"The distribution of allowing signing in to the instance and its replica(s).
\"\ + \"documentation\":\"The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
\"\ },\ \"SignInDistribution\":{\ \"type\":\"structure\",\ @@ -14966,7 +15143,7 @@ - (NSString *)definitionString { },\ \"PreviousContactId\":{\ \"shape\":\"ContactId\",\ - \"documentation\":\"The identifier of the previous chat, voice, or task contact.
\"\ + \"documentation\":\"The identifier of the previous chat, voice, or task contact. Any updates to user-defined attributes to task contacts linked using the same PreviousContactID
will affect every contact in the chain. There can be a maximum of 12 linked task contacts in a chain.
A formatted URL that is shown to an agent in the Contact Control Panel (CCP).
\"\ + \"documentation\":\"A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation: URL
| NUMBER
| STRING
| DATE
| EMAIL
. ATTACHMENT
is not a supported reference type during task creation.
A unique identifier for the task template.
\"\ + \"documentation\":\"A unique identifier for the task template. For more information about task templates, see Create task templates in the Amazon Connect Administrator Guide.
\"\ },\ \"QuickConnectId\":{\ \"shape\":\"QuickConnectId\",\ - \"documentation\":\"The identifier for the quick connect.
\"\ + \"documentation\":\"The identifier for the quick connect. Tasks that are created by using QuickConnectId
will use the flow that is defined on agent or queue quick connect. For more information about quick connects, see Create quick connects.
The contactId that is related to this contact.
\"\ + \"documentation\":\"The contactId that is related to this contact. Linking tasks together by using RelatedContactID
copies over contact attributes from the related task contact to the new task contact. All updates to user-defined attributes in the new task contact are limited to the individual contact ID, unlike what happens when tasks are linked by using PreviousContactID
. There are no limits to the number of contacts that can be linked by using RelatedContactId
.
The status of the traffic distribution group.
CREATION_IN_PROGRESS
means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
ACTIVE
means the previous CreateTrafficDistributionGroup operation has succeeded.
CREATION_FAILED
indicates that the previous CreateTrafficDistributionGroup operation has failed.
PENDING_DELETION
means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
DELETION_FAILED
means the previous DeleteTrafficDistributionGroup operation has failed.
UPDATE_IN_PROGRESS
means the previous UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
The status of the traffic distribution group.
CREATION_IN_PROGRESS
means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed.
ACTIVE
means the previous CreateTrafficDistributionGroup operation has succeeded.
CREATION_FAILED
indicates that the previous CreateTrafficDistributionGroup operation has failed.
PENDING_DELETION
means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed.
DELETION_FAILED
means the previous DeleteTrafficDistributionGroup operation has failed.
UPDATE_IN_PROGRESS
means the previous UpdateTrafficDistribution operation is still in progress and has not yet completed.
Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup
API. The default traffic distribution group is deleted as part of the process for deleting a replica.
You can change the SignInConfig
distribution only for a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup
API. The default traffic distribution group is deleted as part of the process for deleting a replica.
The SignInConfig
distribution is available only on the default TrafficDistributionGroup
. If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
Information about a traffic distribution group.
\"\ @@ -16007,7 +16184,7 @@ - (NSString *)definitionString { },\ \"Content\":{\ \"shape\":\"ContactFlowContent\",\ - \"documentation\":\"The JSON string that represents flow's content. For an example, see Example contact flow in Amazon Connect Flow language.
\"\ + \"documentation\":\"The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
Length Constraints: Minimum length of 1. Maximum length of 256000.
\"\ }\ }\ },\ @@ -16076,7 +16253,7 @@ - (NSString *)definitionString { },\ \"Content\":{\ \"shape\":\"ContactFlowModuleContent\",\ - \"documentation\":\"The content of the flow module.
\"\ + \"documentation\":\"The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.
\"\ }\ }\ },\ @@ -16250,7 +16427,8 @@ - (NSString *)definitionString { },\ \"CreateNewVersion\":{\ \"shape\":\"BoxedBoolean\",\ - \"documentation\":\"A flag indicating whether the operation must create a new version.
\"\ + \"documentation\":\"A flag indicating whether the operation must create a new version.
\",\ + \"box\":true\ },\ \"Title\":{\ \"shape\":\"EvaluationFormTitle\",\ @@ -16437,6 +16615,27 @@ - (NSString *)definitionString { \"members\":{\ }\ },\ + \"UpdatePhoneNumberMetadataRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"PhoneNumberId\"],\ + \"members\":{\ + \"PhoneNumberId\":{\ + \"shape\":\"PhoneNumberId\",\ + \"documentation\":\"The Amazon Resource Name (ARN) or resource ID of the phone number.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"PhoneNumberId\"\ + },\ + \"PhoneNumberDescription\":{\ + \"shape\":\"PhoneNumberDescription\",\ + \"documentation\":\"The description of the phone number.
\"\ + },\ + \"ClientToken\":{\ + \"shape\":\"ClientToken\",\ + \"documentation\":\"A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
\",\ + \"idempotencyToken\":true\ + }\ + }\ + },\ \"UpdatePhoneNumberRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -16921,6 +17120,10 @@ - (NSString *)definitionString { \"TagRestrictedResources\":{\ \"shape\":\"TagRestrictedResourceList\",\ \"documentation\":\"The list of resources that a security profile applies tag restrictions to in Amazon Connect.
\"\ + },\ + \"Applications\":{\ + \"shape\":\"Applications\",\ + \"documentation\":\"This API is in preview release for Amazon Connect and is subject to change.
A list of the third party application's metadata.
\"\ }\ }\ },\ @@ -17042,7 +17245,7 @@ - (NSString *)definitionString { },\ \"SignInConfig\":{\ \"shape\":\"SignInConfig\",\ - \"documentation\":\"The distribution of allowing signing in to the instance and its replica(s).
\"\ + \"documentation\":\"The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).
\"\ },\ \"AgentConfig\":{\ \"shape\":\"AgentConfig\",\ @@ -17695,7 +17898,6 @@ - (NSString *)definitionString { \"Value\":{\"type\":\"double\"},\ \"VersionNumber\":{\ \"type\":\"integer\",\ - \"box\":true,\ \"min\":1\ },\ \"View\":{\ @@ -18120,7 +18322,7 @@ - (NSString *)definitionString { },\ \"timestamp\":{\"type\":\"timestamp\"}\ },\ - \"documentation\":\"Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.
There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
\"\ + \"documentation\":\"Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.
There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, seeP98941055 Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
\"\ }\ "; } diff --git a/AWSConnect/AWSConnectService.h b/AWSConnect/AWSConnectService.h index 06261450c55..d72d26c71ce 100644 --- a/AWSConnect/AWSConnectService.h +++ b/AWSConnect/AWSConnectService.h @@ -24,7 +24,7 @@ NS_ASSUME_NONNULL_BEGIN FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; /** -Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.
There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
+Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.
There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, seeP98941055 Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.
You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.
*/ @interface AWSConnect : AWSService @@ -804,7 +804,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (void)createRule:(AWSConnectCreateRuleRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectCreateRuleResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -This API is in preview release for Amazon Connect and is subject to change.
Creates a security profile.
+Creates a security profile.
@param request A container for the necessary parameters to execute the CreateSecurityProfile service method. @@ -816,7 +816,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (AWSTaskThis API is in preview release for Amazon Connect and is subject to change.
Creates a security profile.
+Creates a security profile.
@param request A container for the necessary parameters to execute the CreateSecurityProfile service method. @param completionHandler The completion handler to call when the load request is complete. @@ -854,7 +854,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (void)createTaskTemplate:(AWSConnectCreateTaskTemplateRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectCreateTaskTemplateResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Creates a traffic distribution group given an Amazon Connect instance that has been replicated.
You can change the SignInConfig
distribution only for a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
+Creates a traffic distribution group given an Amazon Connect instance that has been replicated.
The SignInConfig
distribution is available only on a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
@param request A container for the necessary parameters to execute the CreateTrafficDistributionGroup service method. @@ -866,7 +866,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (AWSTaskCreates a traffic distribution group given an Amazon Connect instance that has been replicated.
You can change the SignInConfig
distribution only for a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
+Creates a traffic distribution group given an Amazon Connect instance that has been replicated.
The SignInConfig
distribution is available only on a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
@param request A container for the necessary parameters to execute the CreateTrafficDistributionGroup service method. @param completionHandler The completion handler to call when the load request is complete. @@ -904,7 +904,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (void)createUseCase:(AWSConnectCreateUseCaseRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectCreateUseCaseResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Creates a user account for the specified Amazon Connect instance.
For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon Connect Administrator Guide.
+Creates a user account for the specified Amazon Connect instance.
Certain UserIdentityInfo parameters are required in some situations. For example, Email
is required if you are using SAML for identity management. FirstName
and LastName
are required if you are using Amazon Connect or SAML for identity management.
For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon Connect Administrator Guide.
@param request A container for the necessary parameters to execute the CreateUser service method. @@ -916,7 +916,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (AWSTaskCreates a user account for the specified Amazon Connect instance.
For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon Connect Administrator Guide.
+Creates a user account for the specified Amazon Connect instance.
Certain UserIdentityInfo parameters are required in some situations. For example, Email
is required if you are using SAML for identity management. FirstName
and LastName
are required if you are using Amazon Connect or SAML for identity management.
For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon Connect Administrator Guide.
@param request A container for the necessary parameters to execute the CreateUser service method. @param completionHandler The completion handler to call when the load request is complete. @@ -1324,7 +1324,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (void)deleteRule:(AWSConnectDeleteRuleRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /** -This API is in preview release for Amazon Connect and is subject to change.
Deletes a security profile.
+Deletes a security profile.
@param request A container for the necessary parameters to execute the DeleteSecurityProfile service method. @@ -1335,7 +1335,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (AWSTask *)deleteSecurityProfile:(AWSConnectDeleteSecurityProfileRequest *)request; /** -This API is in preview release for Amazon Connect and is subject to change.
Deletes a security profile.
+Deletes a security profile.
@param request A container for the necessary parameters to execute the DeleteSecurityProfile service method. @param completionHandler The completion handler to call when the load request is complete. @@ -1937,7 +1937,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (void)describeRule:(AWSConnectDescribeRuleRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectDescribeRuleResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -This API is in preview release for Amazon Connect and is subject to change.
Gets basic information about the security profle.
+Gets basic information about the security profle.
@param request A container for the necessary parameters to execute the DescribeSecurityProfile service method. @@ -1949,7 +1949,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (AWSTaskThis API is in preview release for Amazon Connect and is subject to change.
Gets basic information about the security profle.
+Gets basic information about the security profle.
@param request A container for the necessary parameters to execute the DescribeSecurityProfile service method. @param completionHandler The completion handler to call when the load request is complete. @@ -2435,7 +2435,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (void)getCurrentUserData:(AWSConnectGetCurrentUserDataRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectGetCurrentUserDataResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Retrieves a token for federation.
This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error message similar to the following one appears:
Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect
Supports SAML sign-in for Amazon Connect. Retrieves a token for federation. The token is for the Amazon Connect user which corresponds to the IAM credentials that were used to invoke this action.
For more information about how SAML sign-in works in Amazon Connect, see Configure SAML with IAM for Amazon Connect in the Amazon Connect Administrator Guide.
This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error message similar to the following one appears:
Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect
Retrieves a token for federation.
This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error message similar to the following one appears:
Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect
Supports SAML sign-in for Amazon Connect. Retrieves a token for federation. The token is for the Amazon Connect user which corresponds to the IAM credentials that were used to invoke this action.
For more information about how SAML sign-in works in Amazon Connect, see Configure SAML with IAM for Amazon Connect in the Amazon Connect Administrator Guide.
This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error message similar to the following one appears:
Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect
Gets historical metric data from the specified Amazon Connect instance.
For a description of each historical metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.
+Gets historical metric data from the specified Amazon Connect instance.
For a description of each historical metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.
We recommend using the GetMetricDataV2 API. It provides more flexibility, features, and the ability to query longer time ranges than GetMetricData
. Use it to retrieve historical agent and contact metrics for the last 3 months, at varying intervals. You can also use it to build custom dashboards to measure historical queue and agent performance. For example, you can track the number of incoming contacts for the last 7 days, with data split by day, to see how contact volume changed per day of the week.
Gets historical metric data from the specified Amazon Connect instance.
For a description of each historical metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.
+Gets historical metric data from the specified Amazon Connect instance.
For a description of each historical metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.
We recommend using the GetMetricDataV2 API. It provides more flexibility, features, and the ability to query longer time ranges than GetMetricData
. Use it to retrieve historical agent and contact metrics for the last 3 months, at varying intervals. You can also use it to build custom dashboards to measure historical queue and agent performance. For example, you can track the number of incoming contacts for the last 7 days, with data split by day, to see how contact volume changed per day of the week.
Gets metric data from the specified Amazon Connect instance.
GetMetricDataV2
offers more features than GetMetricData, the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 35 days, in 24-hour intervals.
For a description of the historical metrics that are supported by GetMetricDataV2
and GetMetricData
, see Historical metrics definitions in the Amazon Connect Administrator's Guide.
Gets metric data from the specified Amazon Connect instance.
GetMetricDataV2
offers more features than GetMetricData, the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 3 months, at varying intervals.
For a description of the historical metrics that are supported by GetMetricDataV2
and GetMetricData
, see Historical metrics definitions in the Amazon Connect Administrator's Guide.
Gets metric data from the specified Amazon Connect instance.
GetMetricDataV2
offers more features than GetMetricData, the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 35 days, in 24-hour intervals.
For a description of the historical metrics that are supported by GetMetricDataV2
and GetMetricData
, see Historical metrics definitions in the Amazon Connect Administrator's Guide.
Gets metric data from the specified Amazon Connect instance.
GetMetricDataV2
offers more features than GetMetricData, the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 3 months, at varying intervals.
For a description of the historical metrics that are supported by GetMetricDataV2
and GetMetricData
, see Historical metrics definitions in the Amazon Connect Administrator's Guide.
This API is in preview release for Amazon Connect and is subject to change.
Lists the permissions granted to a security profile.
+Returns a list of third party applications in a specific security profile.
+ + @param request A container for the necessary parameters to execute the ListSecurityProfileApplications service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectListSecurityProfileApplicationsResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectListSecurityProfileApplicationsRequest + @see AWSConnectListSecurityProfileApplicationsResponse + */ +- (AWSTaskReturns a list of third party applications in a specific security profile.
+ + @param request A container for the necessary parameters to execute the ListSecurityProfileApplications 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. On failed execution, `error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorThrottling`, `AWSConnectErrorInternalService`. + + @see AWSConnectListSecurityProfileApplicationsRequest + @see AWSConnectListSecurityProfileApplicationsResponse + */ +- (void)listSecurityProfileApplications:(AWSConnectListSecurityProfileApplicationsRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectListSecurityProfileApplicationsResponse * _Nullable response, NSError * _Nullable error))completionHandler; + +/** +Lists the permissions granted to a security profile.
@param request A container for the necessary parameters to execute the ListSecurityProfilePermissions service method. @@ -3272,7 +3297,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (AWSTaskThis API is in preview release for Amazon Connect and is subject to change.
Lists the permissions granted to a security profile.
+Lists the permissions granted to a security profile.
@param request A container for the necessary parameters to execute the ListSecurityProfilePermissions service method. @param completionHandler The completion handler to call when the load request is complete. @@ -3857,7 +3882,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (void)searchSecurityProfiles:(AWSConnectSearchSecurityProfilesRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectSearchSecurityProfilesResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Searches users in an Amazon Connect instance, with optional filtering.
AfterContactWorkTimeLimit
is returned in milliseconds.
Searches users in an Amazon Connect instance, with optional filtering.
AfterContactWorkTimeLimit
is returned in milliseconds.
Searches users in an Amazon Connect instance, with optional filtering.
AfterContactWorkTimeLimit
is returned in milliseconds.
Searches users in an Amazon Connect instance, with optional filtering.
AfterContactWorkTimeLimit
is returned in milliseconds.
Initiates a flow to start a new task.
+Initiates a flow to start a new task contact. For more information about task contacts, see Concepts: Tasks in Amazon Connect in the Amazon Connect Administrator Guide.
When using PreviousContactId
and RelatedContactId
input parameters, note the following:
PreviousContactId
Any updates to user-defined task contact attributes on any contact linked through the same PreviousContactId
will affect every contact in the chain.
There can be a maximum of 12 linked task contacts in a chain. That is, 12 task contacts can be created that share the same PreviousContactId
.
RelatedContactId
Copies contact attributes from the related task contact to the new contact.
Any update on attributes in a new task contact does not update attributes on previous contact.
There’s no limit on the number of task contacts that can be created that use the same RelatedContactId
.
In addition, when calling StartTaskContact include only one of these parameters: ContactFlowID
, QuickConnectID
, or TaskTemplateID
. Only one parameter is required as long as the task template has a flow configured to run it. If more than one parameter is specified, or only the TaskTemplateID
is specified but it does not have a flow configured, the request returns an error because Amazon Connect cannot identify the unique flow to run when the task is created.
A ServiceQuotaExceededException
occurs when the number of open tasks exceeds the active tasks quota or there are already 12 tasks referencing the same PreviousContactId
. For more information about service quotas for task contacts, see Amazon Connect service quotas in the Amazon Connect Administrator Guide.
Initiates a flow to start a new task.
+Initiates a flow to start a new task contact. For more information about task contacts, see Concepts: Tasks in Amazon Connect in the Amazon Connect Administrator Guide.
When using PreviousContactId
and RelatedContactId
input parameters, note the following:
PreviousContactId
Any updates to user-defined task contact attributes on any contact linked through the same PreviousContactId
will affect every contact in the chain.
There can be a maximum of 12 linked task contacts in a chain. That is, 12 task contacts can be created that share the same PreviousContactId
.
RelatedContactId
Copies contact attributes from the related task contact to the new contact.
Any update on attributes in a new task contact does not update attributes on previous contact.
There’s no limit on the number of task contacts that can be created that use the same RelatedContactId
.
In addition, when calling StartTaskContact include only one of these parameters: ContactFlowID
, QuickConnectID
, or TaskTemplateID
. Only one parameter is required as long as the task template has a flow configured to run it. If more than one parameter is specified, or only the TaskTemplateID
is specified but it does not have a flow configured, the request returns an error because Amazon Connect cannot identify the unique flow to run when the task is created.
A ServiceQuotaExceededException
occurs when the number of open tasks exceeds the active tasks quota or there are already 12 tasks referencing the same PreviousContactId
. For more information about service quotas for task contacts, see Amazon Connect service quotas in the Amazon Connect Administrator Guide.
Updates a phone number’s metadata.
To verify the status of a previous UpdatePhoneNumberMetadata operation, call the DescribePhoneNumber API.
Updates a phone number’s metadata.
To verify the status of a previous UpdatePhoneNumberMetadata operation, call the DescribePhoneNumber API.
Updates a prompt.
@@ -4950,7 +4997,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (void)updateRule:(AWSConnectUpdateRuleRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /** -This API is in preview release for Amazon Connect and is subject to change.
Updates a security profile.
+Updates a security profile.
@param request A container for the necessary parameters to execute the UpdateSecurityProfile service method. @@ -4961,7 +5008,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (AWSTask *)updateSecurityProfile:(AWSConnectUpdateSecurityProfileRequest *)request; /** -This API is in preview release for Amazon Connect and is subject to change.
Updates a security profile.
+Updates a security profile.
@param request A container for the necessary parameters to execute the UpdateSecurityProfile service method. @param completionHandler The completion handler to call when the load request is complete. @@ -4997,7 +5044,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (void)updateTaskTemplate:(AWSConnectUpdateTaskTemplateRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectUpdateTaskTemplateResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Updates the traffic distribution for a given traffic distribution group.
You can change the SignInConfig
distribution only for a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
+Updates the traffic distribution for a given traffic distribution group.
The SignInConfig
distribution is available only on a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
@param request A container for the necessary parameters to execute the UpdateTrafficDistribution service method. @@ -5009,7 +5056,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (AWSTaskUpdates the traffic distribution for a given traffic distribution group.
You can change the SignInConfig
distribution only for a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
+Updates the traffic distribution for a given traffic distribution group.
The SignInConfig
distribution is available only on a default TrafficDistributionGroup
(see the IsDefault
parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution
with a modified SignInConfig
and a non-default TrafficDistributionGroup
, an InvalidRequestException
is returned.
For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
@param request A container for the necessary parameters to execute the UpdateTrafficDistribution service method. @param completionHandler The completion handler to call when the load request is complete. diff --git a/AWSConnect/AWSConnectService.m b/AWSConnect/AWSConnectService.m index 62bd34842d6..5c3c578b107 100644 --- a/AWSConnect/AWSConnectService.m +++ b/AWSConnect/AWSConnectService.m @@ -3189,6 +3189,29 @@ - (void)listSecurityKeys:(AWSConnectListSecurityKeysRequest *)request }]; } +- (AWSTaskA 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 +8281,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.
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.
Options for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**The tags to assign to the Verified Access endpoint.
*/ @@ -14118,6 +14182,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 +14233,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 +14355,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 +19790,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSArrayThe 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
).
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 +20318,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.
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.
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.
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.
Returns true
if the request succeeds; otherwise, it returns an error.
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
.
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.
Returns true
if the request succeeds; otherwise, it returns an error.
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
.
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.
The hypervisor type of the image.
+The hypervisor type of the image. Only xen
is supported. ovm
is not supported.
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 +32556,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.
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 +40711,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 +40739,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 +40828,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 +40856,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 +41060,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 +43128,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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Describes the options in use for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationResponse * _Nullable sseSpecification; + /**The endpoint status.
*/ @@ -53845,6 +54026,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 +54069,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 +54344,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
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
Describes the ARN of the KMS key.
+ */ +@property (nonatomic, strong) NSString * _Nullable kmsKeyArn; + +@end + /**Describes a Verified Access trust provider.
*/ @@ -54194,6 +54421,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..258ba43f8b0 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,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -9962,6 +10125,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -13263,6 +13528,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"networkInterfaceOptions" : @"NetworkInterfaceOptions", @"policyDocument" : @"PolicyDocument", @"securityGroupIds" : @"SecurityGroupIds", + @"sseSpecification" : @"SseSpecification", @"tagSpecifications" : @"TagSpecifications", @"verifiedAccessGroupId" : @"VerifiedAccessGroupId", }; @@ -13313,6 +13579,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 +13619,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 +13664,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"clientToken" : @"ClientToken", @"detail" : @"Description", @"dryRun" : @"DryRun", + @"FIPSEnabled" : @"FIPSEnabled", @"tagSpecifications" : @"TagSpecifications", }; } @@ -13466,6 +13742,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"dryRun" : @"DryRun", @"oidcOptions" : @"OidcOptions", @"policyReferenceName" : @"PolicyReferenceName", + @"sseSpecification" : @"SseSpecification", @"tagSpecifications" : @"TagSpecifications", @"trustProviderType" : @"TrustProviderType", @"userTrustProviderType" : @"UserTrustProviderType", @@ -13501,6 +13778,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 +20874,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -22036,6 +22470,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -22601,6 +23137,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"filters" : @"Filters", @"imageIds" : @"ImageIds", @"includeDeprecated" : @"IncludeDeprecated", + @"includeDisabled" : @"IncludeDisabled", @"maxResults" : @"MaxResults", @"nextToken" : @"NextToken", @"owners" : @"Owners", @@ -26892,6 +27429,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -28335,6 +29025,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -31728,6 +32520,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 +34544,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 +35788,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 +35828,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 +37998,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -38586,6 +39594,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -41036,6 +42146,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -42479,6 +43742,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -44677,6 +46042,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -46120,6 +47638,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -49261,6 +50881,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"ramdiskId" : @"RamdiskId", @"rootDeviceName" : @"RootDeviceName", @"rootDeviceType" : @"RootDeviceType", + @"sourceInstanceId" : @"SourceInstanceId", @"sriovNetSupport" : @"SriovNetSupport", @"state" : @"State", @"stateReason" : @"StateReason", @@ -49464,6 +51085,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 +51105,8 @@ + (NSValueTransformer *)stateJSONTransformer { return @"failed"; case AWSEC2ImageStateError: return @"error"; + case AWSEC2ImageStateDisabled: + return @"disabled"; default: return nil; } @@ -52144,6 +53770,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -53587,6 +55366,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -56365,6 +58246,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -57808,6 +59842,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -62267,6 +64403,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -63710,6 +65999,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -65974,6 +68365,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -67417,6 +69961,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -71370,6 +74016,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -72813,6 +75612,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -76037,6 +78938,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -77480,6 +80534,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -82123,10 +85279,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 +85300,14 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessEndpointRequest @@ -82202,10 +85368,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 +85389,14 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessGroupRequest @@ -82365,6 +85541,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"detail" : @"Description", @"dryRun" : @"DryRun", @"oidcOptions" : @"OidcOptions", + @"sseSpecification" : @"SseSpecification", @"verifiedAccessTrustProviderId" : @"VerifiedAccessTrustProviderId", }; } @@ -82373,6 +85550,10 @@ + (NSValueTransformer *)oidcOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2ModifyVerifiedAccessTrustProviderOidcOptions class]]; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessTrustProviderResult @@ -89399,6 +92580,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -90842,6 +94176,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -93227,6 +96663,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -94670,6 +98259,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -94787,6 +98478,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 +98518,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 +100688,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -98435,6 +102284,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -100750,6 +104701,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -102193,6 +106297,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -104550,6 +108756,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -105993,6 +110352,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -108421,6 +112882,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -109864,6 +114478,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -112665,6 +117381,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -114108,6 +118977,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -117072,6 +122043,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -118515,6 +123639,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -122329,6 +127555,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -123772,6 +129151,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -127348,6 +132829,159 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"r7gd.16xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeR7Gd_16xlarge); } + if ([value caseInsensitiveCompare:@"r7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_medium); + } + if ([value caseInsensitiveCompare:@"r7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_large); + } + if ([value caseInsensitiveCompare:@"r7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"r7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_large); + } + if ([value caseInsensitiveCompare:@"c7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7I_48xlarge); + } + if ([value caseInsensitiveCompare:@"mac2-m2pro.metal"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeMAC2_m2pro_metal); + } + if ([value caseInsensitiveCompare:@"r7iz.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_large); + } + if ([value caseInsensitiveCompare:@"r7iz.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7iz.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Iz_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_medium); + } + if ([value caseInsensitiveCompare:@"c7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_large); + } + if ([value caseInsensitiveCompare:@"c7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"c7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"r7i.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_large); + } + if ([value caseInsensitiveCompare:@"r7i.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_12xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_24xlarge); + } + if ([value caseInsensitiveCompare:@"r7i.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7I_48xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -128791,6 +134425,108 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"r7gd.12xlarge"; case AWSEC2InstanceTypeR7Gd_16xlarge: return @"r7gd.16xlarge"; + case AWSEC2InstanceTypeR7A_medium: + return @"r7a.medium"; + case AWSEC2InstanceTypeR7A_large: + return @"r7a.large"; + case AWSEC2InstanceTypeR7A_xlarge: + return @"r7a.xlarge"; + case AWSEC2InstanceTypeR7A_2xlarge: + return @"r7a.2xlarge"; + case AWSEC2InstanceTypeR7A_4xlarge: + return @"r7a.4xlarge"; + case AWSEC2InstanceTypeR7A_8xlarge: + return @"r7a.8xlarge"; + case AWSEC2InstanceTypeR7A_12xlarge: + return @"r7a.12xlarge"; + case AWSEC2InstanceTypeR7A_16xlarge: + return @"r7a.16xlarge"; + case AWSEC2InstanceTypeR7A_24xlarge: + return @"r7a.24xlarge"; + case AWSEC2InstanceTypeR7A_32xlarge: + return @"r7a.32xlarge"; + case AWSEC2InstanceTypeR7A_48xlarge: + return @"r7a.48xlarge"; + case AWSEC2InstanceTypeC7I_large: + return @"c7i.large"; + case AWSEC2InstanceTypeC7I_xlarge: + return @"c7i.xlarge"; + case AWSEC2InstanceTypeC7I_2xlarge: + return @"c7i.2xlarge"; + case AWSEC2InstanceTypeC7I_4xlarge: + return @"c7i.4xlarge"; + case AWSEC2InstanceTypeC7I_8xlarge: + return @"c7i.8xlarge"; + case AWSEC2InstanceTypeC7I_12xlarge: + return @"c7i.12xlarge"; + case AWSEC2InstanceTypeC7I_16xlarge: + return @"c7i.16xlarge"; + case AWSEC2InstanceTypeC7I_24xlarge: + return @"c7i.24xlarge"; + case AWSEC2InstanceTypeC7I_48xlarge: + return @"c7i.48xlarge"; + case AWSEC2InstanceTypeMAC2_m2pro_metal: + return @"mac2-m2pro.metal"; + case AWSEC2InstanceTypeR7Iz_large: + return @"r7iz.large"; + case AWSEC2InstanceTypeR7Iz_xlarge: + return @"r7iz.xlarge"; + case AWSEC2InstanceTypeR7Iz_2xlarge: + return @"r7iz.2xlarge"; + case AWSEC2InstanceTypeR7Iz_4xlarge: + return @"r7iz.4xlarge"; + case AWSEC2InstanceTypeR7Iz_8xlarge: + return @"r7iz.8xlarge"; + case AWSEC2InstanceTypeR7Iz_12xlarge: + return @"r7iz.12xlarge"; + case AWSEC2InstanceTypeR7Iz_16xlarge: + return @"r7iz.16xlarge"; + case AWSEC2InstanceTypeR7Iz_32xlarge: + return @"r7iz.32xlarge"; + case AWSEC2InstanceTypeC7A_medium: + return @"c7a.medium"; + case AWSEC2InstanceTypeC7A_large: + return @"c7a.large"; + case AWSEC2InstanceTypeC7A_xlarge: + return @"c7a.xlarge"; + case AWSEC2InstanceTypeC7A_2xlarge: + return @"c7a.2xlarge"; + case AWSEC2InstanceTypeC7A_4xlarge: + return @"c7a.4xlarge"; + case AWSEC2InstanceTypeC7A_8xlarge: + return @"c7a.8xlarge"; + case AWSEC2InstanceTypeC7A_12xlarge: + return @"c7a.12xlarge"; + case AWSEC2InstanceTypeC7A_16xlarge: + return @"c7a.16xlarge"; + case AWSEC2InstanceTypeC7A_24xlarge: + return @"c7a.24xlarge"; + case AWSEC2InstanceTypeC7A_32xlarge: + return @"c7a.32xlarge"; + case AWSEC2InstanceTypeC7A_48xlarge: + return @"c7a.48xlarge"; + case AWSEC2InstanceTypeC7A_metal_48xl: + return @"c7a.metal-48xl"; + case AWSEC2InstanceTypeR7A_metal_48xl: + return @"r7a.metal-48xl"; + case AWSEC2InstanceTypeR7I_large: + return @"r7i.large"; + case AWSEC2InstanceTypeR7I_xlarge: + return @"r7i.xlarge"; + case AWSEC2InstanceTypeR7I_2xlarge: + return @"r7i.2xlarge"; + case AWSEC2InstanceTypeR7I_4xlarge: + return @"r7i.4xlarge"; + case AWSEC2InstanceTypeR7I_8xlarge: + return @"r7i.8xlarge"; + case AWSEC2InstanceTypeR7I_12xlarge: + return @"r7i.12xlarge"; + case AWSEC2InstanceTypeR7I_16xlarge: + return @"r7i.16xlarge"; + case AWSEC2InstanceTypeR7I_24xlarge: + return @"r7i.24xlarge"; + case AWSEC2InstanceTypeR7I_48xlarge: + return @"r7i.48xlarge"; default: return nil; } @@ -134356,6 +140092,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"loadBalancerOptions" : @"LoadBalancerOptions", @"networkInterfaceOptions" : @"NetworkInterfaceOptions", @"securityGroupIds" : @"SecurityGroupIds", + @"sseSpecification" : @"SseSpecification", @"status" : @"Status", @"tags" : @"Tags", @"verifiedAccessEndpointId" : @"VerifiedAccessEndpointId", @@ -134409,6 +140146,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 +140299,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"detail" : @"Description", @"lastUpdatedTime" : @"LastUpdatedTime", @"owner" : @"Owner", + @"sseSpecification" : @"SseSpecification", @"tags" : @"Tags", @"verifiedAccessGroupArn" : @"VerifiedAccessGroupArn", @"verifiedAccessGroupId" : @"VerifiedAccessGroupId", @@ -134565,6 +140307,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + + (NSValueTransformer *)tagsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Tag class]]; } @@ -134581,6 +140327,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"creationTime" : @"CreationTime", @"detail" : @"Description", + @"fipsEnabled" : @"FipsEnabled", @"lastUpdatedTime" : @"LastUpdatedTime", @"tags" : @"Tags", @"verifiedAccessInstanceId" : @"VerifiedAccessInstanceId", @@ -134822,6 +140569,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 +140614,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"lastUpdatedTime" : @"LastUpdatedTime", @"oidcOptions" : @"OidcOptions", @"policyReferenceName" : @"PolicyReferenceName", + @"sseSpecification" : @"SseSpecification", @"tags" : @"Tags", @"trustProviderType" : @"TrustProviderType", @"userTrustProviderType" : @"UserTrustProviderType", @@ -134873,6 +140651,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..940315992db 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.
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.
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
.
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.
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
.
The ID of the export task. This is the ID returned by the CreateInstanceExportTask
and ExportImage
operations.
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.
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.
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
.
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
.
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
.
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
.
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
).
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
).
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.
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
.
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.
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.
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.
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.
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
.
Returns true
if the request succeeds; otherwise, it returns an error.
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
.
Returns true
if the request succeeds; otherwise, it returns an error.
The hypervisor type of the image.
\",\ + \"documentation\":\"The hypervisor type of the image. Only xen
is supported. ovm
is not supported.
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.
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.
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 +41746,7 @@ - (NSString *)definitionString { },\ \"ModifyVerifiedAccessEndpointPolicyRequest\":{\ \"type\":\"structure\",\ - \"required\":[\ - \"VerifiedAccessEndpointId\",\ - \"PolicyEnabled\"\ - ],\ + \"required\":[\"VerifiedAccessEndpointId\"],\ \"members\":{\ \"VerifiedAccessEndpointId\":{\ \"shape\":\"VerifiedAccessEndpointId\",\ @@ -41624,6 +41768,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
.
Options for server side encryption.
\"\ }\ }\ },\ @@ -41639,6 +41787,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 +41849,7 @@ - (NSString *)definitionString { },\ \"ModifyVerifiedAccessGroupPolicyRequest\":{\ \"type\":\"structure\",\ - \"required\":[\ - \"VerifiedAccessGroupId\",\ - \"PolicyEnabled\"\ - ],\ + \"required\":[\"VerifiedAccessGroupId\"],\ \"members\":{\ \"VerifiedAccessGroupId\":{\ \"shape\":\"VerifiedAccessGroupId\",\ @@ -41721,6 +41871,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
.
Options for server side encryption.
\"\ }\ }\ },\ @@ -41736,6 +41890,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 +42062,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 +44285,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.
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.
Describes the configuration of On-Demand Instances in an EC2 Fleet.
\"\ @@ -46550,7 +46713,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.
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.
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.
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.
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.
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.
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.
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.
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.
Describes the configuration of Spot Instances in an EC2 Fleet request.
\"\ @@ -56263,6 +56426,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 +56600,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 +56656,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 +56909,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
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
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 +56996,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.
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.
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.
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.
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
.
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
.
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 + */ +- (AWSTaskSets 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 + */ +- (AWSTaskRe-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; - (AWSTaskRemoves 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 *) }]; } +- (AWSTaskThe type of export that was performed. Valid values are FULL_EXPORT
or INCREMENTAL_EXPORT
.
Status code for the result of the failed export.
*/ @@ -2426,6 +2444,11 @@ typedef NS_ENUM(NSInteger, AWSDynamoDBTimeToLiveStatus) { */ @property (nonatomic, strong) NSString * _Nullable failureMessage; +/** +Optional object containing the parameters specific to an incremental export.
+ */ +@property (nonatomic, strong) AWSDynamoDBIncrementalExportSpecification * _Nullable incrementalExportSpecification; + /**The number of items exported.
*/ @@ -2489,6 +2512,11 @@ typedef NS_ENUM(NSInteger, AWSDynamoDBTimeToLiveStatus) { */ @property (nonatomic, assign) AWSDynamoDBExportStatus exportStatus; +/** +The type of export that was performed. Valid values are FULL_EXPORT
or INCREMENTAL_EXPORT
.
Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.
+ */ +@property (nonatomic, assign) AWSDynamoDBExportType exportType; + +/** +Optional object containing the parameters specific to an incremental export.
+ */ +@property (nonatomic, strong) AWSDynamoDBIncrementalExportSpecification * _Nullable incrementalExportSpecification; + /**The name of the Amazon S3 bucket to export the snapshot to.
*/ @@ -3094,6 +3132,29 @@ typedef NS_ENUM(NSInteger, AWSDynamoDBTimeToLiveStatus) { @end +/** +Optional object containing the parameters specific to an incremental export.
+ */ +@interface AWSDynamoDBIncrementalExportSpecification : AWSModel + + +/** +Time in the past which provides the inclusive start range for the export table's data, counted in seconds from the start of the Unix epoch. The incremental export will reflect the table's state including and after this point in time.
+ */ +@property (nonatomic, strong) NSDate * _Nullable exportFromTime; + +/** +Time in the past which provides the exclusive end range for the export table's data, counted in seconds from the start of the Unix epoch. The incremental export will reflect the table's state just prior to this point in time. If this is not provided, the latest time with data available will be used.
+ */ +@property (nonatomic, strong) NSDate * _Nullable exportToTime; + +/** +The view type that was chosen for the export. Valid values are NEW_AND_OLD_IMAGES
and NEW_IMAGES
. The default value is NEW_AND_OLD_IMAGES
.
The format options for the data that was imported into the target table. There is one value, CsvOption.
*/ @@ -4710,7 +4771,7 @@ typedef NS_ENUM(NSInteger, AWSDynamoDBTimeToLiveStatus) { @property (nonatomic, strong) NSDictionaryA string that contains conditions that DynamoDB applies after the Scan
operation, but before the data is returned to you. Items that do not satisfy the FilterExpression
criteria are not returned.
A FilterExpression
is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.
For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide.
+A string that contains conditions that DynamoDB applies after the Scan
operation, but before the data is returned to you. Items that do not satisfy the FilterExpression
criteria are not returned.
A FilterExpression
is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.
For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide.
*/ @property (nonatomic, strong) NSString * _Nullable filterExpression; diff --git a/AWSDynamoDB/AWSDynamoDBModel.m b/AWSDynamoDB/AWSDynamoDBModel.m index 4d70225ea3b..e8e119b0572 100644 --- a/AWSDynamoDB/AWSDynamoDBModel.m +++ b/AWSDynamoDB/AWSDynamoDBModel.m @@ -2718,8 +2718,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"exportManifest" : @"ExportManifest", @"exportStatus" : @"ExportStatus", @"exportTime" : @"ExportTime", + @"exportType" : @"ExportType", @"failureCode" : @"FailureCode", @"failureMessage" : @"FailureMessage", + @"incrementalExportSpecification" : @"IncrementalExportSpecification", @"itemCount" : @"ItemCount", @"s3Bucket" : @"S3Bucket", @"s3BucketOwner" : @"S3BucketOwner", @@ -2795,6 +2797,31 @@ + (NSValueTransformer *)exportTimeJSONTransformer { }]; } ++ (NSValueTransformer *)exportTypeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"FULL_EXPORT"] == NSOrderedSame) { + return @(AWSDynamoDBExportTypeFullExport); + } + if ([value caseInsensitiveCompare:@"INCREMENTAL_EXPORT"] == NSOrderedSame) { + return @(AWSDynamoDBExportTypeIncrementalExport); + } + return @(AWSDynamoDBExportTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSDynamoDBExportTypeFullExport: + return @"FULL_EXPORT"; + case AWSDynamoDBExportTypeIncrementalExport: + return @"INCREMENTAL_EXPORT"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)incrementalExportSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSDynamoDBIncrementalExportSpecification class]]; +} + + (NSValueTransformer *)s3SseAlgorithmJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"AES256"] == NSOrderedSame) { @@ -2836,6 +2863,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"exportArn" : @"ExportArn", @"exportStatus" : @"ExportStatus", + @"exportType" : @"ExportType", }; } @@ -2865,6 +2893,27 @@ + (NSValueTransformer *)exportStatusJSONTransformer { }]; } ++ (NSValueTransformer *)exportTypeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"FULL_EXPORT"] == NSOrderedSame) { + return @(AWSDynamoDBExportTypeFullExport); + } + if ([value caseInsensitiveCompare:@"INCREMENTAL_EXPORT"] == NSOrderedSame) { + return @(AWSDynamoDBExportTypeIncrementalExport); + } + return @(AWSDynamoDBExportTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSDynamoDBExportTypeFullExport: + return @"FULL_EXPORT"; + case AWSDynamoDBExportTypeIncrementalExport: + return @"INCREMENTAL_EXPORT"; + default: + return nil; + } + }]; +} + @end @implementation AWSDynamoDBExportTableToPointInTimeInput @@ -2878,6 +2927,8 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"clientToken" : @"ClientToken", @"exportFormat" : @"ExportFormat", @"exportTime" : @"ExportTime", + @"exportType" : @"ExportType", + @"incrementalExportSpecification" : @"IncrementalExportSpecification", @"s3Bucket" : @"S3Bucket", @"s3BucketOwner" : @"S3BucketOwner", @"s3Prefix" : @"S3Prefix", @@ -2916,6 +2967,31 @@ + (NSValueTransformer *)exportTimeJSONTransformer { }]; } ++ (NSValueTransformer *)exportTypeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"FULL_EXPORT"] == NSOrderedSame) { + return @(AWSDynamoDBExportTypeFullExport); + } + if ([value caseInsensitiveCompare:@"INCREMENTAL_EXPORT"] == NSOrderedSame) { + return @(AWSDynamoDBExportTypeIncrementalExport); + } + return @(AWSDynamoDBExportTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSDynamoDBExportTypeFullExport: + return @"FULL_EXPORT"; + case AWSDynamoDBExportTypeIncrementalExport: + return @"INCREMENTAL_EXPORT"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)incrementalExportSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSDynamoDBIncrementalExportSpecification class]]; +} + + (NSValueTransformer *)s3SseAlgorithmJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"AES256"] == NSOrderedSame) { @@ -3700,6 +3776,59 @@ + (NSValueTransformer *)importTableDescriptionJSONTransformer { @end +@implementation AWSDynamoDBIncrementalExportSpecification + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"exportFromTime" : @"ExportFromTime", + @"exportToTime" : @"ExportToTime", + @"exportViewType" : @"ExportViewType", + }; +} + ++ (NSValueTransformer *)exportFromTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)exportToTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)exportViewTypeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"NEW_IMAGE"] == NSOrderedSame) { + return @(AWSDynamoDBExportViewTypeNewImage); + } + if ([value caseInsensitiveCompare:@"NEW_AND_OLD_IMAGES"] == NSOrderedSame) { + return @(AWSDynamoDBExportViewTypeNewAndOldImages); + } + return @(AWSDynamoDBExportViewTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSDynamoDBExportViewTypeNewImage: + return @"NEW_IMAGE"; + case AWSDynamoDBExportViewTypeNewAndOldImages: + return @"NEW_AND_OLD_IMAGES"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSDynamoDBInputFormatOptions + (BOOL)supportsSecureCoding { diff --git a/AWSDynamoDB/AWSDynamoDBResources.m b/AWSDynamoDB/AWSDynamoDBResources.m index 50874ed6831..f75fb969513 100644 --- a/AWSDynamoDB/AWSDynamoDBResources.m +++ b/AWSDynamoDB/AWSDynamoDBResources.m @@ -565,7 +565,7 @@ - (NSString *)definitionString { \"errors\":[\ {\"shape\":\"InternalServerError\"}\ ],\ - \"documentation\":\"List backups associated with an Amazon Web Services account. To list backups for a given table, specify TableName
. ListBackups
returns a paginated list of results with at most 1 MB worth of items in a page. You can also specify a maximum number of entries to be returned in a page.
In the request, start time is inclusive, but end time is exclusive. Note that these boundaries are for the time at which the original backup was requested.
You can call ListBackups
a maximum of five times per second.
List DynamoDB backups that are associated with an Amazon Web Services account and weren't made with Amazon Web Services Backup. To list these backups for a given table, specify TableName
. ListBackups
returns a paginated list of results with at most 1 MB worth of items in a page. You can also specify a maximum number of entries to be returned in a page.
In the request, start time is inclusive, but end time is exclusive. Note that these boundaries are for the time at which the original backup was requested.
You can call ListBackups
a maximum of five times per second.
If you want to retrieve the complete list of backups made with Amazon Web Services Backup, use the Amazon Web Services Backup list API.
\",\ \"endpointdiscovery\":{\ }\ },\ @@ -2840,6 +2840,14 @@ - (NSString *)definitionString { \"ItemCount\":{\ \"shape\":\"ItemCount\",\ \"documentation\":\"The number of items exported.
\"\ + },\ + \"ExportType\":{\ + \"shape\":\"ExportType\",\ + \"documentation\":\"The type of export that was performed. Valid values are FULL_EXPORT
or INCREMENTAL_EXPORT
.
Optional object containing the parameters specific to an incremental export.
\"\ }\ },\ \"documentation\":\"Represents the properties of the exported table.
\"\ @@ -2852,6 +2860,7 @@ - (NSString *)definitionString { \"ION\"\ ]\ },\ + \"ExportFromTime\":{\"type\":\"timestamp\"},\ \"ExportManifest\":{\"type\":\"string\"},\ \"ExportNextToken\":{\"type\":\"string\"},\ \"ExportNotFoundException\":{\ @@ -2885,6 +2894,10 @@ - (NSString *)definitionString { \"ExportStatus\":{\ \"shape\":\"ExportStatus\",\ \"documentation\":\"Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.
\"\ + },\ + \"ExportType\":{\ + \"shape\":\"ExportType\",\ + \"documentation\":\"The type of export that was performed. Valid values are FULL_EXPORT
or INCREMENTAL_EXPORT
.
Summary information about an export task.
\"\ @@ -2932,6 +2945,14 @@ - (NSString *)definitionString { \"ExportFormat\":{\ \"shape\":\"ExportFormat\",\ \"documentation\":\"The format for the exported data. Valid values for ExportFormat
are DYNAMODB_JSON
or ION
.
Choice of whether to execute as a full export or incremental export. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT. The default value is FULL_EXPORT. If INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be used.
\"\ + },\ + \"IncrementalExportSpecification\":{\ + \"shape\":\"IncrementalExportSpecification\",\ + \"documentation\":\"Optional object containing the parameters specific to an incremental export.
\"\ }\ }\ },\ @@ -2945,6 +2966,21 @@ - (NSString *)definitionString { }\ },\ \"ExportTime\":{\"type\":\"timestamp\"},\ + \"ExportToTime\":{\"type\":\"timestamp\"},\ + \"ExportType\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"FULL_EXPORT\",\ + \"INCREMENTAL_EXPORT\"\ + ]\ + },\ + \"ExportViewType\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"NEW_IMAGE\",\ + \"NEW_AND_OLD_IMAGES\"\ + ]\ + },\ \"ExpressionAttributeNameMap\":{\ \"type\":\"map\",\ \"key\":{\"shape\":\"ExpressionAttributeNameVariable\"},\ @@ -3509,6 +3545,24 @@ - (NSString *)definitionString { \"type\":\"long\",\ \"min\":0\ },\ + \"IncrementalExportSpecification\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"ExportFromTime\":{\ + \"shape\":\"ExportFromTime\",\ + \"documentation\":\"Time in the past which provides the inclusive start range for the export table's data, counted in seconds from the start of the Unix epoch. The incremental export will reflect the table's state including and after this point in time.
\"\ + },\ + \"ExportToTime\":{\ + \"shape\":\"ExportToTime\",\ + \"documentation\":\"Time in the past which provides the exclusive end range for the export table's data, counted in seconds from the start of the Unix epoch. The incremental export will reflect the table's state just prior to this point in time. If this is not provided, the latest time with data available will be used.
\"\ + },\ + \"ExportViewType\":{\ + \"shape\":\"ExportViewType\",\ + \"documentation\":\"The view type that was chosen for the export. Valid values are NEW_AND_OLD_IMAGES
and NEW_IMAGES
. The default value is NEW_AND_OLD_IMAGES
.
Optional object containing the parameters specific to an incremental export.
\"\ + },\ \"IndexName\":{\ \"type\":\"string\",\ \"max\":255,\ @@ -5310,7 +5364,7 @@ - (NSString *)definitionString { },\ \"FilterExpression\":{\ \"shape\":\"ConditionExpression\",\ - \"documentation\":\"A string that contains conditions that DynamoDB applies after the Scan
operation, but before the data is returned to you. Items that do not satisfy the FilterExpression
criteria are not returned.
A FilterExpression
is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.
For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide.
\"\ + \"documentation\":\"A string that contains conditions that DynamoDB applies after the Scan
operation, but before the data is returned to you. Items that do not satisfy the FilterExpression
criteria are not returned.
A FilterExpression
is applied after the items have already been read; the process of filtering does not consume any additional read capacity units.
For more information, see Filter Expressions in the Amazon DynamoDB Developer Guide.
\"\ },\ \"ExpressionAttributeNames\":{\ \"shape\":\"ExpressionAttributeNameMap\",\ @@ -5926,7 +5980,7 @@ - (NSString *)definitionString { \"documentation\":\"A list of cancellation reasons.
\"\ }\ },\ - \"documentation\":\"The entire transaction request was canceled.
DynamoDB cancels a TransactWriteItems
request under the following circumstances:
A condition in one of the condition expressions is not met.
A table in the TransactWriteItems
request is in a different account or region.
More than one action in the TransactWriteItems
operation targets the same item.
There is insufficient provisioned capacity for the transaction to be completed.
An item size becomes too large (larger than 400 KB), or a local secondary index (LSI) becomes too large, or a similar validation error occurs because of changes made by the transaction.
There is a user error, such as an invalid data format.
DynamoDB cancels a TransactGetItems
request under the following circumstances:
There is an ongoing TransactGetItems
operation that conflicts with a concurrent PutItem
, UpdateItem
, DeleteItem
or TransactWriteItems
request. In this case the TransactGetItems
operation fails with a TransactionCanceledException
.
A table in the TransactGetItems
request is in a different account or region.
There is insufficient provisioned capacity for the transaction to be completed.
There is a user error, such as an invalid data format.
If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons
property. This property is not set for other languages. Transaction cancellation reasons are ordered in the order of requested items, if an item has no error it will have None
code and Null
message.
Cancellation reason codes and possible error messages:
No Errors:
Code: None
Message: null
Conditional Check Failed:
Code: ConditionalCheckFailed
Message: The conditional request failed.
Item Collection Size Limit Exceeded:
Code: ItemCollectionSizeLimitExceeded
Message: Collection size exceeded.
Transaction Conflict:
Code: TransactionConflict
Message: Transaction is ongoing for the item.
Provisioned Throughput Exceeded:
Code: ProvisionedThroughputExceeded
Messages:
The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the UpdateTable API.
This Message is received when provisioned throughput is exceeded is on a provisioned DynamoDB table.
The level of configured provisioned throughput for one or more global secondary indexes of the table was exceeded. Consider increasing your provisioning level for the under-provisioned global secondary indexes with the UpdateTable API.
This message is returned when provisioned throughput is exceeded is on a provisioned GSI.
Throttling Error:
Code: ThrottlingError
Messages:
Throughput exceeds the current capacity of your table or index. DynamoDB is automatically scaling your table or index so please try again shortly. If exceptions persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.
This message is returned when writes get throttled on an On-Demand table as DynamoDB is automatically scaling the table.
Throughput exceeds the current capacity for one or more global secondary indexes. DynamoDB is automatically scaling your index so please try again shortly.
This message is returned when writes get throttled on an On-Demand GSI as DynamoDB is automatically scaling the GSI.
Validation Error:
Code: ValidationError
Messages:
One or more parameter values were invalid.
The update expression attempted to update the secondary index key beyond allowed size limits.
The update expression attempted to update the secondary index key to unsupported type.
An operand in the update expression has an incorrect data type.
Item size to update has exceeded the maximum allowed size.
Number overflow. Attempting to store a number with magnitude larger than supported range.
Type mismatch for attribute to update.
Nesting Levels have exceeded supported limits.
The document path provided in the update expression is invalid for update.
The provided expression refers to an attribute that does not exist in the item.
The entire transaction request was canceled.
DynamoDB cancels a TransactWriteItems
request under the following circumstances:
A condition in one of the condition expressions is not met.
A table in the TransactWriteItems
request is in a different account or region.
More than one action in the TransactWriteItems
operation targets the same item.
There is insufficient provisioned capacity for the transaction to be completed.
An item size becomes too large (larger than 400 KB), or a local secondary index (LSI) becomes too large, or a similar validation error occurs because of changes made by the transaction.
There is a user error, such as an invalid data format.
There is an ongoing TransactWriteItems
operation that conflicts with a concurrent TransactWriteItems
request. In this case the TransactWriteItems
operation fails with a TransactionCanceledException
.
DynamoDB cancels a TransactGetItems
request under the following circumstances:
There is an ongoing TransactGetItems
operation that conflicts with a concurrent PutItem
, UpdateItem
, DeleteItem
or TransactWriteItems
request. In this case the TransactGetItems
operation fails with a TransactionCanceledException
.
A table in the TransactGetItems
request is in a different account or region.
There is insufficient provisioned capacity for the transaction to be completed.
There is a user error, such as an invalid data format.
If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons
property. This property is not set for other languages. Transaction cancellation reasons are ordered in the order of requested items, if an item has no error it will have None
code and Null
message.
Cancellation reason codes and possible error messages:
No Errors:
Code: None
Message: null
Conditional Check Failed:
Code: ConditionalCheckFailed
Message: The conditional request failed.
Item Collection Size Limit Exceeded:
Code: ItemCollectionSizeLimitExceeded
Message: Collection size exceeded.
Transaction Conflict:
Code: TransactionConflict
Message: Transaction is ongoing for the item.
Provisioned Throughput Exceeded:
Code: ProvisionedThroughputExceeded
Messages:
The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the UpdateTable API.
This Message is received when provisioned throughput is exceeded is on a provisioned DynamoDB table.
The level of configured provisioned throughput for one or more global secondary indexes of the table was exceeded. Consider increasing your provisioning level for the under-provisioned global secondary indexes with the UpdateTable API.
This message is returned when provisioned throughput is exceeded is on a provisioned GSI.
Throttling Error:
Code: ThrottlingError
Messages:
Throughput exceeds the current capacity of your table or index. DynamoDB is automatically scaling your table or index so please try again shortly. If exceptions persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.
This message is returned when writes get throttled on an On-Demand table as DynamoDB is automatically scaling the table.
Throughput exceeds the current capacity for one or more global secondary indexes. DynamoDB is automatically scaling your index so please try again shortly.
This message is returned when writes get throttled on an On-Demand GSI as DynamoDB is automatically scaling the GSI.
Validation Error:
Code: ValidationError
Messages:
One or more parameter values were invalid.
The update expression attempted to update the secondary index key beyond allowed size limits.
The update expression attempted to update the secondary index key to unsupported type.
An operand in the update expression has an incorrect data type.
Item size to update has exceeded the maximum allowed size.
Number overflow. Attempting to store a number with magnitude larger than supported range.
Type mismatch for attribute to update.
Nesting Levels have exceeded supported limits.
The document path provided in the update expression is invalid for update.
The provided expression refers to an attribute that does not exist in the item.
List backups associated with an Amazon Web Services account. To list backups for a given table, specify TableName
. ListBackups
returns a paginated list of results with at most 1 MB worth of items in a page. You can also specify a maximum number of entries to be returned in a page.
In the request, start time is inclusive, but end time is exclusive. Note that these boundaries are for the time at which the original backup was requested.
You can call ListBackups
a maximum of five times per second.
List DynamoDB backups that are associated with an Amazon Web Services account and weren't made with Amazon Web Services Backup. To list these backups for a given table, specify TableName
. ListBackups
returns a paginated list of results with at most 1 MB worth of items in a page. You can also specify a maximum number of entries to be returned in a page.
In the request, start time is inclusive, but end time is exclusive. Note that these boundaries are for the time at which the original backup was requested.
You can call ListBackups
a maximum of five times per second.
If you want to retrieve the complete list of backups made with Amazon Web Services Backup, use the Amazon Web Services Backup list API.
@param request A container for the necessary parameters to execute the ListBackups service method. @@ -912,7 +912,7 @@ FOUNDATION_EXPORT NSString *const AWSDynamoDBSDKVersion; - (AWSTaskList backups associated with an Amazon Web Services account. To list backups for a given table, specify TableName
. ListBackups
returns a paginated list of results with at most 1 MB worth of items in a page. You can also specify a maximum number of entries to be returned in a page.
In the request, start time is inclusive, but end time is exclusive. Note that these boundaries are for the time at which the original backup was requested.
You can call ListBackups
a maximum of five times per second.
List DynamoDB backups that are associated with an Amazon Web Services account and weren't made with Amazon Web Services Backup. To list these backups for a given table, specify TableName
. ListBackups
returns a paginated list of results with at most 1 MB worth of items in a page. You can also specify a maximum number of entries to be returned in a page.
In the request, start time is inclusive, but end time is exclusive. Note that these boundaries are for the time at which the original backup was requested.
You can call ListBackups
a maximum of five times per second.
If you want to retrieve the complete list of backups made with Amazon Web Services Backup, use the Amazon Web Services Backup list API.
@param request A container for the necessary parameters to execute the ListBackups service method. @param completionHandler The completion handler to call when the load request is complete. diff --git a/AWSDynamoDBUnitTests/AWSDynamoDBNSSecureCodingTests.m b/AWSDynamoDBUnitTests/AWSDynamoDBNSSecureCodingTests.m index daa840d1bfa..a0d8428a929 100644 --- a/AWSDynamoDBUnitTests/AWSDynamoDBNSSecureCodingTests.m +++ b/AWSDynamoDBUnitTests/AWSDynamoDBNSSecureCodingTests.m @@ -122,6 +122,7 @@ - (void) test_AWSDynamoDBImportSummary API_AVAILABLE(ios(11)); - (void) test_AWSDynamoDBImportTableDescription API_AVAILABLE(ios(11)); - (void) test_AWSDynamoDBImportTableInput API_AVAILABLE(ios(11)); - (void) test_AWSDynamoDBImportTableOutput API_AVAILABLE(ios(11)); +- (void) test_AWSDynamoDBIncrementalExportSpecification API_AVAILABLE(ios(11)); - (void) test_AWSDynamoDBInputFormatOptions API_AVAILABLE(ios(11)); - (void) test_AWSDynamoDBItemCollectionMetrics API_AVAILABLE(ios(11)); - (void) test_AWSDynamoDBItemResponse API_AVAILABLE(ios(11)); @@ -639,6 +640,10 @@ - (void) test_AWSDynamoDBImportTableOutput { [self validateSecureCodingForClass:[AWSDynamoDBImportTableOutput class]]; } +- (void) test_AWSDynamoDBIncrementalExportSpecification { + [self validateSecureCodingForClass:[AWSDynamoDBIncrementalExportSpecification class]]; +} + - (void) test_AWSDynamoDBInputFormatOptions { [self validateSecureCodingForClass:[AWSDynamoDBInputFormatOptions class]]; } From 1523eb8c117ac84c94b33b84bb31d655a6f00f9b Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Bot <46607340+awsmobilesdk@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:36:42 -0700 Subject: [PATCH 04/17] feat(AWSRekognition): update models to latest (#4998) --- AWSRekognition/AWSRekognitionModel.h | 171 +++++++++++--- AWSRekognition/AWSRekognitionModel.m | 198 ++++++++++++++++ AWSRekognition/AWSRekognitionResources.m | 220 +++++++++++++----- AWSRekognition/AWSRekognitionService.h | 88 +++---- .../AWSRekognitionNSSecureCodingTests.m | 10 + 5 files changed, 555 insertions(+), 132 deletions(-) diff --git a/AWSRekognition/AWSRekognitionModel.h b/AWSRekognition/AWSRekognitionModel.h index 33841392d60..b8e6d508bdc 100644 --- a/AWSRekognition/AWSRekognitionModel.h +++ b/AWSRekognition/AWSRekognitionModel.h @@ -97,6 +97,12 @@ typedef NS_ENUM(NSInteger, AWSRekognitionContentModerationSortBy) { AWSRekognitionContentModerationSortByTimestamp, }; +typedef NS_ENUM(NSInteger, AWSRekognitionCustomizationFeature) { + AWSRekognitionCustomizationFeatureUnknown, + AWSRekognitionCustomizationFeatureContentModeration, + AWSRekognitionCustomizationFeatureCustomLabels, +}; + typedef NS_ENUM(NSInteger, AWSRekognitionDatasetStatus) { AWSRekognitionDatasetStatusUnknown, AWSRekognitionDatasetStatusCreateInProgress, @@ -239,6 +245,12 @@ typedef NS_ENUM(NSInteger, AWSRekognitionPersonTrackingSortBy) { AWSRekognitionPersonTrackingSortByTimestamp, }; +typedef NS_ENUM(NSInteger, AWSRekognitionProjectAutoUpdate) { + AWSRekognitionProjectAutoUpdateUnknown, + AWSRekognitionProjectAutoUpdateEnabled, + AWSRekognitionProjectAutoUpdateDisabled, +}; + typedef NS_ENUM(NSInteger, AWSRekognitionProjectStatus) { AWSRekognitionProjectStatusUnknown, AWSRekognitionProjectStatusCreating, @@ -260,6 +272,8 @@ typedef NS_ENUM(NSInteger, AWSRekognitionProjectVersionStatus) { AWSRekognitionProjectVersionStatusCopyingInProgress, AWSRekognitionProjectVersionStatusCopyingCompleted, AWSRekognitionProjectVersionStatusCopyingFailed, + AWSRekognitionProjectVersionStatusDeprecated, + AWSRekognitionProjectVersionStatusExpired, }; typedef NS_ENUM(NSInteger, AWSRekognitionProtectiveEquipmentType) { @@ -420,6 +434,8 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { @class AWSRekognitionCreateUserRequest; @class AWSRekognitionCreateUserResponse; @class AWSRekognitionCustomLabel; +@class AWSRekognitionCustomizationFeatureConfig; +@class AWSRekognitionCustomizationFeatureContentModerationConfig; @class AWSRekognitionDatasetChanges; @class AWSRekognitionDatasetDescription; @class AWSRekognitionDatasetLabelDescription; @@ -1395,6 +1411,16 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { @interface AWSRekognitionCreateProjectRequest : AWSRequest +/** +Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters.
+ */ +@property (nonatomic, assign) AWSRekognitionProjectAutoUpdate autoUpdate; + +/** +Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.
+ */ +@property (nonatomic, assign) AWSRekognitionCustomizationFeature feature; + /**The name of the project to create.
*/ @@ -1422,37 +1448,47 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { /** -The identifier for your AWS Key Management Service key (AWS KMS key). You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. The key is also used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig
).
If you choose to use your own KMS key, you need the following permissions on the KMS key.
kms:CreateGrant
kms:DescribeKey
kms:GenerateDataKey
kms:Decrypt
If you don't specify a value for KmsKeyId
, images copied into the service are encrypted using a key that AWS owns and manages.
Feature-specific configuration of the training job. If the job configuration does not match the feature type associated with the project, an InvalidParameterException is returned.
+ */ +@property (nonatomic, strong) AWSRekognitionCustomizationFeatureConfig * _Nullable featureConfig; + +/** +The identifier for your AWS Key Management Service key (AWS KMS key). You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt training images, test images, and manifest files copied into the service for the project version. Your source images are unaffected. The key is also used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig
).
If you choose to use your own KMS key, you need the following permissions on the KMS key.
kms:CreateGrant
kms:DescribeKey
kms:GenerateDataKey
kms:Decrypt
If you don't specify a value for KmsKeyId
, images copied into the service are encrypted using a key that AWS owns and manages.
The Amazon S3 bucket location to store the results of training. The S3 bucket can be in any AWS account as long as the caller has s3:PutObject
permissions on the S3 bucket.
The Amazon S3 bucket location to store the results of training. The bucket can be any S3 bucket in your AWS account. You need s3:PutObject
permission on the bucket.
The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.
+The ARN of the Amazon Rekognition project that will manage the project version you want to train.
*/ @property (nonatomic, strong) NSString * _Nullable projectArn; /** -A set of tags (key-value pairs) that you want to attach to the model.
+A set of tags (key-value pairs) that you want to attach to the project version.
*/ @property (nonatomic, strong) NSDictionarySpecifies an external manifest that the service uses to test the model. If you specify TestingData
you must also specify TrainingData
. The project must not have any associated datasets.
Specifies an external manifest that the service uses to test the project version. If you specify TestingData
you must also specify TrainingData
. The project must not have any associated datasets.
Specifies an external manifest that the services uses to train the model. If you specify TrainingData
you must also specify TestingData
. The project must not have any associated datasets.
Specifies an external manifest that the services uses to train the project version. If you specify TrainingData
you must also specify TestingData
. The project must not have any associated datasets.
A name for the version of the model. This value must be unique.
+A description applied to the project version being created.
+ */ +@property (nonatomic, strong) NSString * _Nullable versionDescription; + +/** +A name for the version of the project version. This value must be unique.
*/ @property (nonatomic, strong) NSString * _Nullable versionName; @@ -1465,7 +1501,7 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { /** -The ARN of the model version that was created. Use DescribeProjectVersion
to get the current status of the training operation.
The ARN of the model or the project version that was created. Use DescribeProjectVersion
to get the current status of the training operation.
Feature specific configuration for the training job. Configuration provided for the job must match the feature type parameter associated with project. If configuration and feature type do not match an InvalidParameterException is returned.
+ */ +@interface AWSRekognitionCustomizationFeatureConfig : AWSModel + + +/** +Configuration options for Custom Moderation training.
+ */ +@property (nonatomic, strong) AWSRekognitionCustomizationFeatureContentModerationConfig * _Nullable contentModeration; + +@end + +/** +Configuration options for Content Moderation training.
+ */ +@interface AWSRekognitionCustomizationFeatureContentModerationConfig : AWSModel + + +/** +The confidence level you plan to use to identify if unsafe content is present during inference.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable confidenceThreshold; + +@end + /** Describes updates or additions to a dataset. A Single update or addition is an entry (JSON Line) that provides information about a single image. To update an existing entry, you match the source-ref
field of the update entry with the source-ref
filed of the entry that you want to update. If the source-ref
field doesn't match an existing entry, the entry is added to dataset as a new entry.
The Amazon Resource Name (ARN) of the model version that you want to delete.
+The Amazon Resource Name (ARN) of the project version that you want to delete.
*/ @property (nonatomic, strong) NSString * _Nullable projectVersionArn; @@ -2070,17 +2132,17 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { @property (nonatomic, strong) NSNumber * _Nullable maxResults; /** -If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
+If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /** -The Amazon Resource Name (ARN) of the project that contains the models you want to describe.
+The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
*/ @property (nonatomic, strong) NSString * _Nullable projectArn; /** -A list of model version names that you want to describe. You can add up to 10 model version names to the list. If you don't specify a value, all model descriptions are returned. A version name is part of a model (ProjectVersion) ARN. For example, my-model.2020-01-21T09.10.15
is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
A list of model or project version names that you want to describe. You can add up to 10 model or project version names to the list. If you don't specify a value, all project version descriptions are returned. A version name is part of a project version ARN. For example, my-model.2020-01-21T09.10.15
is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
+If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /** -A list of model descriptions. The list is sorted by the creation date and time of the model versions, latest to earliest.
+A list of project version descriptions. The list is sorted by the creation date and time of the project versions, latest to earliest.
*/ @property (nonatomic, strong) NSArraySpecifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default.
+ */ +@property (nonatomic, strong) NSArrayThe maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; /** -If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
+If the previous response was incomplete (because there is more results to retrieve), Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
*/ @property (nonatomic, strong) NSString * _Nullable nextToken; /** -A list of the projects that you want Amazon Rekognition Custom Labels to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
+A list of the projects that you want Rekognition to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
*/ @property (nonatomic, strong) NSArrayIf the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
+If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
*/ @property (nonatomic, strong) NSString * _Nullable nextToken; @@ -2258,7 +2325,7 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { @property (nonatomic, strong) NSNumber * _Nullable minConfidence; /** -The ARN of the model version that you want to use.
+The ARN of the model version that you want to use. Only models associated with Custom Labels projects accepted by the operation. If a provided ARN refers to a model version associated with a project for a different feature type, then an InvalidParameterException is returned.
*/ @property (nonatomic, strong) NSString * _Nullable projectVersionArn; @@ -2513,6 +2580,11 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { */ @property (nonatomic, strong) NSNumber * _Nullable minConfidence; +/** +Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.
+ */ +@property (nonatomic, strong) NSString * _Nullable projectVersion; + @end /** @@ -2532,10 +2604,15 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { @property (nonatomic, strong) NSArrayVersion number of the moderation detection model that was used to detect unsafe content.
+Version number of the base moderation detection model that was used to detect unsafe content.
*/ @property (nonatomic, strong) NSString * _Nullable moderationModelVersion; +/** +Identifier of the custom adapter that was used during inference. If during inference the adapter was EXPIRED, then the parameter will not be returned, indicating that a base moderation detection project version was used.
+ */ +@property (nonatomic, strong) NSString * _Nullable projectVersion; + @end /** @@ -4955,6 +5032,11 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { @interface AWSRekognitionProjectDescription : AWSModel +/** +Indicates whether automatic retraining will be attempted for the versions of the project. Applies only to adapters.
+ */ +@property (nonatomic, assign) AWSRekognitionProjectAutoUpdate autoUpdate; + /**The Unix timestamp for the date and time that the project was created.
*/ @@ -4965,6 +5047,11 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { */ @property (nonatomic, strong) NSArraySpecifies the project that is being customized.
+ */ +@property (nonatomic, assign) AWSRekognitionCustomizationFeature feature; + /**The Amazon Resource Name (ARN) of the project.
*/ @@ -5016,11 +5103,16 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { @end /** -A description of a version of an Amazon Rekognition Custom Labels model.
+A description of a version of a Amazon Rekognition project version.
*/ @interface AWSRekognitionProjectVersionDescription : AWSModel +/** +The base detection model version used to create the project version.
+ */ +@property (nonatomic, strong) NSString * _Nullable baseModelVersion; + /**The duration, in seconds, that you were billed for a successful training of the model version. This value is only returned if the model version has been successfully trained.
*/ @@ -5036,6 +5128,16 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { */ @property (nonatomic, strong) AWSRekognitionEvaluationResult * _Nullable evaluationResult; +/** +The feature that was customized.
+ */ +@property (nonatomic, assign) AWSRekognitionCustomizationFeature feature; + +/** +Feature specific configuration that was applied during training.
+ */ +@property (nonatomic, strong) AWSRekognitionCustomizationFeatureConfig * _Nullable featureConfig; + /**The identifer for the AWS Key Management Service key (AWS KMS key) that was used to encrypt the model during training.
*/ @@ -5047,12 +5149,12 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { @property (nonatomic, strong) AWSRekognitionGroundTruthManifest * _Nullable manifestSummary; /** -The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model. For more information, see StartProjectVersion.
+The maximum number of inference units Amazon Rekognition uses to auto-scale the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.
*/ @property (nonatomic, strong) NSNumber * _Nullable maxInferenceUnits; /** -The minimum number of inference units used by the model. For more information, see StartProjectVersion.
+The minimum number of inference units used by the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.
*/ @property (nonatomic, strong) NSNumber * _Nullable minInferenceUnits; @@ -5062,7 +5164,7 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { @property (nonatomic, strong) AWSRekognitionOutputConfig * _Nullable outputConfig; /** -The Amazon Resource Name (ARN) of the model version.
+The Amazon Resource Name (ARN) of the project version.
*/ @property (nonatomic, strong) NSString * _Nullable projectVersionArn; @@ -5096,6 +5198,11 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { */ @property (nonatomic, strong) NSDate * _Nullable trainingEndTimestamp; +/** +A user-provided description of the project version.
+ */ +@property (nonatomic, strong) NSString * _Nullable versionDescription; + @end /** @@ -6015,7 +6122,7 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { @property (nonatomic, strong) NSNumber * _Nullable maxInferenceUnits; /** -The minimum number of inference units to use. A single inference unit represents 1 hour of processing.
For information about the number of transactions per second (TPS) that an inference unit can support, see Running a trained Amazon Rekognition Custom Labels model in the Amazon Rekognition Custom Labels Guide.
Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
+The minimum number of inference units to use. A single inference unit represents 1 hour of processing.
Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
*/ @property (nonatomic, strong) NSNumber * _Nullable minInferenceUnits; @@ -6246,7 +6353,7 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { /** -The Amazon Resource Name (ARN) of the model version that you want to delete.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
The Amazon Resource Name (ARN) of the model version that you want to stop.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
The dataset used for testing. Optionally, if AutoCreate
is set, Amazon Rekognition Custom Labels uses the training dataset to create a test dataset with a temporary split of the training dataset.
The dataset used for testing. Optionally, if AutoCreate
is set, Amazon Rekognition uses the training dataset to create a test dataset with a temporary split of the training dataset.
If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job. After training completes, the test dataset is not stored and the training dataset reverts to its previous size.
+If specified, Rekognition splits training dataset to create a test dataset for the training job.
*/ @property (nonatomic, strong) NSNumber * _Nullable autoCreate; @@ -6599,30 +6706,30 @@ typedef NS_ENUM(NSInteger, AWSRekognitionVideoJobStatus) { /** -A Sagemaker GroundTruth manifest file that contains the training images (assets).
+A manifest file that contains references to the training images and ground-truth annotations.
*/ @property (nonatomic, strong) NSArraySagemaker Groundtruth format manifest files for the input, output and validation datasets that are used and created during testing.
+The data validation manifest created for the training dataset during model training.
*/ @interface AWSRekognitionTrainingDataResult : AWSModel /** -The training assets that you supplied for training.
+The training data that you supplied.
*/ @property (nonatomic, strong) AWSRekognitionTrainingData * _Nullable input; /** -The images (assets) that were actually trained by Amazon Rekognition Custom Labels.
+Reference to images (assets) that were actually used during training with trained model predictions.
*/ @property (nonatomic, strong) AWSRekognitionTrainingData * _Nullable output; /** -The location of the data validation manifest. The data validation manifest is created for the training dataset during model training.
+A manifest that you supplied for training, with validation results for each line.
*/ @property (nonatomic, strong) AWSRekognitionValidationData * _Nullable validation; diff --git a/AWSRekognition/AWSRekognitionModel.m b/AWSRekognition/AWSRekognitionModel.m index 65a6dcc3e02..1087472be2d 100644 --- a/AWSRekognition/AWSRekognitionModel.m +++ b/AWSRekognition/AWSRekognitionModel.m @@ -791,10 +791,54 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"autoUpdate" : @"AutoUpdate", + @"feature" : @"Feature", @"projectName" : @"ProjectName", }; } ++ (NSValueTransformer *)autoUpdateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"ENABLED"] == NSOrderedSame) { + return @(AWSRekognitionProjectAutoUpdateEnabled); + } + if ([value caseInsensitiveCompare:@"DISABLED"] == NSOrderedSame) { + return @(AWSRekognitionProjectAutoUpdateDisabled); + } + return @(AWSRekognitionProjectAutoUpdateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSRekognitionProjectAutoUpdateEnabled: + return @"ENABLED"; + case AWSRekognitionProjectAutoUpdateDisabled: + return @"DISABLED"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)featureJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"CONTENT_MODERATION"] == NSOrderedSame) { + return @(AWSRekognitionCustomizationFeatureContentModeration); + } + if ([value caseInsensitiveCompare:@"CUSTOM_LABELS"] == NSOrderedSame) { + return @(AWSRekognitionCustomizationFeatureCustomLabels); + } + return @(AWSRekognitionCustomizationFeatureUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSRekognitionCustomizationFeatureContentModeration: + return @"CONTENT_MODERATION"; + case AWSRekognitionCustomizationFeatureCustomLabels: + return @"CUSTOM_LABELS"; + default: + return nil; + } + }]; +} + @end @implementation AWSRekognitionCreateProjectResponse @@ -819,16 +863,22 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"featureConfig" : @"FeatureConfig", @"kmsKeyId" : @"KmsKeyId", @"outputConfig" : @"OutputConfig", @"projectArn" : @"ProjectArn", @"tags" : @"Tags", @"testingData" : @"TestingData", @"trainingData" : @"TrainingData", + @"versionDescription" : @"VersionDescription", @"versionName" : @"VersionName", }; } ++ (NSValueTransformer *)featureConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSRekognitionCustomizationFeatureConfig class]]; +} + + (NSValueTransformer *)outputConfigJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSRekognitionOutputConfig class]]; } @@ -962,6 +1012,38 @@ + (NSValueTransformer *)geometryJSONTransformer { @end +@implementation AWSRekognitionCustomizationFeatureConfig + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"contentModeration" : @"ContentModeration", + }; +} + ++ (NSValueTransformer *)contentModerationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSRekognitionCustomizationFeatureContentModerationConfig class]]; +} + +@end + +@implementation AWSRekognitionCustomizationFeatureContentModerationConfig + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"confidenceThreshold" : @"ConfidenceThreshold", + }; +} + +@end + @implementation AWSRekognitionDatasetChanges + (BOOL)supportsSecureCoding { @@ -1503,6 +1585,12 @@ + (NSValueTransformer *)statusJSONTransformer { if ([value caseInsensitiveCompare:@"COPYING_FAILED"] == NSOrderedSame) { return @(AWSRekognitionProjectVersionStatusCopyingFailed); } + if ([value caseInsensitiveCompare:@"DEPRECATED"] == NSOrderedSame) { + return @(AWSRekognitionProjectVersionStatusDeprecated); + } + if ([value caseInsensitiveCompare:@"EXPIRED"] == NSOrderedSame) { + return @(AWSRekognitionProjectVersionStatusExpired); + } return @(AWSRekognitionProjectVersionStatusUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -1530,6 +1618,10 @@ + (NSValueTransformer *)statusJSONTransformer { return @"COPYING_COMPLETED"; case AWSRekognitionProjectVersionStatusCopyingFailed: return @"COPYING_FAILED"; + case AWSRekognitionProjectVersionStatusDeprecated: + return @"DEPRECATED"; + case AWSRekognitionProjectVersionStatusExpired: + return @"EXPIRED"; default: return nil; } @@ -1700,6 +1792,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"features" : @"Features", @"maxResults" : @"MaxResults", @"nextToken" : @"NextToken", @"projectNames" : @"ProjectNames", @@ -2182,6 +2275,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"humanLoopConfig" : @"HumanLoopConfig", @"image" : @"Image", @"minConfidence" : @"MinConfidence", + @"projectVersion" : @"ProjectVersion", }; } @@ -2206,6 +2300,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"humanLoopActivationOutput" : @"HumanLoopActivationOutput", @"moderationLabels" : @"ModerationLabels", @"moderationModelVersion" : @"ModerationModelVersion", + @"projectVersion" : @"ProjectVersion", }; } @@ -5103,13 +5198,36 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"autoUpdate" : @"AutoUpdate", @"creationTimestamp" : @"CreationTimestamp", @"datasets" : @"Datasets", + @"feature" : @"Feature", @"projectArn" : @"ProjectArn", @"status" : @"Status", }; } ++ (NSValueTransformer *)autoUpdateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"ENABLED"] == NSOrderedSame) { + return @(AWSRekognitionProjectAutoUpdateEnabled); + } + if ([value caseInsensitiveCompare:@"DISABLED"] == NSOrderedSame) { + return @(AWSRekognitionProjectAutoUpdateDisabled); + } + return @(AWSRekognitionProjectAutoUpdateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSRekognitionProjectAutoUpdateEnabled: + return @"ENABLED"; + case AWSRekognitionProjectAutoUpdateDisabled: + return @"DISABLED"; + default: + return nil; + } + }]; +} + + (NSValueTransformer *)creationTimestampJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; @@ -5122,6 +5240,27 @@ + (NSValueTransformer *)datasetsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSRekognitionDatasetMetadata class]]; } ++ (NSValueTransformer *)featureJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"CONTENT_MODERATION"] == NSOrderedSame) { + return @(AWSRekognitionCustomizationFeatureContentModeration); + } + if ([value caseInsensitiveCompare:@"CUSTOM_LABELS"] == NSOrderedSame) { + return @(AWSRekognitionCustomizationFeatureCustomLabels); + } + return @(AWSRekognitionCustomizationFeatureUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSRekognitionCustomizationFeatureContentModeration: + return @"CONTENT_MODERATION"; + case AWSRekognitionCustomizationFeatureCustomLabels: + return @"CUSTOM_LABELS"; + default: + return nil; + } + }]; +} + + (NSValueTransformer *)statusJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"CREATING"] == NSOrderedSame) { @@ -5193,9 +5332,12 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"baseModelVersion" : @"BaseModelVersion", @"billableTrainingTimeInSeconds" : @"BillableTrainingTimeInSeconds", @"creationTimestamp" : @"CreationTimestamp", @"evaluationResult" : @"EvaluationResult", + @"feature" : @"Feature", + @"featureConfig" : @"FeatureConfig", @"kmsKeyId" : @"KmsKeyId", @"manifestSummary" : @"ManifestSummary", @"maxInferenceUnits" : @"MaxInferenceUnits", @@ -5208,6 +5350,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"testingDataResult" : @"TestingDataResult", @"trainingDataResult" : @"TrainingDataResult", @"trainingEndTimestamp" : @"TrainingEndTimestamp", + @"versionDescription" : @"VersionDescription", }; } @@ -5223,6 +5366,31 @@ + (NSValueTransformer *)evaluationResultJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSRekognitionEvaluationResult class]]; } ++ (NSValueTransformer *)featureJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"CONTENT_MODERATION"] == NSOrderedSame) { + return @(AWSRekognitionCustomizationFeatureContentModeration); + } + if ([value caseInsensitiveCompare:@"CUSTOM_LABELS"] == NSOrderedSame) { + return @(AWSRekognitionCustomizationFeatureCustomLabels); + } + return @(AWSRekognitionCustomizationFeatureUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSRekognitionCustomizationFeatureContentModeration: + return @"CONTENT_MODERATION"; + case AWSRekognitionCustomizationFeatureCustomLabels: + return @"CUSTOM_LABELS"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)featureConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSRekognitionCustomizationFeatureConfig class]]; +} + + (NSValueTransformer *)manifestSummaryJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSRekognitionGroundTruthManifest class]]; } @@ -5269,6 +5437,12 @@ + (NSValueTransformer *)statusJSONTransformer { if ([value caseInsensitiveCompare:@"COPYING_FAILED"] == NSOrderedSame) { return @(AWSRekognitionProjectVersionStatusCopyingFailed); } + if ([value caseInsensitiveCompare:@"DEPRECATED"] == NSOrderedSame) { + return @(AWSRekognitionProjectVersionStatusDeprecated); + } + if ([value caseInsensitiveCompare:@"EXPIRED"] == NSOrderedSame) { + return @(AWSRekognitionProjectVersionStatusExpired); + } return @(AWSRekognitionProjectVersionStatusUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -5296,6 +5470,10 @@ + (NSValueTransformer *)statusJSONTransformer { return @"COPYING_COMPLETED"; case AWSRekognitionProjectVersionStatusCopyingFailed: return @"COPYING_FAILED"; + case AWSRekognitionProjectVersionStatusDeprecated: + return @"DEPRECATED"; + case AWSRekognitionProjectVersionStatusExpired: + return @"EXPIRED"; default: return nil; } @@ -6337,6 +6515,12 @@ + (NSValueTransformer *)statusJSONTransformer { if ([value caseInsensitiveCompare:@"COPYING_FAILED"] == NSOrderedSame) { return @(AWSRekognitionProjectVersionStatusCopyingFailed); } + if ([value caseInsensitiveCompare:@"DEPRECATED"] == NSOrderedSame) { + return @(AWSRekognitionProjectVersionStatusDeprecated); + } + if ([value caseInsensitiveCompare:@"EXPIRED"] == NSOrderedSame) { + return @(AWSRekognitionProjectVersionStatusExpired); + } return @(AWSRekognitionProjectVersionStatusUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -6364,6 +6548,10 @@ + (NSValueTransformer *)statusJSONTransformer { return @"COPYING_COMPLETED"; case AWSRekognitionProjectVersionStatusCopyingFailed: return @"COPYING_FAILED"; + case AWSRekognitionProjectVersionStatusDeprecated: + return @"DEPRECATED"; + case AWSRekognitionProjectVersionStatusExpired: + return @"EXPIRED"; default: return nil; } @@ -6642,6 +6830,12 @@ + (NSValueTransformer *)statusJSONTransformer { if ([value caseInsensitiveCompare:@"COPYING_FAILED"] == NSOrderedSame) { return @(AWSRekognitionProjectVersionStatusCopyingFailed); } + if ([value caseInsensitiveCompare:@"DEPRECATED"] == NSOrderedSame) { + return @(AWSRekognitionProjectVersionStatusDeprecated); + } + if ([value caseInsensitiveCompare:@"EXPIRED"] == NSOrderedSame) { + return @(AWSRekognitionProjectVersionStatusExpired); + } return @(AWSRekognitionProjectVersionStatusUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -6669,6 +6863,10 @@ + (NSValueTransformer *)statusJSONTransformer { return @"COPYING_COMPLETED"; case AWSRekognitionProjectVersionStatusCopyingFailed: return @"COPYING_FAILED"; + case AWSRekognitionProjectVersionStatusDeprecated: + return @"DEPRECATED"; + case AWSRekognitionProjectVersionStatusExpired: + return @"EXPIRED"; default: return nil; } diff --git a/AWSRekognition/AWSRekognitionResources.m b/AWSRekognition/AWSRekognitionResources.m index da3c54845b7..4a0b2101401 100644 --- a/AWSRekognition/AWSRekognitionResources.m +++ b/AWSRekognition/AWSRekognitionResources.m @@ -130,7 +130,7 @@ - (NSString *)definitionString { {\"shape\":\"ProvisionedThroughputExceededException\"},\ {\"shape\":\"ResourceInUseException\"}\ ],\ - \"documentation\":\"Copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project. The source and destination projects can be in different AWS accounts but must be in the same AWS Region. You can't copy a model to another AWS service.
To copy a model version to a different AWS account, you need to create a resource-based policy known as a project policy. You attach the project policy to the source project by calling PutProjectPolicy. The project policy gives permission to copy the model version from a trusting AWS account to a trusted account.
For more information creating and attaching a project policy, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
If you are copying a model version to a project in the same AWS account, you don't need to create a project policy.
To copy a model, the destination project, source project, and source model version must already exist.
Copying a model version takes a while to complete. To get the current status, call DescribeProjectVersions and check the value of Status
in the ProjectVersionDescription object. The copy operation has finished when the value of Status
is COPYING_COMPLETED
.
This operation requires permissions to perform the rekognition:CopyProjectVersion
action.
This operation applies only to Amazon Rekognition Custom Labels.
Copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project. The source and destination projects can be in different AWS accounts but must be in the same AWS Region. You can't copy a model to another AWS service.
To copy a model version to a different AWS account, you need to create a resource-based policy known as a project policy. You attach the project policy to the source project by calling PutProjectPolicy. The project policy gives permission to copy the model version from a trusting AWS account to a trusted account.
For more information creating and attaching a project policy, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
If you are copying a model version to a project in the same AWS account, you don't need to create a project policy.
Copying project versions is supported only for Custom Labels models.
To copy a model, the destination project, source project, and source model version must already exist.
Copying a model version takes a while to complete. To get the current status, call DescribeProjectVersions and check the value of Status
in the ProjectVersionDescription object. The copy operation has finished when the value of Status
is COPYING_COMPLETED
.
This operation requires permissions to perform the rekognition:CopyProjectVersion
action.
Creates a new Amazon Rekognition Custom Labels dataset. You can create a dataset by using an Amazon Sagemaker format manifest file or by copying an existing Amazon Rekognition Custom Labels dataset.
To create a training dataset for a project, specify TRAIN
for the value of DatasetType
. To create the test dataset for a project, specify TEST
for the value of DatasetType
.
The response from CreateDataset
is the Amazon Resource Name (ARN) for the dataset. Creating a dataset takes a while to complete. Use DescribeDataset to check the current status. The dataset created successfully if the value of Status
is CREATE_COMPLETE
.
To check if any non-terminal errors occurred, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset creation fails if a terminal error occurs (Status
= CREATE_FAILED
). Currently, you can't access the terminal error information.
For more information, see Creating dataset in the Amazon Rekognition Custom Labels Developer Guide.
This operation requires permissions to perform the rekognition:CreateDataset
action. If you want to copy an existing dataset, you also require permission to perform the rekognition:ListDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Creates a new Amazon Rekognition Custom Labels dataset. You can create a dataset by using an Amazon Sagemaker format manifest file or by copying an existing Amazon Rekognition Custom Labels dataset.
To create a training dataset for a project, specify TRAIN
for the value of DatasetType
. To create the test dataset for a project, specify TEST
for the value of DatasetType
.
The response from CreateDataset
is the Amazon Resource Name (ARN) for the dataset. Creating a dataset takes a while to complete. Use DescribeDataset to check the current status. The dataset created successfully if the value of Status
is CREATE_COMPLETE
.
To check if any non-terminal errors occurred, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset creation fails if a terminal error occurs (Status
= CREATE_FAILED
). Currently, you can't access the terminal error information.
For more information, see Creating dataset in the Amazon Rekognition Custom Labels Developer Guide.
This operation requires permissions to perform the rekognition:CreateDataset
action. If you want to copy an existing dataset, you also require permission to perform the rekognition:ListDatasetEntries
action.
Creates a new Amazon Rekognition Custom Labels project. A project is a group of resources (datasets, model versions) that you use to create and manage Amazon Rekognition Custom Labels models.
This operation requires permissions to perform the rekognition:CreateProject
action.
Creates a new Amazon Rekognition project. A project is a group of resources (datasets, model versions) that you use to create and manage a Amazon Rekognition Custom Labels Model or custom adapter. You can specify a feature to create the project with, if no feature is specified then Custom Labels is used by default. For adapters, you can also choose whether or not to have the project auto update by using the AutoUpdate argument. This operation requires permissions to perform the rekognition:CreateProject
action.
Creates a new version of a model and begins training. Models are managed as part of an Amazon Rekognition Custom Labels project. The response from CreateProjectVersion
is an Amazon Resource Name (ARN) for the version of the model.
Training uses the training and test datasets associated with the project. For more information, see Creating training and test dataset in the Amazon Rekognition Custom Labels Developer Guide.
You can train a model in a project that doesn't have associated datasets by specifying manifest files in the TrainingData
and TestingData
fields.
If you open the console after training a model with manifest files, Amazon Rekognition Custom Labels creates the datasets for you using the most recent manifest files. You can no longer train a model version for the project by specifying manifest files.
Instead of training with a project without associated datasets, we recommend that you use the manifest files to create training and test datasets for the project.
Training takes a while to complete. You can get the current status by calling DescribeProjectVersions. Training completed successfully if the value of the Status
field is TRAINING_COMPLETED
.
If training fails, see Debugging a failed model training in the Amazon Rekognition Custom Labels developer guide.
Once training has successfully completed, call DescribeProjectVersions to get the training results and evaluate the model. For more information, see Improving a trained Amazon Rekognition Custom Labels model in the Amazon Rekognition Custom Labels developers guide.
After evaluating the model, you start the model by calling StartProjectVersion.
This operation requires permissions to perform the rekognition:CreateProjectVersion
action.
Creates a new version of Amazon Rekognition project (like a Custom Labels model or a custom adapter) and begins training. Models and adapters are managed as part of a Rekognition project. The response from CreateProjectVersion
is an Amazon Resource Name (ARN) for the project version.
The FeatureConfig operation argument allows you to configure specific model or adapter settings. You can provide a description to the project version by using the VersionDescription argment. Training can take a while to complete. You can get the current status by calling DescribeProjectVersions. Training completed successfully if the value of the Status
field is TRAINING_COMPLETED
. Once training has successfully completed, call DescribeProjectVersions to get the training results and evaluate the model.
This operation requires permissions to perform the rekognition:CreateProjectVersion
action.
The following applies only to projects with Amazon Rekognition Custom Labels as the chosen feature:
You can train a model in a project that doesn't have associated datasets by specifying manifest files in the TrainingData
and TestingData
fields.
If you open the console after training a model with manifest files, Amazon Rekognition Custom Labels creates the datasets for you using the most recent manifest files. You can no longer train a model version for the project by specifying manifest files.
Instead of training with a project without associated datasets, we recommend that you use the manifest files to create training and test datasets for the project.
Deletes an existing Amazon Rekognition Custom Labels dataset. Deleting a dataset might take while. Use DescribeDataset to check the current status. The dataset is still deleting if the value of Status
is DELETE_IN_PROGRESS
. If you try to access the dataset after it is deleted, you get a ResourceNotFoundException
exception.
You can't delete a dataset while it is creating (Status
= CREATE_IN_PROGRESS
) or if the dataset is updating (Status
= UPDATE_IN_PROGRESS
).
This operation requires permissions to perform the rekognition:DeleteDataset
action.
This operation applies only to Amazon Rekognition Custom Labels.
Deletes an existing Amazon Rekognition Custom Labels dataset. Deleting a dataset might take while. Use DescribeDataset to check the current status. The dataset is still deleting if the value of Status
is DELETE_IN_PROGRESS
. If you try to access the dataset after it is deleted, you get a ResourceNotFoundException
exception.
You can't delete a dataset while it is creating (Status
= CREATE_IN_PROGRESS
) or if the dataset is updating (Status
= UPDATE_IN_PROGRESS
).
This operation requires permissions to perform the rekognition:DeleteDataset
action.
Deletes an Amazon Rekognition Custom Labels project. To delete a project you must first delete all models associated with the project. To delete a model, see DeleteProjectVersion.
DeleteProject
is an asynchronous operation. To check if the project is deleted, call DescribeProjects. The project is deleted when the project no longer appears in the response. Be aware that deleting a given project will also delete any ProjectPolicies
associated with that project.
This operation requires permissions to perform the rekognition:DeleteProject
action.
Deletes a Amazon Rekognition project. To delete a project you must first delete all models or adapters associated with the project. To delete a model or adapter, see DeleteProjectVersion.
DeleteProject
is an asynchronous operation. To check if the project is deleted, call DescribeProjects. The project is deleted when the project no longer appears in the response. Be aware that deleting a given project will also delete any ProjectPolicies
associated with that project.
This operation requires permissions to perform the rekognition:DeleteProject
action.
Deletes an existing project policy.
To get a list of project policies attached to a project, call ListProjectPolicies. To attach a project policy to a project, call PutProjectPolicy.
This operation requires permissions to perform the rekognition:DeleteProjectPolicy
action.
This operation applies only to Amazon Rekognition Custom Labels.
Deletes an existing project policy.
To get a list of project policies attached to a project, call ListProjectPolicies. To attach a project policy to a project, call PutProjectPolicy.
This operation requires permissions to perform the rekognition:DeleteProjectPolicy
action.
Deletes an Amazon Rekognition Custom Labels model.
You can't delete a model if it is running or if it is training. To check the status of a model, use the Status
field returned from DescribeProjectVersions. To stop a running model call StopProjectVersion. If the model is training, wait until it finishes.
This operation requires permissions to perform the rekognition:DeleteProjectVersion
action.
Deletes a Rekognition project model or project version, like a Amazon Rekognition Custom Labels model or a custom adapter.
You can't delete a project version if it is running or if it is training. To check the status of a project version, use the Status field returned from DescribeProjectVersions. To stop a project version call StopProjectVersion. If the project version is training, wait until it finishes.
This operation requires permissions to perform the rekognition:DeleteProjectVersion
action.
Describes an Amazon Rekognition Custom Labels dataset. You can get information such as the current status of a dataset and statistics about the images and labels in a dataset.
This operation requires permissions to perform the rekognition:DescribeDataset
action.
This operation applies only to Amazon Rekognition Custom Labels.
Describes an Amazon Rekognition Custom Labels dataset. You can get information such as the current status of a dataset and statistics about the images and labels in a dataset.
This operation requires permissions to perform the rekognition:DescribeDataset
action.
Lists and describes the versions of a model in an Amazon Rekognition Custom Labels project. You can specify up to 10 model versions in ProjectVersionArns
. If you don't specify a value, descriptions for all model versions in the project are returned.
This operation requires permissions to perform the rekognition:DescribeProjectVersions
action.
Lists and describes the versions of an Amazon Rekognition project. You can specify up to 10 model or adapter versions in ProjectVersionArns
. If you don't specify a value, descriptions for all model/adapter versions in the project are returned.
This operation requires permissions to perform the rekognition:DescribeProjectVersions
action.
Gets information about your Amazon Rekognition Custom Labels projects.
This operation requires permissions to perform the rekognition:DescribeProjects
action.
Gets information about your Rekognition projects.
This operation requires permissions to perform the rekognition:DescribeProjects
action.
Detects custom labels in a supplied image by using an Amazon Rekognition Custom Labels model.
You specify which version of a model version to use by using the ProjectVersionArn
input parameter.
You pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
For each object that the model version detects on an image, the API returns a (CustomLabel
) object in an array (CustomLabels
). Each CustomLabel
object provides the label name (Name
), the level of confidence that the image contains the object (Confidence
), and object location information, if it exists, for the label on the image (Geometry
).
To filter labels that are returned, specify a value for MinConfidence
. DetectCustomLabelsLabels
only returns labels with a confidence that's higher than the specified value. The value of MinConfidence
maps to the assumed threshold values created during training. For more information, see Assumed threshold in the Amazon Rekognition Custom Labels Developer Guide. Amazon Rekognition Custom Labels metrics expresses an assumed threshold as a floating point value between 0-1. The range of MinConfidence
normalizes the threshold value to a percentage value (0-100). Confidence responses from DetectCustomLabels
are also returned as a percentage. You can use MinConfidence
to change the precision and recall or your model. For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
If you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on the assumed threshold of each label.
This is a stateless API operation. That is, the operation does not persist any data.
This operation requires permissions to perform the rekognition:DetectCustomLabels
action.
For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
\"\ + \"documentation\":\"This operation applies only to Amazon Rekognition Custom Labels.
Detects custom labels in a supplied image by using an Amazon Rekognition Custom Labels model.
You specify which version of a model version to use by using the ProjectVersionArn
input parameter.
You pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
For each object that the model version detects on an image, the API returns a (CustomLabel
) object in an array (CustomLabels
). Each CustomLabel
object provides the label name (Name
), the level of confidence that the image contains the object (Confidence
), and object location information, if it exists, for the label on the image (Geometry
).
To filter labels that are returned, specify a value for MinConfidence
. DetectCustomLabelsLabels
only returns labels with a confidence that's higher than the specified value. The value of MinConfidence
maps to the assumed threshold values created during training. For more information, see Assumed threshold in the Amazon Rekognition Custom Labels Developer Guide. Amazon Rekognition Custom Labels metrics expresses an assumed threshold as a floating point value between 0-1. The range of MinConfidence
normalizes the threshold value to a percentage value (0-100). Confidence responses from DetectCustomLabels
are also returned as a percentage. You can use MinConfidence
to change the precision and recall or your model. For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
If you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on the assumed threshold of each label.
This is a stateless API operation. That is, the operation does not persist any data.
This operation requires permissions to perform the rekognition:DetectCustomLabels
action.
For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
\"\ },\ \"DetectFaces\":{\ \"name\":\"DetectFaces\",\ @@ -594,9 +594,11 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"},\ {\"shape\":\"ProvisionedThroughputExceededException\"},\ {\"shape\":\"InvalidImageFormatException\"},\ - {\"shape\":\"HumanLoopQuotaExceededException\"}\ + {\"shape\":\"HumanLoopQuotaExceededException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"ResourceNotReadyException\"}\ ],\ - \"documentation\":\"Detects unsafe content in a specified JPEG or PNG format image. Use DetectModerationLabels
to moderate images depending on your requirements. For example, you might want to filter images that contain nudity, but not images containing suggestive content.
To filter images, use the labels returned by DetectModerationLabels
to determine which types of content are appropriate.
For information about moderation labels, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.
You pass the input image either as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
\"\ + \"documentation\":\"Detects unsafe content in a specified JPEG or PNG format image. Use DetectModerationLabels
to moderate images depending on your requirements. For example, you might want to filter images that contain nudity, but not images containing suggestive content.
To filter images, use the labels returned by DetectModerationLabels
to determine which types of content are appropriate.
For information about moderation labels, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.
You pass the input image either as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
You can specify an adapter to use when retrieving label predictions by providing a ProjectVersionArn
to the ProjectVersion
argument.
Distributes the entries (images) in a training dataset across the training dataset and the test dataset for a project. DistributeDatasetEntries
moves 20% of the training dataset images to the test dataset. An entry is a JSON Line that describes an image.
You supply the Amazon Resource Names (ARN) of a project's training dataset and test dataset. The training dataset must contain the images that you want to split. The test dataset must be empty. The datasets must belong to the same project. To create training and test datasets for a project, call CreateDataset.
Distributing a dataset takes a while to complete. To check the status call DescribeDataset
. The operation is complete when the Status
field for the training dataset and the test dataset is UPDATE_COMPLETE
. If the dataset split fails, the value of Status
is UPDATE_FAILED
.
This operation requires permissions to perform the rekognition:DistributeDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Distributes the entries (images) in a training dataset across the training dataset and the test dataset for a project. DistributeDatasetEntries
moves 20% of the training dataset images to the test dataset. An entry is a JSON Line that describes an image.
You supply the Amazon Resource Names (ARN) of a project's training dataset and test dataset. The training dataset must contain the images that you want to split. The test dataset must be empty. The datasets must belong to the same project. To create training and test datasets for a project, call CreateDataset.
Distributing a dataset takes a while to complete. To check the status call DescribeDataset
. The operation is complete when the Status
field for the training dataset and the test dataset is UPDATE_COMPLETE
. If the dataset split fails, the value of Status
is UPDATE_FAILED
.
This operation requires permissions to perform the rekognition:DistributeDatasetEntries
action.
Lists the entries (images) within a dataset. An entry is a JSON Line that contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Creating a manifest file.
JSON Lines in the response include information about non-terminal errors found in the dataset. Non terminal errors are reported in errors
lists within each JSON Line. The same information is reported in the training and testing validation result manifests that Amazon Rekognition Custom Labels creates during model training.
You can filter the response in variety of ways, such as choosing which labels to return and returning JSON Lines created after a specific date.
This operation requires permissions to perform the rekognition:ListDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Lists the entries (images) within a dataset. An entry is a JSON Line that contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Creating a manifest file.
JSON Lines in the response include information about non-terminal errors found in the dataset. Non terminal errors are reported in errors
lists within each JSON Line. The same information is reported in the training and testing validation result manifests that Amazon Rekognition Custom Labels creates during model training.
You can filter the response in variety of ways, such as choosing which labels to return and returning JSON Lines created after a specific date.
This operation requires permissions to perform the rekognition:ListDatasetEntries
action.
Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images.
Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images in the Amazon Rekognition Custom Labels Developer Guide.
\"\ + \"documentation\":\"This operation applies only to Amazon Rekognition Custom Labels.
Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images.
Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images in the Amazon Rekognition Custom Labels Developer Guide.
\"\ },\ \"ListFaces\":{\ \"name\":\"ListFaces\",\ @@ -984,7 +986,7 @@ - (NSString *)definitionString { {\"shape\":\"ProvisionedThroughputExceededException\"},\ {\"shape\":\"InvalidPaginationTokenException\"}\ ],\ - \"documentation\":\"Gets a list of the project policies attached to a project.
To attach a project policy to a project, call PutProjectPolicy. To remove a project policy from a project, call DeleteProjectPolicy.
This operation requires permissions to perform the rekognition:ListProjectPolicies
action.
This operation applies only to Amazon Rekognition Custom Labels.
Gets a list of the project policies attached to a project.
To attach a project policy to a project, call PutProjectPolicy. To remove a project policy from a project, call DeleteProjectPolicy.
This operation requires permissions to perform the rekognition:ListProjectPolicies
action.
Attaches a project policy to a Amazon Rekognition Custom Labels project in a trusting AWS account. A project policy specifies that a trusted AWS account can copy a model version from a trusting AWS account to a project in the trusted AWS account. To copy a model version you use the CopyProjectVersion operation.
For more information about the format of a project policy document, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
The response from PutProjectPolicy
is a revision ID for the project policy. You can attach multiple project policies to a project. You can also update an existing project policy by specifying the policy revision ID of the existing policy.
To remove a project policy from a project, call DeleteProjectPolicy. To get a list of project policies attached to a project, call ListProjectPolicies.
You copy a model version by calling CopyProjectVersion.
This operation requires permissions to perform the rekognition:PutProjectPolicy
action.
This operation applies only to Amazon Rekognition Custom Labels.
Attaches a project policy to a Amazon Rekognition Custom Labels project in a trusting AWS account. A project policy specifies that a trusted AWS account can copy a model version from a trusting AWS account to a project in the trusted AWS account. To copy a model version you use the CopyProjectVersion operation. Only applies to Custom Labels projects.
For more information about the format of a project policy document, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
The response from PutProjectPolicy
is a revision ID for the project policy. You can attach multiple project policies to a project. You can also update an existing project policy by specifying the policy revision ID of the existing policy.
To remove a project policy from a project, call DeleteProjectPolicy. To get a list of project policies attached to a project, call ListProjectPolicies.
You copy a model version by calling CopyProjectVersion.
This operation requires permissions to perform the rekognition:PutProjectPolicy
action.
Starts the running of the version of a model. Starting a model takes a while to complete. To check the current state of the model, use DescribeProjectVersions.
Once the model is running, you can detect custom labels in new images by calling DetectCustomLabels.
You are charged for the amount of time that the model is running. To stop a running model, call StopProjectVersion.
For more information, see Running a trained Amazon Rekognition Custom Labels model in the Amazon Rekognition Custom Labels Guide.
This operation requires permissions to perform the rekognition:StartProjectVersion
action.
This operation applies only to Amazon Rekognition Custom Labels.
Starts the running of the version of a model. Starting a model takes a while to complete. To check the current state of the model, use DescribeProjectVersions.
Once the model is running, you can detect custom labels in new images by calling DetectCustomLabels.
You are charged for the amount of time that the model is running. To stop a running model, call StopProjectVersion.
This operation requires permissions to perform the rekognition:StartProjectVersion
action.
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
This operation applies only to Amazon Rekognition Custom Labels.
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions. Only applies to Custom Labels projects.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
Adds or updates one or more entries (images) in a dataset. An entry is a JSON Line which contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Image-Level labels in manifest files and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.
If the source-ref
field in the JSON line references an existing image, the existing image in the dataset is updated. If source-ref
field doesn't reference an existing image, the image is added as a new image to the dataset.
You specify the changes that you want to make in the Changes
input parameter. There isn't a limit to the number JSON Lines that you can change, but the size of Changes
must be less than 5MB.
UpdateDatasetEntries
returns immediatly, but the dataset update might take a while to complete. Use DescribeDataset to check the current status. The dataset updated successfully if the value of Status
is UPDATE_COMPLETE
.
To check if any non-terminal errors occured, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset update fails if a terminal error occurs (Status
= UPDATE_FAILED
). Currently, you can't access the terminal error information from the Amazon Rekognition Custom Labels SDK.
This operation requires permissions to perform the rekognition:UpdateDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Adds or updates one or more entries (images) in a dataset. An entry is a JSON Line which contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Image-Level labels in manifest files and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.
If the source-ref
field in the JSON line references an existing image, the existing image in the dataset is updated. If source-ref
field doesn't reference an existing image, the image is added as a new image to the dataset.
You specify the changes that you want to make in the Changes
input parameter. There isn't a limit to the number JSON Lines that you can change, but the size of Changes
must be less than 5MB.
UpdateDatasetEntries
returns immediatly, but the dataset update might take a while to complete. Use DescribeDataset to check the current status. The dataset updated successfully if the value of Status
is UPDATE_COMPLETE
.
To check if any non-terminal errors occured, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset update fails if a terminal error occurs (Status
= UPDATE_FAILED
). Currently, you can't access the terminal error information from the Amazon Rekognition Custom Labels SDK.
This operation requires permissions to perform the rekognition:UpdateDatasetEntries
action.
The name of the project to create.
\"\ + },\ + \"Feature\":{\ + \"shape\":\"CustomizationFeature\",\ + \"documentation\":\"Specifies feature that is being customized. If no value is provided CUSTOM_LABELS is used as a default.
\"\ + },\ + \"AutoUpdate\":{\ + \"shape\":\"ProjectAutoUpdate\",\ + \"documentation\":\"Specifies whether automatic retraining should be attempted for the versions of the project. Automatic retraining is done as a best effort. Required argument for Content Moderation. Applicable only to adapters.
\"\ }\ }\ },\ @@ -2258,31 +2268,39 @@ - (NSString *)definitionString { \"members\":{\ \"ProjectArn\":{\ \"shape\":\"ProjectArn\",\ - \"documentation\":\"The ARN of the Amazon Rekognition Custom Labels project that manages the model that you want to train.
\"\ + \"documentation\":\"The ARN of the Amazon Rekognition project that will manage the project version you want to train.
\"\ },\ \"VersionName\":{\ \"shape\":\"VersionName\",\ - \"documentation\":\"A name for the version of the model. This value must be unique.
\"\ + \"documentation\":\"A name for the version of the project version. This value must be unique.
\"\ },\ \"OutputConfig\":{\ \"shape\":\"OutputConfig\",\ - \"documentation\":\"The Amazon S3 bucket location to store the results of training. The S3 bucket can be in any AWS account as long as the caller has s3:PutObject
permissions on the S3 bucket.
The Amazon S3 bucket location to store the results of training. The bucket can be any S3 bucket in your AWS account. You need s3:PutObject
permission on the bucket.
Specifies an external manifest that the services uses to train the model. If you specify TrainingData
you must also specify TestingData
. The project must not have any associated datasets.
Specifies an external manifest that the services uses to train the project version. If you specify TrainingData
you must also specify TestingData
. The project must not have any associated datasets.
Specifies an external manifest that the service uses to test the model. If you specify TestingData
you must also specify TrainingData
. The project must not have any associated datasets.
Specifies an external manifest that the service uses to test the project version. If you specify TestingData
you must also specify TrainingData
. The project must not have any associated datasets.
A set of tags (key-value pairs) that you want to attach to the model.
\"\ + \"documentation\":\"A set of tags (key-value pairs) that you want to attach to the project version.
\"\ },\ \"KmsKeyId\":{\ \"shape\":\"KmsKeyId\",\ - \"documentation\":\"The identifier for your AWS Key Management Service key (AWS KMS key). You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt training and test images copied into the service for model training. Your source images are unaffected. The key is also used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig
).
If you choose to use your own KMS key, you need the following permissions on the KMS key.
kms:CreateGrant
kms:DescribeKey
kms:GenerateDataKey
kms:Decrypt
If you don't specify a value for KmsKeyId
, images copied into the service are encrypted using a key that AWS owns and manages.
The identifier for your AWS Key Management Service key (AWS KMS key). You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt training images, test images, and manifest files copied into the service for the project version. Your source images are unaffected. The key is also used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig
).
If you choose to use your own KMS key, you need the following permissions on the KMS key.
kms:CreateGrant
kms:DescribeKey
kms:GenerateDataKey
kms:Decrypt
If you don't specify a value for KmsKeyId
, images copied into the service are encrypted using a key that AWS owns and manages.
A description applied to the project version being created.
\"\ + },\ + \"FeatureConfig\":{\ + \"shape\":\"CustomizationFeatureConfig\",\ + \"documentation\":\"Feature-specific configuration of the training job. If the job configuration does not match the feature type associated with the project, an InvalidParameterException is returned.
\"\ }\ }\ },\ @@ -2291,7 +2309,7 @@ - (NSString *)definitionString { \"members\":{\ \"ProjectVersionArn\":{\ \"shape\":\"ProjectVersionArn\",\ - \"documentation\":\"The ARN of the model version that was created. Use DescribeProjectVersion
to get the current status of the training operation.
The ARN of the model or the project version that was created. Use DescribeProjectVersion
to get the current status of the training operation.
Configuration options for Custom Moderation training.
\"\ + }\ + },\ + \"documentation\":\"Feature specific configuration for the training job. Configuration provided for the job must match the feature type parameter associated with project. If configuration and feature type do not match an InvalidParameterException is returned.
\"\ + },\ + \"CustomizationFeatureContentModerationConfig\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"ConfidenceThreshold\":{\ + \"shape\":\"Percent\",\ + \"documentation\":\"The confidence level you plan to use to identify if unsafe content is present during inference.
\"\ + }\ + },\ + \"documentation\":\"Configuration options for Content Moderation training.
\"\ + },\ + \"CustomizationFeatures\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"CustomizationFeature\"},\ + \"max\":2,\ + \"min\":1\ + },\ \"DatasetArn\":{\ \"type\":\"string\",\ \"max\":2048,\ @@ -2718,7 +2769,7 @@ - (NSString *)definitionString { \"members\":{\ \"ProjectVersionArn\":{\ \"shape\":\"ProjectVersionArn\",\ - \"documentation\":\"The Amazon Resource Name (ARN) of the model version that you want to delete.
\"\ + \"documentation\":\"The Amazon Resource Name (ARN) of the project version that you want to delete.
\"\ }\ }\ },\ @@ -2833,15 +2884,15 @@ - (NSString *)definitionString { \"members\":{\ \"ProjectArn\":{\ \"shape\":\"ProjectArn\",\ - \"documentation\":\"The Amazon Resource Name (ARN) of the project that contains the models you want to describe.
\"\ + \"documentation\":\"The Amazon Resource Name (ARN) of the project that contains the model/adapter you want to describe.
\"\ },\ \"VersionNames\":{\ \"shape\":\"VersionNames\",\ - \"documentation\":\"A list of model version names that you want to describe. You can add up to 10 model version names to the list. If you don't specify a value, all model descriptions are returned. A version name is part of a model (ProjectVersion) ARN. For example, my-model.2020-01-21T09.10.15
is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
A list of model or project version names that you want to describe. You can add up to 10 model or project version names to the list. If you don't specify a value, all project version descriptions are returned. A version name is part of a project version ARN. For example, my-model.2020-01-21T09.10.15
is the version name in the following ARN. arn:aws:rekognition:us-east-1:123456789012:project/getting-started/version/my-model.2020-01-21T09.10.15/1234567890123
.
If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
\"\ + \"documentation\":\"If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
\"\ },\ \"MaxResults\":{\ \"shape\":\"ProjectVersionsPageSize\",\ @@ -2854,11 +2905,11 @@ - (NSString *)definitionString { \"members\":{\ \"ProjectVersionDescriptions\":{\ \"shape\":\"ProjectVersionDescriptions\",\ - \"documentation\":\"A list of model descriptions. The list is sorted by the creation date and time of the model versions, latest to earliest.
\"\ + \"documentation\":\"A list of project version descriptions. The list is sorted by the creation date and time of the project versions, latest to earliest.
\"\ },\ \"NextToken\":{\ \"shape\":\"ExtendedPaginationToken\",\ - \"documentation\":\"If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
\"\ + \"documentation\":\"If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
\"\ }\ }\ },\ @@ -2867,7 +2918,7 @@ - (NSString *)definitionString { \"members\":{\ \"NextToken\":{\ \"shape\":\"ExtendedPaginationToken\",\ - \"documentation\":\"If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
\"\ + \"documentation\":\"If the previous response was incomplete (because there is more results to retrieve), Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
\"\ },\ \"MaxResults\":{\ \"shape\":\"ProjectsPageSize\",\ @@ -2875,7 +2926,11 @@ - (NSString *)definitionString { },\ \"ProjectNames\":{\ \"shape\":\"ProjectNames\",\ - \"documentation\":\"A list of the projects that you want Amazon Rekognition Custom Labels to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
\"\ + \"documentation\":\"A list of the projects that you want Rekognition to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
\"\ + },\ + \"Features\":{\ + \"shape\":\"CustomizationFeatures\",\ + \"documentation\":\"Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default.
\"\ }\ }\ },\ @@ -2888,7 +2943,7 @@ - (NSString *)definitionString { },\ \"NextToken\":{\ \"shape\":\"ExtendedPaginationToken\",\ - \"documentation\":\"If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
\"\ + \"documentation\":\"If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
\"\ }\ }\ },\ @@ -2969,7 +3024,7 @@ - (NSString *)definitionString { \"members\":{\ \"ProjectVersionArn\":{\ \"shape\":\"ProjectVersionArn\",\ - \"documentation\":\"The ARN of the model version that you want to use.
\"\ + \"documentation\":\"The ARN of the model version that you want to use. Only models associated with Custom Labels projects accepted by the operation. If a provided ARN refers to a model version associated with a project for a different feature type, then an InvalidParameterException is returned.
\"\ },\ \"Image\":{\"shape\":\"Image\"},\ \"MaxResults\":{\ @@ -3190,6 +3245,10 @@ - (NSString *)definitionString { \"HumanLoopConfig\":{\ \"shape\":\"HumanLoopConfig\",\ \"documentation\":\"Sets up the configuration for human evaluation, including the FlowDefinition the image will be sent to.
\"\ + },\ + \"ProjectVersion\":{\ + \"shape\":\"ProjectVersionId\",\ + \"documentation\":\"Identifier for the custom adapter. Expects the ProjectVersionArn as a value. Use the CreateProject or CreateProjectVersion APIs to create a custom adapter.
\"\ }\ }\ },\ @@ -3202,11 +3261,15 @@ - (NSString *)definitionString { },\ \"ModerationModelVersion\":{\ \"shape\":\"String\",\ - \"documentation\":\"Version number of the moderation detection model that was used to detect unsafe content.
\"\ + \"documentation\":\"Version number of the base moderation detection model that was used to detect unsafe content.
\"\ },\ \"HumanLoopActivationOutput\":{\ \"shape\":\"HumanLoopActivationOutput\",\ \"documentation\":\"Shows the results of the human in the loop evaluation.
\"\ + },\ + \"ProjectVersion\":{\ + \"shape\":\"ProjectVersionId\",\ + \"documentation\":\"Identifier of the custom adapter that was used during inference. If during inference the adapter was EXPIRED, then the parameter will not be returned, indicating that a base moderation detection project version was used.
\"\ }\ }\ },\ @@ -4970,7 +5033,7 @@ - (NSString *)definitionString { \"type\":\"structure\",\ \"members\":{\ },\ - \"documentation\":\"An Amazon Rekognition service limit was exceeded. For example, if you start too many Amazon Rekognition Video jobs concurrently, calls to start operations (StartLabelDetection
, for example) will raise a LimitExceededException
exception (HTTP status code: 400) until the number of concurrently running jobs is below the Amazon Rekognition service limit.
An Amazon Rekognition service limit was exceeded. For example, if you start too many jobs concurrently, subsequent calls to start operations (ex: StartLabelDetection
) will raise a LimitExceededException
exception (HTTP status code: 400) until the number of concurrently running jobs is below the Amazon Rekognition service limit.
Information about the training and test datasets in the project.
\"\ + },\ + \"Feature\":{\ + \"shape\":\"CustomizationFeature\",\ + \"documentation\":\"Specifies the project that is being customized.
\"\ + },\ + \"AutoUpdate\":{\ + \"shape\":\"ProjectAutoUpdate\",\ + \"documentation\":\"Indicates whether automatic retraining will be attempted for the versions of the project. Applies only to adapters.
\"\ }\ },\ \"documentation\":\"A description of an Amazon Rekognition Custom Labels project. For more information, see DescribeProjects.
\"\ @@ -5677,7 +5755,7 @@ - (NSString *)definitionString { \"members\":{\ \"ProjectVersionArn\":{\ \"shape\":\"ProjectVersionArn\",\ - \"documentation\":\"The Amazon Resource Name (ARN) of the model version.
\"\ + \"documentation\":\"The Amazon Resource Name (ARN) of the project version.
\"\ },\ \"CreationTimestamp\":{\ \"shape\":\"DateTime\",\ @@ -5685,7 +5763,7 @@ - (NSString *)definitionString { },\ \"MinInferenceUnits\":{\ \"shape\":\"InferenceUnits\",\ - \"documentation\":\"The minimum number of inference units used by the model. For more information, see StartProjectVersion.
\"\ + \"documentation\":\"The minimum number of inference units used by the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.
\"\ },\ \"Status\":{\ \"shape\":\"ProjectVersionStatus\",\ @@ -5729,19 +5807,41 @@ - (NSString *)definitionString { },\ \"MaxInferenceUnits\":{\ \"shape\":\"InferenceUnits\",\ - \"documentation\":\"The maximum number of inference units Amazon Rekognition Custom Labels uses to auto-scale the model. For more information, see StartProjectVersion.
\"\ + \"documentation\":\"The maximum number of inference units Amazon Rekognition uses to auto-scale the model. Applies only to Custom Labels projects. For more information, see StartProjectVersion.
\"\ },\ \"SourceProjectVersionArn\":{\ \"shape\":\"ProjectVersionArn\",\ \"documentation\":\"If the model version was copied from a different project, SourceProjectVersionArn
contains the ARN of the source model version.
A user-provided description of the project version.
\"\ + },\ + \"Feature\":{\ + \"shape\":\"CustomizationFeature\",\ + \"documentation\":\"The feature that was customized.
\"\ + },\ + \"BaseModelVersion\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The base detection model version used to create the project version.
\"\ + },\ + \"FeatureConfig\":{\ + \"shape\":\"CustomizationFeatureConfig\",\ + \"documentation\":\"Feature specific configuration that was applied during training.
\"\ }\ },\ - \"documentation\":\"A description of a version of an Amazon Rekognition Custom Labels model.
\"\ + \"documentation\":\"A description of a version of a Amazon Rekognition project version.
\"\ },\ \"ProjectVersionDescriptions\":{\ \"type\":\"list\",\ \"member\":{\"shape\":\"ProjectVersionDescription\"}\ },\ + \"ProjectVersionId\":{\ + \"type\":\"string\",\ + \"max\":2048,\ + \"min\":20,\ + \"pattern\":\"(^arn:[a-z\\\\d-]+:rekognition:[a-z\\\\d-]+:\\\\d{12}:project\\\\/[a-zA-Z0-9_.\\\\-]{1,255}\\\\/version\\\\/[a-zA-Z0-9_.\\\\-]{1,255}\\\\/[0-9]+$)\"\ + },\ \"ProjectVersionStatus\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -5756,7 +5856,9 @@ - (NSString *)definitionString { \"DELETING\",\ \"COPYING_IN_PROGRESS\",\ \"COPYING_COMPLETED\",\ - \"COPYING_FAILED\"\ + \"COPYING_FAILED\",\ + \"DEPRECATED\",\ + \"EXPIRED\"\ ]\ },\ \"ProjectVersionsPageSize\":{\ @@ -6661,7 +6763,7 @@ - (NSString *)definitionString { },\ \"MinInferenceUnits\":{\ \"shape\":\"InferenceUnits\",\ - \"documentation\":\"The minimum number of inference units to use. A single inference unit represents 1 hour of processing.
For information about the number of transactions per second (TPS) that an inference unit can support, see Running a trained Amazon Rekognition Custom Labels model in the Amazon Rekognition Custom Labels Guide.
Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
\"\ + \"documentation\":\"The minimum number of inference units to use. A single inference unit represents 1 hour of processing.
Use a higher number to increase the TPS throughput of your model. You are charged for the number of inference units that you use.
\"\ },\ \"MaxInferenceUnits\":{\ \"shape\":\"InferenceUnits\",\ @@ -6833,7 +6935,7 @@ - (NSString *)definitionString { \"members\":{\ \"ProjectVersionArn\":{\ \"shape\":\"ProjectVersionArn\",\ - \"documentation\":\"The Amazon Resource Name (ARN) of the model version that you want to delete.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
The Amazon Resource Name (ARN) of the model version that you want to stop.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job. After training completes, the test dataset is not stored and the training dataset reverts to its previous size.
\"\ + \"documentation\":\"If specified, Rekognition splits training dataset to create a test dataset for the training job.
\"\ }\ },\ - \"documentation\":\"The dataset used for testing. Optionally, if AutoCreate
is set, Amazon Rekognition Custom Labels uses the training dataset to create a test dataset with a temporary split of the training dataset.
The dataset used for testing. Optionally, if AutoCreate
is set, Amazon Rekognition uses the training dataset to create a test dataset with a temporary split of the training dataset.
A Sagemaker GroundTruth manifest file that contains the training images (assets).
\"\ + \"documentation\":\"A manifest file that contains references to the training images and ground-truth annotations.
\"\ }\ },\ \"documentation\":\"The dataset used for training.
\"\ @@ -7209,18 +7311,18 @@ - (NSString *)definitionString { \"members\":{\ \"Input\":{\ \"shape\":\"TrainingData\",\ - \"documentation\":\"The training assets that you supplied for training.
\"\ + \"documentation\":\"The training data that you supplied.
\"\ },\ \"Output\":{\ \"shape\":\"TrainingData\",\ - \"documentation\":\"The images (assets) that were actually trained by Amazon Rekognition Custom Labels.
\"\ + \"documentation\":\"Reference to images (assets) that were actually used during training with trained model predictions.
\"\ },\ \"Validation\":{\ \"shape\":\"ValidationData\",\ - \"documentation\":\"The location of the data validation manifest. The data validation manifest is created for the training dataset during model training.
\"\ + \"documentation\":\"A manifest that you supplied for training, with validation results for each line.
\"\ }\ },\ - \"documentation\":\"Sagemaker Groundtruth format manifest files for the input, output and validation datasets that are used and created during testing.
\"\ + \"documentation\":\"The data validation manifest created for the training dataset during model training.
\"\ },\ \"UInteger\":{\ \"type\":\"integer\",\ @@ -7541,6 +7643,12 @@ - (NSString *)definitionString { },\ \"documentation\":\"Contains the Amazon S3 bucket location of the validation data for a model training job.
The validation data includes error information for individual JSON Lines in the dataset. For more information, see Debugging a Failed Model Training in the Amazon Rekognition Custom Labels Developer Guide.
You get the ValidationData
object for the training dataset (TrainingDataResult) and the test dataset (TestingDataResult) by calling DescribeProjectVersions.
The assets array contains a single Asset object. The GroundTruthManifest field of the Asset object contains the S3 bucket location of the validation data.
\"\ },\ + \"VersionDescription\":{\ + \"type\":\"string\",\ + \"max\":255,\ + \"min\":1,\ + \"pattern\":\"[a-zA-Z0-9-_. ()':,;?]+\"\ + },\ \"VersionName\":{\ \"type\":\"string\",\ \"max\":255,\ diff --git a/AWSRekognition/AWSRekognitionService.h b/AWSRekognition/AWSRekognitionService.h index b40af225637..7401d9d6f1c 100644 --- a/AWSRekognition/AWSRekognitionService.h +++ b/AWSRekognition/AWSRekognitionService.h @@ -225,7 +225,7 @@ FOUNDATION_EXPORT NSString *const AWSRekognitionSDKVersion; - (void)compareFaces:(AWSRekognitionCompareFacesRequest *)request completionHandler:(void (^ _Nullable)(AWSRekognitionCompareFacesResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project. The source and destination projects can be in different AWS accounts but must be in the same AWS Region. You can't copy a model to another AWS service.
To copy a model version to a different AWS account, you need to create a resource-based policy known as a project policy. You attach the project policy to the source project by calling PutProjectPolicy. The project policy gives permission to copy the model version from a trusting AWS account to a trusted account.
For more information creating and attaching a project policy, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
If you are copying a model version to a project in the same AWS account, you don't need to create a project policy.
To copy a model, the destination project, source project, and source model version must already exist.
Copying a model version takes a while to complete. To get the current status, call DescribeProjectVersions and check the value of Status
in the ProjectVersionDescription object. The copy operation has finished when the value of Status
is COPYING_COMPLETED
.
This operation requires permissions to perform the rekognition:CopyProjectVersion
action.
This operation applies only to Amazon Rekognition Custom Labels.
Copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project. The source and destination projects can be in different AWS accounts but must be in the same AWS Region. You can't copy a model to another AWS service.
To copy a model version to a different AWS account, you need to create a resource-based policy known as a project policy. You attach the project policy to the source project by calling PutProjectPolicy. The project policy gives permission to copy the model version from a trusting AWS account to a trusted account.
For more information creating and attaching a project policy, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
If you are copying a model version to a project in the same AWS account, you don't need to create a project policy.
Copying project versions is supported only for Custom Labels models.
To copy a model, the destination project, source project, and source model version must already exist.
Copying a model version takes a while to complete. To get the current status, call DescribeProjectVersions and check the value of Status
in the ProjectVersionDescription object. The copy operation has finished when the value of Status
is COPYING_COMPLETED
.
This operation requires permissions to perform the rekognition:CopyProjectVersion
action.
Copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project. The source and destination projects can be in different AWS accounts but must be in the same AWS Region. You can't copy a model to another AWS service.
To copy a model version to a different AWS account, you need to create a resource-based policy known as a project policy. You attach the project policy to the source project by calling PutProjectPolicy. The project policy gives permission to copy the model version from a trusting AWS account to a trusted account.
For more information creating and attaching a project policy, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
If you are copying a model version to a project in the same AWS account, you don't need to create a project policy.
To copy a model, the destination project, source project, and source model version must already exist.
Copying a model version takes a while to complete. To get the current status, call DescribeProjectVersions and check the value of Status
in the ProjectVersionDescription object. The copy operation has finished when the value of Status
is COPYING_COMPLETED
.
This operation requires permissions to perform the rekognition:CopyProjectVersion
action.
This operation applies only to Amazon Rekognition Custom Labels.
Copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project. The source and destination projects can be in different AWS accounts but must be in the same AWS Region. You can't copy a model to another AWS service.
To copy a model version to a different AWS account, you need to create a resource-based policy known as a project policy. You attach the project policy to the source project by calling PutProjectPolicy. The project policy gives permission to copy the model version from a trusting AWS account to a trusted account.
For more information creating and attaching a project policy, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
If you are copying a model version to a project in the same AWS account, you don't need to create a project policy.
Copying project versions is supported only for Custom Labels models.
To copy a model, the destination project, source project, and source model version must already exist.
Copying a model version takes a while to complete. To get the current status, call DescribeProjectVersions and check the value of Status
in the ProjectVersionDescription object. The copy operation has finished when the value of Status
is COPYING_COMPLETED
.
This operation requires permissions to perform the rekognition:CopyProjectVersion
action.
Creates a new Amazon Rekognition Custom Labels dataset. You can create a dataset by using an Amazon Sagemaker format manifest file or by copying an existing Amazon Rekognition Custom Labels dataset.
To create a training dataset for a project, specify TRAIN
for the value of DatasetType
. To create the test dataset for a project, specify TEST
for the value of DatasetType
.
The response from CreateDataset
is the Amazon Resource Name (ARN) for the dataset. Creating a dataset takes a while to complete. Use DescribeDataset to check the current status. The dataset created successfully if the value of Status
is CREATE_COMPLETE
.
To check if any non-terminal errors occurred, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset creation fails if a terminal error occurs (Status
= CREATE_FAILED
). Currently, you can't access the terminal error information.
For more information, see Creating dataset in the Amazon Rekognition Custom Labels Developer Guide.
This operation requires permissions to perform the rekognition:CreateDataset
action. If you want to copy an existing dataset, you also require permission to perform the rekognition:ListDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Creates a new Amazon Rekognition Custom Labels dataset. You can create a dataset by using an Amazon Sagemaker format manifest file or by copying an existing Amazon Rekognition Custom Labels dataset.
To create a training dataset for a project, specify TRAIN
for the value of DatasetType
. To create the test dataset for a project, specify TEST
for the value of DatasetType
.
The response from CreateDataset
is the Amazon Resource Name (ARN) for the dataset. Creating a dataset takes a while to complete. Use DescribeDataset to check the current status. The dataset created successfully if the value of Status
is CREATE_COMPLETE
.
To check if any non-terminal errors occurred, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset creation fails if a terminal error occurs (Status
= CREATE_FAILED
). Currently, you can't access the terminal error information.
For more information, see Creating dataset in the Amazon Rekognition Custom Labels Developer Guide.
This operation requires permissions to perform the rekognition:CreateDataset
action. If you want to copy an existing dataset, you also require permission to perform the rekognition:ListDatasetEntries
action.
Creates a new Amazon Rekognition Custom Labels dataset. You can create a dataset by using an Amazon Sagemaker format manifest file or by copying an existing Amazon Rekognition Custom Labels dataset.
To create a training dataset for a project, specify TRAIN
for the value of DatasetType
. To create the test dataset for a project, specify TEST
for the value of DatasetType
.
The response from CreateDataset
is the Amazon Resource Name (ARN) for the dataset. Creating a dataset takes a while to complete. Use DescribeDataset to check the current status. The dataset created successfully if the value of Status
is CREATE_COMPLETE
.
To check if any non-terminal errors occurred, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset creation fails if a terminal error occurs (Status
= CREATE_FAILED
). Currently, you can't access the terminal error information.
For more information, see Creating dataset in the Amazon Rekognition Custom Labels Developer Guide.
This operation requires permissions to perform the rekognition:CreateDataset
action. If you want to copy an existing dataset, you also require permission to perform the rekognition:ListDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Creates a new Amazon Rekognition Custom Labels dataset. You can create a dataset by using an Amazon Sagemaker format manifest file or by copying an existing Amazon Rekognition Custom Labels dataset.
To create a training dataset for a project, specify TRAIN
for the value of DatasetType
. To create the test dataset for a project, specify TEST
for the value of DatasetType
.
The response from CreateDataset
is the Amazon Resource Name (ARN) for the dataset. Creating a dataset takes a while to complete. Use DescribeDataset to check the current status. The dataset created successfully if the value of Status
is CREATE_COMPLETE
.
To check if any non-terminal errors occurred, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset creation fails if a terminal error occurs (Status
= CREATE_FAILED
). Currently, you can't access the terminal error information.
For more information, see Creating dataset in the Amazon Rekognition Custom Labels Developer Guide.
This operation requires permissions to perform the rekognition:CreateDataset
action. If you want to copy an existing dataset, you also require permission to perform the rekognition:ListDatasetEntries
action.
Creates a new Amazon Rekognition Custom Labels project. A project is a group of resources (datasets, model versions) that you use to create and manage Amazon Rekognition Custom Labels models.
This operation requires permissions to perform the rekognition:CreateProject
action.
Creates a new Amazon Rekognition project. A project is a group of resources (datasets, model versions) that you use to create and manage a Amazon Rekognition Custom Labels Model or custom adapter. You can specify a feature to create the project with, if no feature is specified then Custom Labels is used by default. For adapters, you can also choose whether or not to have the project auto update by using the AutoUpdate argument. This operation requires permissions to perform the rekognition:CreateProject
action.
Creates a new Amazon Rekognition Custom Labels project. A project is a group of resources (datasets, model versions) that you use to create and manage Amazon Rekognition Custom Labels models.
This operation requires permissions to perform the rekognition:CreateProject
action.
Creates a new Amazon Rekognition project. A project is a group of resources (datasets, model versions) that you use to create and manage a Amazon Rekognition Custom Labels Model or custom adapter. You can specify a feature to create the project with, if no feature is specified then Custom Labels is used by default. For adapters, you can also choose whether or not to have the project auto update by using the AutoUpdate argument. This operation requires permissions to perform the rekognition:CreateProject
action.
Creates a new version of a model and begins training. Models are managed as part of an Amazon Rekognition Custom Labels project. The response from CreateProjectVersion
is an Amazon Resource Name (ARN) for the version of the model.
Training uses the training and test datasets associated with the project. For more information, see Creating training and test dataset in the Amazon Rekognition Custom Labels Developer Guide.
You can train a model in a project that doesn't have associated datasets by specifying manifest files in the TrainingData
and TestingData
fields.
If you open the console after training a model with manifest files, Amazon Rekognition Custom Labels creates the datasets for you using the most recent manifest files. You can no longer train a model version for the project by specifying manifest files.
Instead of training with a project without associated datasets, we recommend that you use the manifest files to create training and test datasets for the project.
Training takes a while to complete. You can get the current status by calling DescribeProjectVersions. Training completed successfully if the value of the Status
field is TRAINING_COMPLETED
.
If training fails, see Debugging a failed model training in the Amazon Rekognition Custom Labels developer guide.
Once training has successfully completed, call DescribeProjectVersions to get the training results and evaluate the model. For more information, see Improving a trained Amazon Rekognition Custom Labels model in the Amazon Rekognition Custom Labels developers guide.
After evaluating the model, you start the model by calling StartProjectVersion.
This operation requires permissions to perform the rekognition:CreateProjectVersion
action.
Creates a new version of Amazon Rekognition project (like a Custom Labels model or a custom adapter) and begins training. Models and adapters are managed as part of a Rekognition project. The response from CreateProjectVersion
is an Amazon Resource Name (ARN) for the project version.
The FeatureConfig operation argument allows you to configure specific model or adapter settings. You can provide a description to the project version by using the VersionDescription argment. Training can take a while to complete. You can get the current status by calling DescribeProjectVersions. Training completed successfully if the value of the Status
field is TRAINING_COMPLETED
. Once training has successfully completed, call DescribeProjectVersions to get the training results and evaluate the model.
This operation requires permissions to perform the rekognition:CreateProjectVersion
action.
The following applies only to projects with Amazon Rekognition Custom Labels as the chosen feature:
You can train a model in a project that doesn't have associated datasets by specifying manifest files in the TrainingData
and TestingData
fields.
If you open the console after training a model with manifest files, Amazon Rekognition Custom Labels creates the datasets for you using the most recent manifest files. You can no longer train a model version for the project by specifying manifest files.
Instead of training with a project without associated datasets, we recommend that you use the manifest files to create training and test datasets for the project.
Creates a new version of a model and begins training. Models are managed as part of an Amazon Rekognition Custom Labels project. The response from CreateProjectVersion
is an Amazon Resource Name (ARN) for the version of the model.
Training uses the training and test datasets associated with the project. For more information, see Creating training and test dataset in the Amazon Rekognition Custom Labels Developer Guide.
You can train a model in a project that doesn't have associated datasets by specifying manifest files in the TrainingData
and TestingData
fields.
If you open the console after training a model with manifest files, Amazon Rekognition Custom Labels creates the datasets for you using the most recent manifest files. You can no longer train a model version for the project by specifying manifest files.
Instead of training with a project without associated datasets, we recommend that you use the manifest files to create training and test datasets for the project.
Training takes a while to complete. You can get the current status by calling DescribeProjectVersions. Training completed successfully if the value of the Status
field is TRAINING_COMPLETED
.
If training fails, see Debugging a failed model training in the Amazon Rekognition Custom Labels developer guide.
Once training has successfully completed, call DescribeProjectVersions to get the training results and evaluate the model. For more information, see Improving a trained Amazon Rekognition Custom Labels model in the Amazon Rekognition Custom Labels developers guide.
After evaluating the model, you start the model by calling StartProjectVersion.
This operation requires permissions to perform the rekognition:CreateProjectVersion
action.
Creates a new version of Amazon Rekognition project (like a Custom Labels model or a custom adapter) and begins training. Models and adapters are managed as part of a Rekognition project. The response from CreateProjectVersion
is an Amazon Resource Name (ARN) for the project version.
The FeatureConfig operation argument allows you to configure specific model or adapter settings. You can provide a description to the project version by using the VersionDescription argment. Training can take a while to complete. You can get the current status by calling DescribeProjectVersions. Training completed successfully if the value of the Status
field is TRAINING_COMPLETED
. Once training has successfully completed, call DescribeProjectVersions to get the training results and evaluate the model.
This operation requires permissions to perform the rekognition:CreateProjectVersion
action.
The following applies only to projects with Amazon Rekognition Custom Labels as the chosen feature:
You can train a model in a project that doesn't have associated datasets by specifying manifest files in the TrainingData
and TestingData
fields.
If you open the console after training a model with manifest files, Amazon Rekognition Custom Labels creates the datasets for you using the most recent manifest files. You can no longer train a model version for the project by specifying manifest files.
Instead of training with a project without associated datasets, we recommend that you use the manifest files to create training and test datasets for the project.
Deletes an existing Amazon Rekognition Custom Labels dataset. Deleting a dataset might take while. Use DescribeDataset to check the current status. The dataset is still deleting if the value of Status
is DELETE_IN_PROGRESS
. If you try to access the dataset after it is deleted, you get a ResourceNotFoundException
exception.
You can't delete a dataset while it is creating (Status
= CREATE_IN_PROGRESS
) or if the dataset is updating (Status
= UPDATE_IN_PROGRESS
).
This operation requires permissions to perform the rekognition:DeleteDataset
action.
This operation applies only to Amazon Rekognition Custom Labels.
Deletes an existing Amazon Rekognition Custom Labels dataset. Deleting a dataset might take while. Use DescribeDataset to check the current status. The dataset is still deleting if the value of Status
is DELETE_IN_PROGRESS
. If you try to access the dataset after it is deleted, you get a ResourceNotFoundException
exception.
You can't delete a dataset while it is creating (Status
= CREATE_IN_PROGRESS
) or if the dataset is updating (Status
= UPDATE_IN_PROGRESS
).
This operation requires permissions to perform the rekognition:DeleteDataset
action.
Deletes an existing Amazon Rekognition Custom Labels dataset. Deleting a dataset might take while. Use DescribeDataset to check the current status. The dataset is still deleting if the value of Status
is DELETE_IN_PROGRESS
. If you try to access the dataset after it is deleted, you get a ResourceNotFoundException
exception.
You can't delete a dataset while it is creating (Status
= CREATE_IN_PROGRESS
) or if the dataset is updating (Status
= UPDATE_IN_PROGRESS
).
This operation requires permissions to perform the rekognition:DeleteDataset
action.
This operation applies only to Amazon Rekognition Custom Labels.
Deletes an existing Amazon Rekognition Custom Labels dataset. Deleting a dataset might take while. Use DescribeDataset to check the current status. The dataset is still deleting if the value of Status
is DELETE_IN_PROGRESS
. If you try to access the dataset after it is deleted, you get a ResourceNotFoundException
exception.
You can't delete a dataset while it is creating (Status
= CREATE_IN_PROGRESS
) or if the dataset is updating (Status
= UPDATE_IN_PROGRESS
).
This operation requires permissions to perform the rekognition:DeleteDataset
action.
Deletes an Amazon Rekognition Custom Labels project. To delete a project you must first delete all models associated with the project. To delete a model, see DeleteProjectVersion.
DeleteProject
is an asynchronous operation. To check if the project is deleted, call DescribeProjects. The project is deleted when the project no longer appears in the response. Be aware that deleting a given project will also delete any ProjectPolicies
associated with that project.
This operation requires permissions to perform the rekognition:DeleteProject
action.
Deletes a Amazon Rekognition project. To delete a project you must first delete all models or adapters associated with the project. To delete a model or adapter, see DeleteProjectVersion.
DeleteProject
is an asynchronous operation. To check if the project is deleted, call DescribeProjects. The project is deleted when the project no longer appears in the response. Be aware that deleting a given project will also delete any ProjectPolicies
associated with that project.
This operation requires permissions to perform the rekognition:DeleteProject
action.
Deletes an Amazon Rekognition Custom Labels project. To delete a project you must first delete all models associated with the project. To delete a model, see DeleteProjectVersion.
DeleteProject
is an asynchronous operation. To check if the project is deleted, call DescribeProjects. The project is deleted when the project no longer appears in the response. Be aware that deleting a given project will also delete any ProjectPolicies
associated with that project.
This operation requires permissions to perform the rekognition:DeleteProject
action.
Deletes a Amazon Rekognition project. To delete a project you must first delete all models or adapters associated with the project. To delete a model or adapter, see DeleteProjectVersion.
DeleteProject
is an asynchronous operation. To check if the project is deleted, call DescribeProjects. The project is deleted when the project no longer appears in the response. Be aware that deleting a given project will also delete any ProjectPolicies
associated with that project.
This operation requires permissions to perform the rekognition:DeleteProject
action.
Deletes an existing project policy.
To get a list of project policies attached to a project, call ListProjectPolicies. To attach a project policy to a project, call PutProjectPolicy.
This operation requires permissions to perform the rekognition:DeleteProjectPolicy
action.
This operation applies only to Amazon Rekognition Custom Labels.
Deletes an existing project policy.
To get a list of project policies attached to a project, call ListProjectPolicies. To attach a project policy to a project, call PutProjectPolicy.
This operation requires permissions to perform the rekognition:DeleteProjectPolicy
action.
Deletes an existing project policy.
To get a list of project policies attached to a project, call ListProjectPolicies. To attach a project policy to a project, call PutProjectPolicy.
This operation requires permissions to perform the rekognition:DeleteProjectPolicy
action.
This operation applies only to Amazon Rekognition Custom Labels.
Deletes an existing project policy.
To get a list of project policies attached to a project, call ListProjectPolicies. To attach a project policy to a project, call PutProjectPolicy.
This operation requires permissions to perform the rekognition:DeleteProjectPolicy
action.
Deletes an Amazon Rekognition Custom Labels model.
You can't delete a model if it is running or if it is training. To check the status of a model, use the Status
field returned from DescribeProjectVersions. To stop a running model call StopProjectVersion. If the model is training, wait until it finishes.
This operation requires permissions to perform the rekognition:DeleteProjectVersion
action.
Deletes a Rekognition project model or project version, like a Amazon Rekognition Custom Labels model or a custom adapter.
You can't delete a project version if it is running or if it is training. To check the status of a project version, use the Status field returned from DescribeProjectVersions. To stop a project version call StopProjectVersion. If the project version is training, wait until it finishes.
This operation requires permissions to perform the rekognition:DeleteProjectVersion
action.
Deletes an Amazon Rekognition Custom Labels model.
You can't delete a model if it is running or if it is training. To check the status of a model, use the Status
field returned from DescribeProjectVersions. To stop a running model call StopProjectVersion. If the model is training, wait until it finishes.
This operation requires permissions to perform the rekognition:DeleteProjectVersion
action.
Deletes a Rekognition project model or project version, like a Amazon Rekognition Custom Labels model or a custom adapter.
You can't delete a project version if it is running or if it is training. To check the status of a project version, use the Status field returned from DescribeProjectVersions. To stop a project version call StopProjectVersion. If the project version is training, wait until it finishes.
This operation requires permissions to perform the rekognition:DeleteProjectVersion
action.
Describes an Amazon Rekognition Custom Labels dataset. You can get information such as the current status of a dataset and statistics about the images and labels in a dataset.
This operation requires permissions to perform the rekognition:DescribeDataset
action.
This operation applies only to Amazon Rekognition Custom Labels.
Describes an Amazon Rekognition Custom Labels dataset. You can get information such as the current status of a dataset and statistics about the images and labels in a dataset.
This operation requires permissions to perform the rekognition:DescribeDataset
action.
Describes an Amazon Rekognition Custom Labels dataset. You can get information such as the current status of a dataset and statistics about the images and labels in a dataset.
This operation requires permissions to perform the rekognition:DescribeDataset
action.
This operation applies only to Amazon Rekognition Custom Labels.
Describes an Amazon Rekognition Custom Labels dataset. You can get information such as the current status of a dataset and statistics about the images and labels in a dataset.
This operation requires permissions to perform the rekognition:DescribeDataset
action.
Lists and describes the versions of a model in an Amazon Rekognition Custom Labels project. You can specify up to 10 model versions in ProjectVersionArns
. If you don't specify a value, descriptions for all model versions in the project are returned.
This operation requires permissions to perform the rekognition:DescribeProjectVersions
action.
Lists and describes the versions of an Amazon Rekognition project. You can specify up to 10 model or adapter versions in ProjectVersionArns
. If you don't specify a value, descriptions for all model/adapter versions in the project are returned.
This operation requires permissions to perform the rekognition:DescribeProjectVersions
action.
Lists and describes the versions of a model in an Amazon Rekognition Custom Labels project. You can specify up to 10 model versions in ProjectVersionArns
. If you don't specify a value, descriptions for all model versions in the project are returned.
This operation requires permissions to perform the rekognition:DescribeProjectVersions
action.
Lists and describes the versions of an Amazon Rekognition project. You can specify up to 10 model or adapter versions in ProjectVersionArns
. If you don't specify a value, descriptions for all model/adapter versions in the project are returned.
This operation requires permissions to perform the rekognition:DescribeProjectVersions
action.
Gets information about your Amazon Rekognition Custom Labels projects.
This operation requires permissions to perform the rekognition:DescribeProjects
action.
Gets information about your Rekognition projects.
This operation requires permissions to perform the rekognition:DescribeProjects
action.
Gets information about your Amazon Rekognition Custom Labels projects.
This operation requires permissions to perform the rekognition:DescribeProjects
action.
Gets information about your Rekognition projects.
This operation requires permissions to perform the rekognition:DescribeProjects
action.
Detects custom labels in a supplied image by using an Amazon Rekognition Custom Labels model.
You specify which version of a model version to use by using the ProjectVersionArn
input parameter.
You pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
For each object that the model version detects on an image, the API returns a (CustomLabel
) object in an array (CustomLabels
). Each CustomLabel
object provides the label name (Name
), the level of confidence that the image contains the object (Confidence
), and object location information, if it exists, for the label on the image (Geometry
).
To filter labels that are returned, specify a value for MinConfidence
. DetectCustomLabelsLabels
only returns labels with a confidence that's higher than the specified value. The value of MinConfidence
maps to the assumed threshold values created during training. For more information, see Assumed threshold in the Amazon Rekognition Custom Labels Developer Guide. Amazon Rekognition Custom Labels metrics expresses an assumed threshold as a floating point value between 0-1. The range of MinConfidence
normalizes the threshold value to a percentage value (0-100). Confidence responses from DetectCustomLabels
are also returned as a percentage. You can use MinConfidence
to change the precision and recall or your model. For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
If you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on the assumed threshold of each label.
This is a stateless API operation. That is, the operation does not persist any data.
This operation requires permissions to perform the rekognition:DetectCustomLabels
action.
For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
+This operation applies only to Amazon Rekognition Custom Labels.
Detects custom labels in a supplied image by using an Amazon Rekognition Custom Labels model.
You specify which version of a model version to use by using the ProjectVersionArn
input parameter.
You pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
For each object that the model version detects on an image, the API returns a (CustomLabel
) object in an array (CustomLabels
). Each CustomLabel
object provides the label name (Name
), the level of confidence that the image contains the object (Confidence
), and object location information, if it exists, for the label on the image (Geometry
).
To filter labels that are returned, specify a value for MinConfidence
. DetectCustomLabelsLabels
only returns labels with a confidence that's higher than the specified value. The value of MinConfidence
maps to the assumed threshold values created during training. For more information, see Assumed threshold in the Amazon Rekognition Custom Labels Developer Guide. Amazon Rekognition Custom Labels metrics expresses an assumed threshold as a floating point value between 0-1. The range of MinConfidence
normalizes the threshold value to a percentage value (0-100). Confidence responses from DetectCustomLabels
are also returned as a percentage. You can use MinConfidence
to change the precision and recall or your model. For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
If you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on the assumed threshold of each label.
This is a stateless API operation. That is, the operation does not persist any data.
This operation requires permissions to perform the rekognition:DetectCustomLabels
action.
For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
@param request A container for the necessary parameters to execute the DetectCustomLabels service method. @@ -762,7 +762,7 @@ FOUNDATION_EXPORT NSString *const AWSRekognitionSDKVersion; - (AWSTaskDetects custom labels in a supplied image by using an Amazon Rekognition Custom Labels model.
You specify which version of a model version to use by using the ProjectVersionArn
input parameter.
You pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
For each object that the model version detects on an image, the API returns a (CustomLabel
) object in an array (CustomLabels
). Each CustomLabel
object provides the label name (Name
), the level of confidence that the image contains the object (Confidence
), and object location information, if it exists, for the label on the image (Geometry
).
To filter labels that are returned, specify a value for MinConfidence
. DetectCustomLabelsLabels
only returns labels with a confidence that's higher than the specified value. The value of MinConfidence
maps to the assumed threshold values created during training. For more information, see Assumed threshold in the Amazon Rekognition Custom Labels Developer Guide. Amazon Rekognition Custom Labels metrics expresses an assumed threshold as a floating point value between 0-1. The range of MinConfidence
normalizes the threshold value to a percentage value (0-100). Confidence responses from DetectCustomLabels
are also returned as a percentage. You can use MinConfidence
to change the precision and recall or your model. For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
If you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on the assumed threshold of each label.
This is a stateless API operation. That is, the operation does not persist any data.
This operation requires permissions to perform the rekognition:DetectCustomLabels
action.
For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
+This operation applies only to Amazon Rekognition Custom Labels.
Detects custom labels in a supplied image by using an Amazon Rekognition Custom Labels model.
You specify which version of a model version to use by using the ProjectVersionArn
input parameter.
You pass the input image as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
For each object that the model version detects on an image, the API returns a (CustomLabel
) object in an array (CustomLabels
). Each CustomLabel
object provides the label name (Name
), the level of confidence that the image contains the object (Confidence
), and object location information, if it exists, for the label on the image (Geometry
).
To filter labels that are returned, specify a value for MinConfidence
. DetectCustomLabelsLabels
only returns labels with a confidence that's higher than the specified value. The value of MinConfidence
maps to the assumed threshold values created during training. For more information, see Assumed threshold in the Amazon Rekognition Custom Labels Developer Guide. Amazon Rekognition Custom Labels metrics expresses an assumed threshold as a floating point value between 0-1. The range of MinConfidence
normalizes the threshold value to a percentage value (0-100). Confidence responses from DetectCustomLabels
are also returned as a percentage. You can use MinConfidence
to change the precision and recall or your model. For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
If you don't specify a value for MinConfidence
, DetectCustomLabels
returns labels based on the assumed threshold of each label.
This is a stateless API operation. That is, the operation does not persist any data.
This operation requires permissions to perform the rekognition:DetectCustomLabels
action.
For more information, see Analyzing an image in the Amazon Rekognition Custom Labels Developer Guide.
@param request A container for the necessary parameters to execute the DetectCustomLabels service method. @param completionHandler The completion handler to call when the load request is complete. @@ -825,11 +825,11 @@ FOUNDATION_EXPORT NSString *const AWSRekognitionSDKVersion; - (void)detectLabels:(AWSRekognitionDetectLabelsRequest *)request completionHandler:(void (^ _Nullable)(AWSRekognitionDetectLabelsResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Detects unsafe content in a specified JPEG or PNG format image. Use DetectModerationLabels
to moderate images depending on your requirements. For example, you might want to filter images that contain nudity, but not images containing suggestive content.
To filter images, use the labels returned by DetectModerationLabels
to determine which types of content are appropriate.
For information about moderation labels, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.
You pass the input image either as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
+Detects unsafe content in a specified JPEG or PNG format image. Use DetectModerationLabels
to moderate images depending on your requirements. For example, you might want to filter images that contain nudity, but not images containing suggestive content.
To filter images, use the labels returned by DetectModerationLabels
to determine which types of content are appropriate.
For information about moderation labels, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.
You pass the input image either as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
You can specify an adapter to use when retrieving label predictions by providing a ProjectVersionArn
to the ProjectVersion
argument.
Detects unsafe content in a specified JPEG or PNG format image. Use DetectModerationLabels
to moderate images depending on your requirements. For example, you might want to filter images that contain nudity, but not images containing suggestive content.
To filter images, use the labels returned by DetectModerationLabels
to determine which types of content are appropriate.
For information about moderation labels, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.
You pass the input image either as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
+Detects unsafe content in a specified JPEG or PNG format image. Use DetectModerationLabels
to moderate images depending on your requirements. For example, you might want to filter images that contain nudity, but not images containing suggestive content.
To filter images, use the labels returned by DetectModerationLabels
to determine which types of content are appropriate.
For information about moderation labels, see Detecting Unsafe Content in the Amazon Rekognition Developer Guide.
You pass the input image either as base64-encoded image bytes or as a reference to an image in an Amazon S3 bucket. If you use the AWS CLI to call Amazon Rekognition operations, passing image bytes is not supported. The image must be either a PNG or JPEG formatted file.
You can specify an adapter to use when retrieving label predictions by providing a ProjectVersionArn
to the ProjectVersion
argument.
Distributes the entries (images) in a training dataset across the training dataset and the test dataset for a project. DistributeDatasetEntries
moves 20% of the training dataset images to the test dataset. An entry is a JSON Line that describes an image.
You supply the Amazon Resource Names (ARN) of a project's training dataset and test dataset. The training dataset must contain the images that you want to split. The test dataset must be empty. The datasets must belong to the same project. To create training and test datasets for a project, call CreateDataset.
Distributing a dataset takes a while to complete. To check the status call DescribeDataset
. The operation is complete when the Status
field for the training dataset and the test dataset is UPDATE_COMPLETE
. If the dataset split fails, the value of Status
is UPDATE_FAILED
.
This operation requires permissions to perform the rekognition:DistributeDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Distributes the entries (images) in a training dataset across the training dataset and the test dataset for a project. DistributeDatasetEntries
moves 20% of the training dataset images to the test dataset. An entry is a JSON Line that describes an image.
You supply the Amazon Resource Names (ARN) of a project's training dataset and test dataset. The training dataset must contain the images that you want to split. The test dataset must be empty. The datasets must belong to the same project. To create training and test datasets for a project, call CreateDataset.
Distributing a dataset takes a while to complete. To check the status call DescribeDataset
. The operation is complete when the Status
field for the training dataset and the test dataset is UPDATE_COMPLETE
. If the dataset split fails, the value of Status
is UPDATE_FAILED
.
This operation requires permissions to perform the rekognition:DistributeDatasetEntries
action.
Distributes the entries (images) in a training dataset across the training dataset and the test dataset for a project. DistributeDatasetEntries
moves 20% of the training dataset images to the test dataset. An entry is a JSON Line that describes an image.
You supply the Amazon Resource Names (ARN) of a project's training dataset and test dataset. The training dataset must contain the images that you want to split. The test dataset must be empty. The datasets must belong to the same project. To create training and test datasets for a project, call CreateDataset.
Distributing a dataset takes a while to complete. To check the status call DescribeDataset
. The operation is complete when the Status
field for the training dataset and the test dataset is UPDATE_COMPLETE
. If the dataset split fails, the value of Status
is UPDATE_FAILED
.
This operation requires permissions to perform the rekognition:DistributeDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Distributes the entries (images) in a training dataset across the training dataset and the test dataset for a project. DistributeDatasetEntries
moves 20% of the training dataset images to the test dataset. An entry is a JSON Line that describes an image.
You supply the Amazon Resource Names (ARN) of a project's training dataset and test dataset. The training dataset must contain the images that you want to split. The test dataset must be empty. The datasets must belong to the same project. To create training and test datasets for a project, call CreateDataset.
Distributing a dataset takes a while to complete. To check the status call DescribeDataset
. The operation is complete when the Status
field for the training dataset and the test dataset is UPDATE_COMPLETE
. If the dataset split fails, the value of Status
is UPDATE_FAILED
.
This operation requires permissions to perform the rekognition:DistributeDatasetEntries
action.
Lists the entries (images) within a dataset. An entry is a JSON Line that contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Creating a manifest file.
JSON Lines in the response include information about non-terminal errors found in the dataset. Non terminal errors are reported in errors
lists within each JSON Line. The same information is reported in the training and testing validation result manifests that Amazon Rekognition Custom Labels creates during model training.
You can filter the response in variety of ways, such as choosing which labels to return and returning JSON Lines created after a specific date.
This operation requires permissions to perform the rekognition:ListDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Lists the entries (images) within a dataset. An entry is a JSON Line that contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Creating a manifest file.
JSON Lines in the response include information about non-terminal errors found in the dataset. Non terminal errors are reported in errors
lists within each JSON Line. The same information is reported in the training and testing validation result manifests that Amazon Rekognition Custom Labels creates during model training.
You can filter the response in variety of ways, such as choosing which labels to return and returning JSON Lines created after a specific date.
This operation requires permissions to perform the rekognition:ListDatasetEntries
action.
Lists the entries (images) within a dataset. An entry is a JSON Line that contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Creating a manifest file.
JSON Lines in the response include information about non-terminal errors found in the dataset. Non terminal errors are reported in errors
lists within each JSON Line. The same information is reported in the training and testing validation result manifests that Amazon Rekognition Custom Labels creates during model training.
You can filter the response in variety of ways, such as choosing which labels to return and returning JSON Lines created after a specific date.
This operation requires permissions to perform the rekognition:ListDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Lists the entries (images) within a dataset. An entry is a JSON Line that contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Creating a manifest file.
JSON Lines in the response include information about non-terminal errors found in the dataset. Non terminal errors are reported in errors
lists within each JSON Line. The same information is reported in the training and testing validation result manifests that Amazon Rekognition Custom Labels creates during model training.
You can filter the response in variety of ways, such as choosing which labels to return and returning JSON Lines created after a specific date.
This operation requires permissions to perform the rekognition:ListDatasetEntries
action.
Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images.
Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images in the Amazon Rekognition Custom Labels Developer Guide.
+This operation applies only to Amazon Rekognition Custom Labels.
Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images.
Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images in the Amazon Rekognition Custom Labels Developer Guide.
@param request A container for the necessary parameters to execute the ListDatasetLabels service method. @@ -1287,7 +1287,7 @@ FOUNDATION_EXPORT NSString *const AWSRekognitionSDKVersion; - (AWSTaskLists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images.
Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images in the Amazon Rekognition Custom Labels Developer Guide.
+This operation applies only to Amazon Rekognition Custom Labels.
Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images.
Lists the labels in a dataset. Amazon Rekognition Custom Labels uses labels to describe images. For more information, see Labeling images in the Amazon Rekognition Custom Labels Developer Guide.
@param request A container for the necessary parameters to execute the ListDatasetLabels service method. @param completionHandler The completion handler to call when the load request is complete. @@ -1325,7 +1325,7 @@ FOUNDATION_EXPORT NSString *const AWSRekognitionSDKVersion; - (void)listFaces:(AWSRekognitionListFacesRequest *)request completionHandler:(void (^ _Nullable)(AWSRekognitionListFacesResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Gets a list of the project policies attached to a project.
To attach a project policy to a project, call PutProjectPolicy. To remove a project policy from a project, call DeleteProjectPolicy.
This operation requires permissions to perform the rekognition:ListProjectPolicies
action.
This operation applies only to Amazon Rekognition Custom Labels.
Gets a list of the project policies attached to a project.
To attach a project policy to a project, call PutProjectPolicy. To remove a project policy from a project, call DeleteProjectPolicy.
This operation requires permissions to perform the rekognition:ListProjectPolicies
action.
Gets a list of the project policies attached to a project.
To attach a project policy to a project, call PutProjectPolicy. To remove a project policy from a project, call DeleteProjectPolicy.
This operation requires permissions to perform the rekognition:ListProjectPolicies
action.
This operation applies only to Amazon Rekognition Custom Labels.
Gets a list of the project policies attached to a project.
To attach a project policy to a project, call PutProjectPolicy. To remove a project policy from a project, call DeleteProjectPolicy.
This operation requires permissions to perform the rekognition:ListProjectPolicies
action.
Attaches a project policy to a Amazon Rekognition Custom Labels project in a trusting AWS account. A project policy specifies that a trusted AWS account can copy a model version from a trusting AWS account to a project in the trusted AWS account. To copy a model version you use the CopyProjectVersion operation.
For more information about the format of a project policy document, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
The response from PutProjectPolicy
is a revision ID for the project policy. You can attach multiple project policies to a project. You can also update an existing project policy by specifying the policy revision ID of the existing policy.
To remove a project policy from a project, call DeleteProjectPolicy. To get a list of project policies attached to a project, call ListProjectPolicies.
You copy a model version by calling CopyProjectVersion.
This operation requires permissions to perform the rekognition:PutProjectPolicy
action.
This operation applies only to Amazon Rekognition Custom Labels.
Attaches a project policy to a Amazon Rekognition Custom Labels project in a trusting AWS account. A project policy specifies that a trusted AWS account can copy a model version from a trusting AWS account to a project in the trusted AWS account. To copy a model version you use the CopyProjectVersion operation. Only applies to Custom Labels projects.
For more information about the format of a project policy document, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
The response from PutProjectPolicy
is a revision ID for the project policy. You can attach multiple project policies to a project. You can also update an existing project policy by specifying the policy revision ID of the existing policy.
To remove a project policy from a project, call DeleteProjectPolicy. To get a list of project policies attached to a project, call ListProjectPolicies.
You copy a model version by calling CopyProjectVersion.
This operation requires permissions to perform the rekognition:PutProjectPolicy
action.
Attaches a project policy to a Amazon Rekognition Custom Labels project in a trusting AWS account. A project policy specifies that a trusted AWS account can copy a model version from a trusting AWS account to a project in the trusted AWS account. To copy a model version you use the CopyProjectVersion operation.
For more information about the format of a project policy document, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
The response from PutProjectPolicy
is a revision ID for the project policy. You can attach multiple project policies to a project. You can also update an existing project policy by specifying the policy revision ID of the existing policy.
To remove a project policy from a project, call DeleteProjectPolicy. To get a list of project policies attached to a project, call ListProjectPolicies.
You copy a model version by calling CopyProjectVersion.
This operation requires permissions to perform the rekognition:PutProjectPolicy
action.
This operation applies only to Amazon Rekognition Custom Labels.
Attaches a project policy to a Amazon Rekognition Custom Labels project in a trusting AWS account. A project policy specifies that a trusted AWS account can copy a model version from a trusting AWS account to a project in the trusted AWS account. To copy a model version you use the CopyProjectVersion operation. Only applies to Custom Labels projects.
For more information about the format of a project policy document, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide.
The response from PutProjectPolicy
is a revision ID for the project policy. You can attach multiple project policies to a project. You can also update an existing project policy by specifying the policy revision ID of the existing policy.
To remove a project policy from a project, call DeleteProjectPolicy. To get a list of project policies attached to a project, call ListProjectPolicies.
You copy a model version by calling CopyProjectVersion.
This operation requires permissions to perform the rekognition:PutProjectPolicy
action.
Starts the running of the version of a model. Starting a model takes a while to complete. To check the current state of the model, use DescribeProjectVersions.
Once the model is running, you can detect custom labels in new images by calling DetectCustomLabels.
You are charged for the amount of time that the model is running. To stop a running model, call StopProjectVersion.
For more information, see Running a trained Amazon Rekognition Custom Labels model in the Amazon Rekognition Custom Labels Guide.
This operation requires permissions to perform the rekognition:StartProjectVersion
action.
This operation applies only to Amazon Rekognition Custom Labels.
Starts the running of the version of a model. Starting a model takes a while to complete. To check the current state of the model, use DescribeProjectVersions.
Once the model is running, you can detect custom labels in new images by calling DetectCustomLabels.
You are charged for the amount of time that the model is running. To stop a running model, call StopProjectVersion.
This operation requires permissions to perform the rekognition:StartProjectVersion
action.
Starts the running of the version of a model. Starting a model takes a while to complete. To check the current state of the model, use DescribeProjectVersions.
Once the model is running, you can detect custom labels in new images by calling DetectCustomLabels.
You are charged for the amount of time that the model is running. To stop a running model, call StopProjectVersion.
For more information, see Running a trained Amazon Rekognition Custom Labels model in the Amazon Rekognition Custom Labels Guide.
This operation requires permissions to perform the rekognition:StartProjectVersion
action.
This operation applies only to Amazon Rekognition Custom Labels.
Starts the running of the version of a model. Starting a model takes a while to complete. To check the current state of the model, use DescribeProjectVersions.
Once the model is running, you can detect custom labels in new images by calling DetectCustomLabels.
You are charged for the amount of time that the model is running. To stop a running model, call StopProjectVersion.
This operation requires permissions to perform the rekognition:StartProjectVersion
action.
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
This operation applies only to Amazon Rekognition Custom Labels.
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions. Only applies to Custom Labels projects.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
This operation applies only to Amazon Rekognition Custom Labels.
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions. Only applies to Custom Labels projects.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
Adds or updates one or more entries (images) in a dataset. An entry is a JSON Line which contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Image-Level labels in manifest files and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.
If the source-ref
field in the JSON line references an existing image, the existing image in the dataset is updated. If source-ref
field doesn't reference an existing image, the image is added as a new image to the dataset.
You specify the changes that you want to make in the Changes
input parameter. There isn't a limit to the number JSON Lines that you can change, but the size of Changes
must be less than 5MB.
UpdateDatasetEntries
returns immediatly, but the dataset update might take a while to complete. Use DescribeDataset to check the current status. The dataset updated successfully if the value of Status
is UPDATE_COMPLETE
.
To check if any non-terminal errors occured, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset update fails if a terminal error occurs (Status
= UPDATE_FAILED
). Currently, you can't access the terminal error information from the Amazon Rekognition Custom Labels SDK.
This operation requires permissions to perform the rekognition:UpdateDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Adds or updates one or more entries (images) in a dataset. An entry is a JSON Line which contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Image-Level labels in manifest files and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.
If the source-ref
field in the JSON line references an existing image, the existing image in the dataset is updated. If source-ref
field doesn't reference an existing image, the image is added as a new image to the dataset.
You specify the changes that you want to make in the Changes
input parameter. There isn't a limit to the number JSON Lines that you can change, but the size of Changes
must be less than 5MB.
UpdateDatasetEntries
returns immediatly, but the dataset update might take a while to complete. Use DescribeDataset to check the current status. The dataset updated successfully if the value of Status
is UPDATE_COMPLETE
.
To check if any non-terminal errors occured, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset update fails if a terminal error occurs (Status
= UPDATE_FAILED
). Currently, you can't access the terminal error information from the Amazon Rekognition Custom Labels SDK.
This operation requires permissions to perform the rekognition:UpdateDatasetEntries
action.
Adds or updates one or more entries (images) in a dataset. An entry is a JSON Line which contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Image-Level labels in manifest files and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.
If the source-ref
field in the JSON line references an existing image, the existing image in the dataset is updated. If source-ref
field doesn't reference an existing image, the image is added as a new image to the dataset.
You specify the changes that you want to make in the Changes
input parameter. There isn't a limit to the number JSON Lines that you can change, but the size of Changes
must be less than 5MB.
UpdateDatasetEntries
returns immediatly, but the dataset update might take a while to complete. Use DescribeDataset to check the current status. The dataset updated successfully if the value of Status
is UPDATE_COMPLETE
.
To check if any non-terminal errors occured, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset update fails if a terminal error occurs (Status
= UPDATE_FAILED
). Currently, you can't access the terminal error information from the Amazon Rekognition Custom Labels SDK.
This operation requires permissions to perform the rekognition:UpdateDatasetEntries
action.
This operation applies only to Amazon Rekognition Custom Labels.
Adds or updates one or more entries (images) in a dataset. An entry is a JSON Line which contains the information for a single image, including the image location, assigned labels, and object location bounding boxes. For more information, see Image-Level labels in manifest files and Object localization in manifest files in the Amazon Rekognition Custom Labels Developer Guide.
If the source-ref
field in the JSON line references an existing image, the existing image in the dataset is updated. If source-ref
field doesn't reference an existing image, the image is added as a new image to the dataset.
You specify the changes that you want to make in the Changes
input parameter. There isn't a limit to the number JSON Lines that you can change, but the size of Changes
must be less than 5MB.
UpdateDatasetEntries
returns immediatly, but the dataset update might take a while to complete. Use DescribeDataset to check the current status. The dataset updated successfully if the value of Status
is UPDATE_COMPLETE
.
To check if any non-terminal errors occured, call ListDatasetEntries and check for the presence of errors
lists in the JSON Lines.
Dataset update fails if a terminal error occurs (Status
= UPDATE_FAILED
). Currently, you can't access the terminal error information from the Amazon Rekognition Custom Labels SDK.
This operation requires permissions to perform the rekognition:UpdateDatasetEntries
action.
An adapter selected for use when analyzing documents. Contains an adapter ID and a version number. Contains information on pages selected for analysis when analyzing documents asychronously.
+ Required parameters: [AdapterId, Version] + */ +@interface AWSTextractAdapter : AWSModel + + +/** +A unique identifier for the adapter resource.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +Pages is a parameter that the user inputs to specify which pages to apply an adapter to. The following is a list of rules for using this parameter.
If a page is not specified, it is set to ["1"]
by default.
The following characters are allowed in the parameter's string: 0 1 2 3 4 5 6 7 8 9 - *
. No whitespace is allowed.
When using * to indicate all pages, it must be the only element in the list.
You can use page intervals, such as ["1-3", "1-1", "4-*"]
. Where *
indicates last page of document.
Specified pages must be greater than 0 and less than or equal to the number of pages in the document.
A string that identifies the version of the adapter.
+ */ +@property (nonatomic, strong) NSString * _Nullable version; + +@end + +/** +Contains information on the adapter, including the adapter ID, Name, Creation time, and feature types.
+ */ +@interface AWSTextractAdapterOverview : AWSModel + + +/** +A unique identifier for the adapter resource.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +A string naming the adapter resource.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterName; + +/** +The date and time that the adapter was created.
+ */ +@property (nonatomic, strong) NSDate * _Nullable creationTime; + +/** +The feature types that the adapter is operating on.
+ */ +@property (nonatomic, strong) NSArrayThe dataset configuration options for a given version of an adapter. Can include an Amazon S3 bucket if specified.
+ */ +@interface AWSTextractAdapterVersionDatasetConfig : AWSModel + + +/** +The S3 bucket name and file name that identifies the document.
The AWS Region for the S3 bucket that contains the document must match the Region that you use for Amazon Textract operations.
For Amazon Textract to process a file in an S3 bucket, the user must have permission to access the S3 bucket and file.
+ */ +@property (nonatomic, strong) AWSTextractS3Object * _Nullable manifestS3Object; + +@end + +/** +Contains information on the metrics used to evalute the peformance of a given adapter version. Includes data for baseline model performance and individual adapter version perfromance.
+ */ +@interface AWSTextractAdapterVersionEvaluationMetric : AWSModel + + +/** +The F1 score, precision, and recall metrics for the baseline model.
+ */ +@property (nonatomic, strong) AWSTextractEvaluationMetric * _Nullable adapterVersion; + +/** +The F1 score, precision, and recall metrics for the baseline model.
+ */ +@property (nonatomic, strong) AWSTextractEvaluationMetric * _Nullable baseline; + +/** +Indicates the feature type being analyzed by a given adapter version.
+ */ +@property (nonatomic, assign) AWSTextractFeatureType featureType; + +@end + +/** +Summary info for an adapter version. Contains information on the AdapterId, AdapterVersion, CreationTime, FeatureTypes, and Status.
+ */ +@interface AWSTextractAdapterVersionOverview : AWSModel + + +/** +A unique identifier for the adapter associated with a given adapter version.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +An identified for a given adapter version.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterVersion; + +/** +The date and time that a given adapter version was created.
+ */ +@property (nonatomic, strong) NSDate * _Nullable creationTime; + +/** +The feature types that the adapter version is operating on.
+ */ +@property (nonatomic, strong) NSArrayContains information on the status of a given adapter version.
+ */ +@property (nonatomic, assign) AWSTextractAdapterVersionStatus status; + +/** +A message explaining the status of a given adapter vesion.
+ */ +@property (nonatomic, strong) NSString * _Nullable statusMessage; + +@end + +/** +Contains information about adapters used when analyzing a document, with each adapter specified using an AdapterId and version
+ Required parameters: [Adapters] + */ +@interface AWSTextractAdaptersConfig : AWSModel + + +/** +A list of adapters to be used when analyzing the specified document.
+ */ +@property (nonatomic, strong) NSArraySpecifies the adapter to be used when analyzing a document.
+ */ +@property (nonatomic, strong) AWSTextractAdaptersConfig * _Nullable adaptersConfig; + /**The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can't pass image bytes. The document must be an image in JPEG, PNG, PDF, or TIFF format.
If you're using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes that are passed using the Bytes
field.
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the locations of detected signatures. To perform both forms and table analysis, add TABLES and FORMS to FeatureTypes
. To detect signatures within form data and table data, add SIGNATURES to either TABLES or FORMS. All lines and words detected in the document are included in the response (including text that isn't related to the value of FeatureTypes
).
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the locations of detected signatures. Add LAYOUT to the list to return information about the layout of the document. All lines and words detected in the document are included in the response (including text that isn't related to the value of FeatureTypes
).
The type of text item that's recognized. In operations for text detection, the following types are returned:
PAGE - Contains a list of the LINE Block
objects that are detected on a document page.
WORD - A word detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
LINE - A string of tab-delimited, contiguous words that are detected on a document page.
In text analysis operations, the following types are returned:
PAGE - Contains a list of child Block
objects that are detected on a document page.
KEY_VALUE_SET - Stores the KEY and VALUE Block
objects for linked text that's detected on a document page. Use the EntityType
field to determine if a KEY_VALUE_SET object is a KEY Block
object or a VALUE Block
object.
WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
LINE - A string of tab-delimited, contiguous words that are detected on a document page.
TABLE - A table that's detected on a document page. A table is grid-based information with two or more rows or columns, with a cell span of one row and one column each.
TABLE_TITLE - The title of a table. A title is typically a line of text above or below a table, or embedded as the first row of a table.
TABLE_FOOTER - The footer associated with a table. A footer is typically a line or lines of text below a table or embedded as the last row of a table.
CELL - A cell within a detected table. The cell is the parent of the block that contains the text in the cell.
MERGED_CELL - A cell in a table whose content spans more than one row or column. The Relationships
array for this cell contain data from individual cells.
SELECTION_ELEMENT - A selection element such as an option button (radio button) or a check box that's detected on a document page. Use the value of SelectionStatus
to determine the status of the selection element.
SIGNATURE - The location and confidene score of a signature detected on a document page. Can be returned as part of a Key-Value pair or a detected cell.
QUERY - A question asked during the call of AnalyzeDocument. Contains an alias and an ID that attaches it to its answer.
QUERY_RESULT - A response to a question asked during the call of analyze document. Comes with an alias and ID for ease of locating in a response. Also contains location and confidence score.
The type of text item that's recognized. In operations for text detection, the following types are returned:
PAGE - Contains a list of the LINE Block
objects that are detected on a document page.
WORD - A word detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
LINE - A string of tab-delimited, contiguous words that are detected on a document page.
In text analysis operations, the following types are returned:
PAGE - Contains a list of child Block
objects that are detected on a document page.
KEY_VALUE_SET - Stores the KEY and VALUE Block
objects for linked text that's detected on a document page. Use the EntityType
field to determine if a KEY_VALUE_SET object is a KEY Block
object or a VALUE Block
object.
WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
LINE - A string of tab-delimited, contiguous words that are detected on a document page.
TABLE - A table that's detected on a document page. A table is grid-based information with two or more rows or columns, with a cell span of one row and one column each.
TABLE_TITLE - The title of a table. A title is typically a line of text above or below a table, or embedded as the first row of a table.
TABLE_FOOTER - The footer associated with a table. A footer is typically a line or lines of text below a table or embedded as the last row of a table.
CELL - A cell within a detected table. The cell is the parent of the block that contains the text in the cell.
MERGED_CELL - A cell in a table whose content spans more than one row or column. The Relationships
array for this cell contain data from individual cells.
SELECTION_ELEMENT - A selection element such as an option button (radio button) or a check box that's detected on a document page. Use the value of SelectionStatus
to determine the status of the selection element.
SIGNATURE - The location and confidence score of a signature detected on a document page. Can be returned as part of a Key-Value pair or a detected cell.
QUERY - A question asked during the call of AnalyzeDocument. Contains an alias and an ID that attaches it to its answer.
QUERY_RESULT - A response to a question asked during the call of analyze document. Comes with an alias and ID for ease of locating in a response. Also contains location and confidence score.
The following BlockTypes are only returned for Amazon Textract Layout.
LAYOUT_TITLE
- The main title of the document.
LAYOUT_HEADER
- Text located in the top margin of the document.
LAYOUT_FOOTER
- Text located in the bottom margin of the document.
LAYOUT_SECTION_HEADER
- The titles of sections within a document.
LAYOUT_PAGE_NUMBER
- The page number of the documents.
LAYOUT_LIST
- Any information grouped together in list form.
LAYOUT_FIGURE
- Indicates the location of an image in a document.
LAYOUT_TABLE
- Indicates the location of a table in the document.
LAYOUT_KEY_VALUE
- Indicates the location of form key-values in a document.
LAYOUT_TEXT
- Text that is present typically as a part of paragraphs in documents.
The page on which a block was detected. Page
is returned by synchronous and asynchronous operations. Page values greater than 1 are only returned for multipage documents that are in PDF or TIFF format. A scanned image (JPEG/PNG) provided to an asynchronous operation, even if it contains multiple document pages, is considered a single-page document. This means that for scanned images the value of Page
is always 1. Synchronous operations will also return a Page
value of 1 because every input document is considered to be a single-page document.
The page on which a block was detected. Page
is returned by synchronous and asynchronous operations. Page values greater than 1 are only returned for multipage documents that are in PDF or TIFF format. A scanned image (JPEG/PNG) provided to an asynchronous operation, even if it contains multiple document pages, is considered a single-page document. This means that for scanned images the value of Page
is always 1.
The name to be assigned to the adapter being created.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterName; + +/** +Controls whether or not the adapter should automatically update.
+ */ +@property (nonatomic, assign) AWSTextractAutoUpdate autoUpdate; + +/** +Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapter requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.
+ */ +@property (nonatomic, strong) NSString * _Nullable clientRequestToken; + +/** +The description to be assigned to the adapter being created.
+ */ +@property (nonatomic, strong) NSString * _Nullable detail; + +/** +The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES
A list of tags to be added to the adapter.
+ */ +@property (nonatomic, strong) NSDictionaryA string containing the unique ID for the adapter that has been created.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +@end + +/** + + */ +@interface AWSTextractCreateAdapterVersionRequest : AWSRequest + + +/** +A string containing a unique ID for the adapter that will receive a new version.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.
+ */ +@property (nonatomic, strong) NSString * _Nullable clientRequestToken; + +/** +Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.
+ */ +@property (nonatomic, strong) AWSTextractAdapterVersionDatasetConfig * _Nullable datasetConfig; + +/** +The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
+ */ +@property (nonatomic, strong) NSString * _Nullable KMSKeyId; + +/** +Sets whether or not your output will go to a user created bucket. Used to set the name of the bucket, and the prefix on the output file.
OutputConfig
is an optional parameter which lets you adjust where your output will be placed. By default, Amazon Textract will store the results internally and can only be accessed by the Get API operations. With OutputConfig
enabled, you can set the name of the bucket the output will be sent to the file prefix of the results where you can download your results. Additionally, you can set the KMSKeyID
parameter to a customer master key (CMK) to encrypt your output. Without this parameter set Amazon Textract will encrypt server-side using the AWS managed CMK for Amazon S3.
Decryption of Customer Content is necessary for processing of the documents by Amazon Textract. If your account is opted out under an AI services opt out policy then all unencrypted Customer Content is immediately and permanently deleted after the Customer Content has been processed by the service. No copy of of the output is retained by Amazon Textract. For information about how to opt out, see Managing AI services opt-out policy.
For more information on data privacy, see the Data Privacy FAQ.
+ */ +@property (nonatomic, strong) AWSTextractOutputConfig * _Nullable outputConfig; + +/** +A set of tags (key-value pairs) that you want to attach to the adapter version.
+ */ +@property (nonatomic, strong) NSDictionaryA string containing the unique ID for the adapter that has received a new version.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +A string describing the new version of the adapter.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterVersion; + +@end + +/** + + */ +@interface AWSTextractDeleteAdapterRequest : AWSRequest + + +/** +A string containing a unique ID for the adapter to be deleted.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +@end + +/** + + */ +@interface AWSTextractDeleteAdapterResponse : AWSModel + + +@end + +/** + + */ +@interface AWSTextractDeleteAdapterVersionRequest : AWSRequest + + +/** +A string containing a unique ID for the adapter version that will be deleted.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +Specifies the adapter version to be deleted.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterVersion; + +@end + +/** + + */ +@interface AWSTextractDeleteAdapterVersionResponse : AWSModel + + @end /** @@ -570,6 +930,29 @@ typedef NS_ENUM(NSInteger, AWSTextractValueType) { @end +/** +The evaluation metrics (F1 score, Precision, and Recall) for an adapter version.
+ */ +@interface AWSTextractEvaluationMetric : AWSModel + + +/** +The F1 score for an adapter version.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable f1Score; + +/** +The Precision score for an adapter version.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable precision; + +/** +The Recall score for an adapter version.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable recall; + +@end + /**Returns the kind of currency detected.
*/ @@ -754,6 +1137,143 @@ typedef NS_ENUM(NSInteger, AWSTextractValueType) { @end +/** + + */ +@interface AWSTextractGetAdapterRequest : AWSRequest + + +/** +A string containing a unique ID for the adapter.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +@end + +/** + + */ +@interface AWSTextractGetAdapterResponse : AWSModel + + +/** +A string identifying the adapter that information has been retrieved for.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +The name of the requested adapter.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterName; + +/** +Binary value indicating if the adapter is being automatically updated or not.
+ */ +@property (nonatomic, assign) AWSTextractAutoUpdate autoUpdate; + +/** +The date and time the requested adapter was created at.
+ */ +@property (nonatomic, strong) NSDate * _Nullable creationTime; + +/** +The description for the requested adapter.
+ */ +@property (nonatomic, strong) NSString * _Nullable detail; + +/** +List of the targeted feature types for the requested adapter.
+ */ +@property (nonatomic, strong) NSArrayA set of tags (key-value pairs) associated with the adapter that has been retrieved.
+ */ +@property (nonatomic, strong) NSDictionaryA string specifying a unique ID for the adapter version you want to retrieve information for.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +A string specifying the adapter version you want to retrieve information for.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterVersion; + +@end + +/** + + */ +@interface AWSTextractGetAdapterVersionResponse : AWSModel + + +/** +A string containing a unique ID for the adapter version being retrieved.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +A string containing the adapter version that has been retrieved.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterVersion; + +/** +The time that the adapter version was created.
+ */ +@property (nonatomic, strong) NSDate * _Nullable creationTime; + +/** +Specifies a dataset used to train a new adapter version. Takes a ManifestS3Objec as the value.
+ */ +@property (nonatomic, strong) AWSTextractAdapterVersionDatasetConfig * _Nullable datasetConfig; + +/** +The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.
+ */ +@property (nonatomic, strong) NSArrayList of the targeted feature types for the requested adapter version.
+ */ +@property (nonatomic, strong) NSArrayThe identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
+ */ +@property (nonatomic, strong) NSString * _Nullable KMSKeyId; + +/** +Sets whether or not your output will go to a user created bucket. Used to set the name of the bucket, and the prefix on the output file.
OutputConfig
is an optional parameter which lets you adjust where your output will be placed. By default, Amazon Textract will store the results internally and can only be accessed by the Get API operations. With OutputConfig
enabled, you can set the name of the bucket the output will be sent to the file prefix of the results where you can download your results. Additionally, you can set the KMSKeyID
parameter to a customer master key (CMK) to encrypt your output. Without this parameter set Amazon Textract will encrypt server-side using the AWS managed CMK for Amazon S3.
Decryption of Customer Content is necessary for processing of the documents by Amazon Textract. If your account is opted out under an AI services opt out policy then all unencrypted Customer Content is immediately and permanently deleted after the Customer Content has been processed by the service. No copy of of the output is retained by Amazon Textract. For information about how to opt out, see Managing AI services opt-out policy.
For more information on data privacy, see the Data Privacy FAQ.
+ */ +@property (nonatomic, strong) AWSTextractOutputConfig * _Nullable outputConfig; + +/** +The status of the adapter version that has been requested.
+ */ +@property (nonatomic, assign) AWSTextractAdapterVersionStatus status; + +/** +A message that describes the status of the requested adapter version.
+ */ +@property (nonatomic, strong) NSString * _Nullable statusMessage; + +/** +A set of tags (key-value pairs) that are associated with the adapter version.
+ */ +@property (nonatomic, strong) NSDictionaryA string containing a unique ID for the adapter to match for when listing adapter versions.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +Specifies the lower bound for the ListAdapterVersions operation. Ensures ListAdapterVersions returns only adapter versions created after the specified creation time.
+ */ +@property (nonatomic, strong) NSDate * _Nullable afterCreationTime; + +/** +Specifies the upper bound for the ListAdapterVersions operation. Ensures ListAdapterVersions returns only adapter versions created after the specified creation time.
+ */ +@property (nonatomic, strong) NSDate * _Nullable beforeCreationTime; + +/** +The maximum number of results to return when listing adapter versions.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable maxResults; + +/** +Identifies the next page of results to return when listing adapter versions.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +@end + +/** + + */ +@interface AWSTextractListAdapterVersionsResponse : AWSModel + + +/** +Adapter versions that match the filtering criteria specified when calling ListAdapters.
+ */ +@property (nonatomic, strong) NSArrayIdentifies the next page of results to return when listing adapter versions.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +@end + +/** + + */ +@interface AWSTextractListAdaptersRequest : AWSRequest + + +/** +Specifies the lower bound for the ListAdapters operation. Ensures ListAdapters returns only adapters created after the specified creation time.
+ */ +@property (nonatomic, strong) NSDate * _Nullable afterCreationTime; + +/** +Specifies the upper bound for the ListAdapters operation. Ensures ListAdapters returns only adapters created before the specified creation time.
+ */ +@property (nonatomic, strong) NSDate * _Nullable beforeCreationTime; + +/** +The maximum number of results to return when listing adapters.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable maxResults; + +/** +Identifies the next page of results to return when listing adapters.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +@end + +/** + + */ +@interface AWSTextractListAdaptersResponse : AWSModel + + +/** +A list of adapters that matches the filtering criteria specified when calling ListAdapters.
+ */ +@property (nonatomic, strong) NSArrayIdentifies the next page of results to return when listing adapters.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +@end + +/** + + */ +@interface AWSTextractListTagsForResourceRequest : AWSRequest + + +/** +The Amazon Resource Name (ARN) that specifies the resource to list tags for.
+ */ +@property (nonatomic, strong) NSString * _Nullable resourceARN; + +@end + +/** + + */ +@interface AWSTextractListTagsForResourceResponse : AWSModel + + +/** +A set of tags (key-value pairs) that are part of the requested resource.
+ */ +@property (nonatomic, strong) NSDictionaryContains information relating to dates in a document, including the type of value, and the value.
*/ @@ -1543,6 +2186,11 @@ typedef NS_ENUM(NSInteger, AWSTextractValueType) { @interface AWSTextractStartDocumentAnalysisRequest : AWSRequest +/** +Specifies the adapter to be used when analyzing a document.
+ */ +@property (nonatomic, strong) AWSTextractAdaptersConfig * _Nullable adaptersConfig; + /**The idempotent token that you use to identify the start request. If you use the same token with multiple StartDocumentAnalysis
requests, the same JobId
is returned. Use ClientRequestToken
to prevent the same job from being accidentally started more than once. For more information, see Calling Amazon Textract Asynchronous Operations.
The Amazon Resource Name (ARN) that specifies the resource to be tagged.
+ */ +@property (nonatomic, strong) NSString * _Nullable resourceARN; + +/** +A set of tags (key-value pairs) that you want to assign to the resource.
+ */ +@property (nonatomic, strong) NSDictionaryThe Amazon Resource Name (ARN) that specifies the resource to be untagged.
+ */ +@property (nonatomic, strong) NSString * _Nullable resourceARN; + +/** +Specifies the tags to be removed from the resource specified by the ResourceARN.
+ */ +@property (nonatomic, strong) NSArrayA string containing a unique ID for the adapter that will be updated.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +The new name to be applied to the adapter.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterName; + +/** +The new auto-update status to be applied to the adapter.
+ */ +@property (nonatomic, assign) AWSTextractAutoUpdate autoUpdate; + +/** +The new description to be applied to the adapter.
+ */ +@property (nonatomic, strong) NSString * _Nullable detail; + +@end + +/** + + */ +@interface AWSTextractUpdateAdapterResponse : AWSModel + + +/** +A string containing a unique ID for the adapter that has been updated.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterId; + +/** +A string containing the name of the adapter that has been updated.
+ */ +@property (nonatomic, strong) NSString * _Nullable adapterName; + +/** +The auto-update status of the adapter that has been updated.
+ */ +@property (nonatomic, assign) AWSTextractAutoUpdate autoUpdate; + +/** +An object specifying the creation time of the the adapter that has been updated.
+ */ +@property (nonatomic, strong) NSDate * _Nullable creationTime; + +/** +A string containing the description of the adapter that has been updated.
+ */ +@property (nonatomic, strong) NSString * _Nullable detail; + +/** +List of the targeted feature types for the updated adapter.
+ */ +@property (nonatomic, strong) NSArrayA warning about an issue that occurred during asynchronous text analysis (StartDocumentAnalysis) or asynchronous document text detection (StartDocumentTextDetection).
*/ diff --git a/AWSTextract/AWSTextractModel.m b/AWSTextract/AWSTextractModel.m index 2f6eefacbdf..4700a8cdb8d 100644 --- a/AWSTextract/AWSTextractModel.m +++ b/AWSTextract/AWSTextractModel.m @@ -18,6 +18,206 @@ NSString *const AWSTextractErrorDomain = @"com.amazonaws.AWSTextractErrorDomain"; +@implementation AWSTextractAdapter + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterId" : @"AdapterId", + @"pages" : @"Pages", + @"version" : @"Version", + }; +} + +@end + +@implementation AWSTextractAdapterOverview + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterId" : @"AdapterId", + @"adapterName" : @"AdapterName", + @"creationTime" : @"CreationTime", + @"featureTypes" : @"FeatureTypes", + }; +} + ++ (NSValueTransformer *)creationTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + +@end + +@implementation AWSTextractAdapterVersionDatasetConfig + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"manifestS3Object" : @"ManifestS3Object", + }; +} + ++ (NSValueTransformer *)manifestS3ObjectJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractS3Object class]]; +} + +@end + +@implementation AWSTextractAdapterVersionEvaluationMetric + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterVersion" : @"AdapterVersion", + @"baseline" : @"Baseline", + @"featureType" : @"FeatureType", + }; +} + ++ (NSValueTransformer *)adapterVersionJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractEvaluationMetric class]]; +} + ++ (NSValueTransformer *)baselineJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractEvaluationMetric class]]; +} + ++ (NSValueTransformer *)featureTypeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"TABLES"] == NSOrderedSame) { + return @(AWSTextractFeatureTypeTables); + } + if ([value caseInsensitiveCompare:@"FORMS"] == NSOrderedSame) { + return @(AWSTextractFeatureTypeForms); + } + if ([value caseInsensitiveCompare:@"QUERIES"] == NSOrderedSame) { + return @(AWSTextractFeatureTypeQueries); + } + if ([value caseInsensitiveCompare:@"SIGNATURES"] == NSOrderedSame) { + return @(AWSTextractFeatureTypeSignatures); + } + if ([value caseInsensitiveCompare:@"LAYOUT"] == NSOrderedSame) { + return @(AWSTextractFeatureTypeLayout); + } + return @(AWSTextractFeatureTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSTextractFeatureTypeTables: + return @"TABLES"; + case AWSTextractFeatureTypeForms: + return @"FORMS"; + case AWSTextractFeatureTypeQueries: + return @"QUERIES"; + case AWSTextractFeatureTypeSignatures: + return @"SIGNATURES"; + case AWSTextractFeatureTypeLayout: + return @"LAYOUT"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSTextractAdapterVersionOverview + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterId" : @"AdapterId", + @"adapterVersion" : @"AdapterVersion", + @"creationTime" : @"CreationTime", + @"featureTypes" : @"FeatureTypes", + @"status" : @"Status", + @"statusMessage" : @"StatusMessage", + }; +} + ++ (NSValueTransformer *)creationTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)statusJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"ACTIVE"] == NSOrderedSame) { + return @(AWSTextractAdapterVersionStatusActive); + } + if ([value caseInsensitiveCompare:@"AT_RISK"] == NSOrderedSame) { + return @(AWSTextractAdapterVersionStatusAtRisk); + } + if ([value caseInsensitiveCompare:@"DEPRECATED"] == NSOrderedSame) { + return @(AWSTextractAdapterVersionStatusDeprecated); + } + if ([value caseInsensitiveCompare:@"CREATION_ERROR"] == NSOrderedSame) { + return @(AWSTextractAdapterVersionStatusCreationError); + } + if ([value caseInsensitiveCompare:@"CREATION_IN_PROGRESS"] == NSOrderedSame) { + return @(AWSTextractAdapterVersionStatusCreationInProgress); + } + return @(AWSTextractAdapterVersionStatusUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSTextractAdapterVersionStatusActive: + return @"ACTIVE"; + case AWSTextractAdapterVersionStatusAtRisk: + return @"AT_RISK"; + case AWSTextractAdapterVersionStatusDeprecated: + return @"DEPRECATED"; + case AWSTextractAdapterVersionStatusCreationError: + return @"CREATION_ERROR"; + case AWSTextractAdapterVersionStatusCreationInProgress: + return @"CREATION_IN_PROGRESS"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSTextractAdaptersConfig + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapters" : @"Adapters", + }; +} + ++ (NSValueTransformer *)adaptersJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSTextractAdapter class]]; +} + +@end + @implementation AWSTextractAnalyzeDocumentRequest + (BOOL)supportsSecureCoding { @@ -26,6 +226,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"adaptersConfig" : @"AdaptersConfig", @"document" : @"Document", @"featureTypes" : @"FeatureTypes", @"humanLoopConfig" : @"HumanLoopConfig", @@ -33,6 +234,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)adaptersConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractAdaptersConfig class]]; +} + + (NSValueTransformer *)documentJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractDocument class]]; } @@ -249,6 +454,36 @@ + (NSValueTransformer *)blockTypeJSONTransformer { if ([value caseInsensitiveCompare:@"TABLE_FOOTER"] == NSOrderedSame) { return @(AWSTextractBlockTypeTableFooter); } + if ([value caseInsensitiveCompare:@"LAYOUT_TEXT"] == NSOrderedSame) { + return @(AWSTextractBlockTypeLayoutText); + } + if ([value caseInsensitiveCompare:@"LAYOUT_TITLE"] == NSOrderedSame) { + return @(AWSTextractBlockTypeLayoutTitle); + } + if ([value caseInsensitiveCompare:@"LAYOUT_HEADER"] == NSOrderedSame) { + return @(AWSTextractBlockTypeLayoutHeader); + } + if ([value caseInsensitiveCompare:@"LAYOUT_FOOTER"] == NSOrderedSame) { + return @(AWSTextractBlockTypeLayoutFooter); + } + if ([value caseInsensitiveCompare:@"LAYOUT_SECTION_HEADER"] == NSOrderedSame) { + return @(AWSTextractBlockTypeLayoutSectionHeader); + } + if ([value caseInsensitiveCompare:@"LAYOUT_PAGE_NUMBER"] == NSOrderedSame) { + return @(AWSTextractBlockTypeLayoutPageNumber); + } + if ([value caseInsensitiveCompare:@"LAYOUT_LIST"] == NSOrderedSame) { + return @(AWSTextractBlockTypeLayoutList); + } + if ([value caseInsensitiveCompare:@"LAYOUT_FIGURE"] == NSOrderedSame) { + return @(AWSTextractBlockTypeLayoutFigure); + } + if ([value caseInsensitiveCompare:@"LAYOUT_TABLE"] == NSOrderedSame) { + return @(AWSTextractBlockTypeLayoutTable); + } + if ([value caseInsensitiveCompare:@"LAYOUT_KEY_VALUE"] == NSOrderedSame) { + return @(AWSTextractBlockTypeLayoutKeyValue); + } return @(AWSTextractBlockTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -280,6 +515,26 @@ + (NSValueTransformer *)blockTypeJSONTransformer { return @"TABLE_TITLE"; case AWSTextractBlockTypeTableFooter: return @"TABLE_FOOTER"; + case AWSTextractBlockTypeLayoutText: + return @"LAYOUT_TEXT"; + case AWSTextractBlockTypeLayoutTitle: + return @"LAYOUT_TITLE"; + case AWSTextractBlockTypeLayoutHeader: + return @"LAYOUT_HEADER"; + case AWSTextractBlockTypeLayoutFooter: + return @"LAYOUT_FOOTER"; + case AWSTextractBlockTypeLayoutSectionHeader: + return @"LAYOUT_SECTION_HEADER"; + case AWSTextractBlockTypeLayoutPageNumber: + return @"LAYOUT_PAGE_NUMBER"; + case AWSTextractBlockTypeLayoutList: + return @"LAYOUT_LIST"; + case AWSTextractBlockTypeLayoutFigure: + return @"LAYOUT_FIGURE"; + case AWSTextractBlockTypeLayoutTable: + return @"LAYOUT_TABLE"; + case AWSTextractBlockTypeLayoutKeyValue: + return @"LAYOUT_KEY_VALUE"; default: return nil; } @@ -359,6 +614,147 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSTextractCreateAdapterRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterName" : @"AdapterName", + @"autoUpdate" : @"AutoUpdate", + @"clientRequestToken" : @"ClientRequestToken", + @"detail" : @"Description", + @"featureTypes" : @"FeatureTypes", + @"tags" : @"Tags", + }; +} + ++ (NSValueTransformer *)autoUpdateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"ENABLED"] == NSOrderedSame) { + return @(AWSTextractAutoUpdateEnabled); + } + if ([value caseInsensitiveCompare:@"DISABLED"] == NSOrderedSame) { + return @(AWSTextractAutoUpdateDisabled); + } + return @(AWSTextractAutoUpdateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSTextractAutoUpdateEnabled: + return @"ENABLED"; + case AWSTextractAutoUpdateDisabled: + return @"DISABLED"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSTextractCreateAdapterResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterId" : @"AdapterId", + }; +} + +@end + +@implementation AWSTextractCreateAdapterVersionRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterId" : @"AdapterId", + @"clientRequestToken" : @"ClientRequestToken", + @"datasetConfig" : @"DatasetConfig", + @"KMSKeyId" : @"KMSKeyId", + @"outputConfig" : @"OutputConfig", + @"tags" : @"Tags", + }; +} + ++ (NSValueTransformer *)datasetConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractAdapterVersionDatasetConfig class]]; +} + ++ (NSValueTransformer *)outputConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractOutputConfig class]]; +} + +@end + +@implementation AWSTextractCreateAdapterVersionResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterId" : @"AdapterId", + @"adapterVersion" : @"AdapterVersion", + }; +} + +@end + +@implementation AWSTextractDeleteAdapterRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterId" : @"AdapterId", + }; +} + +@end + +@implementation AWSTextractDeleteAdapterResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + +@implementation AWSTextractDeleteAdapterVersionRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterId" : @"AdapterId", + @"adapterVersion" : @"AdapterVersion", + }; +} + +@end + +@implementation AWSTextractDeleteAdapterVersionResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + @implementation AWSTextractDetectDocumentTextRequest + (BOOL)supportsSecureCoding { @@ -495,6 +891,22 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSTextractEvaluationMetric + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"f1Score" : @"F1Score", + @"precision" : @"Precision", + @"recall" : @"Recall", + }; +} + +@end + @implementation AWSTextractExpenseCurrency + (BOOL)supportsSecureCoding { @@ -598,7 +1010,88 @@ + (NSValueTransformer *)valueDetectionJSONTransformer { @end -@implementation AWSTextractExpenseGroupProperty +@implementation AWSTextractExpenseGroupProperty + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"identifier" : @"Id", + @"types" : @"Types", + }; +} + +@end + +@implementation AWSTextractExpenseType + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"confidence" : @"Confidence", + @"text" : @"Text", + }; +} + +@end + +@implementation AWSTextractExtraction + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"expenseDocument" : @"ExpenseDocument", + @"identityDocument" : @"IdentityDocument", + @"lendingDocument" : @"LendingDocument", + }; +} + ++ (NSValueTransformer *)expenseDocumentJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractExpenseDocument class]]; +} + ++ (NSValueTransformer *)identityDocumentJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractIdentityDocument class]]; +} + ++ (NSValueTransformer *)lendingDocumentJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractLendingDocument class]]; +} + +@end + +@implementation AWSTextractGeometry + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"boundingBox" : @"BoundingBox", + @"polygon" : @"Polygon", + }; +} + ++ (NSValueTransformer *)boundingBoxJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractBoundingBox class]]; +} + ++ (NSValueTransformer *)polygonJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSTextractPoint class]]; +} + +@end + +@implementation AWSTextractGetAdapterRequest + (BOOL)supportsSecureCoding { return YES; @@ -606,14 +1099,13 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"identifier" : @"Id", - @"types" : @"Types", + @"adapterId" : @"AdapterId", }; } @end -@implementation AWSTextractExpenseType +@implementation AWSTextractGetAdapterResponse + (BOOL)supportsSecureCoding { return YES; @@ -621,14 +1113,48 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"confidence" : @"Confidence", - @"text" : @"Text", + @"adapterId" : @"AdapterId", + @"adapterName" : @"AdapterName", + @"autoUpdate" : @"AutoUpdate", + @"creationTime" : @"CreationTime", + @"detail" : @"Description", + @"featureTypes" : @"FeatureTypes", + @"tags" : @"Tags", }; } ++ (NSValueTransformer *)autoUpdateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"ENABLED"] == NSOrderedSame) { + return @(AWSTextractAutoUpdateEnabled); + } + if ([value caseInsensitiveCompare:@"DISABLED"] == NSOrderedSame) { + return @(AWSTextractAutoUpdateDisabled); + } + return @(AWSTextractAutoUpdateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSTextractAutoUpdateEnabled: + return @"ENABLED"; + case AWSTextractAutoUpdateDisabled: + return @"DISABLED"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)creationTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + @end -@implementation AWSTextractExtraction +@implementation AWSTextractGetAdapterVersionRequest + (BOOL)supportsSecureCoding { return YES; @@ -636,27 +1162,14 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"expenseDocument" : @"ExpenseDocument", - @"identityDocument" : @"IdentityDocument", - @"lendingDocument" : @"LendingDocument", + @"adapterId" : @"AdapterId", + @"adapterVersion" : @"AdapterVersion", }; } -+ (NSValueTransformer *)expenseDocumentJSONTransformer { - return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractExpenseDocument class]]; -} - -+ (NSValueTransformer *)identityDocumentJSONTransformer { - return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractIdentityDocument class]]; -} - -+ (NSValueTransformer *)lendingDocumentJSONTransformer { - return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractLendingDocument class]]; -} - @end -@implementation AWSTextractGeometry +@implementation AWSTextractGetAdapterVersionResponse + (BOOL)supportsSecureCoding { return YES; @@ -664,17 +1177,74 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"boundingBox" : @"BoundingBox", - @"polygon" : @"Polygon", + @"adapterId" : @"AdapterId", + @"adapterVersion" : @"AdapterVersion", + @"creationTime" : @"CreationTime", + @"datasetConfig" : @"DatasetConfig", + @"evaluationMetrics" : @"EvaluationMetrics", + @"featureTypes" : @"FeatureTypes", + @"KMSKeyId" : @"KMSKeyId", + @"outputConfig" : @"OutputConfig", + @"status" : @"Status", + @"statusMessage" : @"StatusMessage", + @"tags" : @"Tags", }; } -+ (NSValueTransformer *)boundingBoxJSONTransformer { - return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractBoundingBox class]]; ++ (NSValueTransformer *)creationTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; } -+ (NSValueTransformer *)polygonJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSTextractPoint class]]; ++ (NSValueTransformer *)datasetConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractAdapterVersionDatasetConfig class]]; +} + ++ (NSValueTransformer *)evaluationMetricsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSTextractAdapterVersionEvaluationMetric class]]; +} + ++ (NSValueTransformer *)outputConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractOutputConfig class]]; +} + ++ (NSValueTransformer *)statusJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"ACTIVE"] == NSOrderedSame) { + return @(AWSTextractAdapterVersionStatusActive); + } + if ([value caseInsensitiveCompare:@"AT_RISK"] == NSOrderedSame) { + return @(AWSTextractAdapterVersionStatusAtRisk); + } + if ([value caseInsensitiveCompare:@"DEPRECATED"] == NSOrderedSame) { + return @(AWSTextractAdapterVersionStatusDeprecated); + } + if ([value caseInsensitiveCompare:@"CREATION_ERROR"] == NSOrderedSame) { + return @(AWSTextractAdapterVersionStatusCreationError); + } + if ([value caseInsensitiveCompare:@"CREATION_IN_PROGRESS"] == NSOrderedSame) { + return @(AWSTextractAdapterVersionStatusCreationInProgress); + } + return @(AWSTextractAdapterVersionStatusUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSTextractAdapterVersionStatusActive: + return @"ACTIVE"; + case AWSTextractAdapterVersionStatusAtRisk: + return @"AT_RISK"; + case AWSTextractAdapterVersionStatusDeprecated: + return @"DEPRECATED"; + case AWSTextractAdapterVersionStatusCreationError: + return @"CREATION_ERROR"; + case AWSTextractAdapterVersionStatusCreationInProgress: + return @"CREATION_IN_PROGRESS"; + default: + return nil; + } + }]; } @end @@ -1337,6 +1907,139 @@ + (NSValueTransformer *)lineItemsJSONTransformer { @end +@implementation AWSTextractListAdapterVersionsRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterId" : @"AdapterId", + @"afterCreationTime" : @"AfterCreationTime", + @"beforeCreationTime" : @"BeforeCreationTime", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)afterCreationTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)beforeCreationTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + +@end + +@implementation AWSTextractListAdapterVersionsResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterVersions" : @"AdapterVersions", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)adapterVersionsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSTextractAdapterVersionOverview class]]; +} + +@end + +@implementation AWSTextractListAdaptersRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"afterCreationTime" : @"AfterCreationTime", + @"beforeCreationTime" : @"BeforeCreationTime", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)afterCreationTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)beforeCreationTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + +@end + +@implementation AWSTextractListAdaptersResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapters" : @"Adapters", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)adaptersJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSTextractAdapterOverview class]]; +} + +@end + +@implementation AWSTextractListTagsForResourceRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"resourceARN" : @"ResourceARN", + }; +} + +@end + +@implementation AWSTextractListTagsForResourceResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"tags" : @"Tags", + }; +} + +@end + @implementation AWSTextractNormalizedValue + (BOOL)supportsSecureCoding { @@ -1614,6 +2317,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"adaptersConfig" : @"AdaptersConfig", @"clientRequestToken" : @"ClientRequestToken", @"documentLocation" : @"DocumentLocation", @"featureTypes" : @"FeatureTypes", @@ -1625,6 +2329,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)adaptersConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractAdaptersConfig class]]; +} + + (NSValueTransformer *)documentLocationJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSTextractDocumentLocation class]]; } @@ -1792,6 +2500,29 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSTextractTagResourceRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"resourceARN" : @"ResourceARN", + @"tags" : @"Tags", + }; +} + +@end + +@implementation AWSTextractTagResourceResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + @implementation AWSTextractUndetectedSignature + (BOOL)supportsSecureCoding { @@ -1806,6 +2537,115 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSTextractUntagResourceRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"resourceARN" : @"ResourceARN", + @"tagKeys" : @"TagKeys", + }; +} + +@end + +@implementation AWSTextractUntagResourceResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + +@implementation AWSTextractUpdateAdapterRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterId" : @"AdapterId", + @"adapterName" : @"AdapterName", + @"autoUpdate" : @"AutoUpdate", + @"detail" : @"Description", + }; +} + ++ (NSValueTransformer *)autoUpdateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"ENABLED"] == NSOrderedSame) { + return @(AWSTextractAutoUpdateEnabled); + } + if ([value caseInsensitiveCompare:@"DISABLED"] == NSOrderedSame) { + return @(AWSTextractAutoUpdateDisabled); + } + return @(AWSTextractAutoUpdateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSTextractAutoUpdateEnabled: + return @"ENABLED"; + case AWSTextractAutoUpdateDisabled: + return @"DISABLED"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSTextractUpdateAdapterResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"adapterId" : @"AdapterId", + @"adapterName" : @"AdapterName", + @"autoUpdate" : @"AutoUpdate", + @"creationTime" : @"CreationTime", + @"detail" : @"Description", + @"featureTypes" : @"FeatureTypes", + }; +} + ++ (NSValueTransformer *)autoUpdateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"ENABLED"] == NSOrderedSame) { + return @(AWSTextractAutoUpdateEnabled); + } + if ([value caseInsensitiveCompare:@"DISABLED"] == NSOrderedSame) { + return @(AWSTextractAutoUpdateDisabled); + } + return @(AWSTextractAutoUpdateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSTextractAutoUpdateEnabled: + return @"ENABLED"; + case AWSTextractAutoUpdateDisabled: + return @"DISABLED"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)creationTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + +@end + @implementation AWSTextractWarning + (BOOL)supportsSecureCoding { diff --git a/AWSTextract/AWSTextractResources.m b/AWSTextract/AWSTextractResources.m index 3f8ff56aa2c..c2e170b95eb 100644 --- a/AWSTextract/AWSTextractResources.m +++ b/AWSTextract/AWSTextractResources.m @@ -134,6 +134,97 @@ - (NSString *)definitionString { ],\ \"documentation\":\"Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields
, which records both the normalized field and value of the extracted text. Unlike other Amazon Textract operations, AnalyzeID
doesn't return any Geometry data.
Creates an adapter, which can be fine-tuned for enhanced performance on user provided documents. Takes an AdapterName and FeatureType. Currently the only supported feature type is QUERIES
. You can also provide a Description, Tags, and a ClientRequestToken. You can choose whether or not the adapter should be AutoUpdated with the AutoUpdate argument. By default, AutoUpdate is set to DISABLED.
Creates a new version of an adapter. Operates on a provided AdapterId and a specified dataset provided via the DatasetConfig argument. Requires that you specify an Amazon S3 bucket with the OutputConfig argument. You can provide an optional KMSKeyId, an optional ClientRequestToken, and optional tags.
\",\ + \"idempotent\":true\ + },\ + \"DeleteAdapter\":{\ + \"name\":\"DeleteAdapter\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"DeleteAdapterRequest\"},\ + \"output\":{\"shape\":\"DeleteAdapterResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"ConflictException\"},\ + {\"shape\":\"ProvisionedThroughputExceededException\"},\ + {\"shape\":\"InternalServerError\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"ValidationException\"},\ + {\"shape\":\"ResourceNotFoundException\"}\ + ],\ + \"documentation\":\"Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the adapter specified by the ID.
\",\ + \"idempotent\":true\ + },\ + \"DeleteAdapterVersion\":{\ + \"name\":\"DeleteAdapterVersion\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"DeleteAdapterVersionRequest\"},\ + \"output\":{\"shape\":\"DeleteAdapterVersionResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"ConflictException\"},\ + {\"shape\":\"ProvisionedThroughputExceededException\"},\ + {\"shape\":\"InternalServerError\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"ValidationException\"},\ + {\"shape\":\"ResourceNotFoundException\"}\ + ],\ + \"documentation\":\"Deletes an Amazon Textract adapter version. Requires that you specify both an AdapterId and a AdapterVersion. Deletes the adapter version specified by the AdapterId and the AdapterVersion.
\",\ + \"idempotent\":true\ + },\ \"DetectDocumentText\":{\ \"name\":\"DetectDocumentText\",\ \"http\":{\ @@ -155,6 +246,44 @@ - (NSString *)definitionString { ],\ \"documentation\":\"Detects text in the input document. Amazon Textract can detect lines of text and the words that make up a line of text. The input document must be in one of the following image formats: JPEG, PNG, PDF, or TIFF. DetectDocumentText
returns the detected text in an array of Block objects.
Each document page has as an associated Block
of type PAGE. Each PAGE Block
object is the parent of LINE Block
objects that represent the lines of detected text on a page. A LINE Block
object is a parent for each word that makes up the line. Words are represented by Block
objects of type WORD.
DetectDocumentText
is a synchronous operation. To analyze documents asynchronously, use StartDocumentTextDetection.
For more information, see Document Text Detection.
\"\ },\ + \"GetAdapter\":{\ + \"name\":\"GetAdapter\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"GetAdapterRequest\"},\ + \"output\":{\"shape\":\"GetAdapterResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"ProvisionedThroughputExceededException\"},\ + {\"shape\":\"InternalServerError\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"ValidationException\"},\ + {\"shape\":\"ResourceNotFoundException\"}\ + ],\ + \"documentation\":\"Gets configuration information for an adapter specified by an AdapterId, returning information on AdapterName, Description, CreationTime, AutoUpdate status, and FeatureTypes.
\"\ + },\ + \"GetAdapterVersion\":{\ + \"name\":\"GetAdapterVersion\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"GetAdapterVersionRequest\"},\ + \"output\":{\"shape\":\"GetAdapterVersionResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"ProvisionedThroughputExceededException\"},\ + {\"shape\":\"InternalServerError\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"ValidationException\"},\ + {\"shape\":\"ResourceNotFoundException\"}\ + ],\ + \"documentation\":\"Gets configuration information for the specified adapter version, including: AdapterId, AdapterVersion, FeatureTypes, Status, StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and EvaluationMetrics.
\"\ + },\ \"GetDocumentAnalysis\":{\ \"name\":\"GetDocumentAnalysis\",\ \"http\":{\ @@ -255,6 +384,62 @@ - (NSString *)definitionString { ],\ \"documentation\":\"Gets summarized results for the StartLendingAnalysis
operation, which analyzes text in a lending document. The returned summary consists of information about documents grouped together by a common document type. Information like detected signatures, page numbers, and split documents is returned with respect to the type of grouped document.
You start asynchronous text analysis by calling StartLendingAnalysis
, which returns a job identifier (JobId
). When the text analysis operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartLendingAnalysis
.
To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetLendingAnalysisSummary
, and pass the job identifier (JobId
) from the initial call to StartLendingAnalysis
.
List all version of an adapter that meet the specified filtration criteria.
\"\ + },\ + \"ListAdapters\":{\ + \"name\":\"ListAdapters\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"ListAdaptersRequest\"},\ + \"output\":{\"shape\":\"ListAdaptersResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"ProvisionedThroughputExceededException\"},\ + {\"shape\":\"InternalServerError\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"ValidationException\"}\ + ],\ + \"documentation\":\"Lists all adapters that match the specified filtration criteria.
\"\ + },\ + \"ListTagsForResource\":{\ + \"name\":\"ListTagsForResource\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"ListTagsForResourceRequest\"},\ + \"output\":{\"shape\":\"ListTagsForResourceResponse\"},\ + \"errors\":[\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"ProvisionedThroughputExceededException\"},\ + {\"shape\":\"InternalServerError\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"ValidationException\"}\ + ],\ + \"documentation\":\"Lists all tags for an Amazon Textract resource.
\"\ + },\ \"StartDocumentAnalysis\":{\ \"name\":\"StartDocumentAnalysis\",\ \"http\":{\ @@ -350,6 +535,65 @@ - (NSString *)definitionString { {\"shape\":\"LimitExceededException\"}\ ],\ \"documentation\":\"Starts the classification and analysis of an input document. StartLendingAnalysis
initiates the classification and analysis of a packet of lending documents. StartLendingAnalysis
operates on a document file located in an Amazon S3 bucket.
StartLendingAnalysis
can analyze text in documents that are in one of the following formats: JPEG, PNG, TIFF, PDF. Use DocumentLocation
to specify the bucket name and the file name of the document.
StartLendingAnalysis
returns a job identifier (JobId
) that you use to get the results of the operation. When the text analysis is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel
. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If the status is SUCCEEDED you can call either GetLendingAnalysis
or GetLendingAnalysisSummary
and provide the JobId
to obtain the results of the analysis.
If using OutputConfig
to specify an Amazon S3 bucket, the output will be contained within the specified prefix in a directory labeled with the job-id. In the directory there are 3 sub-directories:
detailedResponse (contains the GetLendingAnalysis response)
summaryResponse (for the GetLendingAnalysisSummary response)
splitDocuments (documents split across logical boundaries)
Adds one or more tags to the specified resource.
\"\ + },\ + \"UntagResource\":{\ + \"name\":\"UntagResource\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"UntagResourceRequest\"},\ + \"output\":{\"shape\":\"UntagResourceResponse\"},\ + \"errors\":[\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"ProvisionedThroughputExceededException\"},\ + {\"shape\":\"InternalServerError\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"ValidationException\"}\ + ],\ + \"documentation\":\"Removes any tags with the specified keys from the specified resource.
\"\ + },\ + \"UpdateAdapter\":{\ + \"name\":\"UpdateAdapter\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"UpdateAdapterRequest\"},\ + \"output\":{\"shape\":\"UpdateAdapterResponse\"},\ + \"errors\":[\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"ConflictException\"},\ + {\"shape\":\"ProvisionedThroughputExceededException\"},\ + {\"shape\":\"InternalServerError\"},\ + {\"shape\":\"ThrottlingException\"},\ + {\"shape\":\"ValidationException\"},\ + {\"shape\":\"ResourceNotFoundException\"}\ + ],\ + \"documentation\":\"Update the configuration for an adapter. FeatureTypes configurations cannot be updated. At least one new parameter must be specified as an argument.
\"\ }\ },\ \"shapes\":{\ @@ -360,6 +604,188 @@ - (NSString *)definitionString { \"documentation\":\"You aren't authorized to perform the action. Use the Amazon Resource Name (ARN) of an authorized user or IAM role to perform the operation.
\",\ \"exception\":true\ },\ + \"Adapter\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"AdapterId\",\ + \"Version\"\ + ],\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A unique identifier for the adapter resource.
\"\ + },\ + \"Pages\":{\ + \"shape\":\"AdapterPages\",\ + \"documentation\":\"Pages is a parameter that the user inputs to specify which pages to apply an adapter to. The following is a list of rules for using this parameter.
If a page is not specified, it is set to [\\\"1\\\"]
by default.
The following characters are allowed in the parameter's string: 0 1 2 3 4 5 6 7 8 9 - *
. No whitespace is allowed.
When using * to indicate all pages, it must be the only element in the list.
You can use page intervals, such as [\\\"1-3\\\", \\\"1-1\\\", \\\"4-*\\\"]
. Where *
indicates last page of document.
Specified pages must be greater than 0 and less than or equal to the number of pages in the document.
A string that identifies the version of the adapter.
\"\ + }\ + },\ + \"documentation\":\"An adapter selected for use when analyzing documents. Contains an adapter ID and a version number. Contains information on pages selected for analysis when analyzing documents asychronously.
\"\ + },\ + \"AdapterDescription\":{\ + \"type\":\"string\",\ + \"max\":256,\ + \"min\":1,\ + \"pattern\":\"^[a-zA-Z0-9\\\\s!\\\"\\\\#\\\\$%'&\\\\(\\\\)\\\\*\\\\+\\\\,\\\\-\\\\./:;=\\\\?@\\\\[\\\\\\\\\\\\]\\\\^_`\\\\{\\\\|\\\\}~><]+$\"\ + },\ + \"AdapterId\":{\ + \"type\":\"string\",\ + \"max\":1011,\ + \"min\":12\ + },\ + \"AdapterList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"AdapterOverview\"}\ + },\ + \"AdapterName\":{\ + \"type\":\"string\",\ + \"max\":128,\ + \"min\":1,\ + \"pattern\":\"[a-zA-Z0-9-_]+\"\ + },\ + \"AdapterOverview\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A unique identifier for the adapter resource.
\"\ + },\ + \"AdapterName\":{\ + \"shape\":\"AdapterName\",\ + \"documentation\":\"A string naming the adapter resource.
\"\ + },\ + \"CreationTime\":{\ + \"shape\":\"DateTime\",\ + \"documentation\":\"The date and time that the adapter was created.
\"\ + },\ + \"FeatureTypes\":{\ + \"shape\":\"FeatureTypes\",\ + \"documentation\":\"The feature types that the adapter is operating on.
\"\ + }\ + },\ + \"documentation\":\"Contains information on the adapter, including the adapter ID, Name, Creation time, and feature types.
\"\ + },\ + \"AdapterPage\":{\ + \"type\":\"string\",\ + \"max\":9,\ + \"min\":1,\ + \"pattern\":\"^[0-9\\\\*\\\\-]+$\"\ + },\ + \"AdapterPages\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"AdapterPage\"},\ + \"min\":1\ + },\ + \"AdapterVersion\":{\ + \"type\":\"string\",\ + \"max\":128,\ + \"min\":1\ + },\ + \"AdapterVersionDatasetConfig\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"ManifestS3Object\":{\"shape\":\"S3Object\"}\ + },\ + \"documentation\":\"The dataset configuration options for a given version of an adapter. Can include an Amazon S3 bucket if specified.
\"\ + },\ + \"AdapterVersionEvaluationMetric\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Baseline\":{\ + \"shape\":\"EvaluationMetric\",\ + \"documentation\":\"The F1 score, precision, and recall metrics for the baseline model.
\"\ + },\ + \"AdapterVersion\":{\ + \"shape\":\"EvaluationMetric\",\ + \"documentation\":\"The F1 score, precision, and recall metrics for the baseline model.
\"\ + },\ + \"FeatureType\":{\ + \"shape\":\"FeatureType\",\ + \"documentation\":\"Indicates the feature type being analyzed by a given adapter version.
\"\ + }\ + },\ + \"documentation\":\"Contains information on the metrics used to evalute the peformance of a given adapter version. Includes data for baseline model performance and individual adapter version perfromance.
\"\ + },\ + \"AdapterVersionEvaluationMetrics\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"AdapterVersionEvaluationMetric\"}\ + },\ + \"AdapterVersionList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"AdapterVersionOverview\"}\ + },\ + \"AdapterVersionOverview\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A unique identifier for the adapter associated with a given adapter version.
\"\ + },\ + \"AdapterVersion\":{\ + \"shape\":\"AdapterVersion\",\ + \"documentation\":\"An identified for a given adapter version.
\"\ + },\ + \"CreationTime\":{\ + \"shape\":\"DateTime\",\ + \"documentation\":\"The date and time that a given adapter version was created.
\"\ + },\ + \"FeatureTypes\":{\ + \"shape\":\"FeatureTypes\",\ + \"documentation\":\"The feature types that the adapter version is operating on.
\"\ + },\ + \"Status\":{\ + \"shape\":\"AdapterVersionStatus\",\ + \"documentation\":\"Contains information on the status of a given adapter version.
\"\ + },\ + \"StatusMessage\":{\ + \"shape\":\"AdapterVersionStatusMessage\",\ + \"documentation\":\"A message explaining the status of a given adapter vesion.
\"\ + }\ + },\ + \"documentation\":\"Summary info for an adapter version. Contains information on the AdapterId, AdapterVersion, CreationTime, FeatureTypes, and Status.
\"\ + },\ + \"AdapterVersionStatus\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"ACTIVE\",\ + \"AT_RISK\",\ + \"DEPRECATED\",\ + \"CREATION_ERROR\",\ + \"CREATION_IN_PROGRESS\"\ + ]\ + },\ + \"AdapterVersionStatusMessage\":{\ + \"type\":\"string\",\ + \"max\":256,\ + \"min\":1,\ + \"pattern\":\"^[a-zA-Z0-9\\\\s!\\\"\\\\#\\\\$%'&\\\\(\\\\)\\\\*\\\\+\\\\,\\\\-\\\\./:;=\\\\?@\\\\[\\\\\\\\\\\\]\\\\^_`\\\\{\\\\|\\\\}~><]+$\"\ + },\ + \"Adapters\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"Adapter\"},\ + \"max\":100,\ + \"min\":1\ + },\ + \"AdaptersConfig\":{\ + \"type\":\"structure\",\ + \"required\":[\"Adapters\"],\ + \"members\":{\ + \"Adapters\":{\ + \"shape\":\"Adapters\",\ + \"documentation\":\"A list of adapters to be used when analyzing the specified document.
\"\ + }\ + },\ + \"documentation\":\"Contains information about adapters used when analyzing a document, with each adapter specified using an AdapterId and version
\"\ + },\ + \"AmazonResourceName\":{\ + \"type\":\"string\",\ + \"max\":1011,\ + \"min\":1\ + },\ \"AnalyzeDocumentRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -373,7 +799,7 @@ - (NSString *)definitionString { },\ \"FeatureTypes\":{\ \"shape\":\"FeatureTypes\",\ - \"documentation\":\"A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the locations of detected signatures. To perform both forms and table analysis, add TABLES and FORMS to FeatureTypes
. To detect signatures within form data and table data, add SIGNATURES to either TABLES or FORMS. All lines and words detected in the document are included in the response (including text that isn't related to the value of FeatureTypes
).
A list of the types of analysis to perform. Add TABLES to the list to return information about the tables that are detected in the input document. Add FORMS to return detected form data. Add SIGNATURES to return the locations of detected signatures. Add LAYOUT to the list to return information about the layout of the document. All lines and words detected in the document are included in the response (including text that isn't related to the value of FeatureTypes
).
Contains Queries and the alias for those Queries, as determined by the input.
\"\ + },\ + \"AdaptersConfig\":{\ + \"shape\":\"AdaptersConfig\",\ + \"documentation\":\"Specifies the adapter to be used when analyzing a document.
\"\ }\ }\ },\ @@ -466,6 +896,13 @@ - (NSString *)definitionString { }\ }\ },\ + \"AutoUpdate\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"ENABLED\",\ + \"DISABLED\"\ + ]\ + },\ \"BadDocumentException\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -478,7 +915,7 @@ - (NSString *)definitionString { \"members\":{\ \"BlockType\":{\ \"shape\":\"BlockType\",\ - \"documentation\":\"The type of text item that's recognized. In operations for text detection, the following types are returned:
PAGE - Contains a list of the LINE Block
objects that are detected on a document page.
WORD - A word detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
LINE - A string of tab-delimited, contiguous words that are detected on a document page.
In text analysis operations, the following types are returned:
PAGE - Contains a list of child Block
objects that are detected on a document page.
KEY_VALUE_SET - Stores the KEY and VALUE Block
objects for linked text that's detected on a document page. Use the EntityType
field to determine if a KEY_VALUE_SET object is a KEY Block
object or a VALUE Block
object.
WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
LINE - A string of tab-delimited, contiguous words that are detected on a document page.
TABLE - A table that's detected on a document page. A table is grid-based information with two or more rows or columns, with a cell span of one row and one column each.
TABLE_TITLE - The title of a table. A title is typically a line of text above or below a table, or embedded as the first row of a table.
TABLE_FOOTER - The footer associated with a table. A footer is typically a line or lines of text below a table or embedded as the last row of a table.
CELL - A cell within a detected table. The cell is the parent of the block that contains the text in the cell.
MERGED_CELL - A cell in a table whose content spans more than one row or column. The Relationships
array for this cell contain data from individual cells.
SELECTION_ELEMENT - A selection element such as an option button (radio button) or a check box that's detected on a document page. Use the value of SelectionStatus
to determine the status of the selection element.
SIGNATURE - The location and confidene score of a signature detected on a document page. Can be returned as part of a Key-Value pair or a detected cell.
QUERY - A question asked during the call of AnalyzeDocument. Contains an alias and an ID that attaches it to its answer.
QUERY_RESULT - A response to a question asked during the call of analyze document. Comes with an alias and ID for ease of locating in a response. Also contains location and confidence score.
The type of text item that's recognized. In operations for text detection, the following types are returned:
PAGE - Contains a list of the LINE Block
objects that are detected on a document page.
WORD - A word detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
LINE - A string of tab-delimited, contiguous words that are detected on a document page.
In text analysis operations, the following types are returned:
PAGE - Contains a list of child Block
objects that are detected on a document page.
KEY_VALUE_SET - Stores the KEY and VALUE Block
objects for linked text that's detected on a document page. Use the EntityType
field to determine if a KEY_VALUE_SET object is a KEY Block
object or a VALUE Block
object.
WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
LINE - A string of tab-delimited, contiguous words that are detected on a document page.
TABLE - A table that's detected on a document page. A table is grid-based information with two or more rows or columns, with a cell span of one row and one column each.
TABLE_TITLE - The title of a table. A title is typically a line of text above or below a table, or embedded as the first row of a table.
TABLE_FOOTER - The footer associated with a table. A footer is typically a line or lines of text below a table or embedded as the last row of a table.
CELL - A cell within a detected table. The cell is the parent of the block that contains the text in the cell.
MERGED_CELL - A cell in a table whose content spans more than one row or column. The Relationships
array for this cell contain data from individual cells.
SELECTION_ELEMENT - A selection element such as an option button (radio button) or a check box that's detected on a document page. Use the value of SelectionStatus
to determine the status of the selection element.
SIGNATURE - The location and confidence score of a signature detected on a document page. Can be returned as part of a Key-Value pair or a detected cell.
QUERY - A question asked during the call of AnalyzeDocument. Contains an alias and an ID that attaches it to its answer.
QUERY_RESULT - A response to a question asked during the call of analyze document. Comes with an alias and ID for ease of locating in a response. Also contains location and confidence score.
The following BlockTypes are only returned for Amazon Textract Layout.
LAYOUT_TITLE
- The main title of the document.
LAYOUT_HEADER
- Text located in the top margin of the document.
LAYOUT_FOOTER
- Text located in the bottom margin of the document.
LAYOUT_SECTION_HEADER
- The titles of sections within a document.
LAYOUT_PAGE_NUMBER
- The page number of the documents.
LAYOUT_LIST
- Any information grouped together in list form.
LAYOUT_FIGURE
- Indicates the location of an image in a document.
LAYOUT_TABLE
- Indicates the location of a table in the document.
LAYOUT_KEY_VALUE
- Indicates the location of form key-values in a document.
LAYOUT_TEXT
- Text that is present typically as a part of paragraphs in documents.
The page on which a block was detected. Page
is returned by synchronous and asynchronous operations. Page values greater than 1 are only returned for multipage documents that are in PDF or TIFF format. A scanned image (JPEG/PNG) provided to an asynchronous operation, even if it contains multiple document pages, is considered a single-page document. This means that for scanned images the value of Page
is always 1. Synchronous operations will also return a Page
value of 1 because every input document is considered to be a single-page document.
The page on which a block was detected. Page
is returned by synchronous and asynchronous operations. Page values greater than 1 are only returned for multipage documents that are in PDF or TIFF format. A scanned image (JPEG/PNG) provided to an asynchronous operation, even if it contains multiple document pages, is considered a single-page document. This means that for scanned images the value of Page
is always 1.
Updating or deleting a resource can cause an inconsistent state.
\",\ + \"exception\":true\ + },\ \"ContentClassifier\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -602,6 +1056,132 @@ - (NSString *)definitionString { \"member\":{\"shape\":\"ContentClassifier\"},\ \"max\":256\ },\ + \"CreateAdapterRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"AdapterName\",\ + \"FeatureTypes\"\ + ],\ + \"members\":{\ + \"AdapterName\":{\ + \"shape\":\"AdapterName\",\ + \"documentation\":\"The name to be assigned to the adapter being created.
\"\ + },\ + \"ClientRequestToken\":{\ + \"shape\":\"ClientRequestToken\",\ + \"documentation\":\"Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapter requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.
\",\ + \"idempotencyToken\":true\ + },\ + \"Description\":{\ + \"shape\":\"AdapterDescription\",\ + \"documentation\":\"The description to be assigned to the adapter being created.
\"\ + },\ + \"FeatureTypes\":{\ + \"shape\":\"FeatureTypes\",\ + \"documentation\":\"The type of feature that the adapter is being trained on. Currrenly, supported feature types are: QUERIES
Controls whether or not the adapter should automatically update.
\"\ + },\ + \"Tags\":{\ + \"shape\":\"TagMap\",\ + \"documentation\":\"A list of tags to be added to the adapter.
\"\ + }\ + }\ + },\ + \"CreateAdapterResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string containing the unique ID for the adapter that has been created.
\"\ + }\ + }\ + },\ + \"CreateAdapterVersionRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"AdapterId\",\ + \"DatasetConfig\",\ + \"OutputConfig\"\ + ],\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string containing a unique ID for the adapter that will receive a new version.
\"\ + },\ + \"ClientRequestToken\":{\ + \"shape\":\"ClientRequestToken\",\ + \"documentation\":\"Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.
\",\ + \"idempotencyToken\":true\ + },\ + \"DatasetConfig\":{\ + \"shape\":\"AdapterVersionDatasetConfig\",\ + \"documentation\":\"Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.
\"\ + },\ + \"KMSKeyId\":{\ + \"shape\":\"KMSKeyId\",\ + \"documentation\":\"The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
\"\ + },\ + \"OutputConfig\":{\"shape\":\"OutputConfig\"},\ + \"Tags\":{\ + \"shape\":\"TagMap\",\ + \"documentation\":\"A set of tags (key-value pairs) that you want to attach to the adapter version.
\"\ + }\ + }\ + },\ + \"CreateAdapterVersionResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string containing the unique ID for the adapter that has received a new version.
\"\ + },\ + \"AdapterVersion\":{\ + \"shape\":\"AdapterVersion\",\ + \"documentation\":\"A string describing the new version of the adapter.
\"\ + }\ + }\ + },\ + \"DateTime\":{\"type\":\"timestamp\"},\ + \"DeleteAdapterRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"AdapterId\"],\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string containing a unique ID for the adapter to be deleted.
\"\ + }\ + }\ + },\ + \"DeleteAdapterResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + }\ + },\ + \"DeleteAdapterVersionRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"AdapterId\",\ + \"AdapterVersion\"\ + ],\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string containing a unique ID for the adapter version that will be deleted.
\"\ + },\ + \"AdapterVersion\":{\ + \"shape\":\"AdapterVersion\",\ + \"documentation\":\"Specifies the adapter version to be deleted.
\"\ + }\ + }\ + },\ + \"DeleteAdapterVersionResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + }\ + },\ \"DetectDocumentTextRequest\":{\ \"type\":\"structure\",\ \"required\":[\"Document\"],\ @@ -735,6 +1315,24 @@ - (NSString *)definitionString { \"member\":{\"shape\":\"EntityType\"}\ },\ \"ErrorCode\":{\"type\":\"string\"},\ + \"EvaluationMetric\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"F1Score\":{\ + \"shape\":\"Float\",\ + \"documentation\":\"The F1 score for an adapter version.
\"\ + },\ + \"Precision\":{\ + \"shape\":\"Float\",\ + \"documentation\":\"The Precision score for an adapter version.
\"\ + },\ + \"Recall\":{\ + \"shape\":\"Float\",\ + \"documentation\":\"The Recall score for an adapter version.
\"\ + }\ + },\ + \"documentation\":\"The evaluation metrics (F1 score, Precision, and Recall) for an adapter version.
\"\ + },\ \"ExpenseCurrency\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -878,7 +1476,8 @@ - (NSString *)definitionString { \"TABLES\",\ \"FORMS\",\ \"QUERIES\",\ - \"SIGNATURES\"\ + \"SIGNATURES\",\ + \"LAYOUT\"\ ]\ },\ \"FeatureTypes\":{\ @@ -904,6 +1503,112 @@ - (NSString *)definitionString { },\ \"documentation\":\"Information about where the following items are located on a document page: detected page, text, key-value pairs, tables, table cells, and selection elements.
\"\ },\ + \"GetAdapterRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"AdapterId\"],\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string containing a unique ID for the adapter.
\"\ + }\ + }\ + },\ + \"GetAdapterResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string identifying the adapter that information has been retrieved for.
\"\ + },\ + \"AdapterName\":{\ + \"shape\":\"AdapterName\",\ + \"documentation\":\"The name of the requested adapter.
\"\ + },\ + \"CreationTime\":{\ + \"shape\":\"DateTime\",\ + \"documentation\":\"The date and time the requested adapter was created at.
\"\ + },\ + \"Description\":{\ + \"shape\":\"AdapterDescription\",\ + \"documentation\":\"The description for the requested adapter.
\"\ + },\ + \"FeatureTypes\":{\ + \"shape\":\"FeatureTypes\",\ + \"documentation\":\"List of the targeted feature types for the requested adapter.
\"\ + },\ + \"AutoUpdate\":{\ + \"shape\":\"AutoUpdate\",\ + \"documentation\":\"Binary value indicating if the adapter is being automatically updated or not.
\"\ + },\ + \"Tags\":{\ + \"shape\":\"TagMap\",\ + \"documentation\":\"A set of tags (key-value pairs) associated with the adapter that has been retrieved.
\"\ + }\ + }\ + },\ + \"GetAdapterVersionRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"AdapterId\",\ + \"AdapterVersion\"\ + ],\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string specifying a unique ID for the adapter version you want to retrieve information for.
\"\ + },\ + \"AdapterVersion\":{\ + \"shape\":\"AdapterVersion\",\ + \"documentation\":\"A string specifying the adapter version you want to retrieve information for.
\"\ + }\ + }\ + },\ + \"GetAdapterVersionResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string containing a unique ID for the adapter version being retrieved.
\"\ + },\ + \"AdapterVersion\":{\ + \"shape\":\"AdapterVersion\",\ + \"documentation\":\"A string containing the adapter version that has been retrieved.
\"\ + },\ + \"CreationTime\":{\ + \"shape\":\"DateTime\",\ + \"documentation\":\"The time that the adapter version was created.
\"\ + },\ + \"FeatureTypes\":{\ + \"shape\":\"FeatureTypes\",\ + \"documentation\":\"List of the targeted feature types for the requested adapter version.
\"\ + },\ + \"Status\":{\ + \"shape\":\"AdapterVersionStatus\",\ + \"documentation\":\"The status of the adapter version that has been requested.
\"\ + },\ + \"StatusMessage\":{\ + \"shape\":\"AdapterVersionStatusMessage\",\ + \"documentation\":\"A message that describes the status of the requested adapter version.
\"\ + },\ + \"DatasetConfig\":{\ + \"shape\":\"AdapterVersionDatasetConfig\",\ + \"documentation\":\"Specifies a dataset used to train a new adapter version. Takes a ManifestS3Objec as the value.
\"\ + },\ + \"KMSKeyId\":{\ + \"shape\":\"KMSKeyId\",\ + \"documentation\":\"The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.
\"\ + },\ + \"OutputConfig\":{\"shape\":\"OutputConfig\"},\ + \"EvaluationMetrics\":{\ + \"shape\":\"AdapterVersionEvaluationMetrics\",\ + \"documentation\":\"The evaluation metrics (F1 score, Precision, and Recall) for the requested version, grouped by baseline metrics and adapter version.
\"\ + },\ + \"Tags\":{\ + \"shape\":\"TagMap\",\ + \"documentation\":\"A set of tags (key-value pairs) that are associated with the adapter version.
\"\ + }\ + }\ + },\ \"GetDocumentAnalysisRequest\":{\ \"type\":\"structure\",\ \"required\":[\"JobId\"],\ @@ -1475,6 +2180,97 @@ - (NSString *)definitionString { \"type\":\"list\",\ \"member\":{\"shape\":\"LineItemFields\"}\ },\ + \"ListAdapterVersionsRequest\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string containing a unique ID for the adapter to match for when listing adapter versions.
\"\ + },\ + \"AfterCreationTime\":{\ + \"shape\":\"DateTime\",\ + \"documentation\":\"Specifies the lower bound for the ListAdapterVersions operation. Ensures ListAdapterVersions returns only adapter versions created after the specified creation time.
\"\ + },\ + \"BeforeCreationTime\":{\ + \"shape\":\"DateTime\",\ + \"documentation\":\"Specifies the upper bound for the ListAdapterVersions operation. Ensures ListAdapterVersions returns only adapter versions created after the specified creation time.
\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"MaxResults\",\ + \"documentation\":\"The maximum number of results to return when listing adapter versions.
\"\ + },\ + \"NextToken\":{\ + \"shape\":\"PaginationToken\",\ + \"documentation\":\"Identifies the next page of results to return when listing adapter versions.
\"\ + }\ + }\ + },\ + \"ListAdapterVersionsResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"AdapterVersions\":{\ + \"shape\":\"AdapterVersionList\",\ + \"documentation\":\"Adapter versions that match the filtering criteria specified when calling ListAdapters.
\"\ + },\ + \"NextToken\":{\ + \"shape\":\"PaginationToken\",\ + \"documentation\":\"Identifies the next page of results to return when listing adapter versions.
\"\ + }\ + }\ + },\ + \"ListAdaptersRequest\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"AfterCreationTime\":{\ + \"shape\":\"DateTime\",\ + \"documentation\":\"Specifies the lower bound for the ListAdapters operation. Ensures ListAdapters returns only adapters created after the specified creation time.
\"\ + },\ + \"BeforeCreationTime\":{\ + \"shape\":\"DateTime\",\ + \"documentation\":\"Specifies the upper bound for the ListAdapters operation. Ensures ListAdapters returns only adapters created before the specified creation time.
\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"MaxResults\",\ + \"documentation\":\"The maximum number of results to return when listing adapters.
\"\ + },\ + \"NextToken\":{\ + \"shape\":\"PaginationToken\",\ + \"documentation\":\"Identifies the next page of results to return when listing adapters.
\"\ + }\ + }\ + },\ + \"ListAdaptersResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Adapters\":{\ + \"shape\":\"AdapterList\",\ + \"documentation\":\"A list of adapters that matches the filtering criteria specified when calling ListAdapters.
\"\ + },\ + \"NextToken\":{\ + \"shape\":\"PaginationToken\",\ + \"documentation\":\"Identifies the next page of results to return when listing adapters.
\"\ + }\ + }\ + },\ + \"ListTagsForResourceRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"ResourceARN\"],\ + \"members\":{\ + \"ResourceARN\":{\ + \"shape\":\"AmazonResourceName\",\ + \"documentation\":\"The Amazon Resource Name (ARN) that specifies the resource to list tags for.
\"\ + }\ + }\ + },\ + \"ListTagsForResourceResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Tags\":{\ + \"shape\":\"TagMap\",\ + \"documentation\":\"A set of tags (key-value pairs) that are part of the requested resource.
\"\ + }\ + }\ + },\ \"MaxResults\":{\ \"type\":\"integer\",\ \"min\":1\ @@ -1558,7 +2354,7 @@ - (NSString *)definitionString { },\ \"PaginationToken\":{\ \"type\":\"string\",\ - \"max\":255,\ + \"max\":1024,\ \"min\":1,\ \"pattern\":\".*\\\\S.*\"\ },\ @@ -1694,6 +2490,13 @@ - (NSString *)definitionString { \"TABLE_FOOTER\"\ ]\ },\ + \"ResourceNotFoundException\":{\ + \"type\":\"structure\",\ + \"members\":{\ + },\ + \"documentation\":\"Returned when an operation tried to access a nonexistent resource.
\",\ + \"exception\":true\ + },\ \"RoleArn\":{\ \"type\":\"string\",\ \"max\":2048,\ @@ -1749,6 +2552,13 @@ - (NSString *)definitionString { \"NOT_SELECTED\"\ ]\ },\ + \"ServiceQuotaExceededException\":{\ + \"type\":\"structure\",\ + \"members\":{\ + },\ + \"documentation\":\"Returned when a request cannot be completed as it would exceed a maximum service quota.
\",\ + \"exception\":true\ + },\ \"SignatureDetection\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -1817,7 +2627,11 @@ - (NSString *)definitionString { \"shape\":\"KMSKeyId\",\ \"documentation\":\"The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.
\"\ },\ - \"QueriesConfig\":{\"shape\":\"QueriesConfig\"}\ + \"QueriesConfig\":{\"shape\":\"QueriesConfig\"},\ + \"AdaptersConfig\":{\ + \"shape\":\"AdaptersConfig\",\ + \"documentation\":\"Specifies the adapter to be used when analyzing a document.
\"\ + }\ }\ },\ \"StartDocumentAnalysisResponse\":{\ @@ -1943,6 +2757,53 @@ - (NSString *)definitionString { \"type\":\"list\",\ \"member\":{\"shape\":\"String\"}\ },\ + \"TagKey\":{\ + \"type\":\"string\",\ + \"max\":128,\ + \"min\":1,\ + \"pattern\":\"^(?!aws:)[\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*$\"\ + },\ + \"TagKeyList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"TagKey\"},\ + \"max\":200,\ + \"min\":0\ + },\ + \"TagMap\":{\ + \"type\":\"map\",\ + \"key\":{\"shape\":\"TagKey\"},\ + \"value\":{\"shape\":\"TagValue\"},\ + \"max\":200,\ + \"min\":0\ + },\ + \"TagResourceRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"ResourceARN\",\ + \"Tags\"\ + ],\ + \"members\":{\ + \"ResourceARN\":{\ + \"shape\":\"AmazonResourceName\",\ + \"documentation\":\"The Amazon Resource Name (ARN) that specifies the resource to be tagged.
\"\ + },\ + \"Tags\":{\ + \"shape\":\"TagMap\",\ + \"documentation\":\"A set of tags (key-value pairs) that you want to assign to the resource.
\"\ + }\ + }\ + },\ + \"TagResourceResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + }\ + },\ + \"TagValue\":{\ + \"type\":\"string\",\ + \"max\":256,\ + \"min\":0,\ + \"pattern\":\"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-@]*)$\"\ + },\ \"TextType\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -1987,6 +2848,86 @@ - (NSString *)definitionString { \"documentation\":\"The format of the input document isn't supported. Documents for operations can be in PNG, JPEG, PDF, or TIFF format.
\",\ \"exception\":true\ },\ + \"UntagResourceRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"ResourceARN\",\ + \"TagKeys\"\ + ],\ + \"members\":{\ + \"ResourceARN\":{\ + \"shape\":\"AmazonResourceName\",\ + \"documentation\":\"The Amazon Resource Name (ARN) that specifies the resource to be untagged.
\"\ + },\ + \"TagKeys\":{\ + \"shape\":\"TagKeyList\",\ + \"documentation\":\"Specifies the tags to be removed from the resource specified by the ResourceARN.
\"\ + }\ + }\ + },\ + \"UntagResourceResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + }\ + },\ + \"UpdateAdapterRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"AdapterId\"],\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string containing a unique ID for the adapter that will be updated.
\"\ + },\ + \"Description\":{\ + \"shape\":\"AdapterDescription\",\ + \"documentation\":\"The new description to be applied to the adapter.
\"\ + },\ + \"AdapterName\":{\ + \"shape\":\"AdapterName\",\ + \"documentation\":\"The new name to be applied to the adapter.
\"\ + },\ + \"AutoUpdate\":{\ + \"shape\":\"AutoUpdate\",\ + \"documentation\":\"The new auto-update status to be applied to the adapter.
\"\ + }\ + }\ + },\ + \"UpdateAdapterResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"AdapterId\":{\ + \"shape\":\"AdapterId\",\ + \"documentation\":\"A string containing a unique ID for the adapter that has been updated.
\"\ + },\ + \"AdapterName\":{\ + \"shape\":\"AdapterName\",\ + \"documentation\":\"A string containing the name of the adapter that has been updated.
\"\ + },\ + \"CreationTime\":{\ + \"shape\":\"DateTime\",\ + \"documentation\":\"An object specifying the creation time of the the adapter that has been updated.
\"\ + },\ + \"Description\":{\ + \"shape\":\"AdapterDescription\",\ + \"documentation\":\"A string containing the description of the adapter that has been updated.
\"\ + },\ + \"FeatureTypes\":{\ + \"shape\":\"FeatureTypes\",\ + \"documentation\":\"List of the targeted feature types for the updated adapter.
\"\ + },\ + \"AutoUpdate\":{\ + \"shape\":\"AutoUpdate\",\ + \"documentation\":\"The auto-update status of the adapter that has been updated.
\"\ + }\ + }\ + },\ + \"ValidationException\":{\ + \"type\":\"structure\",\ + \"members\":{\ + },\ + \"documentation\":\"Indicates that a request was not valid. Check request for proper formatting.
\",\ + \"exception\":true\ + },\ \"ValueType\":{\ \"type\":\"string\",\ \"enum\":[\"DATE\"]\ diff --git a/AWSTextract/AWSTextractService.h b/AWSTextract/AWSTextractService.h index 29a022c8523..a023979ac79 100644 --- a/AWSTextract/AWSTextractService.h +++ b/AWSTextract/AWSTextractService.h @@ -249,6 +249,106 @@ FOUNDATION_EXPORT NSString *const AWSTextractSDKVersion; */ - (void)analyzeID:(AWSTextractAnalyzeIDRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractAnalyzeIDResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Creates an adapter, which can be fine-tuned for enhanced performance on user provided documents. Takes an AdapterName and FeatureType. Currently the only supported feature type is QUERIES
. You can also provide a Description, Tags, and a ClientRequestToken. You can choose whether or not the adapter should be AutoUpdated with the AutoUpdate argument. By default, AutoUpdate is set to DISABLED.
Creates an adapter, which can be fine-tuned for enhanced performance on user provided documents. Takes an AdapterName and FeatureType. Currently the only supported feature type is QUERIES
. You can also provide a Description, Tags, and a ClientRequestToken. You can choose whether or not the adapter should be AutoUpdated with the AutoUpdate argument. By default, AutoUpdate is set to DISABLED.
Creates a new version of an adapter. Operates on a provided AdapterId and a specified dataset provided via the DatasetConfig argument. Requires that you specify an Amazon S3 bucket with the OutputConfig argument. You can provide an optional KMSKeyId, an optional ClientRequestToken, and optional tags.
+ + @param request A container for the necessary parameters to execute the CreateAdapterVersion service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSTextractCreateAdapterVersionResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorInvalidS3Object`, `AWSTextractErrorInvalidKMSKey`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorIdempotentParameterMismatch`, `AWSTextractErrorThrottling`, `AWSTextractErrorLimitExceeded`, `AWSTextractErrorValidation`, `AWSTextractErrorServiceQuotaExceeded`, `AWSTextractErrorResourceNotFound`, `AWSTextractErrorConflict`. + + @see AWSTextractCreateAdapterVersionRequest + @see AWSTextractCreateAdapterVersionResponse + */ +- (AWSTaskCreates a new version of an adapter. Operates on a provided AdapterId and a specified dataset provided via the DatasetConfig argument. Requires that you specify an Amazon S3 bucket with the OutputConfig argument. You can provide an optional KMSKeyId, an optional ClientRequestToken, and optional tags.
+ + @param request A container for the necessary parameters to execute the CreateAdapterVersion 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. On failed execution, `error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorInvalidS3Object`, `AWSTextractErrorInvalidKMSKey`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorIdempotentParameterMismatch`, `AWSTextractErrorThrottling`, `AWSTextractErrorLimitExceeded`, `AWSTextractErrorValidation`, `AWSTextractErrorServiceQuotaExceeded`, `AWSTextractErrorResourceNotFound`, `AWSTextractErrorConflict`. + + @see AWSTextractCreateAdapterVersionRequest + @see AWSTextractCreateAdapterVersionResponse + */ +- (void)createAdapterVersion:(AWSTextractCreateAdapterVersionRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractCreateAdapterVersionResponse * _Nullable response, NSError * _Nullable error))completionHandler; + +/** +Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the adapter specified by the ID.
+ + @param request A container for the necessary parameters to execute the DeleteAdapter service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSTextractDeleteAdapterResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorConflict`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractDeleteAdapterRequest + @see AWSTextractDeleteAdapterResponse + */ +- (AWSTaskDeletes an Amazon Textract adapter. Takes an AdapterId and deletes the adapter specified by the ID.
+ + @param request A container for the necessary parameters to execute the DeleteAdapter 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. On failed execution, `error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorConflict`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractDeleteAdapterRequest + @see AWSTextractDeleteAdapterResponse + */ +- (void)deleteAdapter:(AWSTextractDeleteAdapterRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractDeleteAdapterResponse * _Nullable response, NSError * _Nullable error))completionHandler; + +/** +Deletes an Amazon Textract adapter version. Requires that you specify both an AdapterId and a AdapterVersion. Deletes the adapter version specified by the AdapterId and the AdapterVersion.
+ + @param request A container for the necessary parameters to execute the DeleteAdapterVersion service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSTextractDeleteAdapterVersionResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorConflict`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractDeleteAdapterVersionRequest + @see AWSTextractDeleteAdapterVersionResponse + */ +- (AWSTaskDeletes an Amazon Textract adapter version. Requires that you specify both an AdapterId and a AdapterVersion. Deletes the adapter version specified by the AdapterId and the AdapterVersion.
+ + @param request A container for the necessary parameters to execute the DeleteAdapterVersion 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. On failed execution, `error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorConflict`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractDeleteAdapterVersionRequest + @see AWSTextractDeleteAdapterVersionResponse + */ +- (void)deleteAdapterVersion:(AWSTextractDeleteAdapterVersionRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractDeleteAdapterVersionResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**Detects text in the input document. Amazon Textract can detect lines of text and the words that make up a line of text. The input document must be in one of the following image formats: JPEG, PNG, PDF, or TIFF. DetectDocumentText
returns the detected text in an array of Block objects.
Each document page has as an associated Block
of type PAGE. Each PAGE Block
object is the parent of LINE Block
objects that represent the lines of detected text on a page. A LINE Block
object is a parent for each word that makes up the line. Words are represented by Block
objects of type WORD.
DetectDocumentText
is a synchronous operation. To analyze documents asynchronously, use StartDocumentTextDetection.
For more information, see Document Text Detection.
@@ -274,6 +374,56 @@ FOUNDATION_EXPORT NSString *const AWSTextractSDKVersion; */ - (void)detectDocumentText:(AWSTextractDetectDocumentTextRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractDetectDocumentTextResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Gets configuration information for an adapter specified by an AdapterId, returning information on AdapterName, Description, CreationTime, AutoUpdate status, and FeatureTypes.
+ + @param request A container for the necessary parameters to execute the GetAdapter service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSTextractGetAdapterResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractGetAdapterRequest + @see AWSTextractGetAdapterResponse + */ +- (AWSTaskGets configuration information for an adapter specified by an AdapterId, returning information on AdapterName, Description, CreationTime, AutoUpdate status, and FeatureTypes.
+ + @param request A container for the necessary parameters to execute the GetAdapter 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. On failed execution, `error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractGetAdapterRequest + @see AWSTextractGetAdapterResponse + */ +- (void)getAdapter:(AWSTextractGetAdapterRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractGetAdapterResponse * _Nullable response, NSError * _Nullable error))completionHandler; + +/** +Gets configuration information for the specified adapter version, including: AdapterId, AdapterVersion, FeatureTypes, Status, StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and EvaluationMetrics.
+ + @param request A container for the necessary parameters to execute the GetAdapterVersion service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSTextractGetAdapterVersionResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractGetAdapterVersionRequest + @see AWSTextractGetAdapterVersionResponse + */ +- (AWSTaskGets configuration information for the specified adapter version, including: AdapterId, AdapterVersion, FeatureTypes, Status, StatusMessage, DatasetConfig, KMSKeyId, OutputConfig, Tags and EvaluationMetrics.
+ + @param request A container for the necessary parameters to execute the GetAdapterVersion 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. On failed execution, `error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractGetAdapterVersionRequest + @see AWSTextractGetAdapterVersionResponse + */ +- (void)getAdapterVersion:(AWSTextractGetAdapterVersionRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractGetAdapterVersionResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document.
You start asynchronous text analysis by calling StartDocumentAnalysis, which returns a job identifier (JobId
). When the text analysis operation finishes, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to StartDocumentAnalysis
. To get the results of the text-detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED
. If so, call GetDocumentAnalysis
, and pass the job identifier (JobId
) from the initial call to StartDocumentAnalysis
.
GetDocumentAnalysis
returns an array of Block objects. The following types of information are returned:
Form data (key-value pairs). The related information is returned in two Block objects, each of type KEY_VALUE_SET
: a KEY Block
object and a VALUE Block
object. For example, Name: Ana Silva Carolina contains a key and value. Name: is the key. Ana Silva Carolina is the value.
Table and table cell data. A TABLE Block
object contains information about a detected table. A CELL Block
object is returned for each cell in a table.
Lines and words of text. A LINE Block
object contains one or more WORD Block
objects. All lines and words that are detected in the document are returned (including text that doesn't have a relationship with the value of the StartDocumentAnalysis
FeatureTypes
input parameter).
Query. A QUERY Block object contains the query text, alias and link to the associated Query results block object.
Query Results. A QUERY_RESULT Block object contains the answer to the query and an ID that connects it to the query asked. This Block also contains a confidence score.
While processing a document with queries, look out for INVALID_REQUEST_PARAMETERS
output. This indicates that either the per page query limit has been exceeded or that the operation is trying to query a page in the document which doesn’t exist.
Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables. A SELECTION_ELEMENT Block
object contains information about a selection element, including the selection status.
Use the MaxResults
parameter to limit the number of blocks that are returned. If there are more results than specified in MaxResults
, the value of NextToken
in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetDocumentAnalysis
, and populate the NextToken
request parameter with the token value that's returned from the previous call to GetDocumentAnalysis
.
For more information, see Document Text Analysis.
@@ -399,6 +549,81 @@ FOUNDATION_EXPORT NSString *const AWSTextractSDKVersion; */ - (void)getLendingAnalysisSummary:(AWSTextractGetLendingAnalysisSummaryRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractGetLendingAnalysisSummaryResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +List all version of an adapter that meet the specified filtration criteria.
+ + @param request A container for the necessary parameters to execute the ListAdapterVersions service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSTextractListAdapterVersionsResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractListAdapterVersionsRequest + @see AWSTextractListAdapterVersionsResponse + */ +- (AWSTaskList all version of an adapter that meet the specified filtration criteria.
+ + @param request A container for the necessary parameters to execute the ListAdapterVersions 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. On failed execution, `error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractListAdapterVersionsRequest + @see AWSTextractListAdapterVersionsResponse + */ +- (void)listAdapterVersions:(AWSTextractListAdapterVersionsRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractListAdapterVersionsResponse * _Nullable response, NSError * _Nullable error))completionHandler; + +/** +Lists all adapters that match the specified filtration criteria.
+ + @param request A container for the necessary parameters to execute the ListAdapters service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSTextractListAdaptersResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`. + + @see AWSTextractListAdaptersRequest + @see AWSTextractListAdaptersResponse + */ +- (AWSTaskLists all adapters that match the specified filtration criteria.
+ + @param request A container for the necessary parameters to execute the ListAdapters 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. On failed execution, `error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`. + + @see AWSTextractListAdaptersRequest + @see AWSTextractListAdaptersResponse + */ +- (void)listAdapters:(AWSTextractListAdaptersRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractListAdaptersResponse * _Nullable response, NSError * _Nullable error))completionHandler; + +/** +Lists all tags for an Amazon Textract resource.
+ + @param request A container for the necessary parameters to execute the ListTagsForResource service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSTextractListTagsForResourceResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorResourceNotFound`, `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`. + + @see AWSTextractListTagsForResourceRequest + @see AWSTextractListTagsForResourceResponse + */ +- (AWSTaskLists all tags for an Amazon Textract resource.
+ + @param request A container for the necessary parameters to execute the ListTagsForResource 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. On failed execution, `error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorResourceNotFound`, `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`. + + @see AWSTextractListTagsForResourceRequest + @see AWSTextractListTagsForResourceResponse + */ +- (void)listTagsForResource:(AWSTextractListTagsForResourceRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractListTagsForResourceResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**Starts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements.
StartDocumentAnalysis
can analyze text in documents that are in JPEG, PNG, TIFF, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document.
StartDocumentAnalysis
returns a job identifier (JobId
) that you use to get the results of the operation. When text analysis is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel
. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED
. If so, call GetDocumentAnalysis, and pass the job identifier (JobId
) from the initial call to StartDocumentAnalysis
.
For more information, see Document Text Analysis.
@@ -499,6 +724,81 @@ FOUNDATION_EXPORT NSString *const AWSTextractSDKVersion; */ - (void)startLendingAnalysis:(AWSTextractStartLendingAnalysisRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractStartLendingAnalysisResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Adds one or more tags to the specified resource.
+ + @param request A container for the necessary parameters to execute the TagResource service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSTextractTagResourceResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorResourceNotFound`, `AWSTextractErrorInvalidParameter`, `AWSTextractErrorServiceQuotaExceeded`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`. + + @see AWSTextractTagResourceRequest + @see AWSTextractTagResourceResponse + */ +- (AWSTaskAdds one or more tags to the specified resource.
+ + @param request A container for the necessary parameters to execute the TagResource 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. On failed execution, `error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorResourceNotFound`, `AWSTextractErrorInvalidParameter`, `AWSTextractErrorServiceQuotaExceeded`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`. + + @see AWSTextractTagResourceRequest + @see AWSTextractTagResourceResponse + */ +- (void)tagResource:(AWSTextractTagResourceRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractTagResourceResponse * _Nullable response, NSError * _Nullable error))completionHandler; + +/** +Removes any tags with the specified keys from the specified resource.
+ + @param request A container for the necessary parameters to execute the UntagResource service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSTextractUntagResourceResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorResourceNotFound`, `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`. + + @see AWSTextractUntagResourceRequest + @see AWSTextractUntagResourceResponse + */ +- (AWSTaskRemoves any tags with the specified keys from the specified resource.
+ + @param request A container for the necessary parameters to execute the UntagResource 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. On failed execution, `error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorResourceNotFound`, `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`. + + @see AWSTextractUntagResourceRequest + @see AWSTextractUntagResourceResponse + */ +- (void)untagResource:(AWSTextractUntagResourceRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractUntagResourceResponse * _Nullable response, NSError * _Nullable error))completionHandler; + +/** +Update the configuration for an adapter. FeatureTypes configurations cannot be updated. At least one new parameter must be specified as an argument.
+ + @param request A container for the necessary parameters to execute the UpdateAdapter service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSTextractUpdateAdapterResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorConflict`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractUpdateAdapterRequest + @see AWSTextractUpdateAdapterResponse + */ +- (AWSTaskUpdate the configuration for an adapter. FeatureTypes configurations cannot be updated. At least one new parameter must be specified as an argument.
+ + @param request A container for the necessary parameters to execute the UpdateAdapter 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. On failed execution, `error` may contain an `NSError` with `AWSTextractErrorDomain` domain and the following error code: `AWSTextractErrorInvalidParameter`, `AWSTextractErrorAccessDenied`, `AWSTextractErrorConflict`, `AWSTextractErrorProvisionedThroughputExceeded`, `AWSTextractErrorInternalServer`, `AWSTextractErrorThrottling`, `AWSTextractErrorValidation`, `AWSTextractErrorResourceNotFound`. + + @see AWSTextractUpdateAdapterRequest + @see AWSTextractUpdateAdapterResponse + */ +- (void)updateAdapter:(AWSTextractUpdateAdapterRequest *)request completionHandler:(void (^ _Nullable)(AWSTextractUpdateAdapterResponse * _Nullable response, NSError * _Nullable error))completionHandler; + @end NS_ASSUME_NONNULL_END diff --git a/AWSTextract/AWSTextractService.m b/AWSTextract/AWSTextractService.m index d7f4fb9e0f0..cecd4bca427 100644 --- a/AWSTextract/AWSTextractService.m +++ b/AWSTextract/AWSTextractService.m @@ -41,6 +41,7 @@ + (void)initialize { errorCodeDictionary = @{ @"AccessDeniedException" : @(AWSTextractErrorAccessDenied), @"BadDocumentException" : @(AWSTextractErrorBadDocument), + @"ConflictException" : @(AWSTextractErrorConflict), @"DocumentTooLargeException" : @(AWSTextractErrorDocumentTooLarge), @"HumanLoopQuotaExceededException" : @(AWSTextractErrorHumanLoopQuotaExceeded), @"IdempotentParameterMismatchException" : @(AWSTextractErrorIdempotentParameterMismatch), @@ -51,8 +52,11 @@ + (void)initialize { @"InvalidS3ObjectException" : @(AWSTextractErrorInvalidS3Object), @"LimitExceededException" : @(AWSTextractErrorLimitExceeded), @"ProvisionedThroughputExceededException" : @(AWSTextractErrorProvisionedThroughputExceeded), + @"ResourceNotFoundException" : @(AWSTextractErrorResourceNotFound), + @"ServiceQuotaExceededException" : @(AWSTextractErrorServiceQuotaExceeded), @"ThrottlingException" : @(AWSTextractErrorThrottling), @"UnsupportedDocumentException" : @(AWSTextractErrorUnsupportedDocument), + @"ValidationException" : @(AWSTextractErrorValidation), }; } @@ -356,6 +360,98 @@ - (void)analyzeID:(AWSTextractAnalyzeIDRequest *)request }]; } +- (AWSTaskEnables GeospatialQueries
for a tracker that uses a Amazon Web Services KMS customer managed key.
This parameter is only used if you are using a KMS customer managed key.
If you wish to encrypt your data using your own KMS customer managed key, then the Bounding Polygon Queries feature will be disabled by default. This is because by using this feature, a representation of your device positions will not be encrypted using the your KMS managed key. The exact device position, however; is still encrypted using your managed key.
You can choose to opt-in to the Bounding Polygon Quseries feature. This is done by setting the KmsKeyEnableGeospatialQueries
parameter to true when creating or updating a Tracker.
A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.
*/ @@ -1579,6 +1585,11 @@ typedef NS_ENUM(NSInteger, AWSLocationVehicleWeightUnit) { */ @property (nonatomic, strong) NSString * _Nullable detail; +/** +The number of geofences in the geofence collection.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable geofenceCount; + /**A key identifier for an Amazon Web Services KMS customer managed key assigned to the Amazon Location resource
*/ @@ -1899,6 +1910,11 @@ typedef NS_ENUM(NSInteger, AWSLocationVehicleWeightUnit) { */ @property (nonatomic, strong) NSNumber * _Nullable eventBridgeEnabled; +/** +Enables GeospatialQueries
for a tracker that uses a Amazon Web Services KMS customer managed key.
This parameter is only used if you are using a KMS customer managed key.
If you wish to encrypt your data using your own KMS customer managed key, then the Bounding Polygon Queries feature will be disabled by default. This is because by using this feature, a representation of your device positions will not be encrypted using the your KMS managed key. The exact device position, however; is still encrypted using your managed key.
You can choose to opt-in to the Bounding Polygon Quseries feature. This is done by setting the KmsKeyEnableGeospatialQueries
parameter to true when creating or updating a Tracker.
A key identifier for an Amazon Web Services KMS customer managed key assigned to the Amazon Location resource.
*/ @@ -2233,7 +2249,7 @@ typedef NS_ENUM(NSInteger, AWSLocationVehicleWeightUnit) { /** -A comma-separated list of fonts to load glyphs from in order of preference. For example, Noto Sans Regular, Arial Unicode
.
Valid fonts stacks for Esri styles:
VectorEsriDarkGrayCanvas – Ubuntu Medium Italic
| Ubuntu Medium
| Ubuntu Italic
| Ubuntu Regular
| Ubuntu Bold
VectorEsriLightGrayCanvas – Ubuntu Italic
| Ubuntu Regular
| Ubuntu Light
| Ubuntu Bold
VectorEsriTopographic – Noto Sans Italic
| Noto Sans Regular
| Noto Sans Bold
| Noto Serif Regular
| Roboto Condensed Light Italic
VectorEsriStreets – Arial Regular
| Arial Italic
| Arial Bold
VectorEsriNavigation – Arial Regular
| Arial Italic
| Arial Bold
Valid font stacks for HERE Technologies styles:
VectorHereContrast – Fira GO Regular
| Fira GO Bold
VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – Fira GO Italic
| Fira GO Map
| Fira GO Map Bold
| Noto Sans CJK JP Bold
| Noto Sans CJK JP Light
| Noto Sans CJK JP Regular
Valid font stacks for GrabMaps styles:
VectorGrabStandardLight, VectorGrabStandardDark – Noto Sans Regular
| Noto Sans Medium
| Noto Sans Bold
Valid font stacks for Open Data styles:
VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, VectorOpenDataVisualizationDark – Amazon Ember Regular,Noto Sans Regular
| Amazon Ember Bold,Noto Sans Bold
| Amazon Ember Medium,Noto Sans Medium
| Amazon Ember Regular Italic,Noto Sans Italic
| Amazon Ember Condensed RC Regular,Noto Sans Regular
| Amazon Ember Condensed RC Bold,Noto Sans Bold
| Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular
| Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold
| Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold
| Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular
| Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular
| Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium
The fonts used by the Open Data map styles are combined fonts that use Amazon Ember
for most glyphs but Noto Sans
for glyphs unsupported by Amazon Ember
.
A comma-separated list of fonts to load glyphs from in order of preference. For example, Noto Sans Regular, Arial Unicode
.
Valid font stacks for Esri styles:
VectorEsriDarkGrayCanvas – Ubuntu Medium Italic
| Ubuntu Medium
| Ubuntu Italic
| Ubuntu Regular
| Ubuntu Bold
VectorEsriLightGrayCanvas – Ubuntu Italic
| Ubuntu Regular
| Ubuntu Light
| Ubuntu Bold
VectorEsriTopographic – Noto Sans Italic
| Noto Sans Regular
| Noto Sans Bold
| Noto Serif Regular
| Roboto Condensed Light Italic
VectorEsriStreets – Arial Regular
| Arial Italic
| Arial Bold
VectorEsriNavigation – Arial Regular
| Arial Italic
| Arial Bold
Valid font stacks for HERE Technologies styles:
VectorHereContrast – Fira GO Regular
| Fira GO Bold
VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – Fira GO Italic
| Fira GO Map
| Fira GO Map Bold
| Noto Sans CJK JP Bold
| Noto Sans CJK JP Light
| Noto Sans CJK JP Regular
Valid font stacks for GrabMaps styles:
VectorGrabStandardLight, VectorGrabStandardDark – Noto Sans Regular
| Noto Sans Medium
| Noto Sans Bold
Valid font stacks for Open Data styles:
VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, VectorOpenDataVisualizationDark – Amazon Ember Regular,Noto Sans Regular
| Amazon Ember Bold,Noto Sans Bold
| Amazon Ember Medium,Noto Sans Medium
| Amazon Ember Regular Italic,Noto Sans Italic
| Amazon Ember Condensed RC Regular,Noto Sans Regular
| Amazon Ember Condensed RC Bold,Noto Sans Bold
| Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular
| Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold
| Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold
| Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular
| Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular
| Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium
The fonts used by the Open Data map styles are combined fonts that use Amazon Ember
for most glyphs but Noto Sans
for glyphs unsupported by Amazon Ember
.
The geomerty used to filter device positions.
+ */ +@property (nonatomic, strong) AWSLocationTrackingFilterGeometry * _Nullable filterGeometry; + /**An optional limit for the number of entries returned in a single call.
Default value: 100
Contains details about each device's last known position. These details includes the device ID, the time when the position was sampled on the device, the time that the service received the update, and the most recent coordinates.
+Contains details about each device's last known position.
*/ @property (nonatomic, strong) NSArrayThe geomerty used to filter device positions.
+ */ +@interface AWSLocationTrackingFilterGeometry : AWSModel + + +/** +The set of arrays which define the polygon. A polygon can have between 4 and 1000 vertices.
+ */ +@property (nonatomic, strong) NSArrayContains details about the truck dimensions in the unit of measurement that you specify. Used to filter out roads that can't support or allow the specified dimensions for requests that specify TravelMode
as Truck
.
Enables GeospatialQueries
for a tracker that uses a Amazon Web Services KMS customer managed key.
This parameter is only used if you are using a KMS customer managed key.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable kmsKeyEnableGeospatialQueries; + /**Updates the position filtering for the tracker resource.
Valid values:
TimeBased
- Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.
DistanceBased
- If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this distance are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
AccuracyBased
- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This helps educe the effects of GPS noise when displaying device trajectories on a map, and can help control costs by reducing the number of geofence evaluations.
Creates an association between a geofence collection and a tracker resource. This allows the tracker resource to communicate location data to the linked geofence collection.
You can associate up to five geofence collections to each tracker resource.
Currently not supported â Cross-account configurations, such as creating associations between a tracker resource in one account and a geofence collection in another account.
Creates a geofence collection, which manages and stores geofences.
\",\ - \"endpoint\":{\"hostPrefix\":\"geofencing.\"},\ + \"endpoint\":{\"hostPrefix\":\"cp.geofencing.\"},\ \"idempotent\":true\ },\ \"CreateKey\":{\ @@ -282,7 +282,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location resources to the API key bearer.
For more information, see Using API keys.
Creates a map resource in your Amazon Web Services account, which provides map tiles of different styles sourced from global location data providers.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
Creates a place index resource in your Amazon Web Services account. Use a place index resource to geocode addresses and other text queries by using the SearchPlaceIndexForText
operation, and reverse geocode coordinates by using the SearchPlaceIndexForPosition
operation, and enable autosuggestions by using the SearchPlaceIndexForSuggestions
operation.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
Creates a route calculator resource in your Amazon Web Services account.
You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider.
If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the Amazon Web Services service terms for more details.
Creates a tracker resource in your Amazon Web Services account, which lets you retrieve current and historical location of devices.
\",\ - \"endpoint\":{\"hostPrefix\":\"tracking.\"},\ + \"endpoint\":{\"hostPrefix\":\"cp.tracking.\"},\ \"idempotent\":true\ },\ \"DeleteGeofenceCollection\":{\ @@ -386,7 +386,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Deletes a geofence collection from your Amazon Web Services account.
This operation deletes the resource permanently. If the geofence collection is the target of a tracker resource, the devices will no longer be monitored.
Deletes the specified API key. The API key must have been deactivated more than 90 days previously.
\",\ - \"endpoint\":{\"hostPrefix\":\"metadata.\"},\ + \"endpoint\":{\"hostPrefix\":\"cp.metadata.\"},\ \"idempotent\":true\ },\ \"DeleteMap\":{\ @@ -426,7 +426,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Deletes a map resource from your Amazon Web Services account.
This operation deletes the resource permanently. If the map is being used in an application, the map may not render.
Deletes a place index resource from your Amazon Web Services account.
This operation deletes the resource permanently.
Deletes a route calculator resource from your Amazon Web Services account.
This operation deletes the resource permanently.
Deletes a tracker resource from your Amazon Web Services account.
This operation deletes the resource permanently. If the tracker resource is in use, you may encounter an error. Make sure that the target resource isn't a dependency for your applications.
Retrieves the geofence collection details.
\",\ - \"endpoint\":{\"hostPrefix\":\"geofencing.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.geofencing.\"}\ },\ \"DescribeKey\":{\ \"name\":\"DescribeKey\",\ @@ -525,7 +525,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Retrieves the API key resource details.
\",\ - \"endpoint\":{\"hostPrefix\":\"metadata.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.metadata.\"}\ },\ \"DescribeMap\":{\ \"name\":\"DescribeMap\",\ @@ -544,7 +544,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Retrieves the map resource details.
\",\ - \"endpoint\":{\"hostPrefix\":\"maps.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.maps.\"}\ },\ \"DescribePlaceIndex\":{\ \"name\":\"DescribePlaceIndex\",\ @@ -563,7 +563,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Retrieves the place index resource details.
\",\ - \"endpoint\":{\"hostPrefix\":\"places.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.places.\"}\ },\ \"DescribeRouteCalculator\":{\ \"name\":\"DescribeRouteCalculator\",\ @@ -582,7 +582,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Retrieves the route calculator resource details.
\",\ - \"endpoint\":{\"hostPrefix\":\"routes.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.routes.\"}\ },\ \"DescribeTracker\":{\ \"name\":\"DescribeTracker\",\ @@ -601,7 +601,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Retrieves the tracker resource details.
\",\ - \"endpoint\":{\"hostPrefix\":\"tracking.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.tracking.\"}\ },\ \"DisassociateTrackerConsumer\":{\ \"name\":\"DisassociateTrackerConsumer\",\ @@ -620,7 +620,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Removes the association between a tracker resource and a geofence collection.
Once you unlink a tracker resource from a geofence collection, the tracker positions will no longer be automatically evaluated against geofences.
Lists geofence collections in your Amazon Web Services account.
\",\ - \"endpoint\":{\"hostPrefix\":\"geofencing.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.geofencing.\"}\ },\ \"ListGeofences\":{\ \"name\":\"ListGeofences\",\ @@ -845,7 +845,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Lists API key resources in your Amazon Web Services account.
\",\ - \"endpoint\":{\"hostPrefix\":\"metadata.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.metadata.\"}\ },\ \"ListMaps\":{\ \"name\":\"ListMaps\",\ @@ -863,7 +863,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Lists map resources in your Amazon Web Services account.
\",\ - \"endpoint\":{\"hostPrefix\":\"maps.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.maps.\"}\ },\ \"ListPlaceIndexes\":{\ \"name\":\"ListPlaceIndexes\",\ @@ -881,7 +881,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Lists place index resources in your Amazon Web Services account.
\",\ - \"endpoint\":{\"hostPrefix\":\"places.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.places.\"}\ },\ \"ListRouteCalculators\":{\ \"name\":\"ListRouteCalculators\",\ @@ -899,7 +899,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Lists route calculator resources in your Amazon Web Services account.
\",\ - \"endpoint\":{\"hostPrefix\":\"routes.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.routes.\"}\ },\ \"ListTagsForResource\":{\ \"name\":\"ListTagsForResource\",\ @@ -918,7 +918,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Returns a list of tags that are applied to the specified Amazon Location resource.
\",\ - \"endpoint\":{\"hostPrefix\":\"metadata.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.metadata.\"}\ },\ \"ListTrackerConsumers\":{\ \"name\":\"ListTrackerConsumers\",\ @@ -937,7 +937,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Lists geofence collections currently associated to the given tracker resource.
\",\ - \"endpoint\":{\"hostPrefix\":\"tracking.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.tracking.\"}\ },\ \"ListTrackers\":{\ \"name\":\"ListTrackers\",\ @@ -955,7 +955,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Lists tracker resources in your Amazon Web Services account.
\",\ - \"endpoint\":{\"hostPrefix\":\"tracking.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.tracking.\"}\ },\ \"PutGeofence\":{\ \"name\":\"PutGeofence\",\ @@ -1051,7 +1051,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Assigns one or more tags (key-value pairs) to the specified Amazon Location Service resource.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with certain tag values.
You can use the TagResource
operation with an Amazon Location Service resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the tags already associated with the resource. If you specify a tag key that's already associated with the resource, the new tag value that you specify replaces the previous value for that tag.
You can associate up to 50 tags with a resource.
\",\ - \"endpoint\":{\"hostPrefix\":\"metadata.\"}\ + \"endpoint\":{\"hostPrefix\":\"cp.metadata.\"}\ },\ \"UntagResource\":{\ \"name\":\"UntagResource\",\ @@ -1070,7 +1070,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Removes one or more tags from the specified Amazon Location resource.
\",\ - \"endpoint\":{\"hostPrefix\":\"metadata.\"},\ + \"endpoint\":{\"hostPrefix\":\"cp.metadata.\"},\ \"idempotent\":true\ },\ \"UpdateGeofenceCollection\":{\ @@ -1090,7 +1090,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Updates the specified properties of a given geofence collection.
\",\ - \"endpoint\":{\"hostPrefix\":\"geofencing.\"},\ + \"endpoint\":{\"hostPrefix\":\"cp.geofencing.\"},\ \"idempotent\":true\ },\ \"UpdateKey\":{\ @@ -1110,7 +1110,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Updates the specified properties of a given API key resource.
\",\ - \"endpoint\":{\"hostPrefix\":\"metadata.\"},\ + \"endpoint\":{\"hostPrefix\":\"cp.metadata.\"},\ \"idempotent\":true\ },\ \"UpdateMap\":{\ @@ -1130,7 +1130,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Updates the specified properties of a given map resource.
\",\ - \"endpoint\":{\"hostPrefix\":\"maps.\"},\ + \"endpoint\":{\"hostPrefix\":\"cp.maps.\"},\ \"idempotent\":true\ },\ \"UpdatePlaceIndex\":{\ @@ -1150,7 +1150,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Updates the specified properties of a given place index resource.
\",\ - \"endpoint\":{\"hostPrefix\":\"places.\"},\ + \"endpoint\":{\"hostPrefix\":\"cp.places.\"},\ \"idempotent\":true\ },\ \"UpdateRouteCalculator\":{\ @@ -1170,7 +1170,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Updates the specified properties for a given route calculator resource.
\",\ - \"endpoint\":{\"hostPrefix\":\"routes.\"},\ + \"endpoint\":{\"hostPrefix\":\"cp.routes.\"},\ \"idempotent\":true\ },\ \"UpdateTracker\":{\ @@ -1190,7 +1190,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"}\ ],\ \"documentation\":\"Updates the specified properties of a given tracker resource.
\",\ - \"endpoint\":{\"hostPrefix\":\"tracking.\"},\ + \"endpoint\":{\"hostPrefix\":\"cp.tracking.\"},\ \"idempotent\":true\ }\ },\ @@ -2418,6 +2418,10 @@ - (NSString *)definitionString { \"shape\":\"Boolean\",\ \"documentation\":\"Whether to enable position UPDATE
events from this tracker to be sent to EventBridge.
You do not need enable this feature to get ENTER
and EXIT
events for geofences with this tracker. Those events are always sent to EventBridge.
Enables GeospatialQueries
for a tracker that uses a Amazon Web Services KMS customer managed key.
This parameter is only used if you are using a KMS customer managed key.
If you wish to encrypt your data using your own KMS customer managed key, then the Bounding Polygon Queries feature will be disabled by default. This is because by using this feature, a representation of your device positions will not be encrypted using the your KMS managed key. The exact device position, however; is still encrypted using your managed key.
You can choose to opt-in to the Bounding Polygon Quseries feature. This is done by setting the KmsKeyEnableGeospatialQueries
parameter to true when creating or updating a Tracker.
A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.
\"\ @@ -2620,6 +2624,10 @@ - (NSString *)definitionString { \"shape\":\"ResourceDescription\",\ \"documentation\":\"The optional description for the geofence collection.
\"\ },\ + \"GeofenceCount\":{\ + \"shape\":\"DescribeGeofenceCollectionResponseGeofenceCountInteger\",\ + \"documentation\":\"The number of geofences in the geofence collection.
\"\ + },\ \"KmsKeyId\":{\ \"shape\":\"KmsKeyId\",\ \"documentation\":\"A key identifier for an Amazon Web Services KMS customer managed key assigned to the Amazon Location resource
\"\ @@ -2646,6 +2654,11 @@ - (NSString *)definitionString { }\ }\ },\ + \"DescribeGeofenceCollectionResponseGeofenceCountInteger\":{\ + \"type\":\"integer\",\ + \"box\":true,\ + \"min\":0\ + },\ \"DescribeKeyRequest\":{\ \"type\":\"structure\",\ \"required\":[\"KeyName\"],\ @@ -2926,6 +2939,10 @@ - (NSString *)definitionString { \"shape\":\"Boolean\",\ \"documentation\":\"Whether UPDATE
events from this tracker in EventBridge are enabled. If set to true
these events will be sent to EventBridge.
Enables GeospatialQueries
for a tracker that uses a Amazon Web Services KMS customer managed key.
This parameter is only used if you are using a KMS customer managed key.
If you wish to encrypt your data using your own KMS customer managed key, then the Bounding Polygon Queries feature will be disabled by default. This is because by using this feature, a representation of your device positions will not be encrypted using the your KMS managed key. The exact device position, however; is still encrypted using your managed key.
You can choose to opt-in to the Bounding Polygon Quseries feature. This is done by setting the KmsKeyEnableGeospatialQueries
parameter to true when creating or updating a Tracker.
A key identifier for an Amazon Web Services KMS customer managed key assigned to the Amazon Location resource.
\"\ @@ -3283,7 +3300,7 @@ - (NSString *)definitionString { \"members\":{\ \"FontStack\":{\ \"shape\":\"String\",\ - \"documentation\":\"A comma-separated list of fonts to load glyphs from in order of preference. For example, Noto Sans Regular, Arial Unicode
.
Valid fonts stacks for Esri styles:
VectorEsriDarkGrayCanvas â Ubuntu Medium Italic
| Ubuntu Medium
| Ubuntu Italic
| Ubuntu Regular
| Ubuntu Bold
VectorEsriLightGrayCanvas â Ubuntu Italic
| Ubuntu Regular
| Ubuntu Light
| Ubuntu Bold
VectorEsriTopographic â Noto Sans Italic
| Noto Sans Regular
| Noto Sans Bold
| Noto Serif Regular
| Roboto Condensed Light Italic
VectorEsriStreets â Arial Regular
| Arial Italic
| Arial Bold
VectorEsriNavigation â Arial Regular
| Arial Italic
| Arial Bold
Valid font stacks for HERE Technologies styles:
VectorHereContrast â Fira GO Regular
| Fira GO Bold
VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite â Fira GO Italic
| Fira GO Map
| Fira GO Map Bold
| Noto Sans CJK JP Bold
| Noto Sans CJK JP Light
| Noto Sans CJK JP Regular
Valid font stacks for GrabMaps styles:
VectorGrabStandardLight, VectorGrabStandardDark â Noto Sans Regular
| Noto Sans Medium
| Noto Sans Bold
Valid font stacks for Open Data styles:
VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, VectorOpenDataVisualizationDark â Amazon Ember Regular,Noto Sans Regular
| Amazon Ember Bold,Noto Sans Bold
| Amazon Ember Medium,Noto Sans Medium
| Amazon Ember Regular Italic,Noto Sans Italic
| Amazon Ember Condensed RC Regular,Noto Sans Regular
| Amazon Ember Condensed RC Bold,Noto Sans Bold
| Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular
| Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold
| Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold
| Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular
| Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular
| Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium
The fonts used by the Open Data map styles are combined fonts that use Amazon Ember
for most glyphs but Noto Sans
for glyphs unsupported by Amazon Ember
.
A comma-separated list of fonts to load glyphs from in order of preference. For example, Noto Sans Regular, Arial Unicode
.
Valid font stacks for Esri styles:
VectorEsriDarkGrayCanvas â Ubuntu Medium Italic
| Ubuntu Medium
| Ubuntu Italic
| Ubuntu Regular
| Ubuntu Bold
VectorEsriLightGrayCanvas â Ubuntu Italic
| Ubuntu Regular
| Ubuntu Light
| Ubuntu Bold
VectorEsriTopographic â Noto Sans Italic
| Noto Sans Regular
| Noto Sans Bold
| Noto Serif Regular
| Roboto Condensed Light Italic
VectorEsriStreets â Arial Regular
| Arial Italic
| Arial Bold
VectorEsriNavigation â Arial Regular
| Arial Italic
| Arial Bold
Valid font stacks for HERE Technologies styles:
VectorHereContrast â Fira GO Regular
| Fira GO Bold
VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite â Fira GO Italic
| Fira GO Map
| Fira GO Map Bold
| Noto Sans CJK JP Bold
| Noto Sans CJK JP Light
| Noto Sans CJK JP Regular
Valid font stacks for GrabMaps styles:
VectorGrabStandardLight, VectorGrabStandardDark â Noto Sans Regular
| Noto Sans Medium
| Noto Sans Bold
Valid font stacks for Open Data styles:
VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, VectorOpenDataVisualizationDark â Amazon Ember Regular,Noto Sans Regular
| Amazon Ember Bold,Noto Sans Bold
| Amazon Ember Medium,Noto Sans Medium
| Amazon Ember Regular Italic,Noto Sans Italic
| Amazon Ember Condensed RC Regular,Noto Sans Regular
| Amazon Ember Condensed RC Bold,Noto Sans Bold
| Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular
| Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold
| Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold
| Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular
| Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular
| Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium
The fonts used by the Open Data map styles are combined fonts that use Amazon Ember
for most glyphs but Noto Sans
for glyphs unsupported by Amazon Ember
.
The geomerty used to filter device positions.
\"\ + },\ \"MaxResults\":{\ \"shape\":\"ListDevicePositionsRequestMaxResultsInteger\",\ \"documentation\":\"An optional limit for the number of entries returned in a single call.
Default value: 100
Contains details about each device's last known position. These details includes the device ID, the time when the position was sampled on the device, the time that the service received the update, and the most recent coordinates.
\"\ + \"documentation\":\"Contains details about each device's last known position.
\"\ },\ \"NextToken\":{\ \"shape\":\"Token\",\ @@ -5258,6 +5279,16 @@ - (NSString *)definitionString { \"max\":2000,\ \"min\":1\ },\ + \"TrackingFilterGeometry\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Polygon\":{\ + \"shape\":\"LinearRings\",\ + \"documentation\":\"The set of arrays which define the polygon. A polygon can have between 4 and 1000 vertices.
\"\ + }\ + },\ + \"documentation\":\"The geomerty used to filter device positions.
\"\ + },\ \"TravelMode\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -5606,6 +5637,10 @@ - (NSString *)definitionString { \"shape\":\"Boolean\",\ \"documentation\":\"Whether to enable position UPDATE
events from this tracker to be sent to EventBridge.
You do not need enable this feature to get ENTER
and EXIT
events for geofences with this tracker. Those events are always sent to EventBridge.
Enables GeospatialQueries
for a tracker that uses a Amazon Web Services KMS customer managed key.
This parameter is only used if you are using a KMS customer managed key.
\"\ + },\ \"PositionFiltering\":{\ \"shape\":\"PositionFiltering\",\ \"documentation\":\"Updates the position filtering for the tracker resource.
Valid values:
TimeBased
- Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.
DistanceBased
- If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this distance are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.
AccuracyBased
- If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This helps educe the effects of GPS noise when displaying device trajectories on a map, and can help control costs by reducing the number of geofence evaluations.
The name of the attribute.
The following attributes are supported by all load balancers:
deletion_protection.enabled
- Indicates whether deletion protection is enabled. The value is true
or false
. The default is false
.
load_balancing.cross_zone.enabled
- Indicates whether cross-zone load balancing is enabled. The possible values are true
and false
. The default for Network Load Balancers and Gateway Load Balancers is false
. The default for Application Load Balancers is true
, and cannot be changed.
The following attributes are supported by both Application Load Balancers and Network Load Balancers:
access_logs.s3.enabled
- Indicates whether access logs are enabled. The value is true
or false
. The default is false
.
access_logs.s3.bucket
- The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket.
access_logs.s3.prefix
- The prefix for the location in the S3 bucket for the access logs.
ipv6.deny_all_igw_traffic
- Blocks internet gateway (IGW) access to the load balancer. It is set to false
for internet-facing load balancers and true
for internal load balancers, preventing unintended access to your internal load balancer through an internet gateway.
The following attributes are supported by only Application Load Balancers:
idle_timeout.timeout_seconds
- The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds.
routing.http.desync_mitigation_mode
- Determines how the load balancer handles requests that might pose a security risk to your application. The possible values are monitor
, defensive
, and strictest
. The default is defensive
.
routing.http.drop_invalid_header_fields.enabled
- Indicates whether HTTP headers with invalid header fields are removed by the load balancer (true
) or routed to targets (false
). The default is false
.
routing.http.preserve_host_header.enabled
- Indicates whether the Application Load Balancer should preserve the Host
header in the HTTP request and send it to the target without any change. The possible values are true
and false
. The default is false
.
routing.http.x_amzn_tls_version_and_cipher_suite.enabled
- Indicates whether the two headers (x-amzn-tls-version
and x-amzn-tls-cipher-suite
), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. The x-amzn-tls-version
header has information about the TLS protocol version negotiated with the client, and the x-amzn-tls-cipher-suite
header has information about the cipher suite negotiated with the client. Both headers are in OpenSSL format. The possible values for the attribute are true
and false
. The default is false
.
routing.http.xff_client_port.enabled
- Indicates whether the X-Forwarded-For
header should preserve the source port that the client used to connect to the load balancer. The possible values are true
and false
. The default is false
.
routing.http.xff_header_processing.mode
- Enables you to modify, preserve, or remove the X-Forwarded-For
header in the HTTP request before the Application Load Balancer sends the request to the target. The possible values are append
, preserve
, and remove
. The default is append
.
If the value is append
, the Application Load Balancer adds the client IP address (of the last hop) to the X-Forwarded-For
header in the HTTP request before it sends it to targets.
If the value is preserve
the Application Load Balancer preserves the X-Forwarded-For
header in the HTTP request, and sends it to targets without any change.
If the value is remove
, the Application Load Balancer removes the X-Forwarded-For
header in the HTTP request before it sends it to targets.
routing.http2.enabled
- Indicates whether HTTP/2 is enabled. The possible values are true
and false
. The default is true
. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens.
waf.fail_open.enabled
- Indicates whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true
and false
. The default is false
.
The name of the attribute.
The following attributes are supported by all load balancers:
deletion_protection.enabled
- Indicates whether deletion protection is enabled. The value is true
or false
. The default is false
.
load_balancing.cross_zone.enabled
- Indicates whether cross-zone load balancing is enabled. The possible values are true
and false
. The default for Network Load Balancers and Gateway Load Balancers is false
. The default for Application Load Balancers is true
, and cannot be changed.
The following attributes are supported by both Application Load Balancers and Network Load Balancers:
access_logs.s3.enabled
- Indicates whether access logs are enabled. The value is true
or false
. The default is false
.
access_logs.s3.bucket
- The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket.
access_logs.s3.prefix
- The prefix for the location in the S3 bucket for the access logs.
ipv6.deny_all_igw_traffic
- Blocks internet gateway (IGW) access to the load balancer. It is set to false
for internet-facing load balancers and true
for internal load balancers, preventing unintended access to your internal load balancer through an internet gateway.
The following attributes are supported by only Application Load Balancers:
idle_timeout.timeout_seconds
- The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds.
routing.http.desync_mitigation_mode
- Determines how the load balancer handles requests that might pose a security risk to your application. The possible values are monitor
, defensive
, and strictest
. The default is defensive
.
routing.http.drop_invalid_header_fields.enabled
- Indicates whether HTTP headers with invalid header fields are removed by the load balancer (true
) or routed to targets (false
). The default is false
.
routing.http.preserve_host_header.enabled
- Indicates whether the Application Load Balancer should preserve the Host
header in the HTTP request and send it to the target without any change. The possible values are true
and false
. The default is false
.
routing.http.x_amzn_tls_version_and_cipher_suite.enabled
- Indicates whether the two headers (x-amzn-tls-version
and x-amzn-tls-cipher-suite
), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. The x-amzn-tls-version
header has information about the TLS protocol version negotiated with the client, and the x-amzn-tls-cipher-suite
header has information about the cipher suite negotiated with the client. Both headers are in OpenSSL format. The possible values for the attribute are true
and false
. The default is false
.
routing.http.xff_client_port.enabled
- Indicates whether the X-Forwarded-For
header should preserve the source port that the client used to connect to the load balancer. The possible values are true
and false
. The default is false
.
routing.http.xff_header_processing.mode
- Enables you to modify, preserve, or remove the X-Forwarded-For
header in the HTTP request before the Application Load Balancer sends the request to the target. The possible values are append
, preserve
, and remove
. The default is append
.
If the value is append
, the Application Load Balancer adds the client IP address (of the last hop) to the X-Forwarded-For
header in the HTTP request before it sends it to targets.
If the value is preserve
the Application Load Balancer preserves the X-Forwarded-For
header in the HTTP request, and sends it to targets without any change.
If the value is remove
, the Application Load Balancer removes the X-Forwarded-For
header in the HTTP request before it sends it to targets.
routing.http2.enabled
- Indicates whether HTTP/2 is enabled. The possible values are true
and false
. The default is true
. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens.
waf.fail_open.enabled
- Indicates whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true
and false
. The default is false
.
The following attributes are supported by only Network Load Balancers:
dns_record.client_routing_policy
- Indicates how traffic is distributed among the load balancer Availability Zones. The possible values are availability_zone_affinity
with 100 percent zonal affinity, partial_availability_zone_affinity
with 85 percent zonal affinity, and any_availability_zone
with 0 percent zonal affinity.
[Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses). You can’t specify dualstack
for a load balancer with a UDP or TCP_UDP listener.
[Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses). You can’t specify dualstack
for a load balancer with a UDP or TCP_UDP listener.
[Gateway Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
[Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
+The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
[Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
*/ @property (nonatomic, strong) NSArrayThe IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
[Application Load Balancers] You must specify subnets from at least two Availability Zones.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones.
+The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
[Application Load Balancers] You must specify subnets from at least two Availability Zones.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
*/ @property (nonatomic, strong) NSArray[Network Load Balancers] The IP address type.
+[Network Load Balancers] The IP address type.
[Gateway Load Balancers] The IP address type.
*/ @property (nonatomic, assign) AWSElasticLoadBalancingIpAddressType ipAddressType; diff --git a/AWSElasticLoadBalancing/AWSElasticLoadBalancingResources.m b/AWSElasticLoadBalancing/AWSElasticLoadBalancingResources.m index 0dbdedaa79b..b7f3045cb9b 100644 --- a/AWSElasticLoadBalancing/AWSElasticLoadBalancingResources.m +++ b/AWSElasticLoadBalancing/AWSElasticLoadBalancingResources.m @@ -725,7 +725,7 @@ - (NSString *)definitionString { {\"shape\":\"AllocationIdNotFoundException\"},\ {\"shape\":\"AvailabilityZoneNotSupportedException\"}\ ],\ - \"documentation\":\"Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer or Network Load Balancer. The specified subnets replace the previously enabled subnets.
When you specify subnets for a Network Load Balancer, you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.
\"\ + \"documentation\":\"Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer, Network Load Balancer or Gateway Load Balancer. The specified subnets replace the previously enabled subnets.
When you specify subnets for a Network Load Balancer, or Gateway Load Balancer you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.
\"\ }\ },\ \"shapes\":{\ @@ -2176,7 +2176,7 @@ - (NSString *)definitionString { \"members\":{\ \"Key\":{\ \"shape\":\"LoadBalancerAttributeKey\",\ - \"documentation\":\"The name of the attribute.
The following attributes are supported by all load balancers:
deletion_protection.enabled
- Indicates whether deletion protection is enabled. The value is true
or false
. The default is false
.
load_balancing.cross_zone.enabled
- Indicates whether cross-zone load balancing is enabled. The possible values are true
and false
. The default for Network Load Balancers and Gateway Load Balancers is false
. The default for Application Load Balancers is true
, and cannot be changed.
The following attributes are supported by both Application Load Balancers and Network Load Balancers:
access_logs.s3.enabled
- Indicates whether access logs are enabled. The value is true
or false
. The default is false
.
access_logs.s3.bucket
- The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket.
access_logs.s3.prefix
- The prefix for the location in the S3 bucket for the access logs.
ipv6.deny_all_igw_traffic
- Blocks internet gateway (IGW) access to the load balancer. It is set to false
for internet-facing load balancers and true
for internal load balancers, preventing unintended access to your internal load balancer through an internet gateway.
The following attributes are supported by only Application Load Balancers:
idle_timeout.timeout_seconds
- The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds.
routing.http.desync_mitigation_mode
- Determines how the load balancer handles requests that might pose a security risk to your application. The possible values are monitor
, defensive
, and strictest
. The default is defensive
.
routing.http.drop_invalid_header_fields.enabled
- Indicates whether HTTP headers with invalid header fields are removed by the load balancer (true
) or routed to targets (false
). The default is false
.
routing.http.preserve_host_header.enabled
- Indicates whether the Application Load Balancer should preserve the Host
header in the HTTP request and send it to the target without any change. The possible values are true
and false
. The default is false
.
routing.http.x_amzn_tls_version_and_cipher_suite.enabled
- Indicates whether the two headers (x-amzn-tls-version
and x-amzn-tls-cipher-suite
), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. The x-amzn-tls-version
header has information about the TLS protocol version negotiated with the client, and the x-amzn-tls-cipher-suite
header has information about the cipher suite negotiated with the client. Both headers are in OpenSSL format. The possible values for the attribute are true
and false
. The default is false
.
routing.http.xff_client_port.enabled
- Indicates whether the X-Forwarded-For
header should preserve the source port that the client used to connect to the load balancer. The possible values are true
and false
. The default is false
.
routing.http.xff_header_processing.mode
- Enables you to modify, preserve, or remove the X-Forwarded-For
header in the HTTP request before the Application Load Balancer sends the request to the target. The possible values are append
, preserve
, and remove
. The default is append
.
If the value is append
, the Application Load Balancer adds the client IP address (of the last hop) to the X-Forwarded-For
header in the HTTP request before it sends it to targets.
If the value is preserve
the Application Load Balancer preserves the X-Forwarded-For
header in the HTTP request, and sends it to targets without any change.
If the value is remove
, the Application Load Balancer removes the X-Forwarded-For
header in the HTTP request before it sends it to targets.
routing.http2.enabled
- Indicates whether HTTP/2 is enabled. The possible values are true
and false
. The default is true
. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens.
waf.fail_open.enabled
- Indicates whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true
and false
. The default is false
.
The name of the attribute.
The following attributes are supported by all load balancers:
deletion_protection.enabled
- Indicates whether deletion protection is enabled. The value is true
or false
. The default is false
.
load_balancing.cross_zone.enabled
- Indicates whether cross-zone load balancing is enabled. The possible values are true
and false
. The default for Network Load Balancers and Gateway Load Balancers is false
. The default for Application Load Balancers is true
, and cannot be changed.
The following attributes are supported by both Application Load Balancers and Network Load Balancers:
access_logs.s3.enabled
- Indicates whether access logs are enabled. The value is true
or false
. The default is false
.
access_logs.s3.bucket
- The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket.
access_logs.s3.prefix
- The prefix for the location in the S3 bucket for the access logs.
ipv6.deny_all_igw_traffic
- Blocks internet gateway (IGW) access to the load balancer. It is set to false
for internet-facing load balancers and true
for internal load balancers, preventing unintended access to your internal load balancer through an internet gateway.
The following attributes are supported by only Application Load Balancers:
idle_timeout.timeout_seconds
- The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds.
routing.http.desync_mitigation_mode
- Determines how the load balancer handles requests that might pose a security risk to your application. The possible values are monitor
, defensive
, and strictest
. The default is defensive
.
routing.http.drop_invalid_header_fields.enabled
- Indicates whether HTTP headers with invalid header fields are removed by the load balancer (true
) or routed to targets (false
). The default is false
.
routing.http.preserve_host_header.enabled
- Indicates whether the Application Load Balancer should preserve the Host
header in the HTTP request and send it to the target without any change. The possible values are true
and false
. The default is false
.
routing.http.x_amzn_tls_version_and_cipher_suite.enabled
- Indicates whether the two headers (x-amzn-tls-version
and x-amzn-tls-cipher-suite
), which contain information about the negotiated TLS version and cipher suite, are added to the client request before sending it to the target. The x-amzn-tls-version
header has information about the TLS protocol version negotiated with the client, and the x-amzn-tls-cipher-suite
header has information about the cipher suite negotiated with the client. Both headers are in OpenSSL format. The possible values for the attribute are true
and false
. The default is false
.
routing.http.xff_client_port.enabled
- Indicates whether the X-Forwarded-For
header should preserve the source port that the client used to connect to the load balancer. The possible values are true
and false
. The default is false
.
routing.http.xff_header_processing.mode
- Enables you to modify, preserve, or remove the X-Forwarded-For
header in the HTTP request before the Application Load Balancer sends the request to the target. The possible values are append
, preserve
, and remove
. The default is append
.
If the value is append
, the Application Load Balancer adds the client IP address (of the last hop) to the X-Forwarded-For
header in the HTTP request before it sends it to targets.
If the value is preserve
the Application Load Balancer preserves the X-Forwarded-For
header in the HTTP request, and sends it to targets without any change.
If the value is remove
, the Application Load Balancer removes the X-Forwarded-For
header in the HTTP request before it sends it to targets.
routing.http2.enabled
- Indicates whether HTTP/2 is enabled. The possible values are true
and false
. The default is true
. Elastic Load Balancing requires that message header names contain only alphanumeric characters and hyphens.
waf.fail_open.enabled
- Indicates whether to allow a WAF-enabled load balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true
and false
. The default is false
.
The following attributes are supported by only Network Load Balancers:
dns_record.client_routing_policy
- Indicates how traffic is distributed among the load balancer Availability Zones. The possible values are availability_zone_affinity
with 100 percent zonal affinity, partial_availability_zone_affinity
with 85 percent zonal affinity, and any_availability_zone
with 0 percent zonal affinity.
The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
[Application Load Balancers] You must specify subnets from at least two Availability Zones.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones.
\"\ + \"documentation\":\"The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
[Application Load Balancers] You must specify subnets from at least two Availability Zones.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
\"\ },\ \"SubnetMappings\":{\ \"shape\":\"SubnetMappings\",\ - \"documentation\":\"The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
[Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
\"\ + \"documentation\":\"The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
[Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
\"\ },\ \"IpAddressType\":{\ \"shape\":\"IpAddressType\",\ - \"documentation\":\"[Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses). You canât specify dualstack
for a load balancer with a UDP or TCP_UDP listener.
[Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses). You canât specify dualstack
for a load balancer with a UDP or TCP_UDP listener.
[Gateway Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
[Network Load Balancers] The IP address type.
\"\ + \"documentation\":\"[Network Load Balancers] The IP address type.
[Gateway Load Balancers] The IP address type.
\"\ }\ }\ },\ diff --git a/AWSElasticLoadBalancing/AWSElasticLoadBalancingService.h b/AWSElasticLoadBalancing/AWSElasticLoadBalancingService.h index f0a320c21f5..c5f5d52c776 100644 --- a/AWSElasticLoadBalancing/AWSElasticLoadBalancingService.h +++ b/AWSElasticLoadBalancing/AWSElasticLoadBalancingService.h @@ -1000,7 +1000,7 @@ FOUNDATION_EXPORT NSString *const AWSElasticLoadBalancingSDKVersion; - (void)setSecurityGroups:(AWSElasticLoadBalancingSetSecurityGroupsInput *)request completionHandler:(void (^ _Nullable)(AWSElasticLoadBalancingSetSecurityGroupsOutput * _Nullable response, NSError * _Nullable error))completionHandler; /** -Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer or Network Load Balancer. The specified subnets replace the previously enabled subnets.
When you specify subnets for a Network Load Balancer, you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.
+Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer, Network Load Balancer or Gateway Load Balancer. The specified subnets replace the previously enabled subnets.
When you specify subnets for a Network Load Balancer, or Gateway Load Balancer you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.
@param request A container for the necessary parameters to execute the SetSubnets service method. @@ -1012,7 +1012,7 @@ FOUNDATION_EXPORT NSString *const AWSElasticLoadBalancingSDKVersion; - (AWSTaskEnables the Availability Zones for the specified public subnets for the specified Application Load Balancer or Network Load Balancer. The specified subnets replace the previously enabled subnets.
When you specify subnets for a Network Load Balancer, you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.
+Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer, Network Load Balancer or Gateway Load Balancer. The specified subnets replace the previously enabled subnets.
When you specify subnets for a Network Load Balancer, or Gateway Load Balancer you must include all subnets that were enabled previously, with their existing configurations, plus any additional subnets.
@param request A container for the necessary parameters to execute the SetSubnets service method. @param completionHandler The completion handler to call when the load request is complete. From 692d89f3a235654f98d4ecb8751e7f05d43bf077 Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Bot <46607340+awsmobilesdk@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:39:20 -0700 Subject: [PATCH 08/17] feat(AWSLambda): update models to latest (#4994) --- AWSLambda/AWSLambdaModel.h | 10 ++++++++++ AWSLambda/AWSLambdaModel.m | 2 ++ AWSLambda/AWSLambdaResources.m | 9 +++++++++ 3 files changed, 21 insertions(+) diff --git a/AWSLambda/AWSLambdaModel.h b/AWSLambda/AWSLambdaModel.h index df3e23154c2..15c5039d8a6 100644 --- a/AWSLambda/AWSLambdaModel.h +++ b/AWSLambda/AWSLambdaModel.h @@ -4544,6 +4544,11 @@ typedef NS_ENUM(NSInteger, AWSLambdaUpdateRuntimeOn) { @interface AWSLambdaVpcConfig : AWSModel +/** +Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable ipv6AllowedForDualStack; + /**A list of VPC security group IDs.
*/ @@ -4562,6 +4567,11 @@ typedef NS_ENUM(NSInteger, AWSLambdaUpdateRuntimeOn) { @interface AWSLambdaVpcConfigResponse : AWSModel +/** +Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable ipv6AllowedForDualStack; + /**A list of VPC security group IDs.
*/ diff --git a/AWSLambda/AWSLambdaModel.m b/AWSLambda/AWSLambdaModel.m index 81e148a87f8..84532a862b1 100644 --- a/AWSLambda/AWSLambdaModel.m +++ b/AWSLambda/AWSLambdaModel.m @@ -5027,6 +5027,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"ipv6AllowedForDualStack" : @"Ipv6AllowedForDualStack", @"securityGroupIds" : @"SecurityGroupIds", @"subnetIds" : @"SubnetIds", }; @@ -5042,6 +5043,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"ipv6AllowedForDualStack" : @"Ipv6AllowedForDualStack", @"securityGroupIds" : @"SecurityGroupIds", @"subnetIds" : @"SubnetIds", @"vpcId" : @"VpcId", diff --git a/AWSLambda/AWSLambdaResources.m b/AWSLambda/AWSLambdaResources.m index 2634d39ada6..f1405617b19 100644 --- a/AWSLambda/AWSLambdaResources.m +++ b/AWSLambda/AWSLambdaResources.m @@ -4637,6 +4637,7 @@ - (NSString *)definitionString { \"type\":\"integer\",\ \"min\":0\ },\ + \"NullableBoolean\":{\"type\":\"boolean\"},\ \"OnFailure\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -6113,6 +6114,10 @@ - (NSString *)definitionString { \"SecurityGroupIds\":{\ \"shape\":\"SecurityGroupIds\",\ \"documentation\":\"A list of VPC security group IDs.
\"\ + },\ + \"Ipv6AllowedForDualStack\":{\ + \"shape\":\"NullableBoolean\",\ + \"documentation\":\"Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
\"\ }\ },\ \"documentation\":\"The VPC security groups and subnets that are attached to a Lambda function. For more information, see Configuring a Lambda function to access resources in a VPC.
\"\ @@ -6131,6 +6136,10 @@ - (NSString *)definitionString { \"VpcId\":{\ \"shape\":\"VpcId\",\ \"documentation\":\"The ID of the VPC.
\"\ + },\ + \"Ipv6AllowedForDualStack\":{\ + \"shape\":\"NullableBoolean\",\ + \"documentation\":\"Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
\"\ }\ },\ \"documentation\":\"The VPC security groups and subnets that are attached to a Lambda function.
\"\ From 823dbb733e3f973a471867f7d6f13879d14ecead Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Bot <46607340+awsmobilesdk@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:39:58 -0700 Subject: [PATCH 09/17] feat(AWSAutoScaling): update models to latest (#4993) --- AWSAutoScaling/AWSAutoScalingResources.m | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/AWSAutoScaling/AWSAutoScalingResources.m b/AWSAutoScaling/AWSAutoScalingResources.m index 737bb7bb45e..b688001fb70 100644 --- a/AWSAutoScaling/AWSAutoScalingResources.m +++ b/AWSAutoScaling/AWSAutoScalingResources.m @@ -1331,6 +1331,12 @@ - (NSString *)definitionString { },\ \"exception\":true\ },\ + \"AnyPrintableAsciiStringMaxLen4000\":{\ + \"type\":\"string\",\ + \"max\":4000,\ + \"min\":1,\ + \"pattern\":\"[\\\\u0009\\\\u000A\\\\u000D\\\\u0020-\\\\u007e]+\"\ + },\ \"AsciiStringMaxLen255\":{\ \"type\":\"string\",\ \"max\":255,\ @@ -3735,7 +3741,7 @@ - (NSString *)definitionString { \"documentation\":\"The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target (an Amazon SNS topic or an Amazon SQS queue).
\"\ },\ \"NotificationMetadata\":{\ - \"shape\":\"XmlStringMaxLen1023\",\ + \"shape\":\"AnyPrintableAsciiStringMaxLen4000\",\ \"documentation\":\"Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the notification target.
\"\ },\ \"HeartbeatTimeout\":{\ @@ -3774,7 +3780,7 @@ - (NSString *)definitionString { \"documentation\":\"The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.
To create a lifecycle hook for scale-out events, specify autoscaling:EC2_INSTANCE_LAUNCHING
.
To create a lifecycle hook for scale-in events, specify autoscaling:EC2_INSTANCE_TERMINATING
.
Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
\"\ },\ \"HeartbeatTimeout\":{\ @@ -4547,7 +4553,7 @@ - (NSString *)definitionString { \"documentation\":\"The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance is in a wait state for the lifecycle hook. You can specify either an Amazon SNS topic or an Amazon SQS queue.
If you specify an empty string, this overrides the current ARN.
This operation uses the JSON format when sending notifications to an Amazon SQS queue, and an email key-value pair format when sending notifications to an Amazon SNS topic.
When you specify a notification target, Amazon EC2 Auto Scaling sends it a test message. Test messages contain the following additional key-value pair: \\\"Event\\\": \\\"autoscaling:TEST_NOTIFICATION\\\"
.
Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
\"\ },\ \"HeartbeatTimeout\":{\ From a0d10354df8e499a0055f6927898fd25d000a31e Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Bot <46607340+awsmobilesdk@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:40:52 -0700 Subject: [PATCH 10/17] feat(AWSTranscribe): update models to latest (#4992) --- AWSTranscribe/AWSTranscribeModel.h | 1 + AWSTranscribe/AWSTranscribeModel.m | 25 +++++++++++++++++++++++++ AWSTranscribe/AWSTranscribeResources.m | 3 ++- 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/AWSTranscribe/AWSTranscribeModel.h b/AWSTranscribe/AWSTranscribeModel.h index 4cb8a0c67f6..02d1a2431f2 100644 --- a/AWSTranscribe/AWSTranscribeModel.h +++ b/AWSTranscribe/AWSTranscribeModel.h @@ -113,6 +113,7 @@ typedef NS_ENUM(NSInteger, AWSTranscribeMediaFormat) { AWSTranscribeMediaFormatOgg, AWSTranscribeMediaFormatAmr, AWSTranscribeMediaFormatWebm, + AWSTranscribeMediaFormatM4a, }; typedef NS_ENUM(NSInteger, AWSTranscribeMedicalContentIdentificationType) { diff --git a/AWSTranscribe/AWSTranscribeModel.m b/AWSTranscribe/AWSTranscribeModel.m index eedf6cde306..2419610f101 100644 --- a/AWSTranscribe/AWSTranscribeModel.m +++ b/AWSTranscribe/AWSTranscribeModel.m @@ -345,6 +345,9 @@ + (NSValueTransformer *)mediaFormatJSONTransformer { if ([value caseInsensitiveCompare:@"webm"] == NSOrderedSame) { return @(AWSTranscribeMediaFormatWebm); } + if ([value caseInsensitiveCompare:@"m4a"] == NSOrderedSame) { + return @(AWSTranscribeMediaFormatM4a); + } return @(AWSTranscribeMediaFormatUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -362,6 +365,8 @@ + (NSValueTransformer *)mediaFormatJSONTransformer { return @"amr"; case AWSTranscribeMediaFormatWebm: return @"webm"; + case AWSTranscribeMediaFormatM4a: + return @"m4a"; default: return nil; } @@ -5060,6 +5065,9 @@ + (NSValueTransformer *)mediaFormatJSONTransformer { if ([value caseInsensitiveCompare:@"webm"] == NSOrderedSame) { return @(AWSTranscribeMediaFormatWebm); } + if ([value caseInsensitiveCompare:@"m4a"] == NSOrderedSame) { + return @(AWSTranscribeMediaFormatM4a); + } return @(AWSTranscribeMediaFormatUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -5077,6 +5085,8 @@ + (NSValueTransformer *)mediaFormatJSONTransformer { return @"amr"; case AWSTranscribeMediaFormatWebm: return @"webm"; + case AWSTranscribeMediaFormatM4a: + return @"m4a"; default: return nil; } @@ -6058,6 +6068,9 @@ + (NSValueTransformer *)mediaFormatJSONTransformer { if ([value caseInsensitiveCompare:@"webm"] == NSOrderedSame) { return @(AWSTranscribeMediaFormatWebm); } + if ([value caseInsensitiveCompare:@"m4a"] == NSOrderedSame) { + return @(AWSTranscribeMediaFormatM4a); + } return @(AWSTranscribeMediaFormatUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -6075,6 +6088,8 @@ + (NSValueTransformer *)mediaFormatJSONTransformer { return @"amr"; case AWSTranscribeMediaFormatWebm: return @"webm"; + case AWSTranscribeMediaFormatM4a: + return @"m4a"; default: return nil; } @@ -6426,6 +6441,9 @@ + (NSValueTransformer *)mediaFormatJSONTransformer { if ([value caseInsensitiveCompare:@"webm"] == NSOrderedSame) { return @(AWSTranscribeMediaFormatWebm); } + if ([value caseInsensitiveCompare:@"m4a"] == NSOrderedSame) { + return @(AWSTranscribeMediaFormatM4a); + } return @(AWSTranscribeMediaFormatUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -6443,6 +6461,8 @@ + (NSValueTransformer *)mediaFormatJSONTransformer { return @"amr"; case AWSTranscribeMediaFormatWebm: return @"webm"; + case AWSTranscribeMediaFormatM4a: + return @"m4a"; default: return nil; } @@ -6959,6 +6979,9 @@ + (NSValueTransformer *)mediaFormatJSONTransformer { if ([value caseInsensitiveCompare:@"webm"] == NSOrderedSame) { return @(AWSTranscribeMediaFormatWebm); } + if ([value caseInsensitiveCompare:@"m4a"] == NSOrderedSame) { + return @(AWSTranscribeMediaFormatM4a); + } return @(AWSTranscribeMediaFormatUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -6976,6 +6999,8 @@ + (NSValueTransformer *)mediaFormatJSONTransformer { return @"amr"; case AWSTranscribeMediaFormatWebm: return @"webm"; + case AWSTranscribeMediaFormatM4a: + return @"m4a"; default: return nil; } diff --git a/AWSTranscribe/AWSTranscribeResources.m b/AWSTranscribe/AWSTranscribeResources.m index e3d01cee397..7698cf2d773 100644 --- a/AWSTranscribe/AWSTranscribeResources.m +++ b/AWSTranscribe/AWSTranscribeResources.m @@ -2095,7 +2095,8 @@ - (NSString *)definitionString { \"flac\",\ \"ogg\",\ \"amr\",\ - \"webm\"\ + \"webm\",\ + \"m4a\"\ ]\ },\ \"MediaSampleRateHertz\":{\ From 43e1014e2f3abc4b4fd8475e12df69c42691e5b5 Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Bot <46607340+awsmobilesdk@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:42:14 -0700 Subject: [PATCH 11/17] feat(AWSSTS): update models to latest (#4979) --- AWSCore/STS/AWSSTSResources.m | 7 ++++++- AWSCore/STS/Info.plist | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/AWSCore/STS/AWSSTSResources.m b/AWSCore/STS/AWSSTSResources.m index 86d00a0eb32..b04b5d40c20 100644 --- a/AWSCore/STS/AWSSTSResources.m +++ b/AWSCore/STS/AWSSTSResources.m @@ -231,7 +231,7 @@ - (NSString *)definitionString { \"documentation\":\"The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as managed session policies. The policies must exist in the same account as the role.
This parameter is optional. You can provide up to 10 managed policy ARNs. However, the plaintext that you use for both inline and managed session policies can't exceed 2,048 characters. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs, and session tags into a packed binary format that has a separate limit. Your request can fail for this limit even if your plaintext meets the other requirements. The PackedPolicySize
response element indicates by percentage how close the policies and tags for your request are to the upper size limit.
Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent Amazon Web Services API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide.
\"\ },\ \"Policy\":{\ - \"shape\":\"sessionPolicyDocumentType\",\ + \"shape\":\"unrestrictedSessionPolicyDocumentType\",\ \"documentation\":\"An IAM policy in JSON format that you want to use as an inline session policy.
This parameter is optional. Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent Amazon Web Services API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide.
The plaintext that you use for both inline and managed session policies can't exceed 2,048 characters. The JSON policy characters can be any ASCII character from the space character to the end of the valid character list (\\\\u0020 through \\\\u00FF). It can also include the tab (\\\\u0009), linefeed (\\\\u000A), and carriage return (\\\\u000D) characters.
An Amazon Web Services conversion compresses the passed inline session policy, managed policy ARNs, and session tags into a packed binary format that has a separate limit. Your request can fail for this limit even if your plaintext meets the other requirements. The PackedPolicySize
response element indicates by percentage how close the policies and tags for your request are to the upper size limit.
The criteria that determine if a device is behaving normally in regard to the metric
.
The criteria that determine if a device is behaving normally in regard to the metric
.
In the IoT console, you can choose to be sent an alert through Amazon SNS when IoT Device Defender detects that a device is behaving anomalously.
An S3 link to the job document to use in the template. Required if you don't specify a value for document
.
If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document.
The placeholder link is of the following form:
${aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key}
where bucket is your bucket name and key is the object in the bucket to which you are linking.
An S3 link, or S3 object URL, to the job document. The link is an Amazon S3 object URL and is required if you don't specify a value for document
.
For example, --document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0
For more information, see Methods for accessing a bucket.
*/ @property (nonatomic, strong) NSString * _Nullable documentSource; @@ -4055,7 +4058,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { /** -A list of additional OTA update parameters which are name-value pairs.
+A list of additional OTA update parameters, which are name-value pairs. They won't be sent to devices as a part of the Job document.
*/ @property (nonatomic, strong) NSDictionaryThe name of the new package.
+The name of the new software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -4199,7 +4202,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, strong) NSString * _Nullable packageArn; /** -The name of the package.
+The name of the software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -4227,7 +4230,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, strong) NSString * _Nullable detail; /** -The name of the associated package.
+The name of the associated software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -4265,7 +4268,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, strong) NSString * _Nullable errorReason; /** -The name of the associated package.
+The name of the associated software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -5375,7 +5378,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, strong) NSString * _Nullable clientToken; /** -The name of the target package.
+The name of the target software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -5401,7 +5404,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, strong) NSString * _Nullable clientToken; /** -The name of the associated package.
+The name of the associated software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -6356,7 +6359,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { /** -The endpoint type. Valid endpoint types include:
iot:Data
- Returns a VeriSign signed data endpoint.
iot:Data-ATS
- Returns an ATS signed data endpoint.
iot:CredentialProvider
- Returns an IoT credentials provider API endpoint.
iot:Jobs
- Returns an IoT device management Jobs API endpoint.
We strongly recommend that customers use the newer iot:Data-ATS
endpoint type to avoid issues related to the widespread distrust of Symantec certificate authorities.
The endpoint type. Valid endpoint types include:
iot:Data
- Returns a VeriSign signed data endpoint.
iot:Data-ATS
- Returns an ATS signed data endpoint.
iot:CredentialProvider
- Returns an IoT credentials provider API endpoint.
iot:Jobs
- Returns an IoT device management Jobs API endpoint.
We strongly recommend that customers use the newer iot:Data-ATS
endpoint type to avoid issues related to the widespread distrust of Symantec certificate authorities. ATS Signed Certificates are more secure and are trusted by most popular browsers.
The name of the target package.
+The name of the target software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -8335,7 +8338,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, strong) NSString * _Nullable packageArn; /** -The name of the package.
+The name of the software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -8391,7 +8394,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, strong) NSDate * _Nullable lastModifiedDate; /** -The name of the package.
+The name of the software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -9461,6 +9464,11 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { */ @property (nonatomic, strong) NSString * _Nullable destinationArn; +/** +The list of Kafka headers that you specify.
+ */ +@property (nonatomic, strong) NSArrayThe Kafka message key.
*/ @@ -9478,6 +9486,25 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @end +/** +Specifies a Kafka header using key-value pairs when you create a Rule’s Kafka Action. You can use these headers to route data from IoT clients to downstream Kafka clusters without modifying your message payload.
For more information about Rule's Kafka action, see Apache Kafka.
+ Required parameters: [key, value] + */ +@interface AWSIoTKafkaActionHeader : AWSModel + + +/** +The key of the Kafka header.
+ */ +@property (nonatomic, strong) NSString * _Nullable key; + +/** +The value of the Kafka header.
+ */ +@property (nonatomic, strong) NSString * _Nullable value; + +@end + /**Describes a key pair.
*/ @@ -10885,7 +10912,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, strong) NSString * _Nullable nextToken; /** -The name of the target package.
+The name of the target software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -12658,7 +12685,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { /** -A list of name/attribute pairs.
+A list of name-attribute pairs. They won't be sent to devices as a part of the Job document.
*/ @property (nonatomic, strong) NSDictionaryThe name for the target package.
+The name for the target software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -13871,7 +13898,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, assign) AWSIoTJobEndBehavior endBehavior; /** -The time a job will stop rollout of the job document to all devices in the target group for a job. The endTime
must take place no later than two years from the current time and be scheduled a minimum of thirty minutes from the current time. The minimum duration between startTime
and endTime
is thirty minutes. The maximum duration between startTime
and endTime
is two years. The date and time format for the endTime
is YYYY-MM-DD for the date and HH:MM for the time.
The time a job will stop rollout of the job document to all devices in the target group for a job. The endTime
must take place no later than two years from the current time and be scheduled a minimum of thirty minutes from the current time. The minimum duration between startTime
and endTime
is thirty minutes. The maximum duration between startTime
and endTime
is two years. The date and time format for the endTime
is YYYY-MM-DD for the date and HH:MM for the time.
For more information on the syntax for endTime
when using an API command or the Command Line Interface, see Timestamp.
The time a job will begin rollout of the job document to all devices in the target group for a job. The startTime
can be scheduled up to a year in advance and must be scheduled a minimum of thirty minutes from the current time. The date and time format for the startTime
is YYYY-MM-DD for the date and HH:MM for the time.
The time a job will begin rollout of the job document to all devices in the target group for a job. The startTime
can be scheduled up to a year in advance and must be scheduled a minimum of thirty minutes from the current time. The date and time format for the startTime
is YYYY-MM-DD for the date and HH:MM for the time.
For more information on the syntax for startTime
when using an API command or the Command Line Interface, see Timestamp.
The name of the target package.
+The name of the target software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -16356,7 +16383,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, assign) AWSIoTPackageVersionAction action; /** -Metadata that can be used to define a package version’s configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
Note: Attributes can be updated only when the package version is in a draft state.
The combined size of all the attributes on a package version is limited to 3KB.
+Metadata that can be used to define a package version’s configuration. For example, the Amazon S3 file location, configuration options that are being sent to the device or fleet.
Note: Attributes can be updated only when the package version is in a draft state.
The combined size of all the attributes on a package version is limited to 3KB.
*/ @property (nonatomic, strong) NSDictionaryCreates an X.509 certificate using the specified certificate signing request.
Requires permission to access the CreateCertificateFromCsr action.
The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. For supported certificates, consult Certificate signing algorithms supported by IoT.
Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr
files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs. In the following commands, we assume that a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr
Amazon Web Services CLI command to create a certificate for the corresponding CSR.
You can also run the aws iot create-certificate-from-csr
part of the command in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c \\\"cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path\\\"
Creates an X.509 certificate using the specified certificate signing request.
Requires permission to access the CreateCertificateFromCsr action.
The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256, NIST P-384, or NIST P-521 curves. For supported certificates, consult Certificate signing algorithms supported by IoT.
Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr
files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs. In the following commands, we assume that a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr
Amazon Web Services CLI command to create a certificate for the corresponding CSR.
You can also run the aws iot create-certificate-from-csr
part of the command in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c \\\"cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path\\\"
Deletes a specific version from a software package.
Note: If a package version is designated as default, you must remove the designation from the package using the UpdatePackage action.
\",\ + \"documentation\":\"Deletes a specific version from a software package.
Note: If a package version is designated as default, you must remove the designation from the software package using the UpdatePackage action.
\",\ \"idempotent\":true\ },\ \"DeletePolicy\":{\ @@ -4125,7 +4125,7 @@ - (NSString *)definitionString { {\"shape\":\"ValidationException\"},\ {\"shape\":\"ResourceNotFoundException\"}\ ],\ - \"documentation\":\"Updates the supported fields for a specific package.
Requires permission to access the UpdatePackage and GetIndexingConfiguration actions.
\",\ + \"documentation\":\"Updates the supported fields for a specific software package.
Requires permission to access the UpdatePackage and GetIndexingConfiguration actions.
\",\ \"idempotent\":true\ },\ \"UpdatePackageConfiguration\":{\ @@ -4142,7 +4142,7 @@ - (NSString *)definitionString { {\"shape\":\"InternalServerException\"},\ {\"shape\":\"ValidationException\"}\ ],\ - \"documentation\":\"Updates the package configuration.
Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions.
\",\ + \"documentation\":\"Updates the software package configuration.
Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions.
\",\ \"idempotent\":true\ },\ \"UpdatePackageVersion\":{\ @@ -5708,7 +5708,7 @@ - (NSString *)definitionString { },\ \"criteria\":{\ \"shape\":\"BehaviorCriteria\",\ - \"documentation\":\"The criteria that determine if a device is behaving normally in regard to the metric
.
The criteria that determine if a device is behaving normally in regard to the metric
.
In the IoT console, you can choose to be sent an alert through Amazon SNS when IoT Device Defender detects that a device is behaving anomalously.
An S3 link to the job document to use in the template. Required if you don't specify a value for document
.
If the job document resides in an S3 bucket, you must use a placeholder link when specifying the document.
The placeholder link is of the following form:
${aws:iot:s3-presigned-url:https://s3.amazonaws.com/bucket/key}
where bucket is your bucket name and key is the object in the bucket to which you are linking.
An S3 link, or S3 object URL, to the job document. The link is an Amazon S3 object URL and is required if you don't specify a value for document
.
For example, --document-source https://s3.region-code.amazonaws.com/example-firmware/device-firmware.1.0
For more information, see Methods for accessing a bucket.
\"\ },\ \"document\":{\ \"shape\":\"JobDocument\",\ @@ -7321,7 +7321,7 @@ - (NSString *)definitionString { },\ \"additionalParameters\":{\ \"shape\":\"AdditionalParameterMap\",\ - \"documentation\":\"A list of additional OTA update parameters which are name-value pairs.
\"\ + \"documentation\":\"A list of additional OTA update parameters, which are name-value pairs. They won't be sent to devices as a part of the Job document.
\"\ },\ \"tags\":{\ \"shape\":\"TagList\",\ @@ -7360,7 +7360,7 @@ - (NSString *)definitionString { \"members\":{\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name of the new package.
\",\ + \"documentation\":\"The name of the new software package.
\",\ \"location\":\"uri\",\ \"locationName\":\"packageName\"\ },\ @@ -7386,7 +7386,7 @@ - (NSString *)definitionString { \"members\":{\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name of the package.
\"\ + \"documentation\":\"The name of the software package.
\"\ },\ \"packageArn\":{\ \"shape\":\"PackageArn\",\ @@ -7407,7 +7407,7 @@ - (NSString *)definitionString { \"members\":{\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name of the associated package.
\",\ + \"documentation\":\"The name of the associated software package.
\",\ \"location\":\"uri\",\ \"locationName\":\"packageName\"\ },\ @@ -7447,7 +7447,7 @@ - (NSString *)definitionString { },\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name of the associated package.
\"\ + \"documentation\":\"The name of the associated software package.
\"\ },\ \"versionName\":{\ \"shape\":\"VersionName\",\ @@ -8481,7 +8481,7 @@ - (NSString *)definitionString { \"members\":{\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name of the target package.
\",\ + \"documentation\":\"The name of the target software package.
\",\ \"location\":\"uri\",\ \"locationName\":\"packageName\"\ },\ @@ -8508,7 +8508,7 @@ - (NSString *)definitionString { \"members\":{\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name of the associated package.
\",\ + \"documentation\":\"The name of the associated software package.
\",\ \"location\":\"uri\",\ \"locationName\":\"packageName\"\ },\ @@ -9302,7 +9302,7 @@ - (NSString *)definitionString { \"members\":{\ \"endpointType\":{\ \"shape\":\"EndpointType\",\ - \"documentation\":\"The endpoint type. Valid endpoint types include:
iot:Data
- Returns a VeriSign signed data endpoint.
iot:Data-ATS
- Returns an ATS signed data endpoint.
iot:CredentialProvider
- Returns an IoT credentials provider API endpoint.
iot:Jobs
- Returns an IoT device management Jobs API endpoint.
We strongly recommend that customers use the newer iot:Data-ATS
endpoint type to avoid issues related to the widespread distrust of Symantec certificate authorities.
The endpoint type. Valid endpoint types include:
iot:Data
- Returns a VeriSign signed data endpoint.
iot:Data-ATS
- Returns an ATS signed data endpoint.
iot:CredentialProvider
- Returns an IoT credentials provider API endpoint.
iot:Jobs
- Returns an IoT device management Jobs API endpoint.
We strongly recommend that customers use the newer iot:Data-ATS
endpoint type to avoid issues related to the widespread distrust of Symantec certificate authorities. ATS Signed Certificates are more secure and are trusted by most popular browsers.
The name of the target package.
\",\ + \"documentation\":\"The name of the target software package.
\",\ \"location\":\"uri\",\ \"locationName\":\"packageName\"\ }\ @@ -11257,7 +11257,7 @@ - (NSString *)definitionString { \"members\":{\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name of the package.
\"\ + \"documentation\":\"The name of the software package.
\"\ },\ \"packageArn\":{\ \"shape\":\"PackageArn\",\ @@ -11311,7 +11311,7 @@ - (NSString *)definitionString { },\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name of the package.
\"\ + \"documentation\":\"The name of the software package.
\"\ },\ \"versionName\":{\ \"shape\":\"VersionName\",\ @@ -12488,10 +12488,48 @@ - (NSString *)definitionString { \"clientProperties\":{\ \"shape\":\"ClientProperties\",\ \"documentation\":\"Properties of the Apache Kafka producer client.
\"\ + },\ + \"headers\":{\ + \"shape\":\"KafkaHeaders\",\ + \"documentation\":\"The list of Kafka headers that you specify.
\"\ }\ },\ \"documentation\":\"Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
\"\ },\ + \"KafkaActionHeader\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"key\",\ + \"value\"\ + ],\ + \"members\":{\ + \"key\":{\ + \"shape\":\"KafkaHeaderKey\",\ + \"documentation\":\"The key of the Kafka header.
\"\ + },\ + \"value\":{\ + \"shape\":\"KafkaHeaderValue\",\ + \"documentation\":\"The value of the Kafka header.
\"\ + }\ + },\ + \"documentation\":\"Specifies a Kafka header using key-value pairs when you create a Ruleâs Kafka Action. You can use these headers to route data from IoT clients to downstream Kafka clusters without modifying your message payload.
For more information about Rule's Kafka action, see Apache Kafka.
\"\ + },\ + \"KafkaHeaderKey\":{\ + \"type\":\"string\",\ + \"max\":16384,\ + \"min\":0\ + },\ + \"KafkaHeaderValue\":{\ + \"type\":\"string\",\ + \"max\":16384,\ + \"min\":0\ + },\ + \"KafkaHeaders\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"KafkaActionHeader\"},\ + \"max\":100,\ + \"min\":1\ + },\ \"Key\":{\"type\":\"string\"},\ \"KeyName\":{\ \"type\":\"string\",\ @@ -13808,7 +13846,7 @@ - (NSString *)definitionString { \"members\":{\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name of the target package.
\",\ + \"documentation\":\"The name of the target software package.
\",\ \"location\":\"uri\",\ \"locationName\":\"packageName\"\ },\ @@ -15137,7 +15175,9 @@ - (NSString *)definitionString { \"THING_GROUP\",\ \"CLIENT_ID\",\ \"SOURCE_IP\",\ - \"PRINCIPAL_ID\"\ + \"PRINCIPAL_ID\",\ + \"EVENT_TYPE\",\ + \"DEVICE_DEFENDER\"\ ]\ },\ \"LoggingOptionsPayload\":{\ @@ -15659,7 +15699,7 @@ - (NSString *)definitionString { },\ \"attributes\":{\ \"shape\":\"AttributesMap\",\ - \"documentation\":\"A list of name/attribute pairs.
\"\ + \"documentation\":\"A list of name-attribute pairs. They won't be sent to devices as a part of the Job document.
\"\ }\ },\ \"documentation\":\"Describes a file to be associated with an OTA update.
\"\ @@ -15867,7 +15907,7 @@ - (NSString *)definitionString { \"members\":{\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name for the target package.
\"\ + \"documentation\":\"The name for the target software package.
\"\ },\ \"defaultVersionName\":{\ \"shape\":\"VersionName\",\ @@ -17158,11 +17198,11 @@ - (NSString *)definitionString { \"members\":{\ \"startTime\":{\ \"shape\":\"StringDateTime\",\ - \"documentation\":\"The time a job will begin rollout of the job document to all devices in the target group for a job. The startTime
can be scheduled up to a year in advance and must be scheduled a minimum of thirty minutes from the current time. The date and time format for the startTime
is YYYY-MM-DD for the date and HH:MM for the time.
The time a job will begin rollout of the job document to all devices in the target group for a job. The startTime
can be scheduled up to a year in advance and must be scheduled a minimum of thirty minutes from the current time. The date and time format for the startTime
is YYYY-MM-DD for the date and HH:MM for the time.
For more information on the syntax for startTime
when using an API command or the Command Line Interface, see Timestamp.
The time a job will stop rollout of the job document to all devices in the target group for a job. The endTime
must take place no later than two years from the current time and be scheduled a minimum of thirty minutes from the current time. The minimum duration between startTime
and endTime
is thirty minutes. The maximum duration between startTime
and endTime
is two years. The date and time format for the endTime
is YYYY-MM-DD for the date and HH:MM for the time.
The time a job will stop rollout of the job document to all devices in the target group for a job. The endTime
must take place no later than two years from the current time and be scheduled a minimum of thirty minutes from the current time. The minimum duration between startTime
and endTime
is thirty minutes. The maximum duration between startTime
and endTime
is two years. The date and time format for the endTime
is YYYY-MM-DD for the date and HH:MM for the time.
For more information on the syntax for endTime
when using an API command or the Command Line Interface, see Timestamp.
The name of the target package.
\",\ + \"documentation\":\"The name of the target software package.
\",\ \"location\":\"uri\",\ \"locationName\":\"packageName\"\ },\ @@ -19764,7 +19804,7 @@ - (NSString *)definitionString { },\ \"attributes\":{\ \"shape\":\"ResourceAttributes\",\ - \"documentation\":\"Metadata that can be used to define a package versionâs configuration. For example, the S3 file location, configuration options that are being sent to the device or fleet.
Note: Attributes can be updated only when the package version is in a draft state.
The combined size of all the attributes on a package version is limited to 3KB.
\"\ + \"documentation\":\"Metadata that can be used to define a package versionâs configuration. For example, the Amazon S3 file location, configuration options that are being sent to the device or fleet.
Note: Attributes can be updated only when the package version is in a draft state.
The combined size of all the attributes on a package version is limited to 3KB.
\"\ },\ \"action\":{\ \"shape\":\"PackageVersionAction\",\ diff --git a/AWSIoT/AWSIoTService.h b/AWSIoT/AWSIoTService.h index 9c82b727a7d..c22b406c50b 100644 --- a/AWSIoT/AWSIoTService.h +++ b/AWSIoT/AWSIoTService.h @@ -635,7 +635,7 @@ FOUNDATION_EXPORT NSString *const AWSIoTSDKVersion; - (void)createBillingGroup:(AWSIoTCreateBillingGroupRequest *)request completionHandler:(void (^ _Nullable)(AWSIoTCreateBillingGroupResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Creates an X.509 certificate using the specified certificate signing request.
Requires permission to access the CreateCertificateFromCsr action.
The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. For supported certificates, consult Certificate signing algorithms supported by IoT.
Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr
files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs. In the following commands, we assume that a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr
Amazon Web Services CLI command to create a certificate for the corresponding CSR.
You can also run the aws iot create-certificate-from-csr
part of the command in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
Creates an X.509 certificate using the specified certificate signing request.
Requires permission to access the CreateCertificateFromCsr action.
The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256, NIST P-384, or NIST P-521 curves. For supported certificates, consult Certificate signing algorithms supported by IoT.
Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr
files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs. In the following commands, we assume that a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr
Amazon Web Services CLI command to create a certificate for the corresponding CSR.
You can also run the aws iot create-certificate-from-csr
part of the command in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
Creates an X.509 certificate using the specified certificate signing request.
Requires permission to access the CreateCertificateFromCsr action.
The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves. For supported certificates, consult Certificate signing algorithms supported by IoT.
Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr
files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs. In the following commands, we assume that a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr
Amazon Web Services CLI command to create a certificate for the corresponding CSR.
You can also run the aws iot create-certificate-from-csr
part of the command in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
Creates an X.509 certificate using the specified certificate signing request.
Requires permission to access the CreateCertificateFromCsr action.
The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256, NIST P-384, or NIST P-521 curves. For supported certificates, consult Certificate signing algorithms supported by IoT.
Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr
files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs. In the following commands, we assume that a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr
Amazon Web Services CLI command to create a certificate for the corresponding CSR.
You can also run the aws iot create-certificate-from-csr
part of the command in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
Deletes a specific version from a software package.
Note: If a package version is designated as default, you must remove the designation from the package using the UpdatePackage action.
+Deletes a specific version from a software package.
Note: If a package version is designated as default, you must remove the designation from the software package using the UpdatePackage action.
@param request A container for the necessary parameters to execute the DeletePackageVersion service method. @@ -1729,7 +1729,7 @@ FOUNDATION_EXPORT NSString *const AWSIoTSDKVersion; - (AWSTaskDeletes a specific version from a software package.
Note: If a package version is designated as default, you must remove the designation from the package using the UpdatePackage action.
+Deletes a specific version from a software package.
Note: If a package version is designated as default, you must remove the designation from the software package using the UpdatePackage action.
@param request A container for the necessary parameters to execute the DeletePackageVersion service method. @param completionHandler The completion handler to call when the load request is complete. @@ -6013,7 +6013,7 @@ FOUNDATION_EXPORT NSString *const AWSIoTSDKVersion; - (void)updateMitigationAction:(AWSIoTUpdateMitigationActionRequest *)request completionHandler:(void (^ _Nullable)(AWSIoTUpdateMitigationActionResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Updates the supported fields for a specific package.
Requires permission to access the UpdatePackage and GetIndexingConfiguration actions.
+Updates the supported fields for a specific software package.
Requires permission to access the UpdatePackage and GetIndexingConfiguration actions.
@param request A container for the necessary parameters to execute the UpdatePackage service method. @@ -6025,7 +6025,7 @@ FOUNDATION_EXPORT NSString *const AWSIoTSDKVersion; - (AWSTaskUpdates the supported fields for a specific package.
Requires permission to access the UpdatePackage and GetIndexingConfiguration actions.
+Updates the supported fields for a specific software package.
Requires permission to access the UpdatePackage and GetIndexingConfiguration actions.
@param request A container for the necessary parameters to execute the UpdatePackage service method. @param completionHandler The completion handler to call when the load request is complete. @@ -6038,7 +6038,7 @@ FOUNDATION_EXPORT NSString *const AWSIoTSDKVersion; - (void)updatePackage:(AWSIoTUpdatePackageRequest *)request completionHandler:(void (^ _Nullable)(AWSIoTUpdatePackageResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Updates the package configuration.
Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions.
+Updates the software package configuration.
Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions.
@param request A container for the necessary parameters to execute the UpdatePackageConfiguration service method. @@ -6050,7 +6050,7 @@ FOUNDATION_EXPORT NSString *const AWSIoTSDKVersion; - (AWSTaskUpdates the package configuration.
Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions.
+Updates the software package configuration.
Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions.
@param request A container for the necessary parameters to execute the UpdatePackageConfiguration service method. @param completionHandler The completion handler to call when the load request is complete. diff --git a/AWSIoTUnitTests/AWSIoTNSSecureCodingTests.m b/AWSIoTUnitTests/AWSIoTNSSecureCodingTests.m index b8dde4637aa..81ce5b89518 100644 --- a/AWSIoTUnitTests/AWSIoTNSSecureCodingTests.m +++ b/AWSIoTUnitTests/AWSIoTNSSecureCodingTests.m @@ -375,6 +375,7 @@ - (void) test_AWSIoTJobProcessDetails API_AVAILABLE(ios(11)); - (void) test_AWSIoTJobSummary API_AVAILABLE(ios(11)); - (void) test_AWSIoTJobTemplateSummary API_AVAILABLE(ios(11)); - (void) test_AWSIoTKafkaAction API_AVAILABLE(ios(11)); +- (void) test_AWSIoTKafkaActionHeader API_AVAILABLE(ios(11)); - (void) test_AWSIoTKeyPair API_AVAILABLE(ios(11)); - (void) test_AWSIoTKinesisAction API_AVAILABLE(ios(11)); - (void) test_AWSIoTLambdaAction API_AVAILABLE(ios(11)); @@ -2127,6 +2128,10 @@ - (void) test_AWSIoTKafkaAction { [self validateSecureCodingForClass:[AWSIoTKafkaAction class]]; } +- (void) test_AWSIoTKafkaActionHeader { + [self validateSecureCodingForClass:[AWSIoTKafkaActionHeader class]]; +} + - (void) test_AWSIoTKeyPair { [self validateSecureCodingForClass:[AWSIoTKeyPair class]]; } From 52a40f55d22127eb67dffe5c9e746370eba59486 Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Bot <46607340+awsmobilesdk@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:44:22 -0700 Subject: [PATCH 13/17] feat(AWSFirehose): update models to latest (#4972) --- AWSKinesis/AWSFirehoseModel.h | 93 ++++++++++++++ AWSKinesis/AWSFirehoseModel.m | 120 ++++++++++++++++++ AWSKinesis/AWSFirehoseResources.m | 104 ++++++++++++++- AWSKinesis/AWSFirehoseService.h | 12 +- .../AWSFirehoseNSSecureCodingTests.m | 15 +++ 5 files changed, 331 insertions(+), 13 deletions(-) diff --git a/AWSKinesis/AWSFirehoseModel.h b/AWSKinesis/AWSFirehoseModel.h index f93a66ec5e7..673c828a4b5 100644 --- a/AWSKinesis/AWSFirehoseModel.h +++ b/AWSKinesis/AWSFirehoseModel.h @@ -62,6 +62,12 @@ typedef NS_ENUM(NSInteger, AWSFirehoseCompressionFormat) { AWSFirehoseCompressionFormatHadoopSnappy, }; +typedef NS_ENUM(NSInteger, AWSFirehoseConnectivity) { + AWSFirehoseConnectivityUnknown, + AWSFirehoseConnectivityPublic, + AWSFirehoseConnectivityPrivate, +}; + typedef NS_ENUM(NSInteger, AWSFirehoseContentEncoding) { AWSFirehoseContentEncodingUnknown, AWSFirehoseContentEncodingNone, @@ -116,6 +122,7 @@ typedef NS_ENUM(NSInteger, AWSFirehoseDeliveryStreamType) { AWSFirehoseDeliveryStreamTypeUnknown, AWSFirehoseDeliveryStreamTypeDirectPut, AWSFirehoseDeliveryStreamTypeKinesisStreamAsSource, + AWSFirehoseDeliveryStreamTypeMSKAsSource, }; typedef NS_ENUM(NSInteger, AWSFirehoseElasticsearchIndexRotationPeriod) { @@ -193,11 +200,13 @@ typedef NS_ENUM(NSInteger, AWSFirehoseProcessorParameterName) { AWSFirehoseProcessorParameterNameBufferIntervalInSeconds, AWSFirehoseProcessorParameterNameSubRecordType, AWSFirehoseProcessorParameterNameDelimiter, + AWSFirehoseProcessorParameterNameCompressionFormat, }; typedef NS_ENUM(NSInteger, AWSFirehoseProcessorType) { AWSFirehoseProcessorTypeUnknown, AWSFirehoseProcessorTypeRecordDeAggregation, + AWSFirehoseProcessorTypeDecompression, AWSFirehoseProcessorTypeLambda, AWSFirehoseProcessorTypeMetadataExtraction, AWSFirehoseProcessorTypeAppendDelimiterToRecord, @@ -231,6 +240,7 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { @class AWSFirehoseAmazonopensearchserviceDestinationDescription; @class AWSFirehoseAmazonopensearchserviceDestinationUpdate; @class AWSFirehoseAmazonopensearchserviceRetryOptions; +@class AWSFirehoseAuthenticationConfiguration; @class AWSFirehoseBufferingHints; @class AWSFirehoseCloudWatchLoggingOptions; @class AWSFirehoseReplicateCommand; @@ -276,6 +286,8 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { @class AWSFirehoseListDeliveryStreamsOutput; @class AWSFirehoseListTagsForDeliveryStreamInput; @class AWSFirehoseListTagsForDeliveryStreamOutput; +@class AWSFirehoseMSKSourceConfiguration; +@class AWSFirehoseMSKSourceDescription; @class AWSFirehoseOpenXJsonSerDe; @class AWSFirehoseOrcSerDe; @class AWSFirehoseOutputFormatConfiguration; @@ -770,6 +782,25 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { @end +/** +The authentication configuration of the Amazon MSK cluster.
+ Required parameters: [RoleARN, Connectivity] + */ +@interface AWSFirehoseAuthenticationConfiguration : AWSModel + + +/** +The type of connectivity used to access the Amazon MSK cluster.
+ */ +@property (nonatomic, assign) AWSFirehoseConnectivity connectivity; + +/** +The ARN of the role used to access the Amazon MSK cluster.
+ */ +@property (nonatomic, strong) NSString * _Nullable roleARN; + +@end + /**Describes hints for the buffering to perform before delivering data to the destination. These options are treated as hints, and therefore Kinesis Data Firehose might choose to use different values when it is optimal. The SizeInMBs
and IntervalInSeconds
parameters are optional. However, if specify a value for one of them, you must also provide a value for the other.
The configuration for the Amazon MSK cluster to be used as the source for a delivery stream.
+ */ +@property (nonatomic, strong) AWSFirehoseMSKSourceConfiguration * _Nullable MSKSourceConfiguration; + /**The destination in Amazon Redshift. You can specify only one destination.
*/ @@ -2179,6 +2215,58 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { @end +/** +The configuration for the Amazon MSK cluster to be used as the source for a delivery stream.
+ Required parameters: [MSKClusterARN, TopicName, AuthenticationConfiguration] + */ +@interface AWSFirehoseMSKSourceConfiguration : AWSModel + + +/** +The authentication configuration of the Amazon MSK cluster.
+ */ +@property (nonatomic, strong) AWSFirehoseAuthenticationConfiguration * _Nullable authenticationConfiguration; + +/** +The ARN of the Amazon MSK cluster.
+ */ +@property (nonatomic, strong) NSString * _Nullable MSKClusterARN; + +/** +The topic name within the Amazon MSK cluster.
+ */ +@property (nonatomic, strong) NSString * _Nullable topicName; + +@end + +/** +Details about the Amazon MSK cluster used as the source for a Kinesis Data Firehose delivery stream.
+ */ +@interface AWSFirehoseMSKSourceDescription : AWSModel + + +/** +The authentication configuration of the Amazon MSK cluster.
+ */ +@property (nonatomic, strong) AWSFirehoseAuthenticationConfiguration * _Nullable authenticationConfiguration; + +/** +Kinesis Data Firehose starts retrieving records from the topic within the Amazon MSK cluster starting with this timestamp.
+ */ +@property (nonatomic, strong) NSDate * _Nullable deliveryStartTimestamp; + +/** +The ARN of the Amazon MSK cluster.
+ */ +@property (nonatomic, strong) NSString * _Nullable MSKClusterARN; + +/** +The topic name within the Amazon MSK cluster.
+ */ +@property (nonatomic, strong) NSString * _Nullable topicName; + +@end + /**The OpenX SerDe. Used by Kinesis Data Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the native Hive / HCatalog JsonSerDe.
*/ @@ -2906,6 +2994,11 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { */ @property (nonatomic, strong) AWSFirehoseKinesisStreamSourceDescription * _Nullable kinesisStreamSourceDescription; +/** +The configuration description for the Amazon MSK cluster to be used as the source for a delivery stream.
+ */ +@property (nonatomic, strong) AWSFirehoseMSKSourceDescription * _Nullable MSKSourceDescription; + @end /** diff --git a/AWSKinesis/AWSFirehoseModel.m b/AWSKinesis/AWSFirehoseModel.m index b96f0634288..9dea2b9ccb5 100644 --- a/AWSKinesis/AWSFirehoseModel.m +++ b/AWSKinesis/AWSFirehoseModel.m @@ -562,6 +562,42 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSFirehoseAuthenticationConfiguration + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"connectivity" : @"Connectivity", + @"roleARN" : @"RoleARN", + }; +} + ++ (NSValueTransformer *)connectivityJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"PUBLIC"] == NSOrderedSame) { + return @(AWSFirehoseConnectivityPublic); + } + if ([value caseInsensitiveCompare:@"PRIVATE"] == NSOrderedSame) { + return @(AWSFirehoseConnectivityPrivate); + } + return @(AWSFirehoseConnectivityUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSFirehoseConnectivityPublic: + return @"PUBLIC"; + case AWSFirehoseConnectivityPrivate: + return @"PRIVATE"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSFirehoseBufferingHints + (BOOL)supportsSecureCoding { @@ -626,6 +662,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"extendedS3DestinationConfiguration" : @"ExtendedS3DestinationConfiguration", @"httpEndpointDestinationConfiguration" : @"HttpEndpointDestinationConfiguration", @"kinesisStreamSourceConfiguration" : @"KinesisStreamSourceConfiguration", + @"MSKSourceConfiguration" : @"MSKSourceConfiguration", @"redshiftDestinationConfiguration" : @"RedshiftDestinationConfiguration", @"s3DestinationConfiguration" : @"S3DestinationConfiguration", @"splunkDestinationConfiguration" : @"SplunkDestinationConfiguration", @@ -653,6 +690,9 @@ + (NSValueTransformer *)deliveryStreamTypeJSONTransformer { if ([value caseInsensitiveCompare:@"KinesisStreamAsSource"] == NSOrderedSame) { return @(AWSFirehoseDeliveryStreamTypeKinesisStreamAsSource); } + if ([value caseInsensitiveCompare:@"MSKAsSource"] == NSOrderedSame) { + return @(AWSFirehoseDeliveryStreamTypeMSKAsSource); + } return @(AWSFirehoseDeliveryStreamTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -660,6 +700,8 @@ + (NSValueTransformer *)deliveryStreamTypeJSONTransformer { return @"DirectPut"; case AWSFirehoseDeliveryStreamTypeKinesisStreamAsSource: return @"KinesisStreamAsSource"; + case AWSFirehoseDeliveryStreamTypeMSKAsSource: + return @"MSKAsSource"; default: return nil; } @@ -682,6 +724,10 @@ + (NSValueTransformer *)kinesisStreamSourceConfigurationJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseKinesisStreamSourceConfiguration class]]; } ++ (NSValueTransformer *)MSKSourceConfigurationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseMSKSourceConfiguration class]]; +} + + (NSValueTransformer *)redshiftDestinationConfigurationJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseRedshiftDestinationConfiguration class]]; } @@ -845,6 +891,9 @@ + (NSValueTransformer *)deliveryStreamTypeJSONTransformer { if ([value caseInsensitiveCompare:@"KinesisStreamAsSource"] == NSOrderedSame) { return @(AWSFirehoseDeliveryStreamTypeKinesisStreamAsSource); } + if ([value caseInsensitiveCompare:@"MSKAsSource"] == NSOrderedSame) { + return @(AWSFirehoseDeliveryStreamTypeMSKAsSource); + } return @(AWSFirehoseDeliveryStreamTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -852,6 +901,8 @@ + (NSValueTransformer *)deliveryStreamTypeJSONTransformer { return @"DirectPut"; case AWSFirehoseDeliveryStreamTypeKinesisStreamAsSource: return @"KinesisStreamAsSource"; + case AWSFirehoseDeliveryStreamTypeMSKAsSource: + return @"MSKAsSource"; default: return nil; } @@ -2406,6 +2457,9 @@ + (NSValueTransformer *)deliveryStreamTypeJSONTransformer { if ([value caseInsensitiveCompare:@"KinesisStreamAsSource"] == NSOrderedSame) { return @(AWSFirehoseDeliveryStreamTypeKinesisStreamAsSource); } + if ([value caseInsensitiveCompare:@"MSKAsSource"] == NSOrderedSame) { + return @(AWSFirehoseDeliveryStreamTypeMSKAsSource); + } return @(AWSFirehoseDeliveryStreamTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -2413,6 +2467,8 @@ + (NSValueTransformer *)deliveryStreamTypeJSONTransformer { return @"DirectPut"; case AWSFirehoseDeliveryStreamTypeKinesisStreamAsSource: return @"KinesisStreamAsSource"; + case AWSFirehoseDeliveryStreamTypeMSKAsSource: + return @"MSKAsSource"; default: return nil; } @@ -2471,6 +2527,55 @@ + (NSValueTransformer *)tagsJSONTransformer { @end +@implementation AWSFirehoseMSKSourceConfiguration + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"authenticationConfiguration" : @"AuthenticationConfiguration", + @"MSKClusterARN" : @"MSKClusterARN", + @"topicName" : @"TopicName", + }; +} + ++ (NSValueTransformer *)authenticationConfigurationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseAuthenticationConfiguration class]]; +} + +@end + +@implementation AWSFirehoseMSKSourceDescription + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"authenticationConfiguration" : @"AuthenticationConfiguration", + @"deliveryStartTimestamp" : @"DeliveryStartTimestamp", + @"MSKClusterARN" : @"MSKClusterARN", + @"topicName" : @"TopicName", + }; +} + ++ (NSValueTransformer *)authenticationConfigurationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseAuthenticationConfiguration class]]; +} + ++ (NSValueTransformer *)deliveryStartTimestampJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + +@end + @implementation AWSFirehoseOpenXJsonSerDe + (BOOL)supportsSecureCoding { @@ -2682,6 +2787,9 @@ + (NSValueTransformer *)typesJSONTransformer { if ([value caseInsensitiveCompare:@"RecordDeAggregation"] == NSOrderedSame) { return @(AWSFirehoseProcessorTypeRecordDeAggregation); } + if ([value caseInsensitiveCompare:@"Decompression"] == NSOrderedSame) { + return @(AWSFirehoseProcessorTypeDecompression); + } if ([value caseInsensitiveCompare:@"Lambda"] == NSOrderedSame) { return @(AWSFirehoseProcessorTypeLambda); } @@ -2696,6 +2804,8 @@ + (NSValueTransformer *)typesJSONTransformer { switch ([value integerValue]) { case AWSFirehoseProcessorTypeRecordDeAggregation: return @"RecordDeAggregation"; + case AWSFirehoseProcessorTypeDecompression: + return @"Decompression"; case AWSFirehoseProcessorTypeLambda: return @"Lambda"; case AWSFirehoseProcessorTypeMetadataExtraction: @@ -2752,6 +2862,9 @@ + (NSValueTransformer *)parameterNameJSONTransformer { if ([value caseInsensitiveCompare:@"Delimiter"] == NSOrderedSame) { return @(AWSFirehoseProcessorParameterNameDelimiter); } + if ([value caseInsensitiveCompare:@"CompressionFormat"] == NSOrderedSame) { + return @(AWSFirehoseProcessorParameterNameCompressionFormat); + } return @(AWSFirehoseProcessorParameterNameUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -2773,6 +2886,8 @@ + (NSValueTransformer *)parameterNameJSONTransformer { return @"SubRecordType"; case AWSFirehoseProcessorParameterNameDelimiter: return @"Delimiter"; + case AWSFirehoseProcessorParameterNameCompressionFormat: + return @"CompressionFormat"; default: return nil; } @@ -3376,6 +3491,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"kinesisStreamSourceDescription" : @"KinesisStreamSourceDescription", + @"MSKSourceDescription" : @"MSKSourceDescription", }; } @@ -3383,6 +3499,10 @@ + (NSValueTransformer *)kinesisStreamSourceDescriptionJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseKinesisStreamSourceDescription class]]; } ++ (NSValueTransformer *)MSKSourceDescriptionJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseMSKSourceDescription class]]; +} + @end @implementation AWSFirehoseSplunkDestinationConfiguration diff --git a/AWSKinesis/AWSFirehoseResources.m b/AWSKinesis/AWSFirehoseResources.m index 4fe83fc56b9..7b782c54844 100644 --- a/AWSKinesis/AWSFirehoseResources.m +++ b/AWSKinesis/AWSFirehoseResources.m @@ -153,7 +153,7 @@ - (NSString *)definitionString { {\"shape\":\"InvalidKMSResourceException\"},\ {\"shape\":\"ServiceUnavailableException\"}\ ],\ - \"documentation\":\"Writes a single data record into an Amazon Kinesis Data Firehose delivery stream. To write multiple data records into a delivery stream, use PutRecordBatch. Applications using these operations are referred to as producers.
By default, each delivery stream can take in up to 2,000 transactions per second, 5,000 records per second, or 5 MB per second. If you use PutRecord and PutRecordBatch, the limits are an aggregate across these two operations for each delivery stream. For more information about limits and how to request an increase, see Amazon Kinesis Data Firehose Limits.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KiB in size, and any kind of data. For example, it can be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\\\\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecord
operation returns a RecordId
, which is a unique string assigned to each record. Producer applications can use this ID for purposes such as auditability and investigation.
If the PutRecord
operation throws a ServiceUnavailableException
, back off and retry. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it tries to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Writes a single data record into an Amazon Kinesis Data Firehose delivery stream. To write multiple data records into a delivery stream, use PutRecordBatch. Applications using these operations are referred to as producers.
By default, each delivery stream can take in up to 2,000 transactions per second, 5,000 records per second, or 5 MB per second. If you use PutRecord and PutRecordBatch, the limits are an aggregate across these two operations for each delivery stream. For more information about limits and how to request an increase, see Amazon Kinesis Data Firehose Limits.
Kinesis Data Firehose accumulates and publishes a particular metric for a customer account in one minute intervals. It is possible that the bursts of incoming bytes/records ingested to a delivery stream last only for a few seconds. Due to this, the actual spikes in the traffic might not be fully visible in the customer's 1 minute CloudWatch metrics.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KiB in size, and any kind of data. For example, it can be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\\\\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecord
operation returns a RecordId
, which is a unique string assigned to each record. Producer applications can use this ID for purposes such as auditability and investigation.
If the PutRecord
operation throws a ServiceUnavailableException
, the API is automatically reinvoked (retried) 3 times. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Re-invoking the Put API operations (for example, PutRecord and PutRecordBatch) can result in data duplicates. For larger data assets, allow for a longer time out before retrying Put API operations.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it tries to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Writes multiple data records into a delivery stream in a single call, which can achieve higher throughput per producer than when writing single records. To write single data records into a delivery stream, use PutRecord. Applications using these operations are referred to as producers.
For information about service quota, see Amazon Kinesis Data Firehose Quota.
Each PutRecordBatch request supports up to 500 records. Each record in the request can be as large as 1,000 KB (before base64 encoding), up to a limit of 4 MB for the entire request. These limits cannot be changed.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KB in size, and any kind of data. For example, it could be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\\\\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecordBatch response includes a count of failed records, FailedPutCount
, and an array of responses, RequestResponses
. Even if the PutRecordBatch call succeeds, the value of FailedPutCount
may be greater than 0, indicating that there are records for which the operation didn't succeed. Each entry in the RequestResponses
array provides additional information about the processed record. It directly correlates with a record in the request array using the same ordering, from the top to the bottom. The response array always includes the same number of records as the request array. RequestResponses
includes both successfully and unsuccessfully processed records. Kinesis Data Firehose tries to process all records in each PutRecordBatch request. A single record failure does not stop the processing of subsequent records.
A successfully processed record includes a RecordId
value, which is unique for the record. An unsuccessfully processed record includes ErrorCode
and ErrorMessage
values. ErrorCode
reflects the type of error, and is one of the following values: ServiceUnavailableException
or InternalFailure
. ErrorMessage
provides more detailed information about the error.
If there is an internal server error or a timeout, the write might have completed or it might have failed. If FailedPutCount
is greater than 0, retry the request, resending only those records that might have failed processing. This minimizes the possible duplicate records and also reduces the total bytes sent (and corresponding charges). We recommend that you handle any duplicates at the destination.
If PutRecordBatch throws ServiceUnavailableException
, back off and retry. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it attempts to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Writes multiple data records into a delivery stream in a single call, which can achieve higher throughput per producer than when writing single records. To write single data records into a delivery stream, use PutRecord. Applications using these operations are referred to as producers.
Kinesis Data Firehose accumulates and publishes a particular metric for a customer account in one minute intervals. It is possible that the bursts of incoming bytes/records ingested to a delivery stream last only for a few seconds. Due to this, the actual spikes in the traffic might not be fully visible in the customer's 1 minute CloudWatch metrics.
For information about service quota, see Amazon Kinesis Data Firehose Quota.
Each PutRecordBatch request supports up to 500 records. Each record in the request can be as large as 1,000 KB (before base64 encoding), up to a limit of 4 MB for the entire request. These limits cannot be changed.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KB in size, and any kind of data. For example, it could be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\\\\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecordBatch response includes a count of failed records, FailedPutCount
, and an array of responses, RequestResponses
. Even if the PutRecordBatch call succeeds, the value of FailedPutCount
may be greater than 0, indicating that there are records for which the operation didn't succeed. Each entry in the RequestResponses
array provides additional information about the processed record. It directly correlates with a record in the request array using the same ordering, from the top to the bottom. The response array always includes the same number of records as the request array. RequestResponses
includes both successfully and unsuccessfully processed records. Kinesis Data Firehose tries to process all records in each PutRecordBatch request. A single record failure does not stop the processing of subsequent records.
A successfully processed record includes a RecordId
value, which is unique for the record. An unsuccessfully processed record includes ErrorCode
and ErrorMessage
values. ErrorCode
reflects the type of error, and is one of the following values: ServiceUnavailableException
or InternalFailure
. ErrorMessage
provides more detailed information about the error.
If there is an internal server error or a timeout, the write might have completed or it might have failed. If FailedPutCount
is greater than 0, retry the request, resending only those records that might have failed processing. This minimizes the possible duplicate records and also reduces the total bytes sent (and corresponding charges). We recommend that you handle any duplicates at the destination.
If PutRecordBatch throws ServiceUnavailableException
, the API is automatically reinvoked (retried) 3 times. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Re-invoking the Put API operations (for example, PutRecord and PutRecordBatch) can result in data duplicates. For larger data assets, allow for a longer time out before retrying Put API operations.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it attempts to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Enables server-side encryption (SSE) for the delivery stream.
This operation is asynchronous. It returns immediately. When you invoke it, Kinesis Data Firehose first sets the encryption status of the stream to ENABLING
, and then to ENABLED
. The encryption status of a delivery stream is the Status
property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED
. You can continue to read and write data to your delivery stream while the encryption status is ENABLING
, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED
before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively.
To check the encryption status of a delivery stream, use DescribeDeliveryStream.
Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant.
If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED
, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK.
If the encryption status of your delivery stream is ENABLING_FAILED
, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Kinesis Data Firehose to invoke KMS encrypt and decrypt operations.
You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut
as its source.
The StartDeliveryStreamEncryption
and StopDeliveryStreamEncryption
operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption
13 times and StopDeliveryStreamEncryption
12 times for the same delivery stream in a 24-hour period.
Enables server-side encryption (SSE) for the delivery stream.
This operation is asynchronous. It returns immediately. When you invoke it, Kinesis Data Firehose first sets the encryption status of the stream to ENABLING
, and then to ENABLED
. The encryption status of a delivery stream is the Status
property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED
. You can continue to read and write data to your delivery stream while the encryption status is ENABLING
, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED
before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively.
To check the encryption status of a delivery stream, use DescribeDeliveryStream.
Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant.
For the KMS grant creation to be successful, Kinesis Data Firehose APIs StartDeliveryStreamEncryption
and CreateDeliveryStream
should not be called with session credentials that are more than 6 hours old.
If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED
, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK.
If the encryption status of your delivery stream is ENABLING_FAILED
, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Kinesis Data Firehose to invoke KMS encrypt and decrypt operations.
You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut
as its source.
The StartDeliveryStreamEncryption
and StopDeliveryStreamEncryption
operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption
13 times and StopDeliveryStreamEncryption
12 times for the same delivery stream in a 24-hour period.
The ARN of the role used to access the Amazon MSK cluster.
\"\ + },\ + \"Connectivity\":{\ + \"shape\":\"Connectivity\",\ + \"documentation\":\"The type of connectivity used to access the Amazon MSK cluster.
\"\ + }\ + },\ + \"documentation\":\"The authentication configuration of the Amazon MSK cluster.
\"\ + },\ \"BlockSizeBytes\":{\ \"type\":\"integer\",\ \"min\":67108864\ @@ -697,7 +715,7 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"max\":512,\ \"min\":1,\ - \"pattern\":\"jdbc:(redshift|postgresql)://((?!-)[A-Za-z0-9-]{1,63}(?Another modification has already happened. FetchVersionId
again and use it to update the destination.\",\
\"exception\":true\
},\
+ \"Connectivity\":{\
+ \"type\":\"string\",\
+ \"enum\":[\
+ \"PUBLIC\",\
+ \"PRIVATE\"\
+ ]\
+ },\
\"ContentEncoding\":{\
\"type\":\"string\",\
\"enum\":[\
@@ -813,7 +838,8 @@ - (NSString *)definitionString {
\"AmazonOpenSearchServerlessDestinationConfiguration\":{\
\"shape\":\"AmazonOpenSearchServerlessDestinationConfiguration\",\
\"documentation\":\"The destination in the Serverless offering for Amazon OpenSearch Service. You can specify only one destination.
\"\ - }\ + },\ + \"MSKSourceConfiguration\":{\"shape\":\"MSKSourceConfiguration\"}\ }\ },\ \"CreateDeliveryStreamOutput\":{\ @@ -1052,7 +1078,8 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"DirectPut\",\ - \"KinesisStreamAsSource\"\ + \"KinesisStreamAsSource\",\ + \"MSKAsSource\"\ ]\ },\ \"DeliveryStreamVersionId\":{\ @@ -2173,6 +2200,57 @@ - (NSString *)definitionString { \"min\":0,\ \"pattern\":\"[^:*]*\"\ },\ + \"MSKClusterARN\":{\ + \"type\":\"string\",\ + \"max\":512,\ + \"min\":1,\ + \"pattern\":\"arn:.*\"\ + },\ + \"MSKSourceConfiguration\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"MSKClusterARN\",\ + \"TopicName\",\ + \"AuthenticationConfiguration\"\ + ],\ + \"members\":{\ + \"MSKClusterARN\":{\ + \"shape\":\"MSKClusterARN\",\ + \"documentation\":\"The ARN of the Amazon MSK cluster.
\"\ + },\ + \"TopicName\":{\ + \"shape\":\"TopicName\",\ + \"documentation\":\"The topic name within the Amazon MSK cluster.
\"\ + },\ + \"AuthenticationConfiguration\":{\ + \"shape\":\"AuthenticationConfiguration\",\ + \"documentation\":\"The authentication configuration of the Amazon MSK cluster.
\"\ + }\ + },\ + \"documentation\":\"The configuration for the Amazon MSK cluster to be used as the source for a delivery stream.
\"\ + },\ + \"MSKSourceDescription\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"MSKClusterARN\":{\ + \"shape\":\"MSKClusterARN\",\ + \"documentation\":\"The ARN of the Amazon MSK cluster.
\"\ + },\ + \"TopicName\":{\ + \"shape\":\"TopicName\",\ + \"documentation\":\"The topic name within the Amazon MSK cluster.
\"\ + },\ + \"AuthenticationConfiguration\":{\ + \"shape\":\"AuthenticationConfiguration\",\ + \"documentation\":\"The authentication configuration of the Amazon MSK cluster.
\"\ + },\ + \"DeliveryStartTimestamp\":{\ + \"shape\":\"DeliveryStartTimestamp\",\ + \"documentation\":\"Kinesis Data Firehose starts retrieving records from the topic within the Amazon MSK cluster starting with this timestamp.
\"\ + }\ + },\ + \"documentation\":\"Details about the Amazon MSK cluster used as the source for a Kinesis Data Firehose delivery stream.
\"\ + },\ \"NoEncryptionConfig\":{\ \"type\":\"string\",\ \"enum\":[\"NoEncryption\"]\ @@ -2418,7 +2496,8 @@ - (NSString *)definitionString { \"BufferSizeInMBs\",\ \"BufferIntervalInSeconds\",\ \"SubRecordType\",\ - \"Delimiter\"\ + \"Delimiter\",\ + \"CompressionFormat\"\ ]\ },\ \"ProcessorParameterValue\":{\ @@ -2431,6 +2510,7 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"RecordDeAggregation\",\ + \"Decompression\",\ \"Lambda\",\ \"MetadataExtraction\",\ \"AppendDelimiterToRecord\"\ @@ -2986,6 +3066,10 @@ - (NSString *)definitionString { \"KinesisStreamSourceDescription\":{\ \"shape\":\"KinesisStreamSourceDescription\",\ \"documentation\":\"The KinesisStreamSourceDescription value for the source Kinesis data stream.
\"\ + },\ + \"MSKSourceDescription\":{\ + \"shape\":\"MSKSourceDescription\",\ + \"documentation\":\"The configuration description for the Amazon MSK cluster to be used as the source for a delivery stream.
\"\ }\ },\ \"documentation\":\"Details about a Kinesis data stream used as the source for a Kinesis Data Firehose delivery stream.
\"\ @@ -3246,6 +3330,12 @@ - (NSString *)definitionString { \"pattern\":\"^[\\\\p{L}\\\\p{Z}\\\\p{N}_.:\\\\/=+\\\\-@%]*$\"\ },\ \"Timestamp\":{\"type\":\"timestamp\"},\ + \"TopicName\":{\ + \"type\":\"string\",\ + \"max\":255,\ + \"min\":1,\ + \"pattern\":\"[a-zA-Z0-9\\\\\\\\._\\\\\\\\-]+\"\ + },\ \"UntagDeliveryStreamInput\":{\ \"type\":\"structure\",\ \"required\":[\ diff --git a/AWSKinesis/AWSFirehoseService.h b/AWSKinesis/AWSFirehoseService.h index 2d0ba43a075..7b73487c82d 100644 --- a/AWSKinesis/AWSFirehoseService.h +++ b/AWSKinesis/AWSFirehoseService.h @@ -300,7 +300,7 @@ FOUNDATION_EXPORT NSString *const AWSFirehoseSDKVersion; - (void)listTagsForDeliveryStream:(AWSFirehoseListTagsForDeliveryStreamInput *)request completionHandler:(void (^ _Nullable)(AWSFirehoseListTagsForDeliveryStreamOutput * _Nullable response, NSError * _Nullable error))completionHandler; /** -Writes a single data record into an Amazon Kinesis Data Firehose delivery stream. To write multiple data records into a delivery stream, use PutRecordBatch. Applications using these operations are referred to as producers.
By default, each delivery stream can take in up to 2,000 transactions per second, 5,000 records per second, or 5 MB per second. If you use PutRecord and PutRecordBatch, the limits are an aggregate across these two operations for each delivery stream. For more information about limits and how to request an increase, see Amazon Kinesis Data Firehose Limits.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KiB in size, and any kind of data. For example, it can be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecord
operation returns a RecordId
, which is a unique string assigned to each record. Producer applications can use this ID for purposes such as auditability and investigation.
If the PutRecord
operation throws a ServiceUnavailableException
, back off and retry. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it tries to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Writes a single data record into an Amazon Kinesis Data Firehose delivery stream. To write multiple data records into a delivery stream, use PutRecordBatch. Applications using these operations are referred to as producers.
By default, each delivery stream can take in up to 2,000 transactions per second, 5,000 records per second, or 5 MB per second. If you use PutRecord and PutRecordBatch, the limits are an aggregate across these two operations for each delivery stream. For more information about limits and how to request an increase, see Amazon Kinesis Data Firehose Limits.
Kinesis Data Firehose accumulates and publishes a particular metric for a customer account in one minute intervals. It is possible that the bursts of incoming bytes/records ingested to a delivery stream last only for a few seconds. Due to this, the actual spikes in the traffic might not be fully visible in the customer's 1 minute CloudWatch metrics.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KiB in size, and any kind of data. For example, it can be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecord
operation returns a RecordId
, which is a unique string assigned to each record. Producer applications can use this ID for purposes such as auditability and investigation.
If the PutRecord
operation throws a ServiceUnavailableException
, the API is automatically reinvoked (retried) 3 times. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Re-invoking the Put API operations (for example, PutRecord and PutRecordBatch) can result in data duplicates. For larger data assets, allow for a longer time out before retrying Put API operations.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it tries to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Writes a single data record into an Amazon Kinesis Data Firehose delivery stream. To write multiple data records into a delivery stream, use PutRecordBatch. Applications using these operations are referred to as producers.
By default, each delivery stream can take in up to 2,000 transactions per second, 5,000 records per second, or 5 MB per second. If you use PutRecord and PutRecordBatch, the limits are an aggregate across these two operations for each delivery stream. For more information about limits and how to request an increase, see Amazon Kinesis Data Firehose Limits.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KiB in size, and any kind of data. For example, it can be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecord
operation returns a RecordId
, which is a unique string assigned to each record. Producer applications can use this ID for purposes such as auditability and investigation.
If the PutRecord
operation throws a ServiceUnavailableException
, back off and retry. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it tries to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Writes a single data record into an Amazon Kinesis Data Firehose delivery stream. To write multiple data records into a delivery stream, use PutRecordBatch. Applications using these operations are referred to as producers.
By default, each delivery stream can take in up to 2,000 transactions per second, 5,000 records per second, or 5 MB per second. If you use PutRecord and PutRecordBatch, the limits are an aggregate across these two operations for each delivery stream. For more information about limits and how to request an increase, see Amazon Kinesis Data Firehose Limits.
Kinesis Data Firehose accumulates and publishes a particular metric for a customer account in one minute intervals. It is possible that the bursts of incoming bytes/records ingested to a delivery stream last only for a few seconds. Due to this, the actual spikes in the traffic might not be fully visible in the customer's 1 minute CloudWatch metrics.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KiB in size, and any kind of data. For example, it can be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecord
operation returns a RecordId
, which is a unique string assigned to each record. Producer applications can use this ID for purposes such as auditability and investigation.
If the PutRecord
operation throws a ServiceUnavailableException
, the API is automatically reinvoked (retried) 3 times. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Re-invoking the Put API operations (for example, PutRecord and PutRecordBatch) can result in data duplicates. For larger data assets, allow for a longer time out before retrying Put API operations.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it tries to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Writes multiple data records into a delivery stream in a single call, which can achieve higher throughput per producer than when writing single records. To write single data records into a delivery stream, use PutRecord. Applications using these operations are referred to as producers.
For information about service quota, see Amazon Kinesis Data Firehose Quota.
Each PutRecordBatch request supports up to 500 records. Each record in the request can be as large as 1,000 KB (before base64 encoding), up to a limit of 4 MB for the entire request. These limits cannot be changed.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KB in size, and any kind of data. For example, it could be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecordBatch response includes a count of failed records, FailedPutCount
, and an array of responses, RequestResponses
. Even if the PutRecordBatch call succeeds, the value of FailedPutCount
may be greater than 0, indicating that there are records for which the operation didn't succeed. Each entry in the RequestResponses
array provides additional information about the processed record. It directly correlates with a record in the request array using the same ordering, from the top to the bottom. The response array always includes the same number of records as the request array. RequestResponses
includes both successfully and unsuccessfully processed records. Kinesis Data Firehose tries to process all records in each PutRecordBatch request. A single record failure does not stop the processing of subsequent records.
A successfully processed record includes a RecordId
value, which is unique for the record. An unsuccessfully processed record includes ErrorCode
and ErrorMessage
values. ErrorCode
reflects the type of error, and is one of the following values: ServiceUnavailableException
or InternalFailure
. ErrorMessage
provides more detailed information about the error.
If there is an internal server error or a timeout, the write might have completed or it might have failed. If FailedPutCount
is greater than 0, retry the request, resending only those records that might have failed processing. This minimizes the possible duplicate records and also reduces the total bytes sent (and corresponding charges). We recommend that you handle any duplicates at the destination.
If PutRecordBatch throws ServiceUnavailableException
, back off and retry. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it attempts to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Writes multiple data records into a delivery stream in a single call, which can achieve higher throughput per producer than when writing single records. To write single data records into a delivery stream, use PutRecord. Applications using these operations are referred to as producers.
Kinesis Data Firehose accumulates and publishes a particular metric for a customer account in one minute intervals. It is possible that the bursts of incoming bytes/records ingested to a delivery stream last only for a few seconds. Due to this, the actual spikes in the traffic might not be fully visible in the customer's 1 minute CloudWatch metrics.
For information about service quota, see Amazon Kinesis Data Firehose Quota.
Each PutRecordBatch request supports up to 500 records. Each record in the request can be as large as 1,000 KB (before base64 encoding), up to a limit of 4 MB for the entire request. These limits cannot be changed.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KB in size, and any kind of data. For example, it could be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecordBatch response includes a count of failed records, FailedPutCount
, and an array of responses, RequestResponses
. Even if the PutRecordBatch call succeeds, the value of FailedPutCount
may be greater than 0, indicating that there are records for which the operation didn't succeed. Each entry in the RequestResponses
array provides additional information about the processed record. It directly correlates with a record in the request array using the same ordering, from the top to the bottom. The response array always includes the same number of records as the request array. RequestResponses
includes both successfully and unsuccessfully processed records. Kinesis Data Firehose tries to process all records in each PutRecordBatch request. A single record failure does not stop the processing of subsequent records.
A successfully processed record includes a RecordId
value, which is unique for the record. An unsuccessfully processed record includes ErrorCode
and ErrorMessage
values. ErrorCode
reflects the type of error, and is one of the following values: ServiceUnavailableException
or InternalFailure
. ErrorMessage
provides more detailed information about the error.
If there is an internal server error or a timeout, the write might have completed or it might have failed. If FailedPutCount
is greater than 0, retry the request, resending only those records that might have failed processing. This minimizes the possible duplicate records and also reduces the total bytes sent (and corresponding charges). We recommend that you handle any duplicates at the destination.
If PutRecordBatch throws ServiceUnavailableException
, the API is automatically reinvoked (retried) 3 times. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Re-invoking the Put API operations (for example, PutRecord and PutRecordBatch) can result in data duplicates. For larger data assets, allow for a longer time out before retrying Put API operations.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it attempts to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Writes multiple data records into a delivery stream in a single call, which can achieve higher throughput per producer than when writing single records. To write single data records into a delivery stream, use PutRecord. Applications using these operations are referred to as producers.
For information about service quota, see Amazon Kinesis Data Firehose Quota.
Each PutRecordBatch request supports up to 500 records. Each record in the request can be as large as 1,000 KB (before base64 encoding), up to a limit of 4 MB for the entire request. These limits cannot be changed.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KB in size, and any kind of data. For example, it could be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecordBatch response includes a count of failed records, FailedPutCount
, and an array of responses, RequestResponses
. Even if the PutRecordBatch call succeeds, the value of FailedPutCount
may be greater than 0, indicating that there are records for which the operation didn't succeed. Each entry in the RequestResponses
array provides additional information about the processed record. It directly correlates with a record in the request array using the same ordering, from the top to the bottom. The response array always includes the same number of records as the request array. RequestResponses
includes both successfully and unsuccessfully processed records. Kinesis Data Firehose tries to process all records in each PutRecordBatch request. A single record failure does not stop the processing of subsequent records.
A successfully processed record includes a RecordId
value, which is unique for the record. An unsuccessfully processed record includes ErrorCode
and ErrorMessage
values. ErrorCode
reflects the type of error, and is one of the following values: ServiceUnavailableException
or InternalFailure
. ErrorMessage
provides more detailed information about the error.
If there is an internal server error or a timeout, the write might have completed or it might have failed. If FailedPutCount
is greater than 0, retry the request, resending only those records that might have failed processing. This minimizes the possible duplicate records and also reduces the total bytes sent (and corresponding charges). We recommend that you handle any duplicates at the destination.
If PutRecordBatch throws ServiceUnavailableException
, back off and retry. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it attempts to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Writes multiple data records into a delivery stream in a single call, which can achieve higher throughput per producer than when writing single records. To write single data records into a delivery stream, use PutRecord. Applications using these operations are referred to as producers.
Kinesis Data Firehose accumulates and publishes a particular metric for a customer account in one minute intervals. It is possible that the bursts of incoming bytes/records ingested to a delivery stream last only for a few seconds. Due to this, the actual spikes in the traffic might not be fully visible in the customer's 1 minute CloudWatch metrics.
For information about service quota, see Amazon Kinesis Data Firehose Quota.
Each PutRecordBatch request supports up to 500 records. Each record in the request can be as large as 1,000 KB (before base64 encoding), up to a limit of 4 MB for the entire request. These limits cannot be changed.
You must specify the name of the delivery stream and the data record when using PutRecord. The data record consists of a data blob that can be up to 1,000 KB in size, and any kind of data. For example, it could be a segment from a log file, geographic location data, website clickstream data, and so on.
Kinesis Data Firehose buffers records before delivering them to the destination. To disambiguate the data blobs at the destination, a common solution is to use delimiters in the data, such as a newline (\n
) or some other character unique within the data. This allows the consumer application to parse individual data items when reading the data from the destination.
The PutRecordBatch response includes a count of failed records, FailedPutCount
, and an array of responses, RequestResponses
. Even if the PutRecordBatch call succeeds, the value of FailedPutCount
may be greater than 0, indicating that there are records for which the operation didn't succeed. Each entry in the RequestResponses
array provides additional information about the processed record. It directly correlates with a record in the request array using the same ordering, from the top to the bottom. The response array always includes the same number of records as the request array. RequestResponses
includes both successfully and unsuccessfully processed records. Kinesis Data Firehose tries to process all records in each PutRecordBatch request. A single record failure does not stop the processing of subsequent records.
A successfully processed record includes a RecordId
value, which is unique for the record. An unsuccessfully processed record includes ErrorCode
and ErrorMessage
values. ErrorCode
reflects the type of error, and is one of the following values: ServiceUnavailableException
or InternalFailure
. ErrorMessage
provides more detailed information about the error.
If there is an internal server error or a timeout, the write might have completed or it might have failed. If FailedPutCount
is greater than 0, retry the request, resending only those records that might have failed processing. This minimizes the possible duplicate records and also reduces the total bytes sent (and corresponding charges). We recommend that you handle any duplicates at the destination.
If PutRecordBatch throws ServiceUnavailableException
, the API is automatically reinvoked (retried) 3 times. If the exception persists, it is possible that the throughput limits have been exceeded for the delivery stream.
Re-invoking the Put API operations (for example, PutRecord and PutRecordBatch) can result in data duplicates. For larger data assets, allow for a longer time out before retrying Put API operations.
Data records sent to Kinesis Data Firehose are stored for 24 hours from the time they are added to a delivery stream as it attempts to send the records to the destination. If the destination is unreachable for more than 24 hours, the data is no longer available.
Don't concatenate two or more base64 strings to form the data fields of your records. Instead, concatenate the raw data, then perform base64 encoding.
Enables server-side encryption (SSE) for the delivery stream.
This operation is asynchronous. It returns immediately. When you invoke it, Kinesis Data Firehose first sets the encryption status of the stream to ENABLING
, and then to ENABLED
. The encryption status of a delivery stream is the Status
property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED
. You can continue to read and write data to your delivery stream while the encryption status is ENABLING
, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED
before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively.
To check the encryption status of a delivery stream, use DescribeDeliveryStream.
Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant.
If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED
, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK.
If the encryption status of your delivery stream is ENABLING_FAILED
, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Kinesis Data Firehose to invoke KMS encrypt and decrypt operations.
You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut
as its source.
The StartDeliveryStreamEncryption
and StopDeliveryStreamEncryption
operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption
13 times and StopDeliveryStreamEncryption
12 times for the same delivery stream in a 24-hour period.
Enables server-side encryption (SSE) for the delivery stream.
This operation is asynchronous. It returns immediately. When you invoke it, Kinesis Data Firehose first sets the encryption status of the stream to ENABLING
, and then to ENABLED
. The encryption status of a delivery stream is the Status
property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED
. You can continue to read and write data to your delivery stream while the encryption status is ENABLING
, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED
before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively.
To check the encryption status of a delivery stream, use DescribeDeliveryStream.
Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant.
For the KMS grant creation to be successful, Kinesis Data Firehose APIs StartDeliveryStreamEncryption
and CreateDeliveryStream
should not be called with session credentials that are more than 6 hours old.
If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED
, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK.
If the encryption status of your delivery stream is ENABLING_FAILED
, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Kinesis Data Firehose to invoke KMS encrypt and decrypt operations.
You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut
as its source.
The StartDeliveryStreamEncryption
and StopDeliveryStreamEncryption
operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption
13 times and StopDeliveryStreamEncryption
12 times for the same delivery stream in a 24-hour period.
Enables server-side encryption (SSE) for the delivery stream.
This operation is asynchronous. It returns immediately. When you invoke it, Kinesis Data Firehose first sets the encryption status of the stream to ENABLING
, and then to ENABLED
. The encryption status of a delivery stream is the Status
property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED
. You can continue to read and write data to your delivery stream while the encryption status is ENABLING
, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED
before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively.
To check the encryption status of a delivery stream, use DescribeDeliveryStream.
Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant.
If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED
, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK.
If the encryption status of your delivery stream is ENABLING_FAILED
, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Kinesis Data Firehose to invoke KMS encrypt and decrypt operations.
You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut
as its source.
The StartDeliveryStreamEncryption
and StopDeliveryStreamEncryption
operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption
13 times and StopDeliveryStreamEncryption
12 times for the same delivery stream in a 24-hour period.
Enables server-side encryption (SSE) for the delivery stream.
This operation is asynchronous. It returns immediately. When you invoke it, Kinesis Data Firehose first sets the encryption status of the stream to ENABLING
, and then to ENABLED
. The encryption status of a delivery stream is the Status
property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED
. You can continue to read and write data to your delivery stream while the encryption status is ENABLING
, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED
before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively.
To check the encryption status of a delivery stream, use DescribeDeliveryStream.
Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK
, Kinesis Data Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant.
For the KMS grant creation to be successful, Kinesis Data Firehose APIs StartDeliveryStreamEncryption
and CreateDeliveryStream
should not be called with session credentials that are more than 6 hours old.
If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED
, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK.
If the encryption status of your delivery stream is ENABLING_FAILED
, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Kinesis Data Firehose to invoke KMS encrypt and decrypt operations.
You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut
as its source.
The StartDeliveryStreamEncryption
and StopDeliveryStreamEncryption
operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption
13 times and StopDeliveryStreamEncryption
12 times for the same delivery stream in a 24-hour period.
The username for the user. Must be unique within the user pool. Must be a UTF-8 string between 1 and 128 characters. After the user is created, the username can't be changed.
+The value that you want to set as the username sign-in attribute. The following conditions apply to the username parameter.
The username can't be a duplicate of another username in the same user pool.
You can't change the value of a username after you create it.
You can only provide a value if usernames are a valid sign-in attribute for your user pool. If your user pool only supports phone numbers or email addresses as sign-in attributes, Amazon Cognito automatically generates a username value. For more information, see Customizing sign-in attributes.
The username for the user. Must be unique within the user pool. Must be a UTF-8 string between 1 and 128 characters. After the user is created, the username can't be changed.
\"\ + \"documentation\":\"The value that you want to set as the username sign-in attribute. The following conditions apply to the username parameter.
The username can't be a duplicate of another username in the same user pool.
You can't change the value of a username after you create it.
You can only provide a value if usernames are a valid sign-in attribute for your user pool. If your user pool only supports phone numbers or email addresses as sign-in attributes, Amazon Cognito automatically generates a username value. For more information, see Customizing sign-in attributes.
The user pool status in a user pool description.
\"\ + \"documentation\":\"The user pool status in a user pool description.
\",\ + \"deprecated\":true,\ + \"deprecatedMessage\":\"This property is no longer available.\"\ },\ \"LastModifiedDate\":{\ \"shape\":\"DateType\",\ @@ -8346,7 +8348,9 @@ - (NSString *)definitionString { },\ \"Status\":{\ \"shape\":\"StatusType\",\ - \"documentation\":\"The status of a user pool.
\"\ + \"documentation\":\"The status of a user pool.
\",\ + \"deprecated\":true,\ + \"deprecatedMessage\":\"This property is no longer available.\"\ },\ \"LastModifiedDate\":{\ \"shape\":\"DateType\",\ From d7c32a930fb82ed53b4e278a84944d26e789d843 Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Bot <46607340+awsmobilesdk@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:45:53 -0700 Subject: [PATCH 15/17] feat(AWSPinpoint): update models to latest (#4966) --- .../AWSPinpointTargeting/AWSPinpointTargetingResources.m | 2 +- .../AWSPinpointTargeting/AWSPinpointTargetingService.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingResources.m b/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingResources.m index 937672d286a..916abb270c5 100644 --- a/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingResources.m +++ b/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingResources.m @@ -4223,7 +4223,7 @@ - (NSString *)definitionString { \"documentation\": \"The request failed because too many requests were sent during a certain amount of time (TooManyRequestsException).
\"\ }\ ],\ - \"documentation\": \"Removes one or more attributes, of the same attribute type, from all the endpoints that are associated with an application.
\"\ + \"documentation\": \"Removes one or more custom attributes, of the same attribute type, from the application. Existing endpoints still have the attributes but Amazon Pinpoint will stop capturing new or changed values for these attributes.
\"\ },\ \"SendMessages\": {\ \"name\": \"SendMessages\",\ diff --git a/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingService.h b/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingService.h index 23f09eeec7c..5e60dd9f097 100644 --- a/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingService.h +++ b/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingService.h @@ -2450,7 +2450,7 @@ FOUNDATION_EXPORT NSString *const AWSPinpointTargetingSDKVersion; - (void)putEvents:(AWSPinpointTargetingPutEventsRequest *)request completionHandler:(void (^ _Nullable)(AWSPinpointTargetingPutEventsResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Removes one or more attributes, of the same attribute type, from all the endpoints that are associated with an application.
+Removes one or more custom attributes, of the same attribute type, from the application. Existing endpoints still have the attributes but Amazon Pinpoint will stop capturing new or changed values for these attributes.
@param request A container for the necessary parameters to execute the RemoveAttributes service method. @@ -2462,7 +2462,7 @@ FOUNDATION_EXPORT NSString *const AWSPinpointTargetingSDKVersion; - (AWSTaskRemoves one or more attributes, of the same attribute type, from all the endpoints that are associated with an application.
+Removes one or more custom attributes, of the same attribute type, from the application. Existing endpoints still have the attributes but Amazon Pinpoint will stop capturing new or changed values for these attributes.
@param request A container for the necessary parameters to execute the RemoveAttributes service method. @param completionHandler The completion handler to call when the load request is complete. From acaf357760b797ac40a2cc1485dd047c9337bb4d Mon Sep 17 00:00:00 2001 From: AWS Mobile SDK Bot <46607340+awsmobilesdk@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:46:49 -0700 Subject: [PATCH 16/17] feat(AWSKinesisVideo): update models to latest (#4960) --- AWSKinesisVideo/AWSKinesisVideoModel.h | 2 +- AWSKinesisVideo/AWSKinesisVideoResources.m | 8 ++++---- AWSKinesisVideo/AWSKinesisVideoService.h | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/AWSKinesisVideo/AWSKinesisVideoModel.h b/AWSKinesisVideo/AWSKinesisVideoModel.h index 3eb714e8735..c704a2f7033 100644 --- a/AWSKinesisVideo/AWSKinesisVideoModel.h +++ b/AWSKinesisVideo/AWSKinesisVideoModel.h @@ -910,7 +910,7 @@ typedef NS_ENUM(NSInteger, AWSKinesisVideoUploaderStatus) { @property (nonatomic, assign) AWSKinesisVideoImageSelectorType imageSelectorType; /** -The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum value that can be provided is 33 ms, because a camera that generates content at 30 FPS would create a frame every 33.3 ms. If the timestamp range is less than the sampling interval, the Image from the StartTimestamp
will be returned if available.
The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum value that can be provided is 200 ms. If the timestamp range is less than the sampling interval, the Image from the StartTimestamp
will be returned if available.
Returns the most current information about the channel. Specify the ChannelName
or ChannelARN
in the input.
This API is related to WebRTC Ingestion and is only available in the us-west-2
region.
Returns the most current information about the channel. Specify the ChannelName
or ChannelARN
in the input.
An asynchronous API that updates a streamâs existing edge configuration. The Kinesis Video Stream will sync the streamâs edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The SyncStatus
will be updated as the edge configuration is acknowledged, and synced with the Edge Agent.
If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to SYNCING
. You will have to wait for the sync status to reach a terminal state such as: IN_SYNC
, or SYNC_FAILED
, before using this API again. If you invoke this API during the syncing process, a ResourceInUseException
will be thrown. The connectivity of the streamâs edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into the SYNC_FAILED
state.
An asynchronous API that updates a streamâs existing edge configuration. The Kinesis Video Stream will sync the streamâs edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The SyncStatus
will be updated as the edge configuration is acknowledged, and synced with the Edge Agent.
If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to SYNCING
. You will have to wait for the sync status to reach a terminal state such as: IN_SYNC
, or SYNC_FAILED
, before using this API again. If you invoke this API during the syncing process, a ResourceInUseException
will be thrown. The connectivity of the streamâs edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into the SYNC_FAILED
state.
To move an edge configuration from one device to another, use DeleteEdgeConfiguration to delete the current edge configuration. You can then invoke StartEdgeConfigurationUpdate with an updated Hub Device ARN.
\"\ },\ \"TagResource\":{\ \"name\":\"TagResource\",\ @@ -520,7 +520,7 @@ - (NSString *)definitionString { {\"shape\":\"AccessDeniedException\"},\ {\"shape\":\"NoDataRetentionException\"}\ ],\ - \"documentation\":\"Associates a SignalingChannel
to a stream to store the media. There are two signaling modes that can specified :
If the StorageStatus
is disabled, no data will be stored, and the StreamARN
parameter will not be needed.
If the StorageStatus
is enabled, the data will be stored in the StreamARN
provided.
If StorageStatus
is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call the JoinStorageSession
API to trigger an SDP offer send and establish a connection between a peer and the storage session.
This API is related to WebRTC Ingestion and is only available in the us-west-2
region.
Associates a SignalingChannel
to a stream to store the media. There are two signaling modes that can specified :
If the StorageStatus
is disabled, no data will be stored, and the StreamARN
parameter will not be needed.
If the StorageStatus
is enabled, the data will be stored in the StreamARN
provided.
If StorageStatus
is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call the JoinStorageSession
API to trigger an SDP offer send and establish a connection between a peer and the storage session.
The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum value that can be provided is 33 ms, because a camera that generates content at 30 FPS would create a frame every 33.3 ms. If the timestamp range is less than the sampling interval, the Image from the StartTimestamp
will be returned if available.
The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum value that can be provided is 200 ms. If the timestamp range is less than the sampling interval, the Image from the StartTimestamp
will be returned if available.
Returns the most current information about the channel. Specify the ChannelName
or ChannelARN
in the input.
This API is related to WebRTC Ingestion and is only available in the us-west-2
region.
Returns the most current information about the channel. Specify the ChannelName
or ChannelARN
in the input.
Returns the most current information about the channel. Specify the ChannelName
or ChannelARN
in the input.
This API is related to WebRTC Ingestion and is only available in the us-west-2
region.
Returns the most current information about the channel. Specify the ChannelName
or ChannelARN
in the input.
An asynchronous API that updates a stream’s existing edge configuration. The Kinesis Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The SyncStatus
will be updated as the edge configuration is acknowledged, and synced with the Edge Agent.
If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to SYNCING
. You will have to wait for the sync status to reach a terminal state such as: IN_SYNC
, or SYNC_FAILED
, before using this API again. If you invoke this API during the syncing process, a ResourceInUseException
will be thrown. The connectivity of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into the SYNC_FAILED
state.
An asynchronous API that updates a stream’s existing edge configuration. The Kinesis Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The SyncStatus
will be updated as the edge configuration is acknowledged, and synced with the Edge Agent.
If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to SYNCING
. You will have to wait for the sync status to reach a terminal state such as: IN_SYNC
, or SYNC_FAILED
, before using this API again. If you invoke this API during the syncing process, a ResourceInUseException
will be thrown. The connectivity of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into the SYNC_FAILED
state.
To move an edge configuration from one device to another, use DeleteEdgeConfiguration to delete the current edge configuration. You can then invoke StartEdgeConfigurationUpdate with an updated Hub Device ARN.
@param request A container for the necessary parameters to execute the StartEdgeConfigurationUpdate service method. @@ -662,7 +662,7 @@ FOUNDATION_EXPORT NSString *const AWSKinesisVideoSDKVersion; - (AWSTaskAn asynchronous API that updates a stream’s existing edge configuration. The Kinesis Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The SyncStatus
will be updated as the edge configuration is acknowledged, and synced with the Edge Agent.
If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to SYNCING
. You will have to wait for the sync status to reach a terminal state such as: IN_SYNC
, or SYNC_FAILED
, before using this API again. If you invoke this API during the syncing process, a ResourceInUseException
will be thrown. The connectivity of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into the SYNC_FAILED
state.
An asynchronous API that updates a stream’s existing edge configuration. The Kinesis Video Stream will sync the stream’s edge configuration with the Edge Agent IoT Greengrass component that runs on an IoT Hub Device, setup at your premise. The time to sync can vary and depends on the connectivity of the Hub Device. The SyncStatus
will be updated as the edge configuration is acknowledged, and synced with the Edge Agent.
If this API is invoked for the first time, a new edge configuration will be created for the stream, and the sync status will be set to SYNCING
. You will have to wait for the sync status to reach a terminal state such as: IN_SYNC
, or SYNC_FAILED
, before using this API again. If you invoke this API during the syncing process, a ResourceInUseException
will be thrown. The connectivity of the stream’s edge configuration and the Edge Agent will be retried for 15 minutes. After 15 minutes, the status will transition into the SYNC_FAILED
state.
To move an edge configuration from one device to another, use DeleteEdgeConfiguration to delete the current edge configuration. You can then invoke StartEdgeConfigurationUpdate with an updated Hub Device ARN.
@param request A container for the necessary parameters to execute the StartEdgeConfigurationUpdate service method. @param completionHandler The completion handler to call when the load request is complete. @@ -825,7 +825,7 @@ FOUNDATION_EXPORT NSString *const AWSKinesisVideoSDKVersion; - (void)updateImageGenerationConfiguration:(AWSKinesisVideoUpdateImageGenerationConfigurationInput *)request completionHandler:(void (^ _Nullable)(AWSKinesisVideoUpdateImageGenerationConfigurationOutput * _Nullable response, NSError * _Nullable error))completionHandler; /** -Associates a SignalingChannel
to a stream to store the media. There are two signaling modes that can specified :
If the StorageStatus
is disabled, no data will be stored, and the StreamARN
parameter will not be needed.
If the StorageStatus
is enabled, the data will be stored in the StreamARN
provided.
If StorageStatus
is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call the JoinStorageSession
API to trigger an SDP offer send and establish a connection between a peer and the storage session.
This API is related to WebRTC Ingestion and is only available in the us-west-2
region.
Associates a SignalingChannel
to a stream to store the media. There are two signaling modes that can specified :
If the StorageStatus
is disabled, no data will be stored, and the StreamARN
parameter will not be needed.
If the StorageStatus
is enabled, the data will be stored in the StreamARN
provided.
If StorageStatus
is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call the JoinStorageSession
API to trigger an SDP offer send and establish a connection between a peer and the storage session.
Associates a SignalingChannel
to a stream to store the media. There are two signaling modes that can specified :
If the StorageStatus
is disabled, no data will be stored, and the StreamARN
parameter will not be needed.
If the StorageStatus
is enabled, the data will be stored in the StreamARN
provided.
If StorageStatus
is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call the JoinStorageSession
API to trigger an SDP offer send and establish a connection between a peer and the storage session.
This API is related to WebRTC Ingestion and is only available in the us-west-2
region.
Associates a SignalingChannel
to a stream to store the media. There are two signaling modes that can specified :
If the StorageStatus
is disabled, no data will be stored, and the StreamARN
parameter will not be needed.
If the StorageStatus
is enabled, the data will be stored in the StreamARN
provided.
If StorageStatus
is enabled, direct peer-to-peer (master-viewer) connections no longer occur. Peers connect directly to the storage session. You must call the JoinStorageSession
API to trigger an SDP offer send and establish a connection between a peer and the storage session.
Used as an idempotency token, to avoid returning an exception if the service receives the same request twice because of a network error.
+ */ +@property (nonatomic, strong) NSString * _Nullable clientToken; + /**Use this parameter to include specific log groups as part of your query definition.
If you are updating a query definition and you omit this parameter, then the updated definition will contain no log groups.
*/ diff --git a/AWSLogs/AWSLogsModel.m b/AWSLogs/AWSLogsModel.m index a631cf25d42..ea130f2edb6 100644 --- a/AWSLogs/AWSLogsModel.m +++ b/AWSLogs/AWSLogsModel.m @@ -1837,6 +1837,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"clientToken" : @"clientToken", @"logGroupNames" : @"logGroupNames", @"name" : @"name", @"queryDefinitionId" : @"queryDefinitionId", diff --git a/AWSLogs/AWSLogsResources.m b/AWSLogs/AWSLogsResources.m index 1224b74eda9..25f3bbfeffd 100644 --- a/AWSLogs/AWSLogsResources.m +++ b/AWSLogs/AWSLogsResources.m @@ -132,7 +132,7 @@ - (NSString *)definitionString { {\"shape\":\"OperationAbortedException\"},\ {\"shape\":\"ServiceUnavailableException\"}\ ],\ - \"documentation\":\"Creates a log group with the specified name. You can create up to 20,000 log groups per account.
You must use the following guidelines when naming a log group:
Log group names must be unique within a Region for an Amazon Web Services account.
Log group names can be between 1 and 512 characters long.
Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)
When you create a log group, by default the log events in the log group do not expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy.
If you associate an KMS key with the log group, ingested data is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.
If you attempt to associate a KMS key with the log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException
error.
CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS key with your log group. For more information, see Using Symmetric and Asymmetric Keys.
Creates a log group with the specified name. You can create up to 1,000,000 log groups per Region per account.
You must use the following guidelines when naming a log group:
Log group names must be unique within a Region for an Amazon Web Services account.
Log group names can be between 1 and 512 characters long.
Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)
When you create a log group, by default the log events in the log group do not expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy.
If you associate an KMS key with the log group, ingested data is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.
If you attempt to associate a KMS key with the log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException
error.
CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS key with your log group. For more information, see Using Symmetric and Asymmetric Keys.
Creates or updates a metric filter and associates it with the specified log group. With metric filters, you can configure rules to extract metric data from log events ingested through PutLogEvents.
The maximum number of metric filters that can be associated with a log group is 100.
When you create a metric filter, you can also optionally assign a unit and dimensions to the metric that is created.
Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress
or requestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
CloudWatch Logs disables a metric filter if it generates 1,000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.
Creates or updates a metric filter and associates it with the specified log group. With metric filters, you can configure rules to extract metric data from log events ingested through PutLogEvents.
The maximum number of metric filters that can be associated with a log group is 100.
When you create a metric filter, you can also optionally assign a unit and dimensions to the metric that is created.
Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress
or requestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
CloudWatch Logs might disable a metric filter if it generates 1,000 different name/value pairs for your specified dimensions within one hour.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.
Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group.
CloudWatch Logs doesnât immediately delete log events when they reach their retention setting. It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer.
To illustrate, imagine that you change a log group to have a longer retention setting when it contains log events that are past the expiration date, but havenât been deleted. Those log events will take up to 72 hours to be deleted after the new retention date is reached. To make sure that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours after the previous retention period ends. Alternatively, wait to change the retention setting until you confirm that the earlier log events are deleted.
Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group.
CloudWatch Logs doesnât immediately delete log events when they reach their retention setting. It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer.
To illustrate, imagine that you change a log group to have a longer retention setting when it contains log events that are past the expiration date, but havenât been deleted. Those log events will take up to 72 hours to be deleted after the new retention date is reached. To make sure that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours after the previous retention period ends. Alternatively, wait to change the retention setting until you confirm that the earlier log events are deleted.
When log events reach their retention setting they are marked for deletion. After they are marked for deletion, they do not add to your archival storage costs anymore, even if they are not actually deleted until later. These log events marked for deletion are also not included when you use an API to retrieve the storedBytes
value to see how many bytes a log group is storing.
The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.
\"\ + },\ + \"clientToken\":{\ + \"shape\":\"ClientToken\",\ + \"documentation\":\"Used as an idempotency token, to avoid returning an exception if the service receives the same request twice because of a network error.
\",\ + \"idempotencyToken\":true\ }\ }\ },\ diff --git a/AWSLogs/AWSLogsService.h b/AWSLogs/AWSLogsService.h index 4edf60892ca..f977a0617e0 100644 --- a/AWSLogs/AWSLogsService.h +++ b/AWSLogs/AWSLogsService.h @@ -244,7 +244,7 @@ FOUNDATION_EXPORT NSString *const AWSLogsSDKVersion; - (void)createExportTask:(AWSLogsCreateExportTaskRequest *)request completionHandler:(void (^ _Nullable)(AWSLogsCreateExportTaskResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Creates a log group with the specified name. You can create up to 20,000 log groups per account.
You must use the following guidelines when naming a log group:
Log group names must be unique within a Region for an Amazon Web Services account.
Log group names can be between 1 and 512 characters long.
Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)
When you create a log group, by default the log events in the log group do not expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy.
If you associate an KMS key with the log group, ingested data is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.
If you attempt to associate a KMS key with the log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException
error.
CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS key with your log group. For more information, see Using Symmetric and Asymmetric Keys.
Creates a log group with the specified name. You can create up to 1,000,000 log groups per Region per account.
You must use the following guidelines when naming a log group:
Log group names must be unique within a Region for an Amazon Web Services account.
Log group names can be between 1 and 512 characters long.
Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)
When you create a log group, by default the log events in the log group do not expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy.
If you associate an KMS key with the log group, ingested data is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.
If you attempt to associate a KMS key with the log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException
error.
CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS key with your log group. For more information, see Using Symmetric and Asymmetric Keys.
Creates a log group with the specified name. You can create up to 20,000 log groups per account.
You must use the following guidelines when naming a log group:
Log group names must be unique within a Region for an Amazon Web Services account.
Log group names can be between 1 and 512 characters long.
Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)
When you create a log group, by default the log events in the log group do not expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy.
If you associate an KMS key with the log group, ingested data is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.
If you attempt to associate a KMS key with the log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException
error.
CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS key with your log group. For more information, see Using Symmetric and Asymmetric Keys.
Creates a log group with the specified name. You can create up to 1,000,000 log groups per Region per account.
You must use the following guidelines when naming a log group:
Log group names must be unique within a Region for an Amazon Web Services account.
Log group names can be between 1 and 512 characters long.
Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign)
When you create a log group, by default the log events in the log group do not expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy.
If you associate an KMS key with the log group, ingested data is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested.
If you attempt to associate a KMS key with the log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException
error.
CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS key with your log group. For more information, see Using Symmetric and Asymmetric Keys.
Creates or updates a metric filter and associates it with the specified log group. With metric filters, you can configure rules to extract metric data from log events ingested through PutLogEvents.
The maximum number of metric filters that can be associated with a log group is 100.
When you create a metric filter, you can also optionally assign a unit and dimensions to the metric that is created.
Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress
or requestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
CloudWatch Logs disables a metric filter if it generates 1,000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.
Creates or updates a metric filter and associates it with the specified log group. With metric filters, you can configure rules to extract metric data from log events ingested through PutLogEvents.
The maximum number of metric filters that can be associated with a log group is 100.
When you create a metric filter, you can also optionally assign a unit and dimensions to the metric that is created.
Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress
or requestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
CloudWatch Logs might disable a metric filter if it generates 1,000 different name/value pairs for your specified dimensions within one hour.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.
Creates or updates a metric filter and associates it with the specified log group. With metric filters, you can configure rules to extract metric data from log events ingested through PutLogEvents.
The maximum number of metric filters that can be associated with a log group is 100.
When you create a metric filter, you can also optionally assign a unit and dimensions to the metric that is created.
Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress
or requestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
CloudWatch Logs disables a metric filter if it generates 1,000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.
Creates or updates a metric filter and associates it with the specified log group. With metric filters, you can configure rules to extract metric data from log events ingested through PutLogEvents.
The maximum number of metric filters that can be associated with a log group is 100.
When you create a metric filter, you can also optionally assign a unit and dimensions to the metric that is created.
Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress
or requestID
as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.
CloudWatch Logs might disable a metric filter if it generates 1,000 different name/value pairs for your specified dimensions within one hour.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.
Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group.
CloudWatch Logs doesn’t immediately delete log events when they reach their retention setting. It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer.
To illustrate, imagine that you change a log group to have a longer retention setting when it contains log events that are past the expiration date, but haven’t been deleted. Those log events will take up to 72 hours to be deleted after the new retention date is reached. To make sure that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours after the previous retention period ends. Alternatively, wait to change the retention setting until you confirm that the earlier log events are deleted.
Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group.
CloudWatch Logs doesn’t immediately delete log events when they reach their retention setting. It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer.
To illustrate, imagine that you change a log group to have a longer retention setting when it contains log events that are past the expiration date, but haven’t been deleted. Those log events will take up to 72 hours to be deleted after the new retention date is reached. To make sure that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours after the previous retention period ends. Alternatively, wait to change the retention setting until you confirm that the earlier log events are deleted.
When log events reach their retention setting they are marked for deletion. After they are marked for deletion, they do not add to your archival storage costs anymore, even if they are not actually deleted until later. These log events marked for deletion are also not included when you use an API to retrieve the storedBytes
value to see how many bytes a log group is storing.
Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group.
CloudWatch Logs doesn’t immediately delete log events when they reach their retention setting. It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer.
To illustrate, imagine that you change a log group to have a longer retention setting when it contains log events that are past the expiration date, but haven’t been deleted. Those log events will take up to 72 hours to be deleted after the new retention date is reached. To make sure that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours after the previous retention period ends. Alternatively, wait to change the retention setting until you confirm that the earlier log events are deleted.
Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group.
CloudWatch Logs doesn’t immediately delete log events when they reach their retention setting. It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer.
To illustrate, imagine that you change a log group to have a longer retention setting when it contains log events that are past the expiration date, but haven’t been deleted. Those log events will take up to 72 hours to be deleted after the new retention date is reached. To make sure that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours after the previous retention period ends. Alternatively, wait to change the retention setting until you confirm that the earlier log events are deleted.
When log events reach their retention setting they are marked for deletion. After they are marked for deletion, they do not add to your archival storage costs anymore, even if they are not actually deleted until later. These log events marked for deletion are also not included when you use an API to retrieve the storedBytes
value to see how many bytes a log group is storing.