diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml
new file mode 100644
index 00000000000..27ebe3b783b
--- /dev/null
+++ b/.github/workflows/dependency-review.yml
@@ -0,0 +1,24 @@
+name: Dependency Review
+
+on:
+ pull_request:
+ branches:
+ - main
+
+permissions:
+ contents: read
+
+jobs:
+ dependency-review:
+ name: Dependency Review
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
+ with:
+ persist-credentials: false
+
+ - name: Dependency Review
+ uses: actions/dependency-review-action@7d90b4f05fea31dde1c4a1fb3fa787e197ea93ab # v3.0.7
+ with:
+ config-file: aws-amplify/amplify-ci-support/.github/dependency-review-config.yml@main
diff --git a/.github/workflows/kick-off-release.yml b/.github/workflows/kick-off-release.yml
index fa00f3068f5..0e2adef5b87 100644
--- a/.github/workflows/kick-off-release.yml
+++ b/.github/workflows/kick-off-release.yml
@@ -50,6 +50,8 @@ jobs:
pip3 install lxml
git checkout -b bump-version/$RELEASE_VERSION main
python3 ./CircleciScripts/bump_sdk_version.py "$(pwd)" "$RELEASE_VERSION"
+ git config user.name aws-amplify-ops
+ git config user.email aws-amplify-ops@amazon.com
git add -A
git commit -am "[bump version $RELEASE_VERSION]"
git push origin HEAD
diff --git a/.github/workflows/notify_issue_comment.yml b/.github/workflows/notify_issue_comment.yml
index 01f6f542146..b5b29909132 100644
--- a/.github/workflows/notify_issue_comment.yml
+++ b/.github/workflows/notify_issue_comment.yml
@@ -18,7 +18,8 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest
- if: ${{ !github.event.issue.pull_request && !contains(fromJSON('["palpatim", "brennanMKE", "lawmicha", "harsh62", "thisisabhash", "ameter", "royjit", "atierian", "ukhan-amazon", "ruisebas", "phantumcode"]'), github.event.comment.user.login) }}
+ # Exclude comments in PRs and comments made from maintainers
+ if: ${{ !github.event.issue.pull_request && !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
@@ -27,7 +28,7 @@ jobs:
env:
WEBHOOK_URL: ${{ secrets.SLACK_COMMENT_WEBHOOK_URL }}
COMMENT: ${{toJson(github.event.comment.body)}}
- USER: ${{github.event.issue.user.login}}
+ USER: ${{github.event.comment.user.login}}
COMMENT_URL: ${{github.event.comment.html_url}}
shell: bash
run: echo $COMMENT | sed "s/\\\n/. /g; s/\\\r//g; s/[^a-zA-Z0-9 &().,:]//g" | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"comment":"{}", "commentUrl":"'$COMMENT_URL'", "user":"'$USER'"}'
diff --git a/.github/workflows/notify_new_issue.yml b/.github/workflows/notify_new_issue.yml
index 35292fb461c..2c32e336452 100644
--- a/.github/workflows/notify_new_issue.yml
+++ b/.github/workflows/notify_new_issue.yml
@@ -18,6 +18,9 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest
+ # Exclude issues opened by maintainers
+ if: ${{ !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.issue.author_association) }}
+
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
diff --git a/.github/workflows/notify_release.yml b/.github/workflows/notify_release.yml
index 25dfa1400a7..e9af0f832a1 100644
--- a/.github/workflows/notify_release.yml
+++ b/.github/workflows/notify_release.yml
@@ -4,9 +4,9 @@ name: Notify AWS SDK iOS Release
# Controls when the workflow will run
on:
- # Triggers the workflow on release created (draft) or released (stable) events but only for the main branch
+ # Triggers the workflow on released events
release:
- types: [created, released]
+ types: [released]
# Limit the GITHUB_TOKEN permissions
permissions: {}
@@ -25,7 +25,7 @@ jobs:
env:
WEBHOOK_URL: ${{ secrets.SLACK_RELEASE_WEBHOOK_URL }}
VERSION: $${{github.event.release.html_url}}
- REPO_URL: ${{github.event.repository.html_url}}
+ REPO_NAME: ${{github.event.repository.name}}
ACTION_NAME: ${{github.event.action}}
shell: bash
- run: echo $VERSION | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"action":"'$ACTION_NAME'", "repo":"'$REPO_URL'", "version":"{}"}'
+ run: echo $VERSION | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"action":"'$ACTION_NAME'", "repo":"'$REPO_NAME'", "version":"{}"}'
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a7042cac6e1..b7e4a82a19c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -166,6 +166,8 @@ jobs:
- name: Post release xcframeworks
run: |
+ git config user.name aws-amplify-ops
+ git config user.email aws-amplify-ops@amazon.com
PAT=$(aws secretsmanager get-secret-value \
--secret-id "${{ secrets.SPM_DEPLOY_SECRET_ARN }}" \
| jq ".SecretString | fromjson | .Credential" | tr -d '"')
@@ -295,6 +297,31 @@ jobs:
--head release \
--base main
+ update-bump-sdk-version-branch:
+ name: Update bump_sdk_version branch
+ runs-on: ubuntu-latest
+ needs:
+ - extract-release-version
+ - release-tag
+ env:
+ RELEASE_VERSION: ${{ needs.extract-release-version.outputs.version }}
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
+ with:
+ ref: bump_sdk_version
+
+ - name: Update version file
+ run: echo "${RELEASE_VERSION}" > version
+
+ - name: Make version bump commit
+ run: |
+ git config user.name aws-amplify-ops
+ git config user.email aws-amplify-ops@amazon.com
+ git add version
+ git commit -m "bump version ${RELEASE_VERSION}"
+ git push origin HEAD:bump_sdk_version
+
release-doc:
name: Release docs
runs-on: macos-latest
@@ -334,6 +361,8 @@ jobs:
- name: Checkin documents
working-directory: ${{ github.workspace }}/gh-pages
run: |
+ git config user.name aws-amplify-ops
+ git config user.email aws-amplify-ops@amazon.com
for dirPath in docs/reference/* ; do
sdkName=$( basename "$dirPath" )
git add "$dirPath" && git commit -m "Update API documentation for ${sdkName} ${RELEASE_VERSION}"
diff --git a/AWSAPIGateway.podspec b/AWSAPIGateway.podspec
index a72a5ffeb72..45fc2b9002e 100644
--- a/AWSAPIGateway.podspec
+++ b/AWSAPIGateway.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'AWSAPIGateway'
- s.version = '2.33.4'
+ s.version = '2.33.5'
s.summary = 'Amazon Web Services SDK for iOS.'
s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws-amplify/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
- s.dependency 'AWSCore', '2.33.4'
+ s.dependency 'AWSCore', '2.33.5'
s.source_files = 'AWSAPIGateway/*.{h,m}'
end
diff --git a/AWSAPIGateway/AWSAPIGatewayClient.m b/AWSAPIGateway/AWSAPIGatewayClient.m
index 001c632435e..b6f49882130 100644
--- a/AWSAPIGateway/AWSAPIGatewayClient.m
+++ b/AWSAPIGateway/AWSAPIGatewayClient.m
@@ -23,7 +23,7 @@
static NSString *const AWSAPIGatewayAPIKeyHeader = @"x-api-key";
-NSString *const AWSAPIGatewaySDKVersion = @"2.33.4";
+NSString *const AWSAPIGatewaySDKVersion = @"2.33.5";
static int defaultChunkSize = 1024;
diff --git a/AWSAPIGateway/Info.plist b/AWSAPIGateway/Info.plist
index a2c2de79b02..e4fb6d14e33 100644
--- a/AWSAPIGateway/Info.plist
+++ b/AWSAPIGateway/Info.plist
@@ -15,7 +15,7 @@
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\":{\ diff --git a/AWSAutoScaling/AWSAutoScalingService.m b/AWSAutoScaling/AWSAutoScalingService.m index 4838dc1db30..02e4df575fd 100644 --- a/AWSAutoScaling/AWSAutoScalingService.m +++ b/AWSAutoScaling/AWSAutoScalingService.m @@ -25,7 +25,7 @@ #import "AWSAutoScalingResources.h" static NSString *const AWSInfoAutoScaling = @"AutoScaling"; -NSString *const AWSAutoScalingSDKVersion = @"2.33.4"; +NSString *const AWSAutoScalingSDKVersion = @"2.33.5"; @interface AWSAutoScalingResponseSerializer : AWSXMLResponseSerializer diff --git a/AWSAutoScaling/Info.plist b/AWSAutoScaling/Info.plist index a2c2de79b02..e4fb6d14e33 100644 --- a/AWSAutoScaling/Info.plist +++ b/AWSAutoScaling/Info.plist @@ -15,7 +15,7 @@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 Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
+The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
To send logs to log groups with a resource policy of a size greater than 5120 characters, configure a log group with a path that starts with /aws/vendedlogs
. For more information, see Enabling logging from certain Amazon Web Services services.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
In addition to updating user attributes, this API can also be used to mark phone and email as verified.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user. To delete an attribute from your user, submit the attribute in your API request with a blank value.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
In addition to updating user attributes, this API can also be used to mark phone and email as verified.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response. You can authorize an AssociateSoftwareToken
request with either the user's access token, or a session string from a challenge response that you received from Amazon Cognito.
Amazon Cognito disassociates an existing software token when you verify the new token in a VerifySoftwareToken API request. If you don't verify the software token and your user pool doesn't require MFA, the user can then authenticate with user name and password credentials alone. If your user pool requires TOTP MFA, Amazon Cognito generates an MFA_SETUP
or SOFTWARE_TOKEN_SETUP
challenge each time your user signs. Complete setup with AssociateSoftwareToken
and VerifySoftwareToken
.
After you set up software token MFA for your user, Amazon Cognito generates a SOFTWARE_TOKEN_MFA
challenge when they authenticate. Respond to this challenge with your user's TOTP.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response. You can authorize an AssociateSoftwareToken
request with either the user's access token, or a session string from a challenge response that you received from Amazon Cognito.
Amazon Cognito disassociates an existing software token when you verify the new token in a VerifySoftwareToken API request. If you don't verify the software token and your user pool doesn't require MFA, the user can then authenticate with user name and password credentials alone. If your user pool requires TOTP MFA, Amazon Cognito generates an MFA_SETUP
or SOFTWARE_TOKEN_SETUP
challenge each time your user signs. Complete setup with AssociateSoftwareToken
and VerifySoftwareToken
.
After you set up software token MFA for your user, Amazon Cognito generates a SOFTWARE_TOKEN_MFA
challenge when they authenticate. Respond to this challenge with your user's TOTP.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Confirms tracking of the device. This API call is the call that begins device tracking.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Confirms tracking of the device. This API call is the call that begins device tracking.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Forgets the specified device.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Forgets the specified device.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Gets the device.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Gets the device.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Signs out a user from all devices. GlobalSignOut
invalidates all identity, access and refresh tokens that Amazon Cognito has issued to a user. A user can still use a hosted UI cookie to retrieve new tokens for the duration of the 1-hour cookie validity period.
Your app isn't aware that a user's access token is revoked unless it attempts to authorize a user pools API request with an access token that contains the scope aws.cognito.signin.user.admin
. Your app might otherwise accept access tokens until they expire.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Signs out a user from all devices. GlobalSignOut
invalidates all identity, access and refresh tokens that Amazon Cognito has issued to a user. A user can still use a hosted UI cookie to retrieve new tokens for the duration of the 1-hour cookie validity period.
Your app isn't aware that a user's access token is revoked unless it attempts to authorize a user pools API request with an access token that contains the scope aws.cognito.signin.user.admin
. Your app might otherwise accept access tokens until they expire.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Lists the sign-in devices that Amazon Cognito has registered to the current user.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Lists the sign-in devices that Amazon Cognito has registered to the current user.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Revokes all of the access tokens generated by, and at the same time as, the specified refresh token. After a token is revoked, you can't use the revoked token to access Amazon Cognito user APIs, or to authorize access to your resource server.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Revokes all of the access tokens generated by, and at the same time as, the specified refresh token. After a token is revoked, you can't use the revoked token to access Amazon Cognito user APIs, or to authorize access to your resource server.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are activated and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts unless device tracking is turned on and the device has been trusted. If you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive Authentication for the user pool.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are activated and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts unless device tracking is turned on and the device has been trusted. If you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive Authentication for the user pool.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Provides the feedback for an authentication event, whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Provides the feedback for an authentication event, whether it was from a valid user or not. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Updates the device status.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Updates the device status.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Use this API to register a user's entered time-based one-time password (TOTP) code and mark the user's software token MFA status as \\\"verified\\\" if successful. The request takes an access token or a session string, but not both.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
Use this API to register a user's entered time-based one-time password (TOTP) code and mark the user's software token MFA status as \\\"verified\\\" if successful. The request takes an access token or a session string, but not both.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito native and OIDC APIs.
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 Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
\"\ + \"documentation\":\"The Amazon Resource Name (arn) of a CloudWatch Logs log group where your user pool sends logs. The log group must not be encrypted with Key Management Service and must be in the same Amazon Web Services account as your user pool.
To send logs to log groups with a resource policy of a size greater than 5120 characters, configure a log group with a path that starts with /aws/vendedlogs
. For more information, see Enabling logging from certain Amazon Web Services services.
The CloudWatch logging destination of a user pool detailed activity logging configuration.
\"\ @@ -3846,7 +3858,7 @@ - (NSString *)definitionString { \"documentation\":\"The user pool ID.
\"\ },\ \"ProviderName\":{\ - \"shape\":\"ProviderNameTypeV1\",\ + \"shape\":\"ProviderNameTypeV2\",\ \"documentation\":\"The IdP name.
\"\ },\ \"ProviderType\":{\ @@ -6247,6 +6259,7 @@ - (NSString *)definitionString { },\ \"PaginationKey\":{\ \"type\":\"string\",\ + \"max\":131072,\ \"min\":1,\ \"pattern\":\"[\\\\S]+\"\ },\ @@ -6375,13 +6388,13 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"max\":32,\ \"min\":1,\ - \"pattern\":\"[\\\\p{L}\\\\p{M}\\\\p{S}\\\\p{N}\\\\p{P}]+\"\ + \"pattern\":\"[\\\\p{L}\\\\p{M}\\\\p{S}\\\\p{N}\\\\p{P}\\\\p{Z}]+\"\ },\ - \"ProviderNameTypeV1\":{\ + \"ProviderNameTypeV2\":{\ \"type\":\"string\",\ \"max\":32,\ - \"min\":3,\ - \"pattern\":\"[^_][\\\\p{L}\\\\p{M}\\\\p{S}\\\\p{N}\\\\p{P}][^_]+\"\ + \"min\":1,\ + \"pattern\":\"[^_\\\\p{Z}][\\\\p{L}\\\\p{M}\\\\p{S}\\\\p{N}\\\\p{P}][^_\\\\p{Z}]+\"\ },\ \"ProviderUserIdentifierType\":{\ \"type\":\"structure\",\ @@ -6851,7 +6864,8 @@ - (NSString *)definitionString { \"SessionType\":{\ \"type\":\"string\",\ \"max\":2048,\ - \"min\":20\ + \"min\":20,\ + \"sensitive\":true\ },\ \"SetLogDeliveryConfigurationRequest\":{\ \"type\":\"structure\",\ @@ -7158,7 +7172,8 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"max\":6,\ \"min\":6,\ - \"pattern\":\"[0-9]+\"\ + \"pattern\":\"[0-9]+\",\ + \"sensitive\":true\ },\ \"SoftwareTokenMfaConfigType\":{\ \"type\":\"structure\",\ @@ -7933,7 +7948,8 @@ - (NSString *)definitionString { \"documentation\":\"Encoded device-fingerprint details that your app collected with the Amazon Cognito context data collection library. For more information, see Adding user device and session data to API requests.
\"\ }\ },\ - \"documentation\":\"Contextual data, such as the user's device fingerprint, IP address, or location, used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
\"\ + \"documentation\":\"Contextual data, such as the user's device fingerprint, IP address, or location, used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
\",\ + \"sensitive\":true\ },\ \"UserFilterType\":{\ \"type\":\"string\",\ @@ -8241,7 +8257,9 @@ - (NSString *)definitionString { },\ \"Status\":{\ \"shape\":\"StatusType\",\ - \"documentation\":\"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\",\ @@ -8330,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\",\ diff --git a/AWSCognitoIdentityProvider/AWSCognitoIdentityProviderService.h b/AWSCognitoIdentityProvider/AWSCognitoIdentityProviderService.h index 40d53dc4793..3c6b705e21a 100644 --- a/AWSCognitoIdentityProvider/AWSCognitoIdentityProviderService.h +++ b/AWSCognitoIdentityProvider/AWSCognitoIdentityProviderService.h @@ -788,7 +788,7 @@ FOUNDATION_EXPORT NSString *const AWSCognitoIdentityProviderSDKVersion; - (void)adminUpdateDeviceStatus:(AWSCognitoIdentityProviderAdminUpdateDeviceStatusRequest *)request completionHandler:(void (^ _Nullable)(AWSCognitoIdentityProviderAdminUpdateDeviceStatusResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode, you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
In addition to updating user attributes, this API can also be used to mark phone and email as verified.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode, you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user. To delete an attribute from your user, submit the attribute in your API request with a blank value.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
In addition to updating user attributes, this API can also be used to mark phone and email as verified.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode, you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
In addition to updating user attributes, this API can also be used to mark phone and email as verified.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode, you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user. To delete an attribute from your user, submit the attribute in your API request with a blank value.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
In addition to updating user attributes, this API can also be used to mark phone and email as verified.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
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; @@ -2302,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; @@ -2490,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; @@ -2541,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; @@ -2999,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; @@ -3171,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.
*/ @@ -3511,6 +3588,103 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** + + */ +@interface AWSConnectCreateViewRequest : AWSRequest + + +/** +A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
+ */ +@property (nonatomic, strong) NSString * _Nullable clientToken; + +/** +View content containing all content necessary to render a view except for runtime input data.
The total uncompressed content has a maximum file size of 400kB.
+ */ +@property (nonatomic, strong) AWSConnectViewInputContent * _Nullable content; + +/** +The description of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable detail; + +/** +The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +The name of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +/** +Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
+ */ +@property (nonatomic, strong) NSDictionaryA view resource object. Contains metadata and content necessary to render the view.
+ */ +@property (nonatomic, strong) AWSConnectView * _Nullable view; + +@end + +/** + + */ +@interface AWSConnectCreateViewVersionRequest : AWSRequest + + +/** +The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +The description for the version being published.
+ */ +@property (nonatomic, strong) NSString * _Nullable versionDescription; + +/** +Indicates the checksum value of the latest published view content.
+ */ +@property (nonatomic, strong) NSString * _Nullable viewContentSha256; + +/** +The identifier of the view. Both ViewArn
and ViewId
can be used.
All view data is contained within the View object.
+ */ +@property (nonatomic, strong) AWSConnectView * _Nullable view; + +@end + /** */ @@ -4133,6 +4307,63 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSString * _Nullable userId; +@end + +/** + + */ +@interface AWSConnectDeleteViewRequest : AWSRequest + + +/** +The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +The identifier of the view. Both ViewArn
and ViewId
can be used.
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +The identifier of the view. Both ViewArn
and ViewId
can be used.
The version number of the view.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable viewVersion; + +@end + +/** + + */ +@interface AWSConnectDeleteViewVersionResponse : AWSModel + + @end /** @@ -4822,6 +5053,37 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end +/** + + */ +@interface AWSConnectDescribeViewRequest : AWSRequest + + +/** +The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +The ViewId of the view. This must be an ARN for Amazon Web Services managed views.
+ */ +@property (nonatomic, strong) NSString * _Nullable viewId; + +@end + +/** + + */ +@interface AWSConnectDescribeViewResponse : AWSModel + + +/** +All view data is contained within the View object.
+ */ +@property (nonatomic, strong) AWSConnectView * _Nullable view; + +@end + /** */ @@ -6265,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; @@ -6279,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; @@ -7193,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.
*/ @@ -8072,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 + /** */ @@ -8924,55 +9255,147 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { @end /** -Contains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously.
- Required parameters: [Channel, Concurrency] + */ -@interface AWSConnectMediaConcurrency : AWSModel +@interface AWSConnectListViewVersionsRequest : AWSRequest /** -The channels that agents can handle in the Contact Control Panel (CCP).
+The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
*/ -@property (nonatomic, assign) AWSConnectChannel channel; +@property (nonatomic, strong) NSString * _Nullable instanceId; /** -The number of contacts an agent can have on a channel simultaneously.
Valid Range for VOICE
: Minimum value of 1. Maximum value of 1.
Valid Range for CHAT
: Minimum value of 1. Maximum value of 10.
Valid Range for TASK
: Minimum value of 1. Maximum value of 10.
The maximum number of results to return per page. The default MaxResult size is 100.
*/ -@property (nonatomic, strong) NSNumber * _Nullable concurrency; +@property (nonatomic, strong) NSNumber * _Nullable maxResults; /** -Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
+The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
*/ -@property (nonatomic, strong) AWSConnectCrossChannelBehavior * _Nullable crossChannelBehavior; +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +The identifier of the view. Both ViewArn
and ViewId
can be used.
Contains the name, thresholds, and metric filters.
+ */ -@interface AWSConnectMetricDataV2 : AWSModel +@interface AWSConnectListViewVersionsResponse : AWSModel /** -The metric name, thresholds, and metric filters of the returned metric.
+The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
*/ -@property (nonatomic, strong) AWSConnectMetricV2 * _Nullable metric; +@property (nonatomic, strong) NSString * _Nullable nextToken; /** -The corresponding value of the metric returned in the response.
+A list of view version summaries.
*/ -@property (nonatomic, strong) NSNumber * _Nullable value; +@property (nonatomic, strong) NSArrayContains 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 key to use for filtering data.
Valid metric filter keys: INITIATION_METHOD
, DISCONNECT_REASON
. These are the same values as the InitiationMethod
and DisconnectReason
in the contact record. For more information, see ContactTraceRecord in the Amazon Connect Administrator's Guide.
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +The maximum number of results to return per page. The default MaxResult size is 100.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable maxResults; + +/** +The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +The type of the view.
+ */ +@property (nonatomic, assign) AWSConnectViewType types; + +@end + +/** + + */ +@interface AWSConnectListViewsResponse : AWSModel + + +/** +The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +A list of view summaries.
+ */ +@property (nonatomic, strong) NSArrayContains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously.
+ Required parameters: [Channel, Concurrency] + */ +@interface AWSConnectMediaConcurrency : AWSModel + + +/** +The channels that agents can handle in the Contact Control Panel (CCP).
+ */ +@property (nonatomic, assign) AWSConnectChannel channel; + +/** +The number of contacts an agent can have on a channel simultaneously.
Valid Range for VOICE
: Minimum value of 1. Maximum value of 1.
Valid Range for CHAT
: Minimum value of 1. Maximum value of 10.
Valid Range for TASK
: Minimum value of 1. Maximum value of 10.
Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
+ */ +@property (nonatomic, strong) AWSConnectCrossChannelBehavior * _Nullable crossChannelBehavior; + +@end + +/** +Contains the name, thresholds, and metric filters.
+ */ +@interface AWSConnectMetricDataV2 : AWSModel + + +/** +The metric name, thresholds, and metric filters of the returned metric.
+ */ +@property (nonatomic, strong) AWSConnectMetricV2 * _Nullable metric; + +/** +The corresponding value of the metric returned in the response.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable value; + +@end + +/** +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 key to use for filtering data.
Valid metric filter keys: INITIATION_METHOD
, DISCONNECT_REASON
. These are the same values as the InitiationMethod
and DisconnectReason
in the contact record. For more information, see ContactTraceRecord in the Amazon Connect Administrator's Guide.
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.
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 /** @@ -8999,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 /** @@ -9273,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 @@ -11525,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; @@ -12102,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
only for a default TrafficDistributionGroup
. 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; @@ -12452,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; @@ -12827,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 /** @@ -13261,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.
*/ @@ -13426,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; @@ -13599,6 +14083,83 @@ typedef NS_ENUM(NSInteger, AWSConnectVoiceRecordingTrack) { */ @property (nonatomic, strong) NSString * _Nullable userId; +@end + +/** + + */ +@interface AWSConnectUpdateViewContentRequest : AWSRequest + + +/** +View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
+ */ +@property (nonatomic, strong) AWSConnectViewInputContent * _Nullable content; + +/** +The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
The identifier of the view. Both ViewArn
and ViewId
can be used.
A view resource object. Contains metadata and content necessary to render the view.
+ */ +@property (nonatomic, strong) AWSConnectView * _Nullable view; + +@end + +/** + + */ +@interface AWSConnectUpdateViewMetadataRequest : AWSRequest + + +/** +The description of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable detail; + +/** +The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +The name of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +/** +The identifier of the view. Both ViewArn
and ViewId
can be used.
A view resource object. Contains metadata and content necessary to render the view.
+ */ +@interface AWSConnectView : AWSModel + + +/** +The Amazon Resource Name (ARN) of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable arn; + +/** +View content containing all content necessary to render a view except for runtime input data.
+ */ +@property (nonatomic, strong) AWSConnectViewContent * _Nullable content; + +/** +The timestamp of when the view was created.
+ */ +@property (nonatomic, strong) NSDate * _Nullable createdTime; + +/** +The description of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable detail; + +/** +The identifier of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable identifier; + +/** +Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
The name of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +/** +Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
The tags associated with the view resource (not specific to view version).
+ */ +@property (nonatomic, strong) NSDictionaryThe type of the view - CUSTOMER_MANAGED
.
Current version of the view.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable version; + +/** +The description of the version.
+ */ +@property (nonatomic, strong) NSString * _Nullable versionDescription; + +/** +Indicates the checksum value of the latest published view content.
+ */ +@property (nonatomic, strong) NSString * _Nullable viewContentSha256; + +@end + +/** +View content containing all content necessary to render a view except for runtime input data.
+ */ +@interface AWSConnectViewContent : AWSModel + + +/** +A list of possible actions from the view.
+ */ +@property (nonatomic, strong) NSArrayThe data schema matching data that the view template must be provided to render.
+ */ +@property (nonatomic, strong) NSString * _Nullable inputSchema; + +/** +The view template representing the structure of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable template; + +@end + +/** +View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
+ */ +@interface AWSConnectViewInputContent : AWSModel + + +/** +A list of possible actions from the view.
+ */ +@property (nonatomic, strong) NSArrayThe view template representing the structure of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable template; + +@end + +/** +A summary of a view's metadata.
+ */ +@interface AWSConnectViewSummary : AWSModel + + +/** +The Amazon Resource Name (ARN) of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable arn; + +/** +The description of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable detail; + +/** +The identifier of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable identifier; + +/** +The name of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +/** +Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
The type of the view.
+ */ +@property (nonatomic, assign) AWSConnectViewType types; + +@end + +/** +A summary of a view version's metadata.
+ */ +@interface AWSConnectViewVersionSummary : AWSModel + + +/** +The Amazon Resource Name (ARN) of the view version.
+ */ +@property (nonatomic, strong) NSString * _Nullable arn; + +/** +The description of the view version.
+ */ +@property (nonatomic, strong) NSString * _Nullable detail; + +/** +The identifier of the view version.
+ */ +@property (nonatomic, strong) NSString * _Nullable identifier; + +/** +The name of the view version.
+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +/** +The type of the view version.
+ */ +@property (nonatomic, assign) AWSConnectViewType types; + +/** +The sequentially incremented version of the view version.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable version; + +/** +The description of the view version.
+ */ +@property (nonatomic, strong) NSString * _Nullable versionDescription; + +@end + /**Contains information about a custom vocabulary.
Required parameters: [Name, Id, Arn, LanguageCode, State, LastModifiedTime] diff --git a/AWSConnect/AWSConnectModel.m b/AWSConnect/AWSConnectModel.m index 3d4a1911eb8..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 @@ -5055,6 +5080,104 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectCreateViewRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"clientToken" : @"ClientToken", + @"content" : @"Content", + @"detail" : @"Description", + @"instanceId" : @"InstanceId", + @"name" : @"Name", + @"status" : @"Status", + @"tags" : @"Tags", + }; +} + ++ (NSValueTransformer *)contentJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectViewInputContent class]]; +} + ++ (NSValueTransformer *)statusJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"PUBLISHED"] == NSOrderedSame) { + return @(AWSConnectViewStatusPublished); + } + if ([value caseInsensitiveCompare:@"SAVED"] == NSOrderedSame) { + return @(AWSConnectViewStatusSaved); + } + return @(AWSConnectViewStatusUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectViewStatusPublished: + return @"PUBLISHED"; + case AWSConnectViewStatusSaved: + return @"SAVED"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSConnectCreateViewResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"view" : @"View", + }; +} + ++ (NSValueTransformer *)viewJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectView class]]; +} + +@end + +@implementation AWSConnectCreateViewVersionRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"versionDescription" : @"VersionDescription", + @"viewContentSha256" : @"ViewContentSha256", + @"viewId" : @"ViewId", + }; +} + +@end + +@implementation AWSConnectCreateViewVersionResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"view" : @"View", + }; +} + ++ (NSValueTransformer *)viewJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectView class]]; +} + +@end + @implementation AWSConnectCreateVocabularyRequest + (BOOL)supportsSecureCoding { @@ -6078,6 +6201,53 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectDeleteViewRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"viewId" : @"ViewId", + }; +} + +@end + +@implementation AWSConnectDeleteViewResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + +@implementation AWSConnectDeleteViewVersionRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"viewId" : @"ViewId", + @"viewVersion" : @"ViewVersion", + }; +} + +@end + +@implementation AWSConnectDeleteViewVersionResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + @implementation AWSConnectDeleteVocabularyRequest + (BOOL)supportsSecureCoding { @@ -6958,6 +7128,39 @@ + (NSValueTransformer *)userJSONTransformer { @end +@implementation AWSConnectDescribeViewRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"viewId" : @"ViewId", + }; +} + +@end + +@implementation AWSConnectDescribeViewResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"view" : @"View", + }; +} + ++ (NSValueTransformer *)viewJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectView class]]; +} + +@end + @implementation AWSConnectDescribeVocabularyRequest + (BOOL)supportsSecureCoding { @@ -8449,6 +8652,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"endTime" : @"EndTime", @"filters" : @"Filters", @"groupings" : @"Groupings", + @"interval" : @"Interval", @"maxResults" : @"MaxResults", @"metrics" : @"Metrics", @"nextToken" : @"NextToken", @@ -8469,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]]; } @@ -9650,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]) { @@ -9665,6 +9876,8 @@ + (NSValueTransformer *)integrationTypeJSONTransformer { return @"WISDOM_KNOWLEDGE_BASE"; case AWSConnectIntegrationTypeCasesDomain: return @"CASES_DOMAIN"; + case AWSConnectIntegrationTypeApplication: + return @"APPLICATION"; default: return nil; } @@ -9694,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 { @@ -10569,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]) { @@ -10584,6 +10856,8 @@ + (NSValueTransformer *)integrationTypeJSONTransformer { return @"WISDOM_KNOWLEDGE_BASE"; case AWSConnectIntegrationTypeCasesDomain: return @"CASES_DOMAIN"; + case AWSConnectIntegrationTypeApplication: + return @"APPLICATION"; default: return nil; } @@ -12261,6 +12535,9 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { if ([value caseInsensitiveCompare:@"OnContactEvaluationSubmit"] == NSOrderedSame) { return @(AWSConnectEventSourceNameOnContactEvaluationSubmit); } + if ([value caseInsensitiveCompare:@"OnMetricDataUpdate"] == NSOrderedSame) { + return @(AWSConnectEventSourceNameOnMetricDataUpdate); + } return @(AWSConnectEventSourceNameUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -12278,6 +12555,8 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { return @"OnSalesforceCaseCreate"; case AWSConnectEventSourceNameOnContactEvaluationSubmit: return @"OnContactEvaluationSubmit"; + case AWSConnectEventSourceNameOnMetricDataUpdate: + return @"OnMetricDataUpdate"; default: return nil; } @@ -12361,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 { @@ -12690,7 +13005,7 @@ + (NSValueTransformer *)userSummaryListJSONTransformer { @end -@implementation AWSConnectMediaConcurrency +@implementation AWSConnectListViewVersionsRequest + (BOOL)supportsSecureCoding { return YES; @@ -12698,37 +13013,130 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"channel" : @"Channel", - @"concurrency" : @"Concurrency", - @"crossChannelBehavior" : @"CrossChannelBehavior", + @"instanceId" : @"InstanceId", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + @"viewId" : @"ViewId", }; } -+ (NSValueTransformer *)channelJSONTransformer { - return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { - if ([value caseInsensitiveCompare:@"VOICE"] == NSOrderedSame) { - return @(AWSConnectChannelVoice); - } - if ([value caseInsensitiveCompare:@"CHAT"] == NSOrderedSame) { - return @(AWSConnectChannelChat); - } - if ([value caseInsensitiveCompare:@"TASK"] == NSOrderedSame) { - return @(AWSConnectChannelTask); - } - return @(AWSConnectChannelUnknown); - } reverseBlock:^NSString *(NSNumber *value) { - switch ([value integerValue]) { - case AWSConnectChannelVoice: - return @"VOICE"; - case AWSConnectChannelChat: - return @"CHAT"; - case AWSConnectChannelTask: - return @"TASK"; - default: - return nil; - } - }]; -} +@end + +@implementation AWSConnectListViewVersionsResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"nextToken" : @"NextToken", + @"viewVersionSummaryList" : @"ViewVersionSummaryList", + }; +} + ++ (NSValueTransformer *)viewVersionSummaryListJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectViewVersionSummary class]]; +} + +@end + +@implementation AWSConnectListViewsRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instanceId" : @"InstanceId", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + @"types" : @"Type", + }; +} + ++ (NSValueTransformer *)typesJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"CUSTOMER_MANAGED"] == NSOrderedSame) { + return @(AWSConnectViewTypeCustomerManaged); + } + if ([value caseInsensitiveCompare:@"AWS_MANAGED"] == NSOrderedSame) { + return @(AWSConnectViewTypeAwsManaged); + } + return @(AWSConnectViewTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectViewTypeCustomerManaged: + return @"CUSTOMER_MANAGED"; + case AWSConnectViewTypeAwsManaged: + return @"AWS_MANAGED"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSConnectListViewsResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"nextToken" : @"NextToken", + @"viewsSummaryList" : @"ViewsSummaryList", + }; +} + ++ (NSValueTransformer *)viewsSummaryListJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectViewSummary class]]; +} + +@end + +@implementation AWSConnectMediaConcurrency + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"channel" : @"Channel", + @"concurrency" : @"Concurrency", + @"crossChannelBehavior" : @"CrossChannelBehavior", + }; +} + ++ (NSValueTransformer *)channelJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"VOICE"] == NSOrderedSame) { + return @(AWSConnectChannelVoice); + } + if ([value caseInsensitiveCompare:@"CHAT"] == NSOrderedSame) { + return @(AWSConnectChannelChat); + } + if ([value caseInsensitiveCompare:@"TASK"] == NSOrderedSame) { + return @(AWSConnectChannelTask); + } + return @(AWSConnectChannelUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectChannelVoice: + return @"VOICE"; + case AWSConnectChannelChat: + return @"CHAT"; + case AWSConnectChannelTask: + return @"TASK"; + default: + return nil; + } + }]; +} + (NSValueTransformer *)crossChannelBehaviorJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectCrossChannelBehavior class]]; @@ -12765,9 +13173,83 @@ + (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 @@ -12780,6 +13262,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"collections" : @"Collections", @"dimensions" : @"Dimensions", + @"metricInterval" : @"MetricInterval", }; } @@ -12787,6 +13270,10 @@ + (NSValueTransformer *)collectionsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectMetricDataV2 class]]; } ++ (NSValueTransformer *)metricIntervalJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectMetricInterval class]]; +} + @end @implementation AWSConnectMetricV2 @@ -15658,6 +16145,9 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { if ([value caseInsensitiveCompare:@"OnContactEvaluationSubmit"] == NSOrderedSame) { return @(AWSConnectEventSourceNameOnContactEvaluationSubmit); } + if ([value caseInsensitiveCompare:@"OnMetricDataUpdate"] == NSOrderedSame) { + return @(AWSConnectEventSourceNameOnMetricDataUpdate); + } return @(AWSConnectEventSourceNameUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -15675,6 +16165,8 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { return @"OnSalesforceCaseCreate"; case AWSConnectEventSourceNameOnContactEvaluationSubmit: return @"OnContactEvaluationSubmit"; + case AWSConnectEventSourceNameOnMetricDataUpdate: + return @"OnMetricDataUpdate"; default: return nil; } @@ -15748,6 +16240,9 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { if ([value caseInsensitiveCompare:@"OnContactEvaluationSubmit"] == NSOrderedSame) { return @(AWSConnectEventSourceNameOnContactEvaluationSubmit); } + if ([value caseInsensitiveCompare:@"OnMetricDataUpdate"] == NSOrderedSame) { + return @(AWSConnectEventSourceNameOnMetricDataUpdate); + } return @(AWSConnectEventSourceNameUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -15765,6 +16260,8 @@ + (NSValueTransformer *)eventSourceNameJSONTransformer { return @"OnSalesforceCaseCreate"; case AWSConnectEventSourceNameOnContactEvaluationSubmit: return @"OnContactEvaluationSubmit"; + case AWSConnectEventSourceNameOnMetricDataUpdate: + return @"OnMetricDataUpdate"; default: return nil; } @@ -19577,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 { @@ -19947,6 +20460,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"allowedAccessControlTags" : @"AllowedAccessControlTags", + @"applications" : @"Applications", @"detail" : @"Description", @"instanceId" : @"InstanceId", @"permissions" : @"Permissions", @@ -19955,6 +20469,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)applicationsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSConnectApplication class]]; +} + @end @implementation AWSConnectUpdateTaskTemplateRequest @@ -20246,6 +20764,91 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectUpdateViewContentRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"content" : @"Content", + @"instanceId" : @"InstanceId", + @"status" : @"Status", + @"viewId" : @"ViewId", + }; +} + ++ (NSValueTransformer *)contentJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectViewInputContent class]]; +} + ++ (NSValueTransformer *)statusJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"PUBLISHED"] == NSOrderedSame) { + return @(AWSConnectViewStatusPublished); + } + if ([value caseInsensitiveCompare:@"SAVED"] == NSOrderedSame) { + return @(AWSConnectViewStatusSaved); + } + return @(AWSConnectViewStatusUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectViewStatusPublished: + return @"PUBLISHED"; + case AWSConnectViewStatusSaved: + return @"SAVED"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSConnectUpdateViewContentResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"view" : @"View", + }; +} + ++ (NSValueTransformer *)viewJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectView class]]; +} + +@end + +@implementation AWSConnectUpdateViewMetadataRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"detail" : @"Description", + @"instanceId" : @"InstanceId", + @"name" : @"Name", + @"viewId" : @"ViewId", + }; +} + +@end + +@implementation AWSConnectUpdateViewMetadataResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + +@end + @implementation AWSConnectUrlReference + (BOOL)supportsSecureCoding { @@ -20592,6 +21195,227 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectView + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"arn" : @"Arn", + @"content" : @"Content", + @"createdTime" : @"CreatedTime", + @"detail" : @"Description", + @"identifier" : @"Id", + @"lastModifiedTime" : @"LastModifiedTime", + @"name" : @"Name", + @"status" : @"Status", + @"tags" : @"Tags", + @"types" : @"Type", + @"version" : @"Version", + @"versionDescription" : @"VersionDescription", + @"viewContentSha256" : @"ViewContentSha256", + }; +} + ++ (NSValueTransformer *)contentJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectViewContent class]]; +} + ++ (NSValueTransformer *)createdTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSNumber *number) { + return [NSDate dateWithTimeIntervalSince1970:[number doubleValue]]; + } reverseBlock:^id(NSDate *date) { + return [NSString stringWithFormat:@"%f", [date timeIntervalSince1970]]; + }]; +} + ++ (NSValueTransformer *)lastModifiedTimeJSONTransformer { + 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:@"PUBLISHED"] == NSOrderedSame) { + return @(AWSConnectViewStatusPublished); + } + if ([value caseInsensitiveCompare:@"SAVED"] == NSOrderedSame) { + return @(AWSConnectViewStatusSaved); + } + return @(AWSConnectViewStatusUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectViewStatusPublished: + return @"PUBLISHED"; + case AWSConnectViewStatusSaved: + return @"SAVED"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)typesJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"CUSTOMER_MANAGED"] == NSOrderedSame) { + return @(AWSConnectViewTypeCustomerManaged); + } + if ([value caseInsensitiveCompare:@"AWS_MANAGED"] == NSOrderedSame) { + return @(AWSConnectViewTypeAwsManaged); + } + return @(AWSConnectViewTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectViewTypeCustomerManaged: + return @"CUSTOMER_MANAGED"; + case AWSConnectViewTypeAwsManaged: + return @"AWS_MANAGED"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSConnectViewContent + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"actions" : @"Actions", + @"inputSchema" : @"InputSchema", + @"template" : @"Template", + }; +} + +@end + +@implementation AWSConnectViewInputContent + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"actions" : @"Actions", + @"template" : @"Template", + }; +} + +@end + +@implementation AWSConnectViewSummary + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"arn" : @"Arn", + @"detail" : @"Description", + @"identifier" : @"Id", + @"name" : @"Name", + @"status" : @"Status", + @"types" : @"Type", + }; +} + ++ (NSValueTransformer *)statusJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"PUBLISHED"] == NSOrderedSame) { + return @(AWSConnectViewStatusPublished); + } + if ([value caseInsensitiveCompare:@"SAVED"] == NSOrderedSame) { + return @(AWSConnectViewStatusSaved); + } + return @(AWSConnectViewStatusUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectViewStatusPublished: + return @"PUBLISHED"; + case AWSConnectViewStatusSaved: + return @"SAVED"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)typesJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"CUSTOMER_MANAGED"] == NSOrderedSame) { + return @(AWSConnectViewTypeCustomerManaged); + } + if ([value caseInsensitiveCompare:@"AWS_MANAGED"] == NSOrderedSame) { + return @(AWSConnectViewTypeAwsManaged); + } + return @(AWSConnectViewTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectViewTypeCustomerManaged: + return @"CUSTOMER_MANAGED"; + case AWSConnectViewTypeAwsManaged: + return @"AWS_MANAGED"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSConnectViewVersionSummary + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"arn" : @"Arn", + @"detail" : @"Description", + @"identifier" : @"Id", + @"name" : @"Name", + @"types" : @"Type", + @"version" : @"Version", + @"versionDescription" : @"VersionDescription", + }; +} + ++ (NSValueTransformer *)typesJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"CUSTOMER_MANAGED"] == NSOrderedSame) { + return @(AWSConnectViewTypeCustomerManaged); + } + if ([value caseInsensitiveCompare:@"AWS_MANAGED"] == NSOrderedSame) { + return @(AWSConnectViewTypeAwsManaged); + } + return @(AWSConnectViewTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSConnectViewTypeCustomerManaged: + return @"CUSTOMER_MANAGED"; + case AWSConnectViewTypeAwsManaged: + return @"AWS_MANAGED"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSConnectVocabulary + (BOOL)supportsSecureCoding { diff --git a/AWSConnect/AWSConnectResources.m b/AWSConnect/AWSConnectResources.m index e323393b9aa..ae59675b08c 100644 --- a/AWSConnect/AWSConnectResources.m +++ b/AWSConnect/AWSConnectResources.m @@ -485,7 +485,7 @@ - (NSString *)definitionString { {\"shape\":\"ThrottlingException\"},\ {\"shape\":\"InternalServiceException\"}\ ],\ - \"documentation\":\"This API is in preview release for Amazon Connect and is subject to change.
Creates a new queue for the specified Amazon Connect instance.
If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId
value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
This API is in preview release for Amazon Connect and is subject to change.
Creates a new queue for the specified Amazon Connect instance.
If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId
. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
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.
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\",\ @@ -656,6 +656,49 @@ - (NSString *)definitionString { ],\ \"documentation\":\"Creates a new user hierarchy group.
\"\ },\ + \"CreateView\":{\ + \"name\":\"CreateView\",\ + \"http\":{\ + \"method\":\"PUT\",\ + \"requestUri\":\"/views/{InstanceId}\"\ + },\ + \"input\":{\"shape\":\"CreateViewRequest\"},\ + \"output\":{\"shape\":\"CreateViewResponse\"},\ + \"errors\":[\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"DuplicateResourceException\"},\ + {\"shape\":\"ServiceQuotaExceededException\"},\ + {\"shape\":\"TooManyRequestsException\"},\ + {\"shape\":\"ResourceInUseException\"}\ + ],\ + \"documentation\":\"Creates a new view with the possible status of SAVED
or PUBLISHED
.
The views will have a unique name for each connect instance.
It performs basic content validation if the status is SAVED
or full content validation if the status is set to PUBLISHED
. An error is returned if validation fails. It associates either the $SAVED
qualifier or both of the $SAVED
and $LATEST
qualifiers with the provided view content based on the status. The view is idempotent if ClientToken is provided.
Publishes a new version of the view identifier.
Versions are immutable and monotonically increasing.
It returns the highest version if there is no change in content compared to that version. An error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST
alias.
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\",\ @@ -989,6 +1032,44 @@ - (NSString *)definitionString { ],\ \"documentation\":\"Deletes an existing user hierarchy group. It must not be associated with any agents or have any active child groups.
\"\ },\ + \"DeleteView\":{\ + \"name\":\"DeleteView\",\ + \"http\":{\ + \"method\":\"DELETE\",\ + \"requestUri\":\"/views/{InstanceId}/{ViewId}\"\ + },\ + \"input\":{\"shape\":\"DeleteViewRequest\"},\ + \"output\":{\"shape\":\"DeleteViewResponse\"},\ + \"errors\":[\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"TooManyRequestsException\"},\ + {\"shape\":\"ResourceInUseException\"}\ + ],\ + \"documentation\":\"Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).
\"\ + },\ + \"DeleteViewVersion\":{\ + \"name\":\"DeleteViewVersion\",\ + \"http\":{\ + \"method\":\"DELETE\",\ + \"requestUri\":\"/views/{InstanceId}/{ViewId}/versions/{ViewVersion}\"\ + },\ + \"input\":{\"shape\":\"DeleteViewVersionRequest\"},\ + \"output\":{\"shape\":\"DeleteViewVersionResponse\"},\ + \"errors\":[\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"TooManyRequestsException\"},\ + {\"shape\":\"ResourceInUseException\"}\ + ],\ + \"documentation\":\"Deletes the particular version specified in ViewVersion
identifier.
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\",\ @@ -1362,6 +1443,24 @@ - (NSString *)definitionString { ],\ \"documentation\":\"Describes the hierarchy structure of the specified Amazon Connect instance.
\"\ },\ + \"DescribeView\":{\ + \"name\":\"DescribeView\",\ + \"http\":{\ + \"method\":\"GET\",\ + \"requestUri\":\"/views/{InstanceId}/{ViewId}\"\ + },\ + \"input\":{\"shape\":\"DescribeViewRequest\"},\ + \"output\":{\"shape\":\"DescribeViewResponse\"},\ + \"errors\":[\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"TooManyRequestsException\"}\ + ],\ + \"documentation\":\"Retrieves the view for the specified Amazon Connect instance and view identifier.
The view identifier can be supplied as a ViewId or ARN.
$SAVED
needs to be supplied if a view is unpublished.
The view identifier can contain an optional qualifier, for example, <view-id>:$SAVED
, which is either an actual version number or an Amazon Connect managed qualifier $SAVED | $LATEST
. If it is not supplied, then $LATEST
is assumed for customer managed views and an error is returned if there is no published content available. Version 1 is assumed for Amazon Web Services managed views.
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.
Provides information about the phone numbers for the specified Amazon Connect instance.
For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
The phone number Arn
value that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with a ResourceNotFoundException
. Instead, use the ListPhoneNumbersV2 API. It returns the new phone number ARN that can be used to tag phone number resources.
Provides information about the phone numbers for the specified Amazon Connect instance.
For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
We recommend using ListPhoneNumbersV2 to return phone number types. ListPhoneNumbers doesn't support number types UIFN
, SHARED
, THIRD_PARTY_TF
, and THIRD_PARTY_DID
. While it returns numbers of those types, it incorrectly lists them as TOLL_FREE
or DID
.
The phone number Arn
value that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with a ResourceNotFoundException
. Instead, use the ListPhoneNumbersV2 API. It returns the new phone number ARN that can be used to tag phone number resources.
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\":{\ @@ -2177,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\",\ @@ -2313,6 +2429,42 @@ - (NSString *)definitionString { ],\ \"documentation\":\"Provides summary information about the users for the specified Amazon Connect instance.
\"\ },\ + \"ListViewVersions\":{\ + \"name\":\"ListViewVersions\",\ + \"http\":{\ + \"method\":\"GET\",\ + \"requestUri\":\"/views/{InstanceId}/{ViewId}/versions\"\ + },\ + \"input\":{\"shape\":\"ListViewVersionsRequest\"},\ + \"output\":{\"shape\":\"ListViewVersionsResponse\"},\ + \"errors\":[\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"TooManyRequestsException\"}\ + ],\ + \"documentation\":\"Returns all the available versions for the specified Amazon Connect instance and view identifier.
Results will be sorted from highest to lowest.
\"\ + },\ + \"ListViews\":{\ + \"name\":\"ListViews\",\ + \"http\":{\ + \"method\":\"GET\",\ + \"requestUri\":\"/views/{InstanceId}\"\ + },\ + \"input\":{\"shape\":\"ListViewsRequest\"},\ + \"output\":{\"shape\":\"ListViewsResponse\"},\ + \"errors\":[\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"TooManyRequestsException\"}\ + ],\ + \"documentation\":\"Returns views in the given instance.
Results are sorted primarily by type, and secondarily by name.
\"\ + },\ \"MonitorContact\":{\ \"name\":\"MonitorContact\",\ \"http\":{\ @@ -2554,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.
Ends the specified contact. This call does not work for the following initiation methods:
DISCONNECT
TRANSFER
QUEUE_TRANSFER
Ends the specified contact. This call does not work for voice contacts that use the following initiation methods:
DISCONNECT
TRANSFER
QUEUE_TRANSFER
Chat and task contacts, however, can be terminated in any state, regardless of initiation method.
\"\ },\ \"StopContactRecording\":{\ \"name\":\"StopContactRecording\",\ @@ -3091,6 +3243,25 @@ - (NSString *)definitionString { ],\ \"documentation\":\"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 the outbound caller ID name, number, and outbound whisper flow for a specified queue.
If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId
value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
This API is in preview release for Amazon Connect and is subject to change.
Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.
If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId
. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
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\",\ @@ -3369,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
only for a default TrafficDistributionGroup
. 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\",\ @@ -3484,6 +3655,45 @@ - (NSString *)definitionString { {\"shape\":\"InternalServiceException\"}\ ],\ \"documentation\":\"Assigns the specified security profiles to the specified user.
\"\ + },\ + \"UpdateViewContent\":{\ + \"name\":\"UpdateViewContent\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/views/{InstanceId}/{ViewId}\"\ + },\ + \"input\":{\"shape\":\"UpdateViewContentRequest\"},\ + \"output\":{\"shape\":\"UpdateViewContentResponse\"},\ + \"errors\":[\ + {\"shape\":\"AccessDeniedException\"},\ + {\"shape\":\"InvalidRequestException\"},\ + {\"shape\":\"InvalidParameterException\"},\ + {\"shape\":\"ResourceNotFoundException\"},\ + {\"shape\":\"InternalServiceException\"},\ + {\"shape\":\"TooManyRequestsException\"},\ + {\"shape\":\"ResourceInUseException\"}\ + ],\ + \"documentation\":\"Updates the view content of the given view identifier in the specified Amazon Connect instance.
It performs content validation if Status
is set to SAVED
and performs full content validation if Status
is PUBLISHED
. Note that the $SAVED
alias' content will always be updated, but the $LATEST
alias' content will only be updated if Status
is PUBLISHED
.
Updates the view metadata. Note that either Name
or Description
must be provided.
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\",\ @@ -4188,10 +4423,7 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"max\":50\ },\ - \"BoxedBoolean\":{\ - \"type\":\"boolean\",\ - \"box\":true\ - },\ + \"BoxedBoolean\":{\"type\":\"boolean\"},\ \"BucketName\":{\ \"type\":\"string\",\ \"max\":128,\ @@ -4360,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.
\"\ @@ -4492,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\",\ @@ -4524,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\",\ @@ -4703,7 +4935,7 @@ - (NSString *)definitionString { \"documentation\":\"The message.
\"\ }\ },\ - \"documentation\":\"The contact with the specified ID is not active or does not exist. Applies to Voice calls only, not to Chat, Task, or Voice Callback.
\",\ + \"documentation\":\"The contact with the specified ID is not active or does not exist. Applies to Voice calls only, not to Chat or Task contacts.
\",\ \"error\":{\"httpStatusCode\":410},\ \"exception\":true\ },\ @@ -4828,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\",\ @@ -4883,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\",\ @@ -5267,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\",\ @@ -5458,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.
\"\ }\ }\ },\ @@ -5733,6 +5969,94 @@ - (NSString *)definitionString { }\ }\ },\ + \"CreateViewRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"Status\",\ + \"Content\",\ + \"Name\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"ViewsInstanceId\",\ + \"documentation\":\"The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"ClientToken\":{\ + \"shape\":\"ViewsClientToken\",\ + \"documentation\":\"A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
\"\ + },\ + \"Status\":{\ + \"shape\":\"ViewStatus\",\ + \"documentation\":\"Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
View content containing all content necessary to render a view except for runtime input data.
The total uncompressed content has a maximum file size of 400kB.
\"\ + },\ + \"Description\":{\ + \"shape\":\"ViewDescription\",\ + \"documentation\":\"The description of the view.
\"\ + },\ + \"Name\":{\ + \"shape\":\"ViewName\",\ + \"documentation\":\"The name of the view.
\"\ + },\ + \"Tags\":{\ + \"shape\":\"TagMap\",\ + \"documentation\":\"The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { \\\"tags\\\": {\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"} }.
\"\ + }\ + }\ + },\ + \"CreateViewResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"View\":{\ + \"shape\":\"View\",\ + \"documentation\":\"A view resource object. Contains metadata and content necessary to render the view.
\"\ + }\ + }\ + },\ + \"CreateViewVersionRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"ViewId\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"ViewsInstanceId\",\ + \"documentation\":\"The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"ViewId\":{\ + \"shape\":\"ViewId\",\ + \"documentation\":\"The identifier of the view. Both ViewArn
and ViewId
can be used.
The description for the version being published.
\"\ + },\ + \"ViewContentSha256\":{\ + \"shape\":\"ViewContentSha256\",\ + \"documentation\":\"Indicates the checksum value of the latest published view content.
\"\ + }\ + }\ + },\ + \"CreateViewVersionResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"View\":{\ + \"shape\":\"View\",\ + \"documentation\":\"All view data is contained within the View object.
\"\ + }\ + }\ + },\ \"CreateVocabularyRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -6111,6 +6435,7 @@ - (NSString *)definitionString { \"EvaluationFormVersion\":{\ \"shape\":\"VersionNumber\",\ \"documentation\":\"The unique identifier for the evaluation form.
\",\ + \"box\":true,\ \"location\":\"querystring\",\ \"locationName\":\"version\"\ }\ @@ -6409,6 +6734,65 @@ - (NSString *)definitionString { }\ }\ },\ + \"DeleteViewRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"ViewId\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"ViewsInstanceId\",\ + \"documentation\":\"The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"ViewId\":{\ + \"shape\":\"ViewId\",\ + \"documentation\":\"The identifier of the view. Both ViewArn
and ViewId
can be used.
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"ViewId\":{\ + \"shape\":\"ViewId\",\ + \"documentation\":\"The identifier of the view. Both ViewArn
and ViewId
can be used.
The version number of the view.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"ViewVersion\"\ + }\ + }\ + },\ + \"DeleteViewVersionResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + }\ + },\ \"DeleteVocabularyRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -6632,6 +7016,7 @@ - (NSString *)definitionString { \"EvaluationFormVersion\":{\ \"shape\":\"VersionNumber\",\ \"documentation\":\"A version of the evaluation form.
\",\ + \"box\":true,\ \"location\":\"querystring\",\ \"locationName\":\"version\"\ }\ @@ -7069,28 +7454,58 @@ - (NSString *)definitionString { }\ }\ },\ - \"DescribeVocabularyRequest\":{\ + \"DescribeViewRequest\":{\ \"type\":\"structure\",\ \"required\":[\ \"InstanceId\",\ - \"VocabularyId\"\ + \"ViewId\"\ ],\ \"members\":{\ \"InstanceId\":{\ - \"shape\":\"InstanceId\",\ - \"documentation\":\"The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
\",\ + \"shape\":\"ViewsInstanceId\",\ + \"documentation\":\"The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
\",\ \"location\":\"uri\",\ \"locationName\":\"InstanceId\"\ },\ - \"VocabularyId\":{\ - \"shape\":\"VocabularyId\",\ - \"documentation\":\"The identifier of the custom vocabulary.
\",\ + \"ViewId\":{\ + \"shape\":\"ViewId\",\ + \"documentation\":\"The ViewId of the view. This must be an ARN for Amazon Web Services managed views.
\",\ \"location\":\"uri\",\ - \"locationName\":\"VocabularyId\"\ + \"locationName\":\"ViewId\"\ }\ }\ },\ - \"DescribeVocabularyResponse\":{\ + \"DescribeViewResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"View\":{\ + \"shape\":\"View\",\ + \"documentation\":\"All view data is contained within the View object.
\"\ + }\ + }\ + },\ + \"DescribeVocabularyRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"VocabularyId\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"InstanceId\",\ + \"documentation\":\"The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"VocabularyId\":{\ + \"shape\":\"VocabularyId\",\ + \"documentation\":\"The identifier of the custom vocabulary.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"VocabularyId\"\ + }\ + }\ + },\ + \"DescribeVocabularyResponse\":{\ \"type\":\"structure\",\ \"required\":[\"Vocabulary\"],\ \"members\":{\ @@ -8141,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.
\"\ @@ -8384,7 +8800,8 @@ - (NSString *)definitionString { \"OnZendeskTicketCreate\",\ \"OnZendeskTicketStatusUpdate\",\ \"OnSalesforceCaseCreate\",\ - \"OnContactEvaluationSubmit\"\ + \"OnContactEvaluationSubmit\",\ + \"OnMetricDataUpdate\"\ ]\ },\ \"FilterV2\":{\ @@ -8686,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\",\ @@ -9663,7 +10084,8 @@ - (NSString *)definitionString { \"PINPOINT_APP\",\ \"WISDOM_ASSISTANT\",\ \"WISDOM_KNOWLEDGE_BASE\",\ - \"CASES_DOMAIN\"\ + \"CASES_DOMAIN\",\ + \"APPLICATION\"\ ]\ },\ \"InternalServiceException\":{\ @@ -9678,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\":{\ @@ -10576,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\":[\ @@ -11390,6 +11883,97 @@ - (NSString *)definitionString { }\ }\ },\ + \"ListViewVersionsRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"ViewId\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"ViewsInstanceId\",\ + \"documentation\":\"The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"ViewId\":{\ + \"shape\":\"ViewId\",\ + \"documentation\":\"The identifier of the view. Both ViewArn
and ViewId
can be used.
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
\",\ + \"location\":\"querystring\",\ + \"locationName\":\"nextToken\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"MaxResults\",\ + \"documentation\":\"The maximum number of results to return per page. The default MaxResult size is 100.
\",\ + \"box\":true,\ + \"location\":\"querystring\",\ + \"locationName\":\"maxResults\"\ + }\ + }\ + },\ + \"ListViewVersionsResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"ViewVersionSummaryList\":{\ + \"shape\":\"ViewVersionSummaryList\",\ + \"documentation\":\"A list of view version summaries.
\"\ + },\ + \"NextToken\":{\ + \"shape\":\"ViewsNextToken\",\ + \"documentation\":\"The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
\"\ + }\ + }\ + },\ + \"ListViewsRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"InstanceId\"],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"ViewsInstanceId\",\ + \"documentation\":\"The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"Type\":{\ + \"shape\":\"ViewType\",\ + \"documentation\":\"The type of the view.
\",\ + \"location\":\"querystring\",\ + \"locationName\":\"type\"\ + },\ + \"NextToken\":{\ + \"shape\":\"ViewsNextToken\",\ + \"documentation\":\"The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
\",\ + \"location\":\"querystring\",\ + \"locationName\":\"nextToken\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"MaxResults\",\ + \"documentation\":\"The maximum number of results to return per page. The default MaxResult size is 100.
\",\ + \"box\":true,\ + \"location\":\"querystring\",\ + \"locationName\":\"maxResults\"\ + }\ + }\ + },\ + \"ListViewsResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"ViewsSummaryList\":{\ + \"shape\":\"ViewsSummaryList\",\ + \"documentation\":\"A list of view summaries.
\"\ + },\ + \"NextToken\":{\ + \"shape\":\"ViewsNextToken\",\ + \"documentation\":\"The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
\"\ + }\ + }\ + },\ \"Long\":{\"type\":\"long\"},\ \"MaxResult10\":{\ \"type\":\"integer\",\ @@ -11426,6 +12010,11 @@ - (NSString *)definitionString { \"max\":7,\ \"min\":1\ },\ + \"MaxResults\":{\ + \"type\":\"integer\",\ + \"max\":100,\ + \"min\":1\ + },\ \"MaximumResultReturnedException\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -11491,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\",\ @@ -11514,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.
\"\ @@ -11614,6 +12229,11 @@ - (NSString *)definitionString { \"min\":1,\ \"pattern\":\"(^[\\\\S].*[\\\\S]$)|(^[\\\\S]$)\"\ },\ + \"Namespace\":{\ + \"type\":\"string\",\ + \"max\":128,\ + \"min\":1\ + },\ \"NextToken\":{\"type\":\"string\"},\ \"NextToken2500\":{\ \"type\":\"string\",\ @@ -11856,6 +12476,11 @@ - (NSString *)definitionString { \"max\":100,\ \"min\":0\ },\ + \"Permission\":{\ + \"type\":\"string\",\ + \"max\":128,\ + \"min\":1\ + },\ \"PermissionsList\":{\ \"type\":\"list\",\ \"member\":{\"shape\":\"SecurityProfilePermission\"},\ @@ -12160,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.
\"\ @@ -13480,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\",\ @@ -14518,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
.
Displayed when rate-related API limits are exceeded.
\",\ + \"error\":{\"httpStatusCode\":429},\ + \"exception\":true\ + },\ \"TrafficDistributionGroup\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -15231,7 +15865,7 @@ - (NSString *)definitionString { },\ \"Status\":{\ \"shape\":\"TrafficDistributionGroupStatus\",\ - \"documentation\":\"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
only for a default TrafficDistributionGroup
. 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.
\"\ @@ -15550,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.
\"\ }\ }\ },\ @@ -15619,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.
\"\ }\ }\ },\ @@ -15793,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\",\ @@ -15980,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\":[\ @@ -16464,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.
\"\ }\ }\ },\ @@ -16585,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\",\ @@ -16772,6 +17432,80 @@ - (NSString *)definitionString { }\ }\ },\ + \"UpdateViewContentRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"ViewId\",\ + \"Status\",\ + \"Content\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"ViewsInstanceId\",\ + \"documentation\":\"The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"ViewId\":{\ + \"shape\":\"ViewId\",\ + \"documentation\":\"The identifier of the view. Both ViewArn
and ViewId
can be used.
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
The total uncompressed content has a maximum file size of 400kB.
\"\ + }\ + }\ + },\ + \"UpdateViewContentResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"View\":{\ + \"shape\":\"View\",\ + \"documentation\":\"A view resource object. Contains metadata and content necessary to render the view.
\"\ + }\ + }\ + },\ + \"UpdateViewMetadataRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceId\",\ + \"ViewId\"\ + ],\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"ViewsInstanceId\",\ + \"documentation\":\"The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"ViewId\":{\ + \"shape\":\"ViewId\",\ + \"documentation\":\"The identifier of the view. Both ViewArn
and ViewId
can be used.
The name of the view.
\"\ + },\ + \"Description\":{\ + \"shape\":\"ViewDescription\",\ + \"documentation\":\"The description of the view.
\"\ + }\ + }\ + },\ + \"UpdateViewMetadataResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + }\ + },\ \"Url\":{\"type\":\"string\"},\ \"UrlReference\":{\ \"type\":\"structure\",\ @@ -17164,9 +17898,243 @@ - (NSString *)definitionString { \"Value\":{\"type\":\"double\"},\ \"VersionNumber\":{\ \"type\":\"integer\",\ - \"box\":true,\ \"min\":1\ },\ + \"View\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Id\":{\ + \"shape\":\"ViewId\",\ + \"documentation\":\"The identifier of the view.
\"\ + },\ + \"Arn\":{\ + \"shape\":\"ARN\",\ + \"documentation\":\"The Amazon Resource Name (ARN) of the view.
\"\ + },\ + \"Name\":{\ + \"shape\":\"ViewName\",\ + \"documentation\":\"The name of the view.
\"\ + },\ + \"Status\":{\ + \"shape\":\"ViewStatus\",\ + \"documentation\":\"Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
The type of the view - CUSTOMER_MANAGED
.
The description of the view.
\"\ + },\ + \"Version\":{\ + \"shape\":\"ViewVersion\",\ + \"documentation\":\"Current version of the view.
\"\ + },\ + \"VersionDescription\":{\ + \"shape\":\"ViewDescription\",\ + \"documentation\":\"The description of the version.
\"\ + },\ + \"Content\":{\ + \"shape\":\"ViewContent\",\ + \"documentation\":\"View content containing all content necessary to render a view except for runtime input data.
\"\ + },\ + \"Tags\":{\ + \"shape\":\"TagMap\",\ + \"documentation\":\"The tags associated with the view resource (not specific to view version).
\"\ + },\ + \"CreatedTime\":{\ + \"shape\":\"Timestamp\",\ + \"documentation\":\"The timestamp of when the view was created.
\"\ + },\ + \"LastModifiedTime\":{\ + \"shape\":\"Timestamp\",\ + \"documentation\":\"Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
Indicates the checksum value of the latest published view content.
\"\ + }\ + },\ + \"documentation\":\"A view resource object. Contains metadata and content necessary to render the view.
\"\ + },\ + \"ViewAction\":{\ + \"type\":\"string\",\ + \"max\":255,\ + \"min\":1,\ + \"pattern\":\"^([\\\\p{L}\\\\p{N}_.:\\\\/=+\\\\-@()']+[\\\\p{L}\\\\p{Z}\\\\p{N}_.:\\\\/=+\\\\-@()']*)$\",\ + \"sensitive\":true\ + },\ + \"ViewActions\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"ViewAction\"}\ + },\ + \"ViewContent\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"InputSchema\":{\ + \"shape\":\"ViewInputSchema\",\ + \"documentation\":\"The data schema matching data that the view template must be provided to render.
\"\ + },\ + \"Template\":{\ + \"shape\":\"ViewTemplate\",\ + \"documentation\":\"The view template representing the structure of the view.
\"\ + },\ + \"Actions\":{\ + \"shape\":\"ViewActions\",\ + \"documentation\":\"A list of possible actions from the view.
\"\ + }\ + },\ + \"documentation\":\"View content containing all content necessary to render a view except for runtime input data.
\"\ + },\ + \"ViewContentSha256\":{\ + \"type\":\"string\",\ + \"max\":64,\ + \"min\":1,\ + \"pattern\":\"^[a-zA-Z0-9]$\"\ + },\ + \"ViewDescription\":{\ + \"type\":\"string\",\ + \"max\":4096,\ + \"min\":1,\ + \"pattern\":\"^([\\\\p{L}\\\\p{N}_.:\\\\/=+\\\\-@,()']+[\\\\p{L}\\\\p{Z}\\\\p{N}_.:\\\\/=+\\\\-@,()']*)$\"\ + },\ + \"ViewId\":{\ + \"type\":\"string\",\ + \"max\":500,\ + \"min\":1,\ + \"pattern\":\"^[a-zA-Z0-9\\\\_\\\\-:\\\\/$]+$\"\ + },\ + \"ViewInputContent\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Template\":{\ + \"shape\":\"ViewTemplate\",\ + \"documentation\":\"The view template representing the structure of the view.
\"\ + },\ + \"Actions\":{\ + \"shape\":\"ViewActions\",\ + \"documentation\":\"A list of possible actions from the view.
\"\ + }\ + },\ + \"documentation\":\"View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation.
\"\ + },\ + \"ViewInputSchema\":{\ + \"type\":\"string\",\ + \"sensitive\":true\ + },\ + \"ViewName\":{\ + \"type\":\"string\",\ + \"max\":255,\ + \"min\":1,\ + \"pattern\":\"^([\\\\p{L}\\\\p{N}_.:\\\\/=+\\\\-@()']+[\\\\p{L}\\\\p{Z}\\\\p{N}_.:\\\\/=+\\\\-@()']*)$\",\ + \"sensitive\":true\ + },\ + \"ViewStatus\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"PUBLISHED\",\ + \"SAVED\"\ + ]\ + },\ + \"ViewSummary\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Id\":{\ + \"shape\":\"ViewId\",\ + \"documentation\":\"The identifier of the view.
\"\ + },\ + \"Arn\":{\ + \"shape\":\"ARN\",\ + \"documentation\":\"The Amazon Resource Name (ARN) of the view.
\"\ + },\ + \"Name\":{\ + \"shape\":\"ViewName\",\ + \"documentation\":\"The name of the view.
\"\ + },\ + \"Type\":{\ + \"shape\":\"ViewType\",\ + \"documentation\":\"The type of the view.
\"\ + },\ + \"Status\":{\ + \"shape\":\"ViewStatus\",\ + \"documentation\":\"Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
The description of the view.
\"\ + }\ + },\ + \"documentation\":\"A summary of a view's metadata.
\"\ + },\ + \"ViewTemplate\":{\"type\":\"string\"},\ + \"ViewType\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"CUSTOMER_MANAGED\",\ + \"AWS_MANAGED\"\ + ]\ + },\ + \"ViewVersion\":{\"type\":\"integer\"},\ + \"ViewVersionSummary\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Id\":{\ + \"shape\":\"ViewId\",\ + \"documentation\":\"The identifier of the view version.
\"\ + },\ + \"Arn\":{\ + \"shape\":\"ARN\",\ + \"documentation\":\"The Amazon Resource Name (ARN) of the view version.
\"\ + },\ + \"Description\":{\ + \"shape\":\"ViewDescription\",\ + \"documentation\":\"The description of the view version.
\"\ + },\ + \"Name\":{\ + \"shape\":\"ViewName\",\ + \"documentation\":\"The name of the view version.
\"\ + },\ + \"Type\":{\ + \"shape\":\"ViewType\",\ + \"documentation\":\"The type of the view version.
\"\ + },\ + \"Version\":{\ + \"shape\":\"ViewVersion\",\ + \"documentation\":\"The sequentially incremented version of the view version.
\"\ + },\ + \"VersionDescription\":{\ + \"shape\":\"ViewDescription\",\ + \"documentation\":\"The description of the view version.
\"\ + }\ + },\ + \"documentation\":\"A summary of a view version's metadata.
\"\ + },\ + \"ViewVersionSummaryList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"ViewVersionSummary\"}\ + },\ + \"ViewsClientToken\":{\ + \"type\":\"string\",\ + \"max\":500,\ + \"pattern\":\"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:\\\\/=+\\\\-@]*)$\"\ + },\ + \"ViewsInstanceId\":{\ + \"type\":\"string\",\ + \"max\":100,\ + \"min\":1,\ + \"pattern\":\"^[a-zA-Z0-9\\\\_\\\\-:\\\\/]+$\"\ + },\ + \"ViewsNextToken\":{\ + \"type\":\"string\",\ + \"max\":4096,\ + \"min\":1,\ + \"pattern\":\"^[a-zA-Z0-9=\\\\/+_.-]+$\"\ + },\ + \"ViewsSummaryList\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"ViewSummary\"}\ + },\ \"Vocabulary\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -17354,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 6a781e33639..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 @@ -704,7 +704,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (void)createPrompt:(AWSConnectCreatePromptRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectCreatePromptResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -This API is in preview release for Amazon Connect and is subject to change.
Creates a new queue for the specified Amazon Connect instance.
If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId
value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
This API is in preview release for Amazon Connect and is subject to change.
Creates a new queue for the specified Amazon Connect instance.
If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId
. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
This API is in preview release for Amazon Connect and is subject to change.
Creates a new queue for the specified Amazon Connect instance.
If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId
value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
This API is in preview release for Amazon Connect and is subject to change.
Creates a new queue for the specified Amazon Connect instance.
If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId
. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
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.
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.
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. @@ -953,6 +953,56 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)createUserHierarchyGroup:(AWSConnectCreateUserHierarchyGroupRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectCreateUserHierarchyGroupResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Creates a new view with the possible status of SAVED
or PUBLISHED
.
The views will have a unique name for each connect instance.
It performs basic content validation if the status is SAVED
or full content validation if the status is set to PUBLISHED
. An error is returned if validation fails. It associates either the $SAVED
qualifier or both of the $SAVED
and $LATEST
qualifiers with the provided view content based on the status. The view is idempotent if ClientToken is provided.
Creates a new view with the possible status of SAVED
or PUBLISHED
.
The views will have a unique name for each connect instance.
It performs basic content validation if the status is SAVED
or full content validation if the status is set to PUBLISHED
. An error is returned if validation fails. It associates either the $SAVED
qualifier or both of the $SAVED
and $LATEST
qualifiers with the provided view content based on the status. The view is idempotent if ClientToken is provided.
Publishes a new version of the view identifier.
Versions are immutable and monotonically increasing.
It returns the highest version if there is no change in content compared to that version. An error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST
alias.
Publishes a new version of the view identifier.
Versions are immutable and monotonically increasing.
It returns the highest version if there is no change in content compared to that version. An error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST
alias.
Creates a custom vocabulary associated with your Amazon Connect instance. You can set a custom vocabulary to be your default vocabulary for a given language. Contact Lens for Amazon Connect uses the default vocabulary in post-call and real-time contact analysis sessions for that language.
@@ -1274,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. @@ -1285,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. @@ -1411,6 +1461,56 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)deleteUserHierarchyGroup:(AWSConnectDeleteUserHierarchyGroupRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; +/** +Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).
+ + @param request A container for the necessary parameters to execute the DeleteView service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectDeleteViewResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorAccessDenied`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorTooManyRequests`, `AWSConnectErrorResourceInUse`. + + @see AWSConnectDeleteViewRequest + @see AWSConnectDeleteViewResponse + */ +- (AWSTaskDeletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).
+ + @param request A container for the necessary parameters to execute the DeleteView 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: `AWSConnectErrorAccessDenied`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorTooManyRequests`, `AWSConnectErrorResourceInUse`. + + @see AWSConnectDeleteViewRequest + @see AWSConnectDeleteViewResponse + */ +- (void)deleteView:(AWSConnectDeleteViewRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectDeleteViewResponse * _Nullable response, NSError * _Nullable error))completionHandler; + +/** +Deletes the particular version specified in ViewVersion
identifier.
Deletes the particular version specified in ViewVersion
identifier.
Deletes the vocabulary that has the given identifier.
@@ -1837,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. @@ -1849,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. @@ -1961,6 +2061,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)describeUserHierarchyStructure:(AWSConnectDescribeUserHierarchyStructureRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectDescribeUserHierarchyStructureResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Retrieves the view for the specified Amazon Connect instance and view identifier.
The view identifier can be supplied as a ViewId or ARN.
$SAVED
needs to be supplied if a view is unpublished.
The view identifier can contain an optional qualifier, for example, <view-id>:$SAVED
, which is either an actual version number or an Amazon Connect managed qualifier $SAVED | $LATEST
. If it is not supplied, then $LATEST
is assumed for customer managed views and an error is returned if there is no published content available. Version 1 is assumed for Amazon Web Services managed views.
Retrieves the view for the specified Amazon Connect instance and view identifier.
The view identifier can be supplied as a ViewId or ARN.
$SAVED
needs to be supplied if a view is unpublished.
The view identifier can contain an optional qualifier, for example, <view-id>:$SAVED
, which is either an actual version number or an Amazon Connect managed qualifier $SAVED | $LATEST
. If it is not supplied, then $LATEST
is assumed for customer managed views and an error is returned if there is no published content available. Version 1 is assumed for Amazon Web Services managed views.
Describes the specified vocabulary.
@@ -2310,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.
Provides information about the phone numbers for the specified Amazon Connect instance.
For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
The phone number Arn
value that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with a ResourceNotFoundException
. Instead, use the ListPhoneNumbersV2 API. It returns the new phone number ARN that can be used to tag phone number resources.
Provides information about the phone numbers for the specified Amazon Connect instance.
For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
We recommend using ListPhoneNumbersV2 to return phone number types. ListPhoneNumbers doesn't support number types UIFN
, SHARED
, THIRD_PARTY_TF
, and THIRD_PARTY_DID
. While it returns numbers of those types, it incorrectly lists them as TOLL_FREE
or DID
.
The phone number Arn
value that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with a ResourceNotFoundException
. Instead, use the ListPhoneNumbersV2 API. It returns the new phone number ARN that can be used to tag phone number resources.
Provides information about the phone numbers for the specified Amazon Connect instance.
For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
The phone number Arn
value that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with a ResourceNotFoundException
. Instead, use the ListPhoneNumbersV2 API. It returns the new phone number ARN that can be used to tag phone number resources.
Provides information about the phone numbers for the specified Amazon Connect instance.
For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
We recommend using ListPhoneNumbersV2 to return phone number types. ListPhoneNumbers doesn't support number types UIFN
, SHARED
, THIRD_PARTY_TF
, and THIRD_PARTY_DID
. While it returns numbers of those types, it incorrectly lists them as TOLL_FREE
or DID
.
The phone number Arn
value that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with a ResourceNotFoundException
. Instead, use the ListPhoneNumbersV2 API. It returns the new phone number ARN that can be used to tag phone number resources.
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. @@ -3147,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. @@ -3359,6 +3509,56 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)listUsers:(AWSConnectListUsersRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectListUsersResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Returns all the available versions for the specified Amazon Connect instance and view identifier.
Results will be sorted from highest to lowest.
+ + @param request A container for the necessary parameters to execute the ListViewVersions service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectListViewVersionsResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorAccessDenied`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorTooManyRequests`. + + @see AWSConnectListViewVersionsRequest + @see AWSConnectListViewVersionsResponse + */ +- (AWSTaskReturns all the available versions for the specified Amazon Connect instance and view identifier.
Results will be sorted from highest to lowest.
+ + @param request A container for the necessary parameters to execute the ListViewVersions 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: `AWSConnectErrorAccessDenied`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorTooManyRequests`. + + @see AWSConnectListViewVersionsRequest + @see AWSConnectListViewVersionsResponse + */ +- (void)listViewVersions:(AWSConnectListViewVersionsRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectListViewVersionsResponse * _Nullable response, NSError * _Nullable error))completionHandler; + +/** +Returns views in the given instance.
Results are sorted primarily by type, and secondarily by name.
+ + @param request A container for the necessary parameters to execute the ListViews service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectListViewsResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectErrorDomain` domain and the following error code: `AWSConnectErrorAccessDenied`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorTooManyRequests`. + + @see AWSConnectListViewsRequest + @see AWSConnectListViewsResponse + */ +- (AWSTaskReturns views in the given instance.
Results are sorted primarily by type, and secondarily by name.
+ + @param request A container for the necessary parameters to execute the ListViews 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: `AWSConnectErrorAccessDenied`, `AWSConnectErrorInvalidRequest`, `AWSConnectErrorInvalidParameter`, `AWSConnectErrorResourceNotFound`, `AWSConnectErrorInternalService`, `AWSConnectErrorTooManyRequests`. + + @see AWSConnectListViewsRequest + @see AWSConnectListViewsResponse + */ +- (void)listViews:(AWSConnectListViewsRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectListViewsResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId will be set to silent monitoring mode on the contact.
@@ -3682,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.
Ends the specified contact. This call does not work for the following initiation methods:
DISCONNECT
TRANSFER
QUEUE_TRANSFER
Ends the specified contact. This call does not work for voice contacts that use the following initiation methods:
DISCONNECT
TRANSFER
QUEUE_TRANSFER
Chat and task contacts, however, can be terminated in any state, regardless of initiation method.
@param request A container for the necessary parameters to execute the StopContact service method. @@ -3894,7 +4094,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (AWSTaskEnds the specified contact. This call does not work for the following initiation methods:
DISCONNECT
TRANSFER
QUEUE_TRANSFER
Ends the specified contact. This call does not work for voice contacts that use the following initiation methods:
DISCONNECT
TRANSFER
QUEUE_TRANSFER
Chat and task contacts, however, can be terminated in any state, regardless of initiation method.
@param request A container for the necessary parameters to execute the StopContact service method. @param completionHandler The completion handler to call when the load request is complete. @@ -4463,6 +4663,28 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)updatePhoneNumber:(AWSConnectUpdatePhoneNumberRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectUpdatePhoneNumberResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +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.
@@ -4555,7 +4777,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (void)updateQueueName:(AWSConnectUpdateQueueNameRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /** -This API is in preview release for Amazon Connect and is subject to change.
Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.
If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId
value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
This API is in preview release for Amazon Connect and is subject to change.
Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.
If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId
. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
This API is in preview release for Amazon Connect and is subject to change.
Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.
If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId
value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
This API is in preview release for Amazon Connect and is subject to change.
Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.
If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId
. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException
.
Only use the phone number ARN format that doesn't contain instance
in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid
. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
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. @@ -4786,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. @@ -4822,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
only for a default TrafficDistributionGroup
. 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. @@ -4834,7 +5056,7 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; - (AWSTaskUpdates the traffic distribution for a given traffic distribution group.
You can change the SignInConfig
only for a default TrafficDistributionGroup
. 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. @@ -5000,6 +5222,56 @@ FOUNDATION_EXPORT NSString *const AWSConnectSDKVersion; */ - (void)updateUserSecurityProfiles:(AWSConnectUpdateUserSecurityProfilesRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; +/** +Updates the view content of the given view identifier in the specified Amazon Connect instance.
It performs content validation if Status
is set to SAVED
and performs full content validation if Status
is PUBLISHED
. Note that the $SAVED
alias' content will always be updated, but the $LATEST
alias' content will only be updated if Status
is PUBLISHED
.
Updates the view content of the given view identifier in the specified Amazon Connect instance.
It performs content validation if Status
is set to SAVED
and performs full content validation if Status
is PUBLISHED
. Note that the $SAVED
alias' content will always be updated, but the $LATEST
alias' content will only be updated if Status
is PUBLISHED
.
Updates the view metadata. Note that either Name
or Description
must be provided.
Updates the view metadata. Note that either Name
or Description
must be provided.
Type of connection information required. This can be omitted if ConnectParticipant
is true
.
Type of connection information required. If you need CONNECTION_CREDENTIALS
along with marking participant as connected, pass CONNECTION_CREDENTIALS
in Type
.
The connection token.
+ */ +@property (nonatomic, strong) NSString * _Nullable connectionToken; + +/** +An encrypted token originating from the interactive message of a ShowView block operation. Represents the desired view.
+ */ +@property (nonatomic, strong) NSString * _Nullable viewToken; + +@end + +/** + + */ +@interface AWSConnectParticipantDescribeViewResponse : AWSModel + + +/** +A view resource object. Contains metadata and content necessary to render the view.
+ */ +@property (nonatomic, strong) AWSConnectParticipantView * _Nullable view; + +@end + /** */ @@ -648,6 +696,62 @@ typedef NS_ENUM(NSInteger, AWSConnectParticipantSortKey) { @end +/** +A view resource object. Contains metadata and content necessary to render the view.
+ */ +@interface AWSConnectParticipantView : AWSModel + + +/** +The Amazon Resource Name (ARN) of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable arn; + +/** +View content containing all content necessary to render a view except for runtime input data.
+ */ +@property (nonatomic, strong) AWSConnectParticipantViewContent * _Nullable content; + +/** +The identifier of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable identifier; + +/** +The name of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable name; + +/** +The current version of the view.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable version; + +@end + +/** +View content containing all content necessary to render a view except for runtime input data.
+ */ +@interface AWSConnectParticipantViewContent : AWSModel + + +/** +A list of actions possible from the view
+ */ +@property (nonatomic, strong) NSArrayThe schema representing the input data that the view template must be supplied to render.
+ */ +@property (nonatomic, strong) NSString * _Nullable inputSchema; + +/** +The view template representing the structure of the view.
+ */ +@property (nonatomic, strong) NSString * _Nullable template; + +@end + /**The websocket for the participant's connection.
*/ diff --git a/AWSConnectParticipant/AWSConnectParticipantModel.m b/AWSConnectParticipant/AWSConnectParticipantModel.m index 2e00d87548c..ba7c5367436 100644 --- a/AWSConnectParticipant/AWSConnectParticipantModel.m +++ b/AWSConnectParticipant/AWSConnectParticipantModel.m @@ -139,6 +139,39 @@ + (NSValueTransformer *)websocketJSONTransformer { @end +@implementation AWSConnectParticipantDescribeViewRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"connectionToken" : @"ConnectionToken", + @"viewToken" : @"ViewToken", + }; +} + +@end + +@implementation AWSConnectParticipantDescribeViewResponse + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"view" : @"View", + }; +} + ++ (NSValueTransformer *)viewJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectParticipantView class]]; +} + +@end + @implementation AWSConnectParticipantDisconnectParticipantRequest + (BOOL)supportsSecureCoding { @@ -320,6 +353,9 @@ + (NSValueTransformer *)participantRoleJSONTransformer { if ([value caseInsensitiveCompare:@"SYSTEM"] == NSOrderedSame) { return @(AWSConnectParticipantParticipantRoleSystem); } + if ([value caseInsensitiveCompare:@"CUSTOM_BOT"] == NSOrderedSame) { + return @(AWSConnectParticipantParticipantRoleCustomBot); + } return @(AWSConnectParticipantParticipantRoleUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -329,6 +365,8 @@ + (NSValueTransformer *)participantRoleJSONTransformer { return @"CUSTOMER"; case AWSConnectParticipantParticipantRoleSystem: return @"SYSTEM"; + case AWSConnectParticipantParticipantRoleCustomBot: + return @"CUSTOM_BOT"; default: return nil; } @@ -576,6 +614,44 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSConnectParticipantView + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"arn" : @"Arn", + @"content" : @"Content", + @"identifier" : @"Id", + @"name" : @"Name", + @"version" : @"Version", + }; +} + ++ (NSValueTransformer *)contentJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSConnectParticipantViewContent class]]; +} + +@end + +@implementation AWSConnectParticipantViewContent + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"actions" : @"Actions", + @"inputSchema" : @"InputSchema", + @"template" : @"Template", + }; +} + +@end + @implementation AWSConnectParticipantWebsocket + (BOOL)supportsSecureCoding { diff --git a/AWSConnectParticipant/AWSConnectParticipantResources.m b/AWSConnectParticipant/AWSConnectParticipantResources.m index 784a4d67b88..abc89932372 100644 --- a/AWSConnectParticipant/AWSConnectParticipantResources.m +++ b/AWSConnectParticipant/AWSConnectParticipantResources.m @@ -105,6 +105,23 @@ - (NSString *)definitionString { ],\ \"documentation\":\"Creates the participant's connection.
ParticipantToken
is used for invoking this API instead of ConnectionToken
.
The participant token is valid for the lifetime of the participant – until they are part of a contact.
The response URL for WEBSOCKET
Type has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic.
For chat, you need to publish the following on the established websocket connection:
{\\\"topic\\\":\\\"aws/subscribe\\\",\\\"content\\\":{\\\"topics\\\":[\\\"aws/chat\\\"]}}
Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before.
Message streaming support: This API can also be used together with the StartContactStreaming API to create a participant connection for chat contacts that are not using a websocket. For more information about message streaming, Enable real-time chat message streaming in the Amazon Connect Administrator Guide.
Feature specifications: For information about feature specifications, such as the allowed number of open websocket connections per participant, see Feature specifications in the Amazon Connect Administrator Guide.
The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.
Retrieves the view for the specified view token.
\"\ + },\ \"DisconnectParticipant\":{\ \"name\":\"DisconnectParticipant\",\ \"http\":{\ @@ -204,6 +221,7 @@ - (NSString *)definitionString { }\ },\ \"shapes\":{\ + \"ARN\":{\"type\":\"string\"},\ \"AccessDeniedException\":{\ \"type\":\"structure\",\ \"required\":[\"Message\"],\ @@ -387,7 +405,7 @@ - (NSString *)definitionString { \"members\":{\ \"Type\":{\ \"shape\":\"ConnectionTypeList\",\ - \"documentation\":\"Type of connection information required. This can be omitted if ConnectParticipant
is true
.
Type of connection information required. If you need CONNECTION_CREDENTIALS
along with marking participant as connected, pass CONNECTION_CREDENTIALS
in Type
.
An encrypted token originating from the interactive message of a ShowView block operation. Represents the desired view.
\",\ + \"location\":\"uri\",\ + \"locationName\":\"ViewToken\"\ + },\ + \"ConnectionToken\":{\ + \"shape\":\"ParticipantToken\",\ + \"documentation\":\"The connection token.
\",\ + \"location\":\"header\",\ + \"locationName\":\"X-Amz-Bearer\"\ + }\ + }\ + },\ + \"DescribeViewResponse\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"View\":{\ + \"shape\":\"View\",\ + \"documentation\":\"A view resource object. Contains metadata and content necessary to render the view.
\"\ + }\ + }\ + },\ \"DisconnectParticipantRequest\":{\ \"type\":\"structure\",\ \"required\":[\"ConnectionToken\"],\ @@ -643,7 +691,8 @@ - (NSString *)definitionString { \"enum\":[\ \"AGENT\",\ \"CUSTOMER\",\ - \"SYSTEM\"\ + \"SYSTEM\",\ + \"CUSTOM_BOT\"\ ]\ },\ \"ParticipantToken\":{\ @@ -688,6 +737,36 @@ - (NSString *)definitionString { \"type\":\"list\",\ \"member\":{\"shape\":\"Receipt\"}\ },\ + \"ResourceId\":{\"type\":\"string\"},\ + \"ResourceNotFoundException\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Message\":{\"shape\":\"Message\"},\ + \"ResourceId\":{\ + \"shape\":\"ResourceId\",\ + \"documentation\":\"The identifier of the resource.
\"\ + },\ + \"ResourceType\":{\ + \"shape\":\"ResourceType\",\ + \"documentation\":\"The type of Amazon Connect resource.
\"\ + }\ + },\ + \"documentation\":\"The resource was not found.
\",\ + \"error\":{\"httpStatusCode\":404},\ + \"exception\":true\ + },\ + \"ResourceType\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"CONTACT\",\ + \"CONTACT_FLOW\",\ + \"INSTANCE\",\ + \"PARTICIPANT\",\ + \"HIERARCHY_LEVEL\",\ + \"HIERARCHY_GROUP\",\ + \"USER\"\ + ]\ + },\ \"ScanDirection\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -923,6 +1002,88 @@ - (NSString *)definitionString { \"error\":{\"httpStatusCode\":400},\ \"exception\":true\ },\ + \"View\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Id\":{\ + \"shape\":\"ViewId\",\ + \"documentation\":\"The identifier of the view.
\"\ + },\ + \"Arn\":{\ + \"shape\":\"ARN\",\ + \"documentation\":\"The Amazon Resource Name (ARN) of the view.
\"\ + },\ + \"Name\":{\ + \"shape\":\"ViewName\",\ + \"documentation\":\"The name of the view.
\"\ + },\ + \"Version\":{\ + \"shape\":\"ViewVersion\",\ + \"documentation\":\"The current version of the view.
\"\ + },\ + \"Content\":{\ + \"shape\":\"ViewContent\",\ + \"documentation\":\"View content containing all content necessary to render a view except for runtime input data.
\"\ + }\ + },\ + \"documentation\":\"A view resource object. Contains metadata and content necessary to render the view.
\"\ + },\ + \"ViewAction\":{\ + \"type\":\"string\",\ + \"max\":255,\ + \"min\":1,\ + \"pattern\":\"^([\\\\p{L}\\\\p{N}_.:\\\\/=+\\\\-@()']+[\\\\p{L}\\\\p{Z}\\\\p{N}_.:\\\\/=+\\\\-@()']*)$\",\ + \"sensitive\":true\ + },\ + \"ViewActions\":{\ + \"type\":\"list\",\ + \"member\":{\"shape\":\"ViewAction\"}\ + },\ + \"ViewContent\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"InputSchema\":{\ + \"shape\":\"ViewInputSchema\",\ + \"documentation\":\"The schema representing the input data that the view template must be supplied to render.
\"\ + },\ + \"Template\":{\ + \"shape\":\"ViewTemplate\",\ + \"documentation\":\"The view template representing the structure of the view.
\"\ + },\ + \"Actions\":{\ + \"shape\":\"ViewActions\",\ + \"documentation\":\"A list of actions possible from the view
\"\ + }\ + },\ + \"documentation\":\"View content containing all content necessary to render a view except for runtime input data.
\"\ + },\ + \"ViewId\":{\ + \"type\":\"string\",\ + \"max\":500,\ + \"min\":1,\ + \"pattern\":\"^[a-zA-Z0-9\\\\_\\\\-:\\\\/$]+$\"\ + },\ + \"ViewInputSchema\":{\ + \"type\":\"string\",\ + \"sensitive\":true\ + },\ + \"ViewName\":{\ + \"type\":\"string\",\ + \"max\":255,\ + \"min\":1,\ + \"pattern\":\"^([\\\\p{L}\\\\p{N}_.:\\\\/=+\\\\-@()']+[\\\\p{L}\\\\p{Z}\\\\p{N}_.:\\\\/=+\\\\-@()']*)$\",\ + \"sensitive\":true\ + },\ + \"ViewTemplate\":{\ + \"type\":\"string\",\ + \"sensitive\":true\ + },\ + \"ViewToken\":{\ + \"type\":\"string\",\ + \"max\":1000,\ + \"min\":1\ + },\ + \"ViewVersion\":{\"type\":\"integer\"},\ \"Websocket\":{\ \"type\":\"structure\",\ \"members\":{\ diff --git a/AWSConnectParticipant/AWSConnectParticipantService.h b/AWSConnectParticipant/AWSConnectParticipantService.h index a3eaa3d2781..af9cdc7fa3c 100644 --- a/AWSConnectParticipant/AWSConnectParticipantService.h +++ b/AWSConnectParticipant/AWSConnectParticipantService.h @@ -224,6 +224,31 @@ FOUNDATION_EXPORT NSString *const AWSConnectParticipantSDKVersion; */ - (void)createParticipantConnection:(AWSConnectParticipantCreateParticipantConnectionRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectParticipantCreateParticipantConnectionResponse * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Retrieves the view for the specified view token.
+ + @param request A container for the necessary parameters to execute the DescribeView service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSConnectParticipantDescribeViewResponse`. On failed execution, `task.error` may contain an `NSError` with `AWSConnectParticipantErrorDomain` domain and the following error code: `AWSConnectParticipantErrorAccessDenied`, `AWSConnectParticipantErrorInternalServer`, `AWSConnectParticipantErrorThrottling`, `AWSConnectParticipantErrorResourceNotFound`, `AWSConnectParticipantErrorValidation`. + + @see AWSConnectParticipantDescribeViewRequest + @see AWSConnectParticipantDescribeViewResponse + */ +- (AWSTaskRetrieves the view for the specified view token.
+ + @param request A container for the necessary parameters to execute the DescribeView 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 `AWSConnectParticipantErrorDomain` domain and the following error code: `AWSConnectParticipantErrorAccessDenied`, `AWSConnectParticipantErrorInternalServer`, `AWSConnectParticipantErrorThrottling`, `AWSConnectParticipantErrorResourceNotFound`, `AWSConnectParticipantErrorValidation`. + + @see AWSConnectParticipantDescribeViewRequest + @see AWSConnectParticipantDescribeViewResponse + */ +- (void)describeView:(AWSConnectParticipantDescribeViewRequest *)request completionHandler:(void (^ _Nullable)(AWSConnectParticipantDescribeViewResponse * _Nullable response, NSError * _Nullable error))completionHandler; + /**Disconnects a participant.
ConnectionToken
is used for invoking this API instead of ParticipantToken
.
The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.
diff --git a/AWSConnectParticipant/AWSConnectParticipantService.m b/AWSConnectParticipant/AWSConnectParticipantService.m index 3b657a5df31..9de1b149cbc 100644 --- a/AWSConnectParticipant/AWSConnectParticipantService.m +++ b/AWSConnectParticipant/AWSConnectParticipantService.m @@ -25,7 +25,7 @@ #import "AWSConnectParticipantResources.h" static NSString *const AWSInfoConnectParticipant = @"ConnectParticipant"; -NSString *const AWSConnectParticipantSDKVersion = @"2.33.4"; +NSString *const AWSConnectParticipantSDKVersion = @"2.33.5"; @interface AWSConnectParticipantResponseSerializer : AWSJSONResponseSerializer @@ -42,6 +42,7 @@ + (void)initialize { @"AccessDeniedException" : @(AWSConnectParticipantErrorAccessDenied), @"ConflictException" : @(AWSConnectParticipantErrorConflict), @"InternalServerException" : @(AWSConnectParticipantErrorInternalServer), + @"ResourceNotFoundException" : @(AWSConnectParticipantErrorResourceNotFound), @"ServiceQuotaExceededException" : @(AWSConnectParticipantErrorServiceQuotaExceeded), @"ThrottlingException" : @(AWSConnectParticipantErrorThrottling), @"ValidationException" : @(AWSConnectParticipantErrorValidation), @@ -325,6 +326,29 @@ - (void)createParticipantConnection:(AWSConnectParticipantCreateParticipantConne }]; } +- (AWSTaskThe 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 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/AWSDynamoDB/AWSDynamoDBService.m b/AWSDynamoDB/AWSDynamoDBService.m index 9dcc99c2959..dc99139f38a 100644 --- a/AWSDynamoDB/AWSDynamoDBService.m +++ b/AWSDynamoDB/AWSDynamoDBService.m @@ -26,7 +26,7 @@ #import "AWSDynamoDBRequestRetryHandler.h" static NSString *const AWSInfoDynamoDB = @"DynamoDB"; -NSString *const AWSDynamoDBSDKVersion = @"2.33.4"; +NSString *const AWSDynamoDBSDKVersion = @"2.33.5"; @interface AWSDynamoDBResponseSerializer : AWSJSONResponseSerializer diff --git a/AWSDynamoDB/Info.plist b/AWSDynamoDB/Info.plist index a2c2de79b02..e4fb6d14e33 100644 --- a/AWSDynamoDB/Info.plist +++ b/AWSDynamoDB/Info.plist @@ -15,7 +15,7 @@A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.
Use DescribeAvailabilityZones to view the network border groups.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 Classic, you receive an InvalidParameterCombination
error.
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.
Use DescribeAvailabilityZones to view the network border groups.
*/ @property (nonatomic, strong) NSString * _Nullable networkBorderGroup; @@ -7331,12 +7515,12 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The ID of the Verified Access instance.
+Details about the Verified Access instance.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessInstance * _Nullable verifiedAccessInstance; /** -The ID of the Verified Access trust provider.
+Details about the Verified Access trust provider.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessTrustProvider * _Nullable verifiedAccessTrustProvider; @@ -7408,25 +7592,25 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end /** -Describes the ENA Express configuration for the network interface that's attached to the instance.
+ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.
To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it.
*/ @interface AWSEC2AttachmentEnaSrdSpecification : AWSModel /** -Indicates whether ENA Express is enabled for the network interface that's attached to the instance.
+Indicates whether ENA Express is enabled for the network interface.
*/ @property (nonatomic, strong) NSNumber * _Nullable enaSrdEnabled; /** -ENA Express configuration for UDP network traffic.
+Configures ENA Express for UDP network traffic.
*/ @property (nonatomic, strong) AWSEC2AttachmentEnaSrdUdpSpecification * _Nullable enaSrdUdpSpecification; @end /** -Describes the ENA Express configuration for UDP traffic on the network interface that's attached to the instance.
+ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.
*/ @interface AWSEC2AttachmentEnaSrdUdpSpecification : AWSModel @@ -8164,7 +8348,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 recommended Capacity Block that fits your search requirements.
+ */ +@interface AWSEC2CapacityBlockOffering : AWSModel + + +/** +The Availability Zone of the Capacity Block offering.
+ */ +@property (nonatomic, strong) NSString * _Nullable availabilityZone; + +/** +The amount of time of the Capacity Block reservation in hours.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable capacityBlockDurationHours; + +/** +The ID of the Capacity Block offering.
+ */ +@property (nonatomic, strong) NSString * _Nullable capacityBlockOfferingId; + +/** +The currency of the payment for the Capacity Block.
+ */ +@property (nonatomic, strong) NSString * _Nullable currencyCode; + +/** +The end date of the Capacity Block offering.
+ */ +@property (nonatomic, strong) NSDate * _Nullable endDate; + +/** +The number of instances in the Capacity Block offering.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable instanceCount; + +/** +The instance type of the Capacity Block offering.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceType; + +/** +The start date of the Capacity Block offering.
+ */ +@property (nonatomic, strong) NSDate * _Nullable startDate; + +/** +The tenancy of the Capacity Block.
+ */ +@property (nonatomic, assign) AWSEC2CapacityReservationTenancy tenancy; + +/** +The total price to be paid up front.
+ */ +@property (nonatomic, strong) NSString * _Nullable upfrontFee; + +@end + /**Describes a Capacity Reservation.
*/ @@ -8539,6 +8781,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable placementGroupArn; +/** +The type of Capacity Reservation.
+ */ +@property (nonatomic, assign) AWSEC2CapacityReservationType reservationType; + /**The date and time at which the Capacity Reservation was started.
*/ @@ -10813,7 +11060,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2SpotOptionsRequest * _Nullable spotOptions; /** -The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tagging your resources.
If the fleet type is instant
, specify a resource type of fleet
to tag the fleet or instance
to tag the instances at launch.
If the fleet type is maintain
or request
, specify a resource type of fleet
to tag the fleet. You cannot specify a resource type of instance
. To tag instances at launch, specify the tags in a launch template.
The key-value pair for tagging the EC2 Fleet request on creation. For more information, see Tag your resources.
If the fleet type is instant
, specify a resource type of fleet
to tag the fleet or instance
to tag the instances at launch.
If the fleet type is maintain
or request
, specify a resource type of fleet
to tag the fleet. You cannot specify a resource type of instance
. To tag instances at launch, specify the tags in a launch template.
The block device mappings. This parameter cannot be used to modify the encryption status of existing volumes or snapshots. To create an AMI with encrypted snapshots, use the CopyImage action.
+The block device mappings.
When using the CreateImage action:
You can't change the volume size using the VolumeSize parameter. If you want a different volume size, you must first change the volume size of the source instance.
You can't modify the encryption status of existing volumes or snapshots. To create an AMI with volumes or snapshots that have a different encryption status (for example, where the source volume and snapshots are unencrypted, and you want to create an AMI with encrypted volumes or snapshots), use the CopyImage action.
The only option that can be changed for existing mappings or snapshots is DeleteOnTermination
.
The IDs of the security groups to associate with the Verified Access endpoint.
+The IDs of the security groups to associate with the Verified Access endpoint. Required if AttachmentType
is set to vpc
.
The options for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**The tags to assign to the Verified Access endpoint.
*/ @@ -14028,7 +14280,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The ID of the Verified Access endpoint.
+Details about the Verified Access endpoint.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessEndpoint * _Nullable verifiedAccessEndpoint; @@ -14060,6 +14312,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable policyDocument; +/** +The options for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**The tags to assign to the Verified Access group.
*/ @@ -14079,7 +14336,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The ID of the Verified Access group.
+Details about the Verified Access group.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessGroup * _Nullable verifiedAccessGroup; @@ -14106,6 +14363,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.
*/ @@ -14120,7 +14382,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The ID of the Verified Access instance.
+Details about the Verified Access instance.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessInstance * _Nullable verifiedAccessInstance; @@ -14132,6 +14394,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @interface AWSEC2CreateVerifiedAccessTrustProviderDeviceOptions : AWSModel +/** +The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
+ */ +@property (nonatomic, strong) NSString * _Nullable publicSigningKeyUrl; + /**The ID of the tenant application with the device-identity provider.
*/ @@ -14223,6 +14490,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable policyReferenceName; +/** +The options for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**The tags to assign to the Verified Access trust provider.
*/ @@ -14247,7 +14519,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The ID of the Verified Access trust provider.
+Details about the Verified Access trust provider.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessTrustProvider * _Nullable verifiedAccessTrustProvider; @@ -15628,6 +15900,24 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2DeleteKeyPairResult : AWSModel + + +/** +The ID of the key pair.
+ */ +@property (nonatomic, strong) NSString * _Nullable keyPairId; + +/** +Is true
if the request succeeds, and an error otherwise.
The ID of the Verified Access endpoint.
+Details about the Verified Access endpoint.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessEndpoint * _Nullable verifiedAccessEndpoint; @@ -17004,7 +17294,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The ID of the Verified Access group.
+Details about the Verified Access group.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessGroup * _Nullable verifiedAccessGroup; @@ -17040,7 +17330,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The ID of the Verified Access instance.
+Details about the Verified Access instance.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessInstance * _Nullable verifiedAccessInstance; @@ -17076,7 +17366,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The ID of the Verified Access trust provider.
+Details about the Verified Access trust provider.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessTrustProvider * _Nullable verifiedAccessTrustProvider; @@ -17926,6 +18216,72 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2DescribeCapacityBlockOfferingsRequest : AWSRequest + + +/** +The number of hours for which to reserve Capacity Block.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable capacityDurationHours; + +/** +Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
The latest end date for the Capacity Block offering.
+ */ +@property (nonatomic, strong) NSDate * _Nullable endDateRange; + +/** +The number of instances for which to reserve capacity.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable instanceCount; + +/** +The type of instance for which the Capacity Block offering reserves capacity.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceType; + +/** +The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken
value. This value can be between 5 and 500. If maxResults
is given a larger value than 500, you receive an error.
The token to use to retrieve the next page of results.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +The earliest start date for the Capacity Block offering.
+ */ +@property (nonatomic, strong) NSDate * _Nullable startDateRange; + +@end + +/** + + */ +@interface AWSEC2DescribeCapacityBlockOfferingsResult : AWSModel + + +/** +The recommended Capacity Block offering for the dates specified.
+ */ +@property (nonatomic, strong) NSArrayThe token to use to retrieve the next page of results. This value is null
when there are no more results to return.
Use the following filters to streamline results.
resource-type
- The resource type for pre-provisioning.
launch-template
- The launch template that is associated with the pre-provisioned Windows AMI.
owner-id
- The owner ID for the pre-provisioning resource.
state
- The current state of fast launching for the Windows AMI.
Use the following filters to streamline results.
resource-type
- The resource type for pre-provisioning.
owner-id
- The owner ID for the pre-provisioning resource.
state
- The current state of fast launching for the Windows AMI.
Details for one or more Windows AMI image IDs.
+Specify one or more Windows AMI image IDs for the request.
*/ @property (nonatomic, strong) NSArrayDescribe details about a fast-launch enabled Windows image that meets the requested criteria. Criteria are defined by the DescribeFastLaunchImages
action filters.
Describe details about a Windows image with Windows fast launch enabled that meets the requested criteria. Criteria are defined by the DescribeFastLaunchImages
action filters.
The image ID that identifies the fast-launch enabled Windows image.
+The image ID that identifies the Windows fast launch enabled image.
*/ @property (nonatomic, strong) NSString * _Nullable imageId; /** -The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances from pre-provisioned snapshots.
+The launch template that the Windows fast launch enabled AMI uses when it launches Windows instances from pre-provisioned snapshots.
*/ @property (nonatomic, strong) AWSEC2FastLaunchLaunchTemplateSpecificationResponse * _Nullable launchTemplate; /** -The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching.
+The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
*/ @property (nonatomic, strong) NSNumber * _Nullable maxParallelLaunches; /** -The owner ID for the fast-launch enabled Windows AMI.
+The owner ID for the Windows fast launch enabled AMI.
*/ @property (nonatomic, strong) NSString * _Nullable ownerId; /** -The resource type that is used for pre-provisioning the Windows AMI. Supported values include: snapshot
.
The resource type that Amazon EC2 uses for pre-provisioning the Windows AMI. Supported values include: snapshot
.
The current state of faster launching for the specified Windows AMI.
+The current state of Windows fast launch for the specified Windows AMI.
*/ @property (nonatomic, assign) AWSEC2FastLaunchStateCode state; /** -The reason that faster launching for the Windows AMI changed to the current state.
+The reason that Windows fast launch for the AMI changed to the current state.
*/ @property (nonatomic, strong) NSString * _Nullable stateTransitionReason; /** -The time that faster launching for the Windows AMI changed to the current state.
+The time that Windows fast launch for the AMI changed to the current state.
*/ @property (nonatomic, strong) NSDate * _Nullable stateTransitionTime; @@ -19635,7 +19991,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.
*/ @@ -20044,6 +20405,62 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2DescribeInstanceTopologyRequest : AWSRequest + + +/** +Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
The filters.
availability-zone
- The name of the Availability Zone (for example, us-west-2a
) or Local Zone (for example, us-west-2-lax-1b
) that the instance is in.
instance-type
- The instance type (for example, p4d.24xlarge
) or instance family (for example, p4d*
). You can use the *
wildcard to match zero or more characters, or the ?
wildcard to match zero or one character.
zone-id
- The ID of the Availability Zone (for example, usw2-az2
) or Local Zone (for example, usw2-lax1-az1
) that the instance is in.
The name of the placement group that each instance is in.
Constraints: Maximum 100 explicitly specified placement group names.
+ */ +@property (nonatomic, strong) NSArrayThe instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
+ */ +@property (nonatomic, strong) NSArrayThe 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 can't specify this parameter and the instance IDs parameter in the same request.
Default: 20
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +@end + +/** + + */ +@interface AWSEC2DescribeInstanceTopologyResult : AWSModel + + +/** +Information about the topology of each instance.
+ */ +@property (nonatomic, strong) NSArrayThe token to include in another request to get the next page of items. This value is null
when there are no more items to return.
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, a Scheduled Instance, or a Capacity Block (spot
| scheduled
| capacity-block
).
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.
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.
lock-state
- The state of the snapshot lock (compliance-cooloff
| governance
| compliance
| expired
).
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable maxResults; + +/** +The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +The IDs of the snapshots for which to view the lock status.
+ */ +@property (nonatomic, strong) NSArrayThe token to include in another request to get the next page of items. This value is null
when there are no more items to return.
Information about the snapshots.
+ */ +@property (nonatomic, strong) NSArrayOne 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.
availability-zone
- The Availability Zone for which prices should be returned.
instance-type
- The type of instance (for example, m3.medium
).
product-description
- The product description for the Spot price (Linux/UNIX
| Red Hat Enterprise Linux
| SUSE Linux
| Windows
| Linux/UNIX (Amazon VPC)
| Red Hat Enterprise Linux (Amazon VPC)
| SUSE Linux (Amazon VPC)
| Windows (Amazon VPC)
).
spot-price
- The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported).
timestamp
- The time stamp of the Spot price history, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). You can use wildcards (* and ?). Greater than or less than comparison is not supported.
The filters.
availability-zone
- The Availability Zone for which prices should be returned.
instance-type
- The type of instance (for example, m3.medium
).
product-description
- The product description for the Spot price (Linux/UNIX
| Red Hat Enterprise Linux
| SUSE Linux
| Windows
| Linux/UNIX (Amazon VPC)
| Red Hat Enterprise Linux (Amazon VPC)
| SUSE Linux (Amazon VPC)
| Windows (Amazon VPC)
).
spot-price
- The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported).
timestamp
- The time stamp of the Spot price history, in UTC format (for example, ddd MMM dd HH:mm:ss UTC YYYY). You can use wildcards (*
and ?
). Greater than or less than comparison is not supported.
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 Verified Access endpoint.
+Details about the Verified Access endpoints.
*/ @property (nonatomic, strong) NSArrayThe ID of the Verified Access group.
+Details about the Verified Access groups.
*/ @property (nonatomic, strong) NSArrayThe current logging configuration for the Verified Access instances.
+The logging configuration for the Verified Access instances.
*/ @property (nonatomic, strong) NSArrayThe IDs of the Verified Access instances.
+Details about the Verified Access instances.
*/ @property (nonatomic, strong) NSArrayThe IDs of the Verified Access trust providers.
+Details about the Verified Access trust providers.
*/ @property (nonatomic, strong) NSArrayThe ID of the Verified Access instance.
+Details about the Verified Access instance.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessInstance * _Nullable verifiedAccessInstance; /** -The ID of the Verified Access trust provider.
+Details about the Verified Access trust provider.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessTrustProvider * _Nullable verifiedAccessTrustProvider; @@ -25136,6 +25604,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @interface AWSEC2DeviceOptions : AWSModel +/** +The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
+ */ +@property (nonatomic, strong) NSString * _Nullable publicSigningKeyUrl; + /**The ID of the tenant application with the device-identity provider.
*/ @@ -25330,12 +25803,12 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable dryRun; /** -Forces the image settings to turn off faster launching for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account.
+Forces the image settings to turn off Windows fast launch for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account.
*/ @property (nonatomic, strong) NSNumber * _Nullable force; /** -The ID of the image for which you’re turning off faster launching, and removing pre-provisioned snapshots.
+Specify the ID of the image for which to disable Windows fast launch.
*/ @property (nonatomic, strong) NSString * _Nullable imageId; @@ -25348,7 +25821,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The ID of the image for which faster-launching has been turned off.
+The ID of the image for which Windows fast launch was disabled.
*/ @property (nonatomic, strong) NSString * _Nullable imageId; @@ -25358,37 +25831,37 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2FastLaunchLaunchTemplateSpecificationResponse * _Nullable launchTemplate; /** -The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching.
+The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
*/ @property (nonatomic, strong) NSNumber * _Nullable maxParallelLaunches; /** -The owner of the Windows AMI for which faster launching was turned off.
+The owner of the Windows AMI for which Windows fast launch was disabled.
*/ @property (nonatomic, strong) NSString * _Nullable ownerId; /** -The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI. Supported values include: snapshot
.
The pre-provisioning resource type that must be cleaned after turning off Windows fast launch for the Windows AMI. Supported values include: snapshot
.
Parameters that were used for faster launching for the Windows AMI before faster launching was turned off. This informs the clean-up process.
+Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled. This informs the clean-up process.
*/ @property (nonatomic, strong) AWSEC2FastLaunchSnapshotConfigurationResponse * _Nullable snapshotConfiguration; /** -The current state of faster launching for the specified Windows AMI.
+The current state of Windows fast launch for the specified Windows AMI.
*/ @property (nonatomic, assign) AWSEC2FastLaunchStateCode state; /** -The reason that the state changed for faster launching for the Windows AMI.
+The reason that the state changed for Windows fast launch for the Windows AMI.
*/ @property (nonatomic, strong) NSString * _Nullable stateTransitionReason; /** -The time that the state changed for faster launching for the Windows AMI.
+The time that the state changed for Windows fast launch for the Windows AMI.
*/ @property (nonatomic, strong) NSDate * _Nullable stateTransitionTime; @@ -25552,6 +26025,32 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2DisableImageBlockPublicAccessRequest : AWSRequest + + +/** +Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Returns unblocked
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 AWSEC2DisableImageResult : AWSModel + + /**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
.
Returns unblocked
if the request succeeds.
ENA Express is compatible with both TCP and UDP transport protocols. When it’s enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.
+Launch instances with ENA Express settings configured from your launch template.
+ */ +@interface AWSEC2EnaSrdSpecificationRequest : AWSModel + + +/** +Specifies whether ENA Express is enabled for the network interface when you launch an instance from your launch template.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable enaSrdEnabled; + +/** +Contains ENA Express settings for UDP network traffic in your launch template.
+ */ +@property (nonatomic, strong) AWSEC2EnaSrdUdpSpecificationRequest * _Nullable enaSrdUdpSpecification; + +@end + +/** +ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.
*/ @interface AWSEC2EnaSrdUdpSpecification : AWSModel /** -Indicates whether UDP traffic uses ENA Express. To specify this setting, you must first enable ENA Express.
+Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable enaSrdUdpEnabled; + +@end + +/** +Configures ENA Express for UDP network traffic from your launch template.
+ */ +@interface AWSEC2EnaSrdUdpSpecificationRequest : AWSModel + + +/** +Indicates whether UDP traffic uses ENA Express for your instance. To ensure that UDP traffic can use ENA Express when you launch an instance, you must also set EnaSrdEnabled in the EnaSrdSpecificationRequest to true
in your launch template.
The ID of the image for which you’re enabling faster launching.
+Specify the ID of the image for which to enable Windows fast launch.
*/ @property (nonatomic, strong) NSString * _Nullable imageId; @@ -27031,17 +27618,17 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2FastLaunchLaunchTemplateSpecificationRequest * _Nullable launchTemplate; /** -The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching. Value must be 6
or greater.
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch. Value must be 6
or greater.
The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include: snapshot
, which is the default value.
The type of resource to use for pre-provisioning the AMI for Windows fast launch. Supported values include: snapshot
, which is the default value.
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI for faster launching. The associated ResourceType
must be snapshot
.
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the AMI for Windows fast launch. The associated ResourceType
must be snapshot
.
The image ID that identifies the Windows AMI for which faster launching was enabled.
+The image ID that identifies the AMI for which Windows fast launch was enabled.
*/ @property (nonatomic, strong) NSString * _Nullable imageId; @@ -27064,17 +27651,17 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2FastLaunchLaunchTemplateSpecificationResponse * _Nullable launchTemplate; /** -The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching.
+The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
*/ @property (nonatomic, strong) NSNumber * _Nullable maxParallelLaunches; /** -The owner ID for the Windows AMI for which faster launching was enabled.
+The owner ID for the AMI for which Windows fast launch was enabled.
*/ @property (nonatomic, strong) NSString * _Nullable ownerId; /** -The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
+The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
*/ @property (nonatomic, assign) AWSEC2FastLaunchResourceType resourceType; @@ -27084,17 +27671,17 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2FastLaunchSnapshotConfigurationResponse * _Nullable snapshotConfiguration; /** -The current state of faster launching for the specified Windows AMI.
+The current state of Windows fast launch for the specified AMI.
*/ @property (nonatomic, assign) AWSEC2FastLaunchStateCode state; /** -The reason that the state changed for faster launching for the Windows AMI.
+The reason that the state changed for Windows fast launch for the AMI.
*/ @property (nonatomic, strong) NSString * _Nullable stateTransitionReason; /** -The time that the state changed for faster launching for the Windows AMI.
+The time that the state changed for Windows fast launch for the AMI.
*/ @property (nonatomic, strong) NSDate * _Nullable stateTransitionTime; @@ -27258,6 +27845,37 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2EnableImageBlockPublicAccessRequest : AWSRequest + + +/** +Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Specify block-new-sharing
to enable block public access for AMIs at the account level in the specified Region. This will block any attempt to publicly share your AMIs in the specified Region.
Returns block-new-sharing
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.
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 mode in which to enable block public access for snapshots for the Region. Specify one of the following values:
block-all-sharing
- Prevents all public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. Additionally, snapshots that are already publicly shared are treated as private and they are no longer publicly available.
If you enable block public access for snapshots in block-all-sharing
mode, it does not change the permissions for snapshots that are already publicly shared. Instead, it prevents these snapshots from be publicly visible and publicly accessible. Therefore, the attributes for these snapshots still indicate that they are publicly shared, even though they are not publicly available.
block-new-sharing
- Prevents only new public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. However, snapshots that are already publicly shared, remain publicly available.
The state of block public access for snapshots for the account and Region. Returns either block-all-sharing
or block-new-sharing
if the request succeeds.
Request to create a launch template for a fast-launch enabled Windows AMI.
Note - You can specify either the LaunchTemplateName
or the LaunchTemplateId
, but not both.
Request to create a launch template for a Windows fast launch enabled AMI.
Note - You can specify either the LaunchTemplateName
or the LaunchTemplateId
, but not both.
The ID of the launch template to use for faster launching for a Windows AMI.
+Specify the ID of the launch template that the AMI should use for Windows fast launch.
*/ @property (nonatomic, strong) NSString * _Nullable launchTemplateId; /** -The name of the launch template to use for faster launching for a Windows AMI.
+Specify the name of the launch template that the AMI should use for Windows fast launch.
*/ @property (nonatomic, strong) NSString * _Nullable launchTemplateName; /** -The version of the launch template to use for faster launching for a Windows AMI.
+Specify the version of the launch template that the AMI should use for Windows fast launch.
*/ @property (nonatomic, strong) NSString * _Nullable version; @end /** -Identifies the launch template to use for faster launching of the Windows AMI.
+Identifies the launch template that the AMI uses for Windows fast launch.
*/ @interface AWSEC2FastLaunchLaunchTemplateSpecificationResponse : AWSModel /** -The ID of the launch template for faster launching of the associated Windows AMI.
+The ID of the launch template that the AMI uses for Windows fast launch.
*/ @property (nonatomic, strong) NSString * _Nullable launchTemplateId; /** -The name of the launch template for faster launching of the associated Windows AMI.
+The name of the launch template that the AMI uses for Windows fast launch.
*/ @property (nonatomic, strong) NSString * _Nullable launchTemplateName; /** -The version of the launch template for faster launching of the associated Windows AMI.
+The version of the launch template that the AMI uses for Windows fast launch.
*/ @property (nonatomic, strong) NSString * _Nullable version; @end /** -Configuration settings for creating and managing pre-provisioned snapshots for a fast-launch enabled Windows AMI.
+Configuration settings for creating and managing pre-provisioned snapshots for a Windows fast launch enabled AMI.
*/ @interface AWSEC2FastLaunchSnapshotConfigurationRequest : AWSModel /** -The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
+The number of pre-provisioned snapshots to keep on hand for a Windows fast launch enabled AMI.
*/ @property (nonatomic, strong) NSNumber * _Nullable targetResourceCount; @end /** -Configuration settings for creating and managing pre-provisioned snapshots for a fast-launch enabled Windows AMI.
+Configuration settings for creating and managing pre-provisioned snapshots for a Windows fast launch enabled Windows AMI.
*/ @interface AWSEC2FastLaunchSnapshotConfigurationResponse : AWSModel /** -The number of pre-provisioned snapshots requested to keep on hand for a fast-launch enabled Windows AMI.
+The number of pre-provisioned snapshots requested to keep on hand for a Windows fast launch enabled AMI.
*/ @property (nonatomic, strong) NSNumber * _Nullable targetResourceCount; @@ -29484,6 +30164,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable localGatewayRouteTableId; +/** +The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
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 current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.
Possible values:
block-new-sharing
- Any attempt to publicly share your AMIs in the specified Region is blocked.
unblocked
- Your AMIs in the specified Region can be publicly shared.
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. If using multiple filters, the results include security groups which match all filters.
group-id
: The security group ID.
description
: The security group's description.
group-name
: The security group name.
owner-id
: The security group owner ID.
primary-vpc-id
: The VPC ID in which the security group was created.
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable maxResults; + +/** +The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
+ */ +@property (nonatomic, strong) NSString * _Nullable nextToken; + +/** +The VPC ID where the security group can be used.
+ */ +@property (nonatomic, strong) NSString * _Nullable vpcId; + +@end + +/** + + */ +@interface AWSEC2GetSecurityGroupsForVpcResult : AWSModel + + +/** +The token to include in another request to get the next page of items. This value is null
when there are no more items to return.
The security group that can be used by interfaces in the VPC.
+ */ +@property (nonatomic, strong) NSArrayChecks 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 current state of block public access for snapshots. Possible values include:
block-all-sharing
- All public sharing of snapshots is blocked. Users in the account can't request new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not publicly available.
block-new-sharing
- Only new public sharing of snapshots is blocked. Users in the account can't request new public sharing. However, snapshots that were already publicly shared, remain publicly available.
unblocked
- Public sharing is not blocked. Users can publicly share snapshots.
Set to true
to enable your instance for hibernation.
Default: false
Set to true
to enable your instance for hibernation.
For Spot Instances, if you set Configured
to true
, either omit the InstanceInterruptionBehavior
parameter (for SpotMarketOptions
), or set it to hibernate
. When Configured
is true:
If you omit InstanceInterruptionBehavior
, it defaults to hibernate
.
If you set InstanceInterruptionBehavior
to a value other than hibernate
, you'll get an error.
Default: false
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.
*/ @@ -32246,7 +33039,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.
ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.
To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it.
+ */ +@interface AWSEC2InstanceAttachmentEnaSrdSpecification : AWSModel + + +/** +Indicates whether ENA Express is enabled for the network interface.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable enaSrdEnabled; + +/** +Configures ENA Express for UDP network traffic.
+ */ +@property (nonatomic, strong) AWSEC2InstanceAttachmentEnaSrdUdpSpecification * _Nullable enaSrdUdpSpecification; + +@end + +/** +ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.
+ */ +@interface AWSEC2InstanceAttachmentEnaSrdUdpSpecification : AWSModel + + +/** +Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable enaSrdUdpEnabled; + +@end + /**Describes an instance attribute.
*/ @@ -34065,6 +34889,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable deviceIndex; +/** +Contains the ENA Express settings for the network interface that's attached to the instance.
+ */ +@property (nonatomic, strong) AWSEC2InstanceAttachmentEnaSrdSpecification * _Nullable enaSrdSpecification; + /**The index of the network card.
*/ @@ -34108,6 +34937,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable deviceIndex; +/** +Specifies the ENA Express settings for the network interface that's attached to the instance.
+ */ +@property (nonatomic, strong) AWSEC2EnaSrdSpecificationRequest * _Nullable enaSrdSpecification; + /**The IDs of the security groups for the network interface. Applies only if creating a network interface when launching an instance.
*/ @@ -34214,7 +35048,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end /** -The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.
You must specify VCpuCount
and MemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default.
When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.
To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:
AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes.
If you specify InstanceRequirements
, you can't specify InstanceType
.
Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard or with the RunInstances API, you can't specify InstanceRequirements
.
For more information, see Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide.
+The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.
You must specify VCpuCount
and MemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default.
When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.
To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:
AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes.
If you specify InstanceRequirements
, you can't specify InstanceType
.
Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard or with the RunInstances API, you can't specify InstanceRequirements
.
For more information, see Create a mixed instances group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide, and also Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide.
*/ @interface AWSEC2InstanceRequirements : AWSModel @@ -34716,6 +35550,44 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** +Information about the instance topology.
+ */ +@interface AWSEC2InstanceTopology : AWSModel + + +/** +The name of the Availability Zone or Local Zone that the instance is in.
+ */ +@property (nonatomic, strong) NSString * _Nullable availabilityZone; + +/** +The name of the placement group that the instance is in.
+ */ +@property (nonatomic, strong) NSString * _Nullable groupName; + +/** +The instance ID.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceId; + +/** +The instance type.
+ */ +@property (nonatomic, strong) NSString * _Nullable instanceType; + +/** +The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same droplet will return a different hashed list of strings.
+ */ +@property (nonatomic, strong) NSArrayThe ID of the Availability Zone or Local Zone that the instance is in.
+ */ +@property (nonatomic, strong) NSString * _Nullable zoneId; + +@end + /**Describes the instance type.
*/ @@ -36539,6 +37411,37 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** +ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.
To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it.
+ */ +@interface AWSEC2LaunchTemplateEnaSrdSpecification : AWSModel + + +/** +Indicates whether ENA Express is enabled for the network interface.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable enaSrdEnabled; + +/** +Configures ENA Express for UDP network traffic.
+ */ +@property (nonatomic, strong) AWSEC2LaunchTemplateEnaSrdUdpSpecification * _Nullable enaSrdUdpSpecification; + +@end + +/** +ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.
+ */ +@interface AWSEC2LaunchTemplateEnaSrdUdpSpecification : AWSModel + + +/** +Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable enaSrdUdpEnabled; + +@end + /**Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.
*/ @@ -36791,6 +37694,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable deviceIndex; +/** +Contains the ENA Express settings for instances launched from your launch template.
+ */ +@property (nonatomic, strong) AWSEC2LaunchTemplateEnaSrdSpecification * _Nullable enaSrdSpecification; + /**The IDs of one or more security groups.
*/ @@ -36899,6 +37807,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable deviceIndex; +/** +Configure ENA Express settings for your launch template.
+ */ +@property (nonatomic, strong) AWSEC2EnaSrdSpecificationRequest * _Nullable enaSrdSpecification; + /**The IDs of one or more security groups.
*/ @@ -37311,7 +38224,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The type of resource to tag.
The Valid Values
are all the resource types that can be tagged. However, when creating a launch template, you can specify tags for the following resource types only: instance
| volume
| elastic-gpu
| network-interface
| spot-instances-request
To tag a resource after it has been created, see CreateTags.
+The type of resource to tag.
Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only: instance
| volume
| elastic-gpu
| network-interface
| spot-instances-request
. If the instance does not 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; @@ -37917,6 +38830,145 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @end +/** + + */ +@interface AWSEC2LockSnapshotRequest : AWSRequest + + +/** +The cooling-off period during which you can unlock the snapshot or modify the lock settings after locking the snapshot in compliance mode, in hours. After the cooling-off period expires, you can't unlock or delete the snapshot, decrease the lock duration, or change the lock mode. You can increase the lock duration after the cooling-off period expires.
The cooling-off period is optional when locking a snapshot in compliance mode. If you are locking the snapshot in governance mode, omit this parameter.
To lock the snapshot in compliance mode immediately without a cooling-off period, omit this parameter.
If you are extending the lock duration for a snapshot that is locked in compliance mode after the cooling-off period has expired, omit this parameter. If you specify a cooling-period in a such a request, the request fails.
Allowed values: Min 1, max 72.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable coolOffPeriod; + +/** +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 date and time at which the snapshot lock is to automatically expire, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
You must specify either this parameter or LockDuration, but not both.
+ */ +@property (nonatomic, strong) NSDate * _Nullable expirationDate; + +/** +The period of time for which to lock the snapshot, in days. The snapshot lock will automatically expire after this period lapses.
You must specify either this parameter or ExpirationDate, but not both.
Allowed values: Min: 1, max 36500
+ */ +@property (nonatomic, strong) NSNumber * _Nullable lockDuration; + +/** +The mode in which to lock the snapshot. Specify one of the following:
governance
- Locks the snapshot in governance mode. Snapshots locked in governance mode can't be deleted until one of the following conditions are met:
The lock duration expires.
The snapshot is unlocked by a user with the appropriate permissions.
Users with the appropriate IAM permissions can unlock the snapshot, increase or decrease the lock duration, and change the lock mode to compliance
at any time.
If you lock a snapshot in governance
mode, omit CoolOffPeriod.
compliance
- Locks the snapshot in compliance mode. Snapshots locked in compliance mode can't be unlocked by any user. They can be deleted only after the lock duration expires. Users can't decrease the lock duration or change the lock mode to governance
. However, users with appropriate IAM permissions can increase the lock duration at any time.
If you lock a snapshot in compliance
mode, you can optionally specify CoolOffPeriod.
The ID of the snapshot to lock.
+ */ +@property (nonatomic, strong) NSString * _Nullable snapshotId; + +@end + +/** + + */ +@interface AWSEC2LockSnapshotResult : AWSModel + + +/** +The compliance mode cooling-off period, in hours.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable coolOffPeriod; + +/** +The date and time at which the compliance mode cooling-off period expires, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The date and time at which the snapshot was locked, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The period of time for which the snapshot is locked, in days.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable lockDuration; + +/** +The date and time at which the lock duration started, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The date and time at which the lock will expire, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The state of the snapshot lock. Valid states include:
compliance-cooloff
- The snapshot has been locked in compliance mode but it is still within the cooling-off period. The snapshot can't be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions.
governance
- The snapshot is locked in governance mode. The snapshot can't be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions.
compliance
- The snapshot is locked in compliance mode and the cooling-off period has expired. The snapshot can't be unlocked or deleted. The lock duration can only be increased by users with appropriate permissions.
expired
- The snapshot was locked in compliance or governance mode but the lock duration has expired. The snapshot is not locked and can be deleted.
The ID of the snapshot
+ */ +@property (nonatomic, strong) NSString * _Nullable snapshotId; + +@end + +/** +Information about a locked snapshot.
+ */ +@interface AWSEC2LockedSnapshotsInfo : AWSModel + + +/** +The compliance mode cooling-off period, in hours.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable coolOffPeriod; + +/** +The date and time at which the compliance mode cooling-off period expires, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The date and time at which the snapshot was locked, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The period of time for which the snapshot is locked, in days.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable lockDuration; + +/** +The date and time at which the lock duration started, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
If you lock a snapshot that is in the pending
state, the lock duration starts only once the snapshot enters the completed
state.
The date and time at which the lock will expire, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The state of the snapshot lock. Valid states include:
compliance-cooloff
- The snapshot has been locked in compliance mode but it is still within the cooling-off period. The snapshot can't be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions.
governance
- The snapshot is locked in governance mode. The snapshot can't be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions.
compliance
- The snapshot is locked in compliance mode and the cooling-off period has expired. The snapshot can't be unlocked or deleted. The lock duration can only be increased by users with appropriate permissions.
expired
- The snapshot was locked in compliance or governance mode but the lock duration has expired. The snapshot is not locked and can be deleted.
The account ID of the Amazon Web Services account that owns the snapshot.
+ */ +@property (nonatomic, strong) NSString * _Nullable ownerId; + +/** +The ID of the snapshot.
+ */ +@property (nonatomic, strong) NSString * _Nullable snapshotId; + +@end + /**Details for Site-to-Site VPN tunnel endpoint maintenance events.
*/ @@ -40401,6 +41453,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable policyEnabled; +/** +The options for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**The ID of the Verified Access endpoint.
*/ @@ -40424,6 +41481,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable policyEnabled; +/** +The options in use for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationResponse * _Nullable sseSpecification; + @end /** @@ -40476,7 +41538,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The Verified Access endpoint details.
+Details about the Verified Access endpoint.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessEndpoint * _Nullable verifiedAccessEndpoint; @@ -40508,6 +41570,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable policyEnabled; +/** +The options for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**The ID of the Verified Access group.
*/ @@ -40531,6 +41598,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSNumber * _Nullable policyEnabled; +/** +The options in use for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationResponse * _Nullable sseSpecification; + @end /** @@ -40573,7 +41645,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -Details of Verified Access group.
+Details about the Verified Access group.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessGroup * _Nullable verifiedAccessGroup; @@ -40655,12 +41727,25 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The ID of the Verified Access instance.
+Details about the Verified Access instance.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessInstance * _Nullable verifiedAccessInstance; @end +/** +Modifies the configuration of the specified device-based Amazon Web Services Verified Access trust provider.
+ */ +@interface AWSEC2ModifyVerifiedAccessTrustProviderDeviceOptions : AWSModel + + +/** +The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
+ */ +@property (nonatomic, strong) NSString * _Nullable publicSigningKeyUrl; + +@end + /**Options for an OpenID Connect-compatible user-identity trust provider.
*/ @@ -40720,6 +41805,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable detail; +/** +The options for a device-based trust provider. This parameter is required when the provider type is device
.
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 options for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationRequest * _Nullable sseSpecification; + /**The ID of the Verified Access trust provider.
*/ @@ -40744,7 +41839,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { /** -The ID of the Verified Access trust provider.
+Details about the Verified Access trust provider.
*/ @property (nonatomic, strong) AWSEC2VerifiedAccessTrustProvider * _Nullable verifiedAccessTrustProvider; @@ -41374,7 +42469,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable dryRun; /** -Choose whether or not to trigger immediate tunnel replacement.
Valid values: True
| False
Choose whether or not to trigger immediate tunnel replacement. This is only applicable when turning on or off EnableTunnelLifecycleControl
.
Valid values: True
| False
The number of seconds after which a DPD timeout occurs.
Constraints: A value greater than or equal to 30.
Default: 30
The number of seconds after which a DPD timeout occurs. A DPD timeout of 40 seconds means that the VPN endpoint will consider the peer dead 30 seconds after the first failed keep-alive.
Constraints: A value greater than or equal to 30.
Default: 40
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 ID of the Capacity Block offering.
+ */ +@property (nonatomic, strong) NSString * _Nullable capacityBlockOfferingId; + +/** +Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
The type of operating system for which to reserve capacity.
+ */ +@property (nonatomic, assign) AWSEC2CapacityReservationInstancePlatform instancePlatform; + +/** +The tags to apply to the Capacity Block during launch.
+ */ +@property (nonatomic, strong) NSArrayThe Capacity Reservation.
+ */ +@property (nonatomic, strong) AWSEC2CapacityReservation * _Nullable capacityReservation; + +@end + /** */ @@ -44937,7 +46073,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable dryRun; /** -The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
If you provide an incorrect network border group, you receive an InvalidAddress.NotFound
error.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you receive an InvalidParameterCombination
error.
The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
If you provide an incorrect network border group, you receive an InvalidAddress.NotFound
error.
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.
One or more security group IDs. You can create a security group using CreateSecurityGroup. You cannot specify both a security group ID and security name in the same request.
+One or more security group IDs. You can create a security group using CreateSecurityGroup.
*/ @property (nonatomic, strong) NSArrayOne or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.
+One or more security group names. For a nondefault VPC, you must use security group IDs instead.
*/ @property (nonatomic, strong) NSArrayThe 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.
A security group that can be used by interfaces in the VPC.
+ */ +@interface AWSEC2SecurityGroupForVpc : AWSModel + + +/** +The security group's description.
+ */ +@property (nonatomic, strong) NSString * _Nullable detail; + +/** +The security group ID.
+ */ +@property (nonatomic, strong) NSString * _Nullable groupId; + +/** +The security group name.
+ */ +@property (nonatomic, strong) NSString * _Nullable groupName; + +/** +The security group owner ID.
+ */ +@property (nonatomic, strong) NSString * _Nullable ownerId; + +/** +The VPC ID in which the security group was created.
+ */ +@property (nonatomic, strong) NSString * _Nullable primaryVpcId; + +/** +The security group tags.
+ */ +@property (nonatomic, strong) NSArrayDescribes a security group.
*/ @@ -49646,7 +50820,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSNumber * _Nullable onDemandFulfilledCapacity; /** -The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the onDemandMaxTotalPrice
parameter, the spotMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.
The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the onDemandMaxTotalPrice
parameter, the spotMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.
If your fleet includes T instances that are configured as unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The onDemandMaxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for onDemandMaxTotalPrice
. For more information, see Surplus credits can incur charges in the EC2 User Guide.
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 behavior when a Spot Instance is interrupted. The default is terminate
.
The behavior when a Spot Instance is interrupted.
If Configured
(for HibernationOptions
) is set to true
, the InstanceInterruptionBehavior
parameter is automatically set to hibernate
. If you set it to stop
or terminate
, you'll get an error.
If Configured
(for HibernationOptions
) is set to false
or null
, the InstanceInterruptionBehavior
parameter is automatically set to terminate
. You can also set it to stop
or hibernate
.
For more information, see Interruption behavior in the Amazon EC2 User Guide.
*/ @property (nonatomic, assign) AWSEC2InstanceInterruptionBehavior instanceInterruptionBehavior; @@ -49947,7 +51121,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2FleetSpotMaintenanceStrategies * _Nullable maintenanceStrategies; /** -The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
If your fleet includes T instances that are configured as unlimited
, and if their average CPU usage exceeds the baseline utilization, you will incur a charge for surplus credits. The maxTotalPrice
does not account for surplus credits, and, if you use surplus credits, your final cost might be higher than what you specified for maxTotalPrice
. For more information, see Surplus credits can incur charges in the EC2 User Guide.
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.
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 snapshot to unlock.
+ */ +@property (nonatomic, strong) NSString * _Nullable snapshotId; + +@end + +/** + + */ +@interface AWSEC2UnlockSnapshotResult : AWSModel + + +/** +The ID of the snapshot.
+ */ +@property (nonatomic, strong) NSString * _Nullable snapshotId; + +@end + /** */ @@ -53559,6 +54764,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSArrayThe options in use for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationResponse * _Nullable sseSpecification; + /**The endpoint status.
*/ @@ -53686,6 +54896,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable owner; +/** +The options in use for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationResponse * _Nullable sseSpecification; + /**The tags.
*/ @@ -53724,6 +54939,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable detail; +/** +Indicates whether support for Federal Information Processing Standards (FIPS) is enabled on the instance.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable fipsEnabled; + /**The last updated time.
*/ @@ -53878,7 +55098,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2VerifiedAccessLogCloudWatchLogsDestinationOptions * _Nullable cloudWatchLogs; /** -Include trust data sent by trust providers into the logs.
+Indicates whether to include trust data sent by trust providers in the logs.
*/ @property (nonatomic, strong) NSNumber * _Nullable includeTrustContext; @@ -53888,7 +55108,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2VerifiedAccessLogKinesisDataFirehoseDestinationOptions * _Nullable kinesisDataFirehose; /** -The logging version to use.
Valid values: ocsf-0.1
| ocsf-1.0.0-rc.2
The logging version.
Valid values: ocsf-0.1
| ocsf-1.0.0-rc.2
Describes current setting for including trust data into the logs.
+Indicates whether trust data is included in the logs.
*/ @property (nonatomic, strong) NSNumber * _Nullable includeTrustContext; @@ -53983,7 +55203,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) AWSEC2VerifiedAccessLogKinesisDataFirehoseDestination * _Nullable kinesisDataFirehose; /** -Describes current setting for the logging version.
+The log version.
*/ @property (nonatomic, strong) NSString * _Nullable logVersion; @@ -53994,6 +55214,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 + +/** +The options in use for server side encryption.
+ */ +@interface AWSEC2VerifiedAccessSseSpecificationResponse : AWSModel + + +/** +Indicates whether customer managed KMS keys are in use for server side encryption.
Valid values: True
| False
The ARN of the KMS key.
+ */ +@property (nonatomic, strong) NSString * _Nullable kmsKeyArn; + +@end + /**Describes a Verified Access trust provider.
*/ @@ -54035,6 +55291,11 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { */ @property (nonatomic, strong) NSString * _Nullable policyReferenceName; +/** +The options in use for server side encryption.
+ */ +@property (nonatomic, strong) AWSEC2VerifiedAccessSseSpecificationResponse * _Nullable sseSpecification; + /**The tags.
*/ @@ -54107,7 +55368,7 @@ typedef NS_ENUM(NSInteger, AWSEC2scope) { @property (nonatomic, strong) NSString * _Nullable certificateArn; /** -The date and time of the last change in status.
+The date and time of the last change in status. This field is updated when changes in IKE (Phase 1), IPSec (Phase 2), or BGP status are detected.
*/ @property (nonatomic, strong) NSDate * _Nullable lastStatusChange; diff --git a/AWSEC2/AWSEC2Model.m b/AWSEC2/AWSEC2Model.m index ed61c997742..59c6f059828 100644 --- a/AWSEC2/AWSEC2Model.m +++ b/AWSEC2/AWSEC2Model.m @@ -3432,6 +3432,66 @@ + (NSValueTransformer *)allocationTypeJSONTransformer { @end +@implementation AWSEC2CapacityBlockOffering + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"availabilityZone" : @"AvailabilityZone", + @"capacityBlockDurationHours" : @"CapacityBlockDurationHours", + @"capacityBlockOfferingId" : @"CapacityBlockOfferingId", + @"currencyCode" : @"CurrencyCode", + @"endDate" : @"EndDate", + @"instanceCount" : @"InstanceCount", + @"instanceType" : @"InstanceType", + @"startDate" : @"StartDate", + @"tenancy" : @"Tenancy", + @"upfrontFee" : @"UpfrontFee", + }; +} + ++ (NSValueTransformer *)endDateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)startDateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)tenancyJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"default"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationTenancyDefault); + } + if ([value caseInsensitiveCompare:@"dedicated"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationTenancyDedicated); + } + return @(AWSEC2CapacityReservationTenancyUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2CapacityReservationTenancyDefault: + return @"default"; + case AWSEC2CapacityReservationTenancyDedicated: + return @"dedicated"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSEC2CapacityReservation + (BOOL)supportsSecureCoding { @@ -3458,6 +3518,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"outpostArn" : @"OutpostArn", @"ownerId" : @"OwnerId", @"placementGroupArn" : @"PlacementGroupArn", + @"reservationType" : @"ReservationType", @"startDate" : @"StartDate", @"state" : @"State", @"tags" : @"Tags", @@ -3581,6 +3642,9 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { if ([value caseInsensitiveCompare:@"RHEL with HA and SQL Server Enterprise"] == NSOrderedSame) { return @(AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise); } + if ([value caseInsensitiveCompare:@"Ubuntu Pro"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformUbuntuPro); + } return @(AWSEC2CapacityReservationInstancePlatformUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -3618,6 +3682,29 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { return @"RHEL with HA and SQL Server Standard"; case AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise: return @"RHEL with HA and SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformUbuntuPro: + return @"Ubuntu Pro"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)reservationTypeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"default"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationTypeDefault); + } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationTypeCapacityBlock); + } + return @(AWSEC2CapacityReservationTypeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2CapacityReservationTypeDefault: + return @"default"; + case AWSEC2CapacityReservationTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -3649,6 +3736,15 @@ + (NSValueTransformer *)stateJSONTransformer { if ([value caseInsensitiveCompare:@"failed"] == NSOrderedSame) { return @(AWSEC2CapacityReservationStateFailed); } + if ([value caseInsensitiveCompare:@"scheduled"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStateScheduled); + } + if ([value caseInsensitiveCompare:@"payment-pending"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStatePaymentPending); + } + if ([value caseInsensitiveCompare:@"payment-failed"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStatePaymentFailed); + } return @(AWSEC2CapacityReservationStateUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -3662,6 +3758,12 @@ + (NSValueTransformer *)stateJSONTransformer { return @"pending"; case AWSEC2CapacityReservationStateFailed: return @"failed"; + case AWSEC2CapacityReservationStateScheduled: + return @"scheduled"; + case AWSEC2CapacityReservationStatePaymentPending: + return @"payment-pending"; + case AWSEC2CapacityReservationStatePaymentFailed: + return @"payment-failed"; default: return nil; } @@ -5743,6 +5845,9 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { if ([value caseInsensitiveCompare:@"RHEL with HA and SQL Server Enterprise"] == NSOrderedSame) { return @(AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise); } + if ([value caseInsensitiveCompare:@"Ubuntu Pro"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformUbuntuPro); + } return @(AWSEC2CapacityReservationInstancePlatformUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -5780,6 +5885,8 @@ + (NSValueTransformer *)instancePlatformJSONTransformer { return @"RHEL with HA and SQL Server Standard"; case AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise: return @"RHEL with HA and SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformUbuntuPro: + return @"Ubuntu Pro"; default: return nil; } @@ -8399,6 +8506,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -9762,6 +10145,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -13063,6 +13630,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"networkInterfaceOptions" : @"NetworkInterfaceOptions", @"policyDocument" : @"PolicyDocument", @"securityGroupIds" : @"SecurityGroupIds", + @"sseSpecification" : @"SseSpecification", @"tagSpecifications" : @"TagSpecifications", @"verifiedAccessGroupId" : @"VerifiedAccessGroupId", }; @@ -13113,6 +13681,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]]; } @@ -13149,11 +13721,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]]; } @@ -13189,6 +13766,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"clientToken" : @"ClientToken", @"detail" : @"Description", @"dryRun" : @"DryRun", + @"FIPSEnabled" : @"FIPSEnabled", @"tagSpecifications" : @"TagSpecifications", }; } @@ -13225,6 +13803,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"publicSigningKeyUrl" : @"PublicSigningKeyUrl", @"tenantId" : @"TenantId", }; } @@ -13266,6 +13845,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"dryRun" : @"DryRun", @"oidcOptions" : @"OidcOptions", @"policyReferenceName" : @"PolicyReferenceName", + @"sseSpecification" : @"SseSpecification", @"tagSpecifications" : @"TagSpecifications", @"trustProviderType" : @"TrustProviderType", @"userTrustProviderType" : @"UserTrustProviderType", @@ -13284,6 +13864,9 @@ + (NSValueTransformer *)deviceTrustProviderTypeJSONTransformer { if ([value caseInsensitiveCompare:@"crowdstrike"] == NSOrderedSame) { return @(AWSEC2DeviceTrustProviderTypeCrowdstrike); } + if ([value caseInsensitiveCompare:@"jumpcloud"] == NSOrderedSame) { + return @(AWSEC2DeviceTrustProviderTypeJumpcloud); + } return @(AWSEC2DeviceTrustProviderTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -13291,6 +13874,8 @@ + (NSValueTransformer *)deviceTrustProviderTypeJSONTransformer { return @"jamf"; case AWSEC2DeviceTrustProviderTypeCrowdstrike: return @"crowdstrike"; + case AWSEC2DeviceTrustProviderTypeJumpcloud: + return @"jumpcloud"; default: return nil; } @@ -13301,6 +13886,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]]; } @@ -14894,6 +15483,21 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2DeleteKeyPairResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"keyPairId" : @"KeyPairId", + @"returned" : @"Return", + }; +} + +@end + @implementation AWSEC2DeleteLaunchTemplateRequest + (BOOL)supportsSecureCoding { @@ -17065,7 +17669,7 @@ + (NSValueTransformer *)byoipCidrsJSONTransformer { @end -@implementation AWSEC2DescribeCapacityReservationFleetsRequest +@implementation AWSEC2DescribeCapacityBlockOfferingsRequest + (BOOL)supportsSecureCoding { return YES; @@ -17073,21 +17677,36 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"capacityReservationFleetIds" : @"CapacityReservationFleetIds", + @"capacityDurationHours" : @"CapacityDurationHours", @"dryRun" : @"DryRun", - @"filters" : @"Filters", + @"endDateRange" : @"EndDateRange", + @"instanceCount" : @"InstanceCount", + @"instanceType" : @"InstanceType", @"maxResults" : @"MaxResults", @"nextToken" : @"NextToken", + @"startDateRange" : @"StartDateRange", }; } -+ (NSValueTransformer *)filtersJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Filter class]]; ++ (NSValueTransformer *)endDateRangeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)startDateRangeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; } @end -@implementation AWSEC2DescribeCapacityReservationFleetsResult +@implementation AWSEC2DescribeCapacityBlockOfferingsResult + (BOOL)supportsSecureCoding { return YES; @@ -17095,18 +17714,18 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"capacityReservationFleets" : @"CapacityReservationFleets", + @"capacityBlockOfferings" : @"CapacityBlockOfferings", @"nextToken" : @"NextToken", }; } -+ (NSValueTransformer *)capacityReservationFleetsJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CapacityReservationFleet class]]; ++ (NSValueTransformer *)capacityBlockOfferingsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CapacityBlockOffering class]]; } @end -@implementation AWSEC2DescribeCapacityReservationsRequest +@implementation AWSEC2DescribeCapacityReservationFleetsRequest + (BOOL)supportsSecureCoding { return YES; @@ -17114,7 +17733,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"capacityReservationIds" : @"CapacityReservationIds", + @"capacityReservationFleetIds" : @"CapacityReservationFleetIds", @"dryRun" : @"DryRun", @"filters" : @"Filters", @"maxResults" : @"MaxResults", @@ -17128,7 +17747,7 @@ + (NSValueTransformer *)filtersJSONTransformer { @end -@implementation AWSEC2DescribeCapacityReservationsResult +@implementation AWSEC2DescribeCapacityReservationFleetsResult + (BOOL)supportsSecureCoding { return YES; @@ -17136,18 +17755,18 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"capacityReservations" : @"CapacityReservations", + @"capacityReservationFleets" : @"CapacityReservationFleets", @"nextToken" : @"NextToken", }; } -+ (NSValueTransformer *)capacityReservationsJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CapacityReservation class]]; ++ (NSValueTransformer *)capacityReservationFleetsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CapacityReservationFleet class]]; } @end -@implementation AWSEC2DescribeCarrierGatewaysRequest +@implementation AWSEC2DescribeCapacityReservationsRequest + (BOOL)supportsSecureCoding { return YES; @@ -17155,7 +17774,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"carrierGatewayIds" : @"CarrierGatewayIds", + @"capacityReservationIds" : @"CapacityReservationIds", @"dryRun" : @"DryRun", @"filters" : @"Filters", @"maxResults" : @"MaxResults", @@ -17169,7 +17788,7 @@ + (NSValueTransformer *)filtersJSONTransformer { @end -@implementation AWSEC2DescribeCarrierGatewaysResult +@implementation AWSEC2DescribeCapacityReservationsResult + (BOOL)supportsSecureCoding { return YES; @@ -17177,18 +17796,18 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"carrierGateways" : @"CarrierGateways", + @"capacityReservations" : @"CapacityReservations", @"nextToken" : @"NextToken", }; } -+ (NSValueTransformer *)carrierGatewaysJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CarrierGateway class]]; ++ (NSValueTransformer *)capacityReservationsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CapacityReservation class]]; } @end -@implementation AWSEC2DescribeClassicLinkInstancesRequest +@implementation AWSEC2DescribeCarrierGatewaysRequest + (BOOL)supportsSecureCoding { return YES; @@ -17196,9 +17815,9 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"carrierGatewayIds" : @"CarrierGatewayIds", @"dryRun" : @"DryRun", @"filters" : @"Filters", - @"instanceIds" : @"InstanceIds", @"maxResults" : @"MaxResults", @"nextToken" : @"NextToken", }; @@ -17210,7 +17829,7 @@ + (NSValueTransformer *)filtersJSONTransformer { @end -@implementation AWSEC2DescribeClassicLinkInstancesResult +@implementation AWSEC2DescribeCarrierGatewaysResult + (BOOL)supportsSecureCoding { return YES; @@ -17218,18 +17837,18 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"instances" : @"Instances", + @"carrierGateways" : @"CarrierGateways", @"nextToken" : @"NextToken", }; } -+ (NSValueTransformer *)instancesJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2ClassicLinkInstance class]]; ++ (NSValueTransformer *)carrierGatewaysJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2CarrierGateway class]]; } @end -@implementation AWSEC2DescribeClientVpnAuthorizationRulesRequest +@implementation AWSEC2DescribeClassicLinkInstancesRequest + (BOOL)supportsSecureCoding { return YES; @@ -17237,9 +17856,9 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"clientVpnEndpointId" : @"ClientVpnEndpointId", @"dryRun" : @"DryRun", @"filters" : @"Filters", + @"instanceIds" : @"InstanceIds", @"maxResults" : @"MaxResults", @"nextToken" : @"NextToken", }; @@ -17251,7 +17870,7 @@ + (NSValueTransformer *)filtersJSONTransformer { @end -@implementation AWSEC2DescribeClientVpnAuthorizationRulesResult +@implementation AWSEC2DescribeClassicLinkInstancesResult + (BOOL)supportsSecureCoding { return YES; @@ -17259,18 +17878,59 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ - @"authorizationRules" : @"AuthorizationRules", + @"instances" : @"Instances", @"nextToken" : @"NextToken", }; } -+ (NSValueTransformer *)authorizationRulesJSONTransformer { - return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2AuthorizationRule class]]; ++ (NSValueTransformer *)instancesJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2ClassicLinkInstance class]]; } @end -@implementation AWSEC2DescribeClientVpnConnectionsRequest +@implementation AWSEC2DescribeClientVpnAuthorizationRulesRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"clientVpnEndpointId" : @"ClientVpnEndpointId", + @"dryRun" : @"DryRun", + @"filters" : @"Filters", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)filtersJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Filter class]]; +} + +@end + +@implementation AWSEC2DescribeClientVpnAuthorizationRulesResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"authorizationRules" : @"AuthorizationRules", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)authorizationRulesJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2AuthorizationRule class]]; +} + +@end + +@implementation AWSEC2DescribeClientVpnConnectionsRequest + (BOOL)supportsSecureCoding { return YES; @@ -20258,6 +20918,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -21621,6 +22557,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -22186,6 +23306,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"filters" : @"Filters", @"imageIds" : @"ImageIds", @"includeDeprecated" : @"IncludeDeprecated", + @"includeDisabled" : @"IncludeDisabled", @"maxResults" : @"MaxResults", @"nextToken" : @"NextToken", @"owners" : @"Owners", @@ -22603,6 +23724,48 @@ + (NSValueTransformer *)instanceStatusesJSONTransformer { @end +@implementation AWSEC2DescribeInstanceTopologyRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + @"filters" : @"Filters", + @"groupNames" : @"GroupNames", + @"instanceIds" : @"InstanceIds", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)filtersJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Filter class]]; +} + +@end + +@implementation AWSEC2DescribeInstanceTopologyResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"instances" : @"Instances", + @"nextToken" : @"NextToken", + }; +} + ++ (NSValueTransformer *)instancesJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2InstanceTopology class]]; +} + +@end + @implementation AWSEC2DescribeInstanceTypeOfferingsRequest + (BOOL)supportsSecureCoding { @@ -22634,6 +23797,9 @@ + (NSValueTransformer *)locationTypeJSONTransformer { if ([value caseInsensitiveCompare:@"availability-zone-id"] == NSOrderedSame) { return @(AWSEC2LocationTypeAvailabilityZoneId); } + if ([value caseInsensitiveCompare:@"outpost"] == NSOrderedSame) { + return @(AWSEC2LocationTypeOutpost); + } return @(AWSEC2LocationTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -22643,6 +23809,8 @@ + (NSValueTransformer *)locationTypeJSONTransformer { return @"availability-zone"; case AWSEC2LocationTypeAvailabilityZoneId: return @"availability-zone-id"; + case AWSEC2LocationTypeOutpost: + return @"outpost"; default: return nil; } @@ -23413,6 +24581,47 @@ + (NSValueTransformer *)localGatewaysJSONTransformer { @end +@implementation AWSEC2DescribeLockedSnapshotsRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + @"filters" : @"Filters", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + @"snapshotIds" : @"SnapshotIds", + }; +} + ++ (NSValueTransformer *)filtersJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Filter class]]; +} + +@end + +@implementation AWSEC2DescribeLockedSnapshotsResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"nextToken" : @"NextToken", + @"snapshots" : @"Snapshots", + }; +} + ++ (NSValueTransformer *)snapshotsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2LockedSnapshotsInfo class]]; +} + +@end + @implementation AWSEC2DescribeManagedPrefixListsRequest + (BOOL)supportsSecureCoding { @@ -26352,6 +27561,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -27715,6 +29200,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -30529,6 +32198,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"publicSigningKeyUrl" : @"PublicSigningKeyUrl", @"tenantId" : @"TenantId", }; } @@ -31035,6 +32705,50 @@ + (NSValueTransformer *)unsuccessfulJSONTransformer { @end +@implementation AWSEC2DisableImageBlockPublicAccessRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + }; +} + +@end + +@implementation AWSEC2DisableImageBlockPublicAccessResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"imageBlockPublicAccessState" : @"ImageBlockPublicAccessState", + }; +} + ++ (NSValueTransformer *)imageBlockPublicAccessStateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"unblocked"] == NSOrderedSame) { + return @(AWSEC2ImageBlockPublicAccessDisabledStateUnblocked); + } + return @(AWSEC2ImageBlockPublicAccessDisabledStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2ImageBlockPublicAccessDisabledStateUnblocked: + return @"unblocked"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSEC2DisableImageDeprecationRequest + (BOOL)supportsSecureCoding { @@ -31064,6 +32778,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 { @@ -31121,6 +32864,60 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2DisableSnapshotBlockPublicAccessRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + }; +} + +@end + +@implementation AWSEC2DisableSnapshotBlockPublicAccessResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"state" : @"State", + }; +} + ++ (NSValueTransformer *)stateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"block-all-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing); + } + if ([value caseInsensitiveCompare:@"block-new-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing); + } + if ([value caseInsensitiveCompare:@"unblocked"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateUnblocked); + } + return @(AWSEC2SnapshotBlockPublicAccessStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing: + return @"block-all-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing: + return @"block-new-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateUnblocked: + return @"unblocked"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSEC2DisableTransitGatewayRouteTablePropagationRequest + (BOOL)supportsSecureCoding { @@ -32506,6 +34303,25 @@ + (NSValueTransformer *)enaSrdUdpSpecificationJSONTransformer { @end +@implementation AWSEC2EnaSrdSpecificationRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"enaSrdEnabled" : @"EnaSrdEnabled", + @"enaSrdUdpSpecification" : @"EnaSrdUdpSpecification", + }; +} + ++ (NSValueTransformer *)enaSrdUdpSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2EnaSrdUdpSpecificationRequest class]]; +} + +@end + @implementation AWSEC2EnaSrdUdpSpecification + (BOOL)supportsSecureCoding { @@ -32520,6 +34336,20 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2EnaSrdUdpSpecificationRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"enaSrdUdpEnabled" : @"EnaSrdUdpEnabled", + }; +} + +@end + @implementation AWSEC2EnableAddressTransferRequest + (BOOL)supportsSecureCoding { @@ -32960,6 +34790,67 @@ + (NSValueTransformer *)unsuccessfulJSONTransformer { @end +@implementation AWSEC2EnableImageBlockPublicAccessRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + @"imageBlockPublicAccessState" : @"ImageBlockPublicAccessState", + }; +} + ++ (NSValueTransformer *)imageBlockPublicAccessStateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"block-new-sharing"] == NSOrderedSame) { + return @(AWSEC2ImageBlockPublicAccessEnabledStateBlockNewSharing); + } + return @(AWSEC2ImageBlockPublicAccessEnabledStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2ImageBlockPublicAccessEnabledStateBlockNewSharing: + return @"block-new-sharing"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSEC2EnableImageBlockPublicAccessResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"imageBlockPublicAccessState" : @"ImageBlockPublicAccessState", + }; +} + ++ (NSValueTransformer *)imageBlockPublicAccessStateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"block-new-sharing"] == NSOrderedSame) { + return @(AWSEC2ImageBlockPublicAccessEnabledStateBlockNewSharing); + } + return @(AWSEC2ImageBlockPublicAccessEnabledStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2ImageBlockPublicAccessEnabledStateBlockNewSharing: + return @"block-new-sharing"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSEC2EnableImageDeprecationRequest + (BOOL)supportsSecureCoding { @@ -32998,6 +34889,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 { @@ -33083,6 +35003,87 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2EnableSnapshotBlockPublicAccessRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + @"state" : @"State", + }; +} + ++ (NSValueTransformer *)stateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"block-all-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing); + } + if ([value caseInsensitiveCompare:@"block-new-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing); + } + if ([value caseInsensitiveCompare:@"unblocked"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateUnblocked); + } + return @(AWSEC2SnapshotBlockPublicAccessStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing: + return @"block-all-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing: + return @"block-new-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateUnblocked: + return @"unblocked"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSEC2EnableSnapshotBlockPublicAccessResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"state" : @"State", + }; +} + ++ (NSValueTransformer *)stateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"block-all-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing); + } + if ([value caseInsensitiveCompare:@"block-new-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing); + } + if ([value caseInsensitiveCompare:@"unblocked"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateUnblocked); + } + return @(AWSEC2SnapshotBlockPublicAccessStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing: + return @"block-all-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing: + return @"block-new-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateUnblocked: + return @"unblocked"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSEC2EnableTransitGatewayRouteTablePropagationRequest + (BOOL)supportsSecureCoding { @@ -34213,6 +36214,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]) { @@ -34250,6 +36254,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; } @@ -36298,6 +38304,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -37661,6 +39943,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -39991,6 +42457,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -41354,6 +44096,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -43432,6 +46358,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -44795,6 +47997,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -45414,6 +48800,15 @@ + (NSValueTransformer *)stateJSONTransformer { if ([value caseInsensitiveCompare:@"failed"] == NSOrderedSame) { return @(AWSEC2CapacityReservationStateFailed); } + if ([value caseInsensitiveCompare:@"scheduled"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStateScheduled); + } + if ([value caseInsensitiveCompare:@"payment-pending"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStatePaymentPending); + } + if ([value caseInsensitiveCompare:@"payment-failed"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationStatePaymentFailed); + } return @(AWSEC2CapacityReservationStateUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -45427,6 +48822,12 @@ + (NSValueTransformer *)stateJSONTransformer { return @"pending"; case AWSEC2CapacityReservationStateFailed: return @"failed"; + case AWSEC2CapacityReservationStateScheduled: + return @"scheduled"; + case AWSEC2CapacityReservationStatePaymentPending: + return @"payment-pending"; + case AWSEC2CapacityReservationStatePaymentFailed: + return @"payment-failed"; default: return nil; } @@ -45468,6 +48869,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"coipAddressUsages" : @"CoipAddressUsages", @"coipPoolId" : @"CoipPoolId", @"localGatewayRouteTableId" : @"LocalGatewayRouteTableId", + @"nextToken" : @"NextToken", }; } @@ -45818,6 +49220,34 @@ + (NSValueTransformer *)purchaseJSONTransformer { @end +@implementation AWSEC2GetImageBlockPublicAccessStateRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + }; +} + +@end + +@implementation AWSEC2GetImageBlockPublicAccessStateResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"imageBlockPublicAccessState" : @"ImageBlockPublicAccessState", + }; +} + +@end + @implementation AWSEC2GetInstanceTypesFromInstanceRequirementsRequest + (BOOL)supportsSecureCoding { @@ -46507,6 +49937,47 @@ + (NSValueTransformer *)targetConfigurationValueSetJSONTransformer { @end +@implementation AWSEC2GetSecurityGroupsForVpcRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + @"filters" : @"Filters", + @"maxResults" : @"MaxResults", + @"nextToken" : @"NextToken", + @"vpcId" : @"VpcId", + }; +} + ++ (NSValueTransformer *)filtersJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Filter class]]; +} + +@end + +@implementation AWSEC2GetSecurityGroupsForVpcResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"nextToken" : @"NextToken", + @"securityGroupForVpcs" : @"SecurityGroupForVpcs", + }; +} + ++ (NSValueTransformer *)securityGroupForVpcsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2SecurityGroupForVpc class]]; +} + +@end + @implementation AWSEC2GetSerialConsoleAccessStatusRequest + (BOOL)supportsSecureCoding { @@ -46535,6 +50006,60 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2GetSnapshotBlockPublicAccessStateRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + }; +} + +@end + +@implementation AWSEC2GetSnapshotBlockPublicAccessStateResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"state" : @"State", + }; +} + ++ (NSValueTransformer *)stateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"block-all-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing); + } + if ([value caseInsensitiveCompare:@"block-new-sharing"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing); + } + if ([value caseInsensitiveCompare:@"unblocked"] == NSOrderedSame) { + return @(AWSEC2SnapshotBlockPublicAccessStateUnblocked); + } + return @(AWSEC2SnapshotBlockPublicAccessStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2SnapshotBlockPublicAccessStateBlockAllSharing: + return @"block-all-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateBlockNewSharing: + return @"block-new-sharing"; + case AWSEC2SnapshotBlockPublicAccessStateUnblocked: + return @"unblocked"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSEC2GetSpotPlacementScoresRequest + (BOOL)supportsSecureCoding { @@ -47908,6 +51433,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"ramdiskId" : @"RamdiskId", @"rootDeviceName" : @"RootDeviceName", @"rootDeviceType" : @"RootDeviceType", + @"sourceInstanceId" : @"SourceInstanceId", @"sriovNetSupport" : @"SriovNetSupport", @"state" : @"State", @"stateReason" : @"StateReason", @@ -48111,6 +51637,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]) { @@ -48128,6 +51657,8 @@ + (NSValueTransformer *)stateJSONTransformer { return @"failed"; case AWSEC2ImageStateError: return @"error"; + case AWSEC2ImageStateDisabled: + return @"disabled"; default: return nil; } @@ -50671,6 +54202,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -52034,6 +55841,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -52637,6 +56628,9 @@ + (NSValueTransformer *)instanceLifecycleJSONTransformer { if ([value caseInsensitiveCompare:@"scheduled"] == NSOrderedSame) { return @(AWSEC2InstanceLifecycleTypeScheduled); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2InstanceLifecycleTypeCapacityBlock); + } return @(AWSEC2InstanceLifecycleTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -52644,6 +56638,8 @@ + (NSValueTransformer *)instanceLifecycleJSONTransformer { return @"spot"; case AWSEC2InstanceLifecycleTypeScheduled: return @"scheduled"; + case AWSEC2InstanceLifecycleTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -54692,6 +58688,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -56055,6 +60327,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -56185,6 +60641,39 @@ + (NSValueTransformer *)virtualizationTypeJSONTransformer { @end +@implementation AWSEC2InstanceAttachmentEnaSrdSpecification + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"enaSrdEnabled" : @"EnaSrdEnabled", + @"enaSrdUdpSpecification" : @"EnaSrdUdpSpecification", + }; +} + ++ (NSValueTransformer *)enaSrdUdpSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2InstanceAttachmentEnaSrdUdpSpecification class]]; +} + +@end + +@implementation AWSEC2InstanceAttachmentEnaSrdUdpSpecification + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"enaSrdUdpEnabled" : @"EnaSrdUdpEnabled", + }; +} + +@end + @implementation AWSEC2InstanceAttribute + (BOOL)supportsSecureCoding { @@ -57030,11 +61519,16 @@ + (NSValueTransformer *)marketTypeJSONTransformer { if ([value caseInsensitiveCompare:@"spot"] == NSOrderedSame) { return @(AWSEC2MarketTypeSpot); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2MarketTypeCapacityBlock); + } return @(AWSEC2MarketTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { case AWSEC2MarketTypeSpot: return @"spot"; + case AWSEC2MarketTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -57417,6 +61911,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"attachmentId" : @"AttachmentId", @"deleteOnTermination" : @"DeleteOnTermination", @"deviceIndex" : @"DeviceIndex", + @"enaSrdSpecification" : @"EnaSrdSpecification", @"networkCardIndex" : @"NetworkCardIndex", @"status" : @"Status", }; @@ -57430,6 +61925,10 @@ + (NSValueTransformer *)attachTimeJSONTransformer { }]; } ++ (NSValueTransformer *)enaSrdSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2InstanceAttachmentEnaSrdSpecification class]]; +} + + (NSValueTransformer *)statusJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"attaching"] == NSOrderedSame) { @@ -57476,6 +61975,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"deleteOnTermination" : @"DeleteOnTermination", @"detail" : @"Description", @"deviceIndex" : @"DeviceIndex", + @"enaSrdSpecification" : @"EnaSrdSpecification", @"groups" : @"Groups", @"interfaceType" : @"InterfaceType", @"ipv4PrefixCount" : @"Ipv4PrefixCount", @@ -57494,6 +61994,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)enaSrdSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2EnaSrdSpecificationRequest class]]; +} + + (NSValueTransformer *)ipv4PrefixesJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Ipv4PrefixSpecificationRequest class]]; } @@ -58273,6 +62777,25 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2InstanceTopology + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"availabilityZone" : @"AvailabilityZone", + @"groupName" : @"GroupName", + @"instanceId" : @"InstanceId", + @"instanceType" : @"InstanceType", + @"networkNodes" : @"NetworkNodes", + @"zoneId" : @"ZoneId", + }; +} + +@end + @implementation AWSEC2InstanceTypeInfo + (BOOL)supportsSecureCoding { @@ -60394,6 +64917,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -61757,6 +66556,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -63901,6 +68884,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -65264,6 +70523,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -65281,6 +70724,9 @@ + (NSValueTransformer *)locationTypeJSONTransformer { if ([value caseInsensitiveCompare:@"availability-zone-id"] == NSOrderedSame) { return @(AWSEC2LocationTypeAvailabilityZoneId); } + if ([value caseInsensitiveCompare:@"outpost"] == NSOrderedSame) { + return @(AWSEC2LocationTypeOutpost); + } return @(AWSEC2LocationTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -65290,6 +70736,8 @@ + (NSValueTransformer *)locationTypeJSONTransformer { return @"availability-zone"; case AWSEC2LocationTypeAvailabilityZoneId: return @"availability-zone-id"; + case AWSEC2LocationTypeOutpost: + return @"outpost"; default: return nil; } @@ -69092,6 +74540,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -70455,6 +76179,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -70917,6 +76825,39 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSEC2LaunchTemplateEnaSrdSpecification + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"enaSrdEnabled" : @"EnaSrdEnabled", + @"enaSrdUdpSpecification" : @"EnaSrdUdpSpecification", + }; +} + ++ (NSValueTransformer *)enaSrdUdpSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2LaunchTemplateEnaSrdUdpSpecification class]]; +} + +@end + +@implementation AWSEC2LaunchTemplateEnaSrdUdpSpecification + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"enaSrdUdpEnabled" : @"EnaSrdUdpEnabled", + }; +} + +@end + @implementation AWSEC2LaunchTemplateEnclaveOptions + (BOOL)supportsSecureCoding { @@ -71091,11 +77032,16 @@ + (NSValueTransformer *)marketTypeJSONTransformer { if ([value caseInsensitiveCompare:@"spot"] == NSOrderedSame) { return @(AWSEC2MarketTypeSpot); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2MarketTypeCapacityBlock); + } return @(AWSEC2MarketTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { case AWSEC2MarketTypeSpot: return @"spot"; + case AWSEC2MarketTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -71126,11 +77072,16 @@ + (NSValueTransformer *)marketTypeJSONTransformer { if ([value caseInsensitiveCompare:@"spot"] == NSOrderedSame) { return @(AWSEC2MarketTypeSpot); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2MarketTypeCapacityBlock); + } return @(AWSEC2MarketTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { case AWSEC2MarketTypeSpot: return @"spot"; + case AWSEC2MarketTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -71382,6 +77333,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"deleteOnTermination" : @"DeleteOnTermination", @"detail" : @"Description", @"deviceIndex" : @"DeviceIndex", + @"enaSrdSpecification" : @"EnaSrdSpecification", @"groups" : @"Groups", @"interfaceType" : @"InterfaceType", @"ipv4PrefixCount" : @"Ipv4PrefixCount", @@ -71400,6 +77352,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)enaSrdSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2LaunchTemplateEnaSrdSpecification class]]; +} + + (NSValueTransformer *)ipv4PrefixesJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Ipv4PrefixSpecificationResponse class]]; } @@ -71431,6 +77387,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"deleteOnTermination" : @"DeleteOnTermination", @"detail" : @"Description", @"deviceIndex" : @"DeviceIndex", + @"enaSrdSpecification" : @"EnaSrdSpecification", @"groups" : @"Groups", @"interfaceType" : @"InterfaceType", @"ipv4PrefixCount" : @"Ipv4PrefixCount", @@ -71449,6 +77406,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)enaSrdSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2EnaSrdSpecificationRequest class]]; +} + + (NSValueTransformer *)ipv4PrefixesJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Ipv4PrefixSpecificationRequest class]]; } @@ -73559,6 +79520,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -74922,6 +81159,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -76703,6 +83124,223 @@ + (NSValueTransformer *)tagsJSONTransformer { @end +@implementation AWSEC2LockSnapshotRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"coolOffPeriod" : @"CoolOffPeriod", + @"dryRun" : @"DryRun", + @"expirationDate" : @"ExpirationDate", + @"lockDuration" : @"LockDuration", + @"lockMode" : @"LockMode", + @"snapshotId" : @"SnapshotId", + }; +} + ++ (NSValueTransformer *)expirationDateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)lockModeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"compliance"] == NSOrderedSame) { + return @(AWSEC2LockModeCompliance); + } + if ([value caseInsensitiveCompare:@"governance"] == NSOrderedSame) { + return @(AWSEC2LockModeGovernance); + } + return @(AWSEC2LockModeUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2LockModeCompliance: + return @"compliance"; + case AWSEC2LockModeGovernance: + return @"governance"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSEC2LockSnapshotResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"coolOffPeriod" : @"CoolOffPeriod", + @"coolOffPeriodExpiresOn" : @"CoolOffPeriodExpiresOn", + @"lockCreatedOn" : @"LockCreatedOn", + @"lockDuration" : @"LockDuration", + @"lockDurationStartTime" : @"LockDurationStartTime", + @"lockExpiresOn" : @"LockExpiresOn", + @"lockState" : @"LockState", + @"snapshotId" : @"SnapshotId", + }; +} + ++ (NSValueTransformer *)coolOffPeriodExpiresOnJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)lockCreatedOnJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)lockDurationStartTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)lockExpiresOnJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)lockStateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"compliance"] == NSOrderedSame) { + return @(AWSEC2LockStateCompliance); + } + if ([value caseInsensitiveCompare:@"governance"] == NSOrderedSame) { + return @(AWSEC2LockStateGovernance); + } + if ([value caseInsensitiveCompare:@"compliance-cooloff"] == NSOrderedSame) { + return @(AWSEC2LockStateComplianceCooloff); + } + if ([value caseInsensitiveCompare:@"expired"] == NSOrderedSame) { + return @(AWSEC2LockStateExpired); + } + return @(AWSEC2LockStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2LockStateCompliance: + return @"compliance"; + case AWSEC2LockStateGovernance: + return @"governance"; + case AWSEC2LockStateComplianceCooloff: + return @"compliance-cooloff"; + case AWSEC2LockStateExpired: + return @"expired"; + default: + return nil; + } + }]; +} + +@end + +@implementation AWSEC2LockedSnapshotsInfo + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"coolOffPeriod" : @"CoolOffPeriod", + @"coolOffPeriodExpiresOn" : @"CoolOffPeriodExpiresOn", + @"lockCreatedOn" : @"LockCreatedOn", + @"lockDuration" : @"LockDuration", + @"lockDurationStartTime" : @"LockDurationStartTime", + @"lockExpiresOn" : @"LockExpiresOn", + @"lockState" : @"LockState", + @"ownerId" : @"OwnerId", + @"snapshotId" : @"SnapshotId", + }; +} + ++ (NSValueTransformer *)coolOffPeriodExpiresOnJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)lockCreatedOnJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)lockDurationStartTimeJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)lockExpiresOnJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^id(NSString *str) { + return [NSDate aws_dateFromString:str]; + } reverseBlock:^id(NSDate *date) { +return [date aws_stringValue:AWSDateISO8601DateFormat1]; + }]; +} + ++ (NSValueTransformer *)lockStateJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"compliance"] == NSOrderedSame) { + return @(AWSEC2LockStateCompliance); + } + if ([value caseInsensitiveCompare:@"governance"] == NSOrderedSame) { + return @(AWSEC2LockStateGovernance); + } + if ([value caseInsensitiveCompare:@"compliance-cooloff"] == NSOrderedSame) { + return @(AWSEC2LockStateComplianceCooloff); + } + if ([value caseInsensitiveCompare:@"expired"] == NSOrderedSame) { + return @(AWSEC2LockStateExpired); + } + return @(AWSEC2LockStateUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2LockStateCompliance: + return @"compliance"; + case AWSEC2LockStateGovernance: + return @"governance"; + case AWSEC2LockStateComplianceCooloff: + return @"compliance-cooloff"; + case AWSEC2LockStateExpired: + return @"expired"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSEC2MaintenanceDetails + (BOOL)supportsSecureCoding { @@ -79565,10 +86203,15 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"dryRun" : @"DryRun", @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", @"verifiedAccessEndpointId" : @"VerifiedAccessEndpointId", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessEndpointPolicyResult @@ -79581,9 +86224,14 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessEndpointRequest @@ -79644,10 +86292,15 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"dryRun" : @"DryRun", @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", @"verifiedAccessGroupId" : @"VerifiedAccessGroupId", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessGroupPolicyResult @@ -79660,9 +86313,14 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"policyDocument" : @"PolicyDocument", @"policyEnabled" : @"PolicyEnabled", + @"sseSpecification" : @"SseSpecification", }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessGroupRequest @@ -79775,6 +86433,20 @@ + (NSValueTransformer *)verifiedAccessInstanceJSONTransformer { @end +@implementation AWSEC2ModifyVerifiedAccessTrustProviderDeviceOptions + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"publicSigningKeyUrl" : @"PublicSigningKeyUrl", + }; +} + +@end + @implementation AWSEC2ModifyVerifiedAccessTrustProviderOidcOptions + (BOOL)supportsSecureCoding { @@ -79805,16 +86477,26 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"clientToken" : @"ClientToken", @"detail" : @"Description", + @"deviceOptions" : @"DeviceOptions", @"dryRun" : @"DryRun", @"oidcOptions" : @"OidcOptions", + @"sseSpecification" : @"SseSpecification", @"verifiedAccessTrustProviderId" : @"VerifiedAccessTrustProviderId", }; } ++ (NSValueTransformer *)deviceOptionsJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2ModifyVerifiedAccessTrustProviderDeviceOptions class]]; +} + + (NSValueTransformer *)oidcOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2ModifyVerifiedAccessTrustProviderOidcOptions class]]; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationRequest class]]; +} + @end @implementation AWSEC2ModifyVerifiedAccessTrustProviderResult @@ -83376,6 +90058,146 @@ + (NSValueTransformer *)paymentOptionJSONTransformer { @end +@implementation AWSEC2PurchaseCapacityBlockRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"capacityBlockOfferingId" : @"CapacityBlockOfferingId", + @"dryRun" : @"DryRun", + @"instancePlatform" : @"InstancePlatform", + @"tagSpecifications" : @"TagSpecifications", + }; +} + ++ (NSValueTransformer *)instancePlatformJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"Linux/UNIX"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformLinuxUNIX); + } + if ([value caseInsensitiveCompare:@"Red Hat Enterprise Linux"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRedHatEnterpriseLinux); + } + if ([value caseInsensitiveCompare:@"SUSE Linux"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformSUSELinux); + } + if ([value caseInsensitiveCompare:@"Windows"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformWindows); + } + if ([value caseInsensitiveCompare:@"Windows with SQL Server"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServer); + } + if ([value caseInsensitiveCompare:@"Windows with SQL Server Enterprise"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerEnterprise); + } + if ([value caseInsensitiveCompare:@"Windows with SQL Server Standard"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerStandard); + } + if ([value caseInsensitiveCompare:@"Windows with SQL Server Web"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerWeb); + } + if ([value caseInsensitiveCompare:@"Linux with SQL Server Standard"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerStandard); + } + if ([value caseInsensitiveCompare:@"Linux with SQL Server Web"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerWeb); + } + if ([value caseInsensitiveCompare:@"Linux with SQL Server Enterprise"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerEnterprise); + } + if ([value caseInsensitiveCompare:@"RHEL with SQL Server Standard"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerStandard); + } + if ([value caseInsensitiveCompare:@"RHEL with SQL Server Enterprise"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerEnterprise); + } + if ([value caseInsensitiveCompare:@"RHEL with SQL Server Web"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerWeb); + } + if ([value caseInsensitiveCompare:@"RHEL with HA"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithHA); + } + if ([value caseInsensitiveCompare:@"RHEL with HA and SQL Server Standard"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerStandard); + } + if ([value caseInsensitiveCompare:@"RHEL with HA and SQL Server Enterprise"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise); + } + if ([value caseInsensitiveCompare:@"Ubuntu Pro"] == NSOrderedSame) { + return @(AWSEC2CapacityReservationInstancePlatformUbuntuPro); + } + return @(AWSEC2CapacityReservationInstancePlatformUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSEC2CapacityReservationInstancePlatformLinuxUNIX: + return @"Linux/UNIX"; + case AWSEC2CapacityReservationInstancePlatformRedHatEnterpriseLinux: + return @"Red Hat Enterprise Linux"; + case AWSEC2CapacityReservationInstancePlatformSUSELinux: + return @"SUSE Linux"; + case AWSEC2CapacityReservationInstancePlatformWindows: + return @"Windows"; + case AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServer: + return @"Windows with SQL Server"; + case AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerEnterprise: + return @"Windows with SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerStandard: + return @"Windows with SQL Server Standard"; + case AWSEC2CapacityReservationInstancePlatformWindowsWithSQLServerWeb: + return @"Windows with SQL Server Web"; + case AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerStandard: + return @"Linux with SQL Server Standard"; + case AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerWeb: + return @"Linux with SQL Server Web"; + case AWSEC2CapacityReservationInstancePlatformLinuxWithSQLServerEnterprise: + return @"Linux with SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerStandard: + return @"RHEL with SQL Server Standard"; + case AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerEnterprise: + return @"RHEL with SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformRHELWithSQLServerWeb: + return @"RHEL with SQL Server Web"; + case AWSEC2CapacityReservationInstancePlatformRHELWithHA: + return @"RHEL with HA"; + case AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerStandard: + return @"RHEL with HA and SQL Server Standard"; + case AWSEC2CapacityReservationInstancePlatformRHELWithHAAndSQLServerEnterprise: + return @"RHEL with HA and SQL Server Enterprise"; + case AWSEC2CapacityReservationInstancePlatformUbuntuPro: + return @"Ubuntu Pro"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)tagSpecificationsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2TagSpecification class]]; +} + +@end + +@implementation AWSEC2PurchaseCapacityBlockResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"capacityReservation" : @"CapacityReservation", + }; +} + ++ (NSValueTransformer *)capacityReservationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2CapacityReservation class]]; +} + +@end + @implementation AWSEC2PurchaseHostReservationRequest + (BOOL)supportsSecureCoding { @@ -86721,6 +93543,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -88084,6 +95182,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -90349,6 +97631,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -91712,6 +99270,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -91829,6 +99571,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]) { @@ -91866,6 +99611,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; } @@ -93914,6 +101661,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -95277,6 +103300,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -97472,6 +105679,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -98835,6 +107318,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -101072,6 +109739,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -102435,6 +111378,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -104743,6 +113870,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -106106,6 +115509,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -108787,6 +118374,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -110150,6 +120013,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -112994,6 +123041,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -114357,6 +124680,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -114968,6 +125475,29 @@ + (NSValueTransformer *)tagsJSONTransformer { @end +@implementation AWSEC2SecurityGroupForVpc + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"detail" : @"Description", + @"groupId" : @"GroupId", + @"groupName" : @"GroupName", + @"ownerId" : @"OwnerId", + @"primaryVpcId" : @"PrimaryVpcId", + @"tags" : @"Tags", + }; +} + ++ (NSValueTransformer *)tagsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Tag class]]; +} + +@end + @implementation AWSEC2SecurityGroupIdentifier + (BOOL)supportsSecureCoding { @@ -118051,6 +128581,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -119414,6 +130220,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -122870,6 +133860,282 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { if ([value caseInsensitiveCompare:@"m7i-flex.8xlarge"] == NSOrderedSame) { return @(AWSEC2InstanceTypeM7I_flex_8xlarge); } + if ([value caseInsensitiveCompare:@"m7a.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_medium); + } + if ([value caseInsensitiveCompare:@"m7a.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_large); + } + if ([value caseInsensitiveCompare:@"m7a.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_24xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.32xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_32xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_48xlarge); + } + if ([value caseInsensitiveCompare:@"m7a.metal-48xl"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7A_metal_48xl); + } + if ([value caseInsensitiveCompare:@"hpc7a.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_12xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_24xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.48xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_48xlarge); + } + if ([value caseInsensitiveCompare:@"hpc7a.96xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeHPC7a_96xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_medium); + } + if ([value caseInsensitiveCompare:@"c7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_large); + } + if ([value caseInsensitiveCompare:@"c7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"c7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeC7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_medium); + } + if ([value caseInsensitiveCompare:@"m7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_large); + } + if ([value caseInsensitiveCompare:@"m7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_12xlarge); + } + if ([value caseInsensitiveCompare:@"m7gd.16xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeM7Gd_16xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.medium"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_medium); + } + if ([value caseInsensitiveCompare:@"r7gd.large"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_large); + } + if ([value caseInsensitiveCompare:@"r7gd.xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.2xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_2xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.4xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_4xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.8xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_8xlarge); + } + if ([value caseInsensitiveCompare:@"r7gd.12xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeR7Gd_12xlarge); + } + 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); + } + if ([value caseInsensitiveCompare:@"dl2q.24xlarge"] == NSOrderedSame) { + return @(AWSEC2InstanceTypeDL2q_24xlarge); + } return @(AWSEC2InstanceTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -124233,6 +135499,190 @@ + (NSValueTransformer *)instanceTypeJSONTransformer { return @"m7i-flex.4xlarge"; case AWSEC2InstanceTypeM7I_flex_8xlarge: return @"m7i-flex.8xlarge"; + case AWSEC2InstanceTypeM7A_medium: + return @"m7a.medium"; + case AWSEC2InstanceTypeM7A_large: + return @"m7a.large"; + case AWSEC2InstanceTypeM7A_xlarge: + return @"m7a.xlarge"; + case AWSEC2InstanceTypeM7A_2xlarge: + return @"m7a.2xlarge"; + case AWSEC2InstanceTypeM7A_4xlarge: + return @"m7a.4xlarge"; + case AWSEC2InstanceTypeM7A_8xlarge: + return @"m7a.8xlarge"; + case AWSEC2InstanceTypeM7A_12xlarge: + return @"m7a.12xlarge"; + case AWSEC2InstanceTypeM7A_16xlarge: + return @"m7a.16xlarge"; + case AWSEC2InstanceTypeM7A_24xlarge: + return @"m7a.24xlarge"; + case AWSEC2InstanceTypeM7A_32xlarge: + return @"m7a.32xlarge"; + case AWSEC2InstanceTypeM7A_48xlarge: + return @"m7a.48xlarge"; + case AWSEC2InstanceTypeM7A_metal_48xl: + return @"m7a.metal-48xl"; + case AWSEC2InstanceTypeHPC7a_12xlarge: + return @"hpc7a.12xlarge"; + case AWSEC2InstanceTypeHPC7a_24xlarge: + return @"hpc7a.24xlarge"; + case AWSEC2InstanceTypeHPC7a_48xlarge: + return @"hpc7a.48xlarge"; + case AWSEC2InstanceTypeHPC7a_96xlarge: + return @"hpc7a.96xlarge"; + case AWSEC2InstanceTypeC7Gd_medium: + return @"c7gd.medium"; + case AWSEC2InstanceTypeC7Gd_large: + return @"c7gd.large"; + case AWSEC2InstanceTypeC7Gd_xlarge: + return @"c7gd.xlarge"; + case AWSEC2InstanceTypeC7Gd_2xlarge: + return @"c7gd.2xlarge"; + case AWSEC2InstanceTypeC7Gd_4xlarge: + return @"c7gd.4xlarge"; + case AWSEC2InstanceTypeC7Gd_8xlarge: + return @"c7gd.8xlarge"; + case AWSEC2InstanceTypeC7Gd_12xlarge: + return @"c7gd.12xlarge"; + case AWSEC2InstanceTypeC7Gd_16xlarge: + return @"c7gd.16xlarge"; + case AWSEC2InstanceTypeM7Gd_medium: + return @"m7gd.medium"; + case AWSEC2InstanceTypeM7Gd_large: + return @"m7gd.large"; + case AWSEC2InstanceTypeM7Gd_xlarge: + return @"m7gd.xlarge"; + case AWSEC2InstanceTypeM7Gd_2xlarge: + return @"m7gd.2xlarge"; + case AWSEC2InstanceTypeM7Gd_4xlarge: + return @"m7gd.4xlarge"; + case AWSEC2InstanceTypeM7Gd_8xlarge: + return @"m7gd.8xlarge"; + case AWSEC2InstanceTypeM7Gd_12xlarge: + return @"m7gd.12xlarge"; + case AWSEC2InstanceTypeM7Gd_16xlarge: + return @"m7gd.16xlarge"; + case AWSEC2InstanceTypeR7Gd_medium: + return @"r7gd.medium"; + case AWSEC2InstanceTypeR7Gd_large: + return @"r7gd.large"; + case AWSEC2InstanceTypeR7Gd_xlarge: + return @"r7gd.xlarge"; + case AWSEC2InstanceTypeR7Gd_2xlarge: + return @"r7gd.2xlarge"; + case AWSEC2InstanceTypeR7Gd_4xlarge: + return @"r7gd.4xlarge"; + case AWSEC2InstanceTypeR7Gd_8xlarge: + return @"r7gd.8xlarge"; + case AWSEC2InstanceTypeR7Gd_12xlarge: + 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"; + case AWSEC2InstanceTypeDL2q_24xlarge: + return @"dl2q.24xlarge"; default: return nil; } @@ -125925,6 +137375,9 @@ + (NSValueTransformer *)defaultTargetCapacityTypeJSONTransformer { if ([value caseInsensitiveCompare:@"on-demand"] == NSOrderedSame) { return @(AWSEC2DefaultTargetCapacityTypeOnDemand); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2DefaultTargetCapacityTypeCapacityBlock); + } return @(AWSEC2DefaultTargetCapacityTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -125932,6 +137385,8 @@ + (NSValueTransformer *)defaultTargetCapacityTypeJSONTransformer { return @"spot"; case AWSEC2DefaultTargetCapacityTypeOnDemand: return @"on-demand"; + case AWSEC2DefaultTargetCapacityTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -125990,6 +137445,9 @@ + (NSValueTransformer *)defaultTargetCapacityTypeJSONTransformer { if ([value caseInsensitiveCompare:@"on-demand"] == NSOrderedSame) { return @(AWSEC2DefaultTargetCapacityTypeOnDemand); } + if ([value caseInsensitiveCompare:@"capacity-block"] == NSOrderedSame) { + return @(AWSEC2DefaultTargetCapacityTypeCapacityBlock); + } return @(AWSEC2DefaultTargetCapacityTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -125997,6 +137455,8 @@ + (NSValueTransformer *)defaultTargetCapacityTypeJSONTransformer { return @"spot"; case AWSEC2DefaultTargetCapacityTypeOnDemand: return @"on-demand"; + case AWSEC2DefaultTargetCapacityTypeCapacityBlock: + return @"capacity-block"; default: return nil; } @@ -129420,6 +140880,35 @@ + (NSValueTransformer *)natGatewayAddressesJSONTransformer { @end +@implementation AWSEC2UnlockSnapshotRequest + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"dryRun" : @"DryRun", + @"snapshotId" : @"SnapshotId", + }; +} + +@end + +@implementation AWSEC2UnlockSnapshotResult + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"snapshotId" : @"SnapshotId", + }; +} + +@end + @implementation AWSEC2UnmonitorInstancesRequest + (BOOL)supportsSecureCoding { @@ -129798,6 +141287,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"loadBalancerOptions" : @"LoadBalancerOptions", @"networkInterfaceOptions" : @"NetworkInterfaceOptions", @"securityGroupIds" : @"SecurityGroupIds", + @"sseSpecification" : @"SseSpecification", @"status" : @"Status", @"tags" : @"Tags", @"verifiedAccessEndpointId" : @"VerifiedAccessEndpointId", @@ -129851,6 +141341,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]]; } @@ -130000,6 +141494,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"detail" : @"Description", @"lastUpdatedTime" : @"LastUpdatedTime", @"owner" : @"Owner", + @"sseSpecification" : @"SseSpecification", @"tags" : @"Tags", @"verifiedAccessGroupArn" : @"VerifiedAccessGroupArn", @"verifiedAccessGroupId" : @"VerifiedAccessGroupId", @@ -130007,6 +141502,10 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { }; } ++ (NSValueTransformer *)sseSpecificationJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSEC2VerifiedAccessSseSpecificationResponse class]]; +} + + (NSValueTransformer *)tagsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSEC2Tag class]]; } @@ -130023,6 +141522,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"creationTime" : @"CreationTime", @"detail" : @"Description", + @"fipsEnabled" : @"FipsEnabled", @"lastUpdatedTime" : @"LastUpdatedTime", @"tags" : @"Tags", @"verifiedAccessInstanceId" : @"VerifiedAccessInstanceId", @@ -130264,6 +141764,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 { @@ -130279,6 +141809,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"lastUpdatedTime" : @"LastUpdatedTime", @"oidcOptions" : @"OidcOptions", @"policyReferenceName" : @"PolicyReferenceName", + @"sseSpecification" : @"SseSpecification", @"tags" : @"Tags", @"trustProviderType" : @"TrustProviderType", @"userTrustProviderType" : @"UserTrustProviderType", @@ -130298,6 +141829,9 @@ + (NSValueTransformer *)deviceTrustProviderTypeJSONTransformer { if ([value caseInsensitiveCompare:@"crowdstrike"] == NSOrderedSame) { return @(AWSEC2DeviceTrustProviderTypeCrowdstrike); } + if ([value caseInsensitiveCompare:@"jumpcloud"] == NSOrderedSame) { + return @(AWSEC2DeviceTrustProviderTypeJumpcloud); + } return @(AWSEC2DeviceTrustProviderTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -130305,6 +141839,8 @@ + (NSValueTransformer *)deviceTrustProviderTypeJSONTransformer { return @"jamf"; case AWSEC2DeviceTrustProviderTypeCrowdstrike: return @"crowdstrike"; + case AWSEC2DeviceTrustProviderTypeJumpcloud: + return @"jumpcloud"; default: return nil; } @@ -130315,6 +141851,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]]; } @@ -130387,6 +141927,9 @@ + (NSValueTransformer *)deviceTrustProviderTypeJSONTransformer { if ([value caseInsensitiveCompare:@"crowdstrike"] == NSOrderedSame) { return @(AWSEC2DeviceTrustProviderTypeCrowdstrike); } + if ([value caseInsensitiveCompare:@"jumpcloud"] == NSOrderedSame) { + return @(AWSEC2DeviceTrustProviderTypeJumpcloud); + } return @(AWSEC2DeviceTrustProviderTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -130394,6 +141937,8 @@ + (NSValueTransformer *)deviceTrustProviderTypeJSONTransformer { return @"jamf"; case AWSEC2DeviceTrustProviderTypeCrowdstrike: return @"crowdstrike"; + case AWSEC2DeviceTrustProviderTypeJumpcloud: + return @"jumpcloud"; default: return nil; } diff --git a/AWSEC2/AWSEC2Resources.m b/AWSEC2/AWSEC2Resources.m index 68c845d6dba..5b68f66da7c 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 key pair, by removing the public key from Amazon EC2.
\"\ },\ \"DeleteLaunchTemplate\":{\ @@ -2074,7 +2075,7 @@ - (NSString *)definitionString { \"requestUri\":\"/\"\ },\ \"input\":{\"shape\":\"DeleteVpcRequest\"},\ - \"documentation\":\"Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.
\"\ + \"documentation\":\"Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on. When you delete the VPC, it deletes the VPC's default security group, network ACL, and route table.
\"\ },\ \"DeleteVpcEndpointConnectionNotifications\":{\ \"name\":\"DeleteVpcEndpointConnectionNotifications\",\ @@ -2114,7 +2115,7 @@ - (NSString *)definitionString { },\ \"input\":{\"shape\":\"DeleteVpcPeeringConnectionRequest\"},\ \"output\":{\"shape\":\"DeleteVpcPeeringConnectionResult\"},\ - \"documentation\":\"Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the accepter VPC can delete the VPC peering connection if it's in the active
state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance
state. You cannot delete a VPC peering connection that's in the failed
state.
Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the accepter VPC can delete the VPC peering connection if it's in the active
state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance
state. You cannot delete a VPC peering connection that's in the failed
or rejected
state.
Describes the IP address ranges that were specified in calls to ProvisionByoipCidr.
To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.
\"\ },\ + \"DescribeCapacityBlockOfferings\":{\ + \"name\":\"DescribeCapacityBlockOfferings\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"DescribeCapacityBlockOfferingsRequest\"},\ + \"output\":{\"shape\":\"DescribeCapacityBlockOfferingsResult\"},\ + \"documentation\":\"Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.
\"\ + },\ \"DescribeCapacityReservationFleets\":{\ \"name\":\"DescribeCapacityReservationFleets\",\ \"http\":{\ @@ -2480,7 +2491,7 @@ - (NSString *)definitionString { },\ \"input\":{\"shape\":\"DescribeFastLaunchImagesRequest\"},\ \"output\":{\"shape\":\"DescribeFastLaunchImagesResult\"},\ - \"documentation\":\"Describe details for Windows AMIs that are configured for faster launching.
\"\ + \"documentation\":\"Describe details for Windows AMIs that are configured for Windows fast launch.
\"\ },\ \"DescribeFastSnapshotRestores\":{\ \"name\":\"DescribeFastSnapshotRestores\",\ @@ -2712,6 +2723,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"DescribeInstanceStatusResult\"},\ \"documentation\":\"Describes the status of the specified instances or all of your instances. By default, only running instances are described, unless you specifically indicate to return the status of all instances.
Instance status includes the following components:
Status checks - Amazon EC2 performs status checks on running EC2 instances to identify hardware and software issues. For more information, see Status checks for your instances and Troubleshoot instances with failed status checks in the Amazon EC2 User Guide.
Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, or terminate) for your instances related to hardware issues, software updates, or system maintenance. For more information, see Scheduled events for your instances in the Amazon EC2 User Guide.
Instance state - You can manage your instances from the moment you launch them through their termination. For more information, see Instance lifecycle in the Amazon EC2 User Guide.
Describes a tree-based hierarchy that represents the physical host placement of your EC2 instances within an Availability Zone or Local Zone. You can use this information to determine the relative proximity of your EC2 instances within the Amazon Web Services network to support your tightly coupled workloads.
Limitations
Supported zones
Availability Zone
Local Zone
Supported instance types
hpc6a.48xlarge
| hpc6id.32xlarge
| hpc7a.12xlarge
| hpc7a.24xlarge
| hpc7a.48xlarge
| hpc7a.96xlarge
| hpc7g.4xlarge
| hpc7g.8xlarge
| hpc7g.16xlarge
p3dn.24xlarge
| p4d.24xlarge
| p4de.24xlarge
| p5.48xlarge
trn1.2xlarge
| trn1.32xlarge
| trn1n.32xlarge
For more information, see Amazon EC2 instance topology in the Amazon EC2 User Guide.
\"\ + },\ \"DescribeInstanceTypeOfferings\":{\ \"name\":\"DescribeInstanceTypeOfferings\",\ \"http\":{\ @@ -2902,6 +2923,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"DescribeLocalGatewaysResult\"},\ \"documentation\":\"Describes one or more local gateways. By default, all local gateways are described. Alternatively, you can filter the results.
\"\ },\ + \"DescribeLockedSnapshots\":{\ + \"name\":\"DescribeLockedSnapshots\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"DescribeLockedSnapshotsRequest\"},\ + \"output\":{\"shape\":\"DescribeLockedSnapshotsResult\"},\ + \"documentation\":\"Describes the lock status for a snapshot.
\"\ + },\ \"DescribeManagedPrefixLists\":{\ \"name\":\"DescribeManagedPrefixLists\",\ \"http\":{\ @@ -3010,7 +3041,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
.
Discontinue faster launching for a Windows AMI, and clean up existing pre-provisioned snapshots. When you disable faster launching, the AMI uses the standard launch process for each instance. All pre-provisioned snapshots must be removed before you can enable faster launching again.
To change these settings, you must own the AMI.
Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned snapshots. After you disable Windows fast launch, the AMI uses the standard launch process for each new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable Windows fast launch again.
You can only change these settings for Windows AMIs that you own or that have been shared with you.
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 an AMI was public or 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\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"DisableImageBlockPublicAccessRequest\"},\ + \"output\":{\"shape\":\"DisableImageBlockPublicAccessResult\"},\ + \"documentation\":\"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.
\"\ + },\ \"DisableImageDeprecation\":{\ \"name\":\"DisableImageDeprecation\",\ \"http\":{\ @@ -3799,6 +3850,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"DisableSerialConsoleAccessResult\"},\ \"documentation\":\"Disables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
\"\ },\ + \"DisableSnapshotBlockPublicAccess\":{\ + \"name\":\"DisableSnapshotBlockPublicAccess\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"DisableSnapshotBlockPublicAccessRequest\"},\ + \"output\":{\"shape\":\"DisableSnapshotBlockPublicAccessResult\"},\ + \"documentation\":\"Disables the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you disable block public access for snapshots in a Region, users can publicly share snapshots in that Region.
If block public access is enabled in block-all-sharing
mode, and you disable block public access, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.
For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide .
\"\ + },\ \"DisableTransitGatewayRouteTablePropagation\":{\ \"name\":\"DisableTransitGatewayRouteTablePropagation\",\ \"http\":{\ @@ -4014,7 +4075,7 @@ - (NSString *)definitionString { },\ \"input\":{\"shape\":\"EnableFastLaunchRequest\"},\ \"output\":{\"shape\":\"EnableFastLaunchResult\"},\ - \"documentation\":\"When you enable faster launching for a Windows AMI, images are pre-provisioned, using snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a set of reserved snapshots that are used for subsequent launches. The reserved snapshots are automatically replenished as they are used, depending on your settings for launch frequency.
To change these settings, you must own the AMI.
When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, using snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a set of reserved snapshots that are used for subsequent launches. The reserved snapshots are automatically replenished as they are used, depending on your settings for launch frequency.
You can only change these settings for Windows AMIs that you own or that have been shared with you.
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\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"EnableImageBlockPublicAccessRequest\"},\ + \"output\":{\"shape\":\"EnableImageBlockPublicAccessResult\"},\ + \"documentation\":\"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.
\"\ + },\ \"EnableImageDeprecation\":{\ \"name\":\"EnableImageDeprecation\",\ \"http\":{\ @@ -4066,6 +4147,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"EnableSerialConsoleAccessResult\"},\ \"documentation\":\"Enables access to the EC2 serial console of all instances for your account. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
\"\ },\ + \"EnableSnapshotBlockPublicAccess\":{\ + \"name\":\"EnableSnapshotBlockPublicAccess\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"EnableSnapshotBlockPublicAccessRequest\"},\ + \"output\":{\"shape\":\"EnableSnapshotBlockPublicAccessResult\"},\ + \"documentation\":\"Enables or modifies the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you enable block public access for snapshots in a Region, users can no longer request public sharing for snapshots in that Region. Snapshots that are already publicly shared are either treated as private or they remain publicly shared, depending on the State that you specify.
If block public access is enabled in block-all-sharing
mode, and you change the mode to block-new-sharing
, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.
For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.
\"\ + },\ \"EnableTransitGatewayRouteTablePropagation\":{\ \"name\":\"EnableTransitGatewayRouteTablePropagation\",\ \"http\":{\ @@ -4284,6 +4375,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"GetHostReservationPurchasePreviewResult\"},\ \"documentation\":\"Preview a reservation purchase with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation.
This is a preview of the PurchaseHostReservation action and does not result in the offering being purchased.
\"\ },\ + \"GetImageBlockPublicAccessState\":{\ + \"name\":\"GetImageBlockPublicAccessState\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"GetImageBlockPublicAccessStateRequest\"},\ + \"output\":{\"shape\":\"GetImageBlockPublicAccessStateResult\"},\ + \"documentation\":\"Gets the current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.
For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
\"\ + },\ \"GetInstanceTypesFromInstanceRequirements\":{\ \"name\":\"GetInstanceTypesFromInstanceRequirements\",\ \"http\":{\ @@ -4434,6 +4535,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"GetReservedInstancesExchangeQuoteResult\"},\ \"documentation\":\"Returns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance. If the exchange cannot be performed, the reason is returned in the response. Use AcceptReservedInstancesExchangeQuote to perform the exchange.
\"\ },\ + \"GetSecurityGroupsForVpc\":{\ + \"name\":\"GetSecurityGroupsForVpc\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"GetSecurityGroupsForVpcRequest\"},\ + \"output\":{\"shape\":\"GetSecurityGroupsForVpcResult\"},\ + \"documentation\":\"Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.
\"\ + },\ \"GetSerialConsoleAccessStatus\":{\ \"name\":\"GetSerialConsoleAccessStatus\",\ \"http\":{\ @@ -4444,6 +4555,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"GetSerialConsoleAccessStatusResult\"},\ \"documentation\":\"Retrieves the access status of your account to the EC2 serial console of all instances. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
\"\ },\ + \"GetSnapshotBlockPublicAccessState\":{\ + \"name\":\"GetSnapshotBlockPublicAccessState\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"GetSnapshotBlockPublicAccessStateRequest\"},\ + \"output\":{\"shape\":\"GetSnapshotBlockPublicAccessStateResult\"},\ + \"documentation\":\"Gets the current state of block public access for snapshots setting for the account and Region.
For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.
\"\ + },\ \"GetSpotPlacementScores\":{\ \"name\":\"GetSpotPlacementScores\",\ \"http\":{\ @@ -4664,6 +4785,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"ListSnapshotsInRecycleBinResult\"},\ \"documentation\":\"Lists one or more snapshots that are currently in the Recycle Bin.
\"\ },\ + \"LockSnapshot\":{\ + \"name\":\"LockSnapshot\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"LockSnapshotRequest\"},\ + \"output\":{\"shape\":\"LockSnapshotResult\"},\ + \"documentation\":\"Locks an Amazon EBS snapshot in either governance or compliance mode to protect it against accidental or malicious deletions for a specific duration. A locked snapshot can't be deleted.
You can also use this action to modify the lock settings for a snapshot that is already locked. The allowed modifications depend on the lock mode and lock state:
If the snapshot is locked in governance mode, you can modify the lock mode and the lock duration or lock expiration date.
If the snapshot is locked in compliance mode and it is in the cooling-off period, you can modify the lock mode and the lock duration or lock expiration date.
If the snapshot is locked in compliance mode and the cooling-off period has lapsed, you can only increase the lock duration or extend the lock expiration date.
Provision a CIDR to a public IPv4 pool.
For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
\"\ },\ + \"PurchaseCapacityBlock\":{\ + \"name\":\"PurchaseCapacityBlock\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"PurchaseCapacityBlockRequest\"},\ + \"output\":{\"shape\":\"PurchaseCapacityBlockResult\"},\ + \"documentation\":\"Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.
\"\ + },\ \"PurchaseHostReservation\":{\ \"name\":\"PurchaseHostReservation\",\ \"http\":{\ @@ -5754,7 +5895,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\",\ @@ -5914,6 +6055,16 @@ - (NSString *)definitionString { \"output\":{\"shape\":\"UnassignPrivateNatGatewayAddressResult\"},\ \"documentation\":\"Unassigns secondary private IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information, see Edit secondary IP address associations in the Amazon VPC User Guide.
While unassigning is in progress, you cannot assign/unassign additional IP addresses while the connections are being drained. You are, however, allowed to delete the NAT gateway.
A private IP address will only be released at the end of MaxDrainDurationSeconds. The private IP addresses stay associated and support the existing connections, but do not support any new connections (new connections are distributed across the remaining assigned private IP address). After the existing connections drain out, the private IP addresses are released.
\"\ },\ + \"UnlockSnapshot\":{\ + \"name\":\"UnlockSnapshot\",\ + \"http\":{\ + \"method\":\"POST\",\ + \"requestUri\":\"/\"\ + },\ + \"input\":{\"shape\":\"UnlockSnapshotRequest\"},\ + \"output\":{\"shape\":\"UnlockSnapshotResult\"},\ + \"documentation\":\"Unlocks a snapshot that is locked in governance mode or that is locked in compliance mode but still in the cooling-off period. You can't unlock a snapshot that is locked in compliance mode after the cooling-off period has expired.
\"\ + },\ \"UnmonitorInstances\":{\ \"name\":\"UnmonitorInstances\",\ \"http\":{\ @@ -5989,9 +6140,9 @@ - (NSString *)definitionString { \"AcceleratorManufacturer\":{\ \"type\":\"string\",\ \"enum\":[\ - \"nvidia\",\ - \"amd\",\ \"amazon-web-services\",\ + \"amd\",\ + \"nvidia\",\ \"xilinx\"\ ]\ },\ @@ -6006,14 +6157,14 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"a100\",\ - \"v100\",\ + \"inferentia\",\ + \"k520\",\ \"k80\",\ - \"t4\",\ \"m60\",\ \"radeon-pro-v520\",\ + \"t4\",\ \"vu9p\",\ - \"inferentia\",\ - \"k520\"\ + \"v100\"\ ]\ },\ \"AcceleratorNameSet\":{\ @@ -6804,7 +6955,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\",\ @@ -8485,12 +8636,12 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessTrustProvider\":{\ \"shape\":\"VerifiedAccessTrustProvider\",\ - \"documentation\":\"The ID of the Verified Access trust provider.
\",\ + \"documentation\":\"Details about the Verified Access trust provider.
\",\ \"locationName\":\"verifiedAccessTrustProvider\"\ },\ \"VerifiedAccessInstance\":{\ \"shape\":\"VerifiedAccessInstance\",\ - \"documentation\":\"The ID of the Verified Access instance.
\",\ + \"documentation\":\"Details about the Verified Access instance.
\",\ \"locationName\":\"verifiedAccessInstance\"\ }\ }\ @@ -8561,16 +8712,16 @@ - (NSString *)definitionString { \"members\":{\ \"EnaSrdEnabled\":{\ \"shape\":\"Boolean\",\ - \"documentation\":\"Indicates whether ENA Express is enabled for the network interface that's attached to the instance.
\",\ + \"documentation\":\"Indicates whether ENA Express is enabled for the network interface.
\",\ \"locationName\":\"enaSrdEnabled\"\ },\ \"EnaSrdUdpSpecification\":{\ \"shape\":\"AttachmentEnaSrdUdpSpecification\",\ - \"documentation\":\"ENA Express configuration for UDP network traffic.
\",\ + \"documentation\":\"Configures ENA Express for UDP network traffic.
\",\ \"locationName\":\"enaSrdUdpSpecification\"\ }\ },\ - \"documentation\":\"Describes the ENA Express configuration for the network interface that's attached to the instance.
\"\ + \"documentation\":\"ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.
To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it.
\"\ },\ \"AttachmentEnaSrdUdpSpecification\":{\ \"type\":\"structure\",\ @@ -8581,7 +8732,7 @@ - (NSString *)definitionString { \"locationName\":\"enaSrdUdpEnabled\"\ }\ },\ - \"documentation\":\"Describes the ENA Express configuration for UDP traffic on the network interface that's attached to the instance.
\"\ + \"documentation\":\"ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.
\"\ },\ \"AttachmentStatus\":{\ \"type\":\"string\",\ @@ -9455,7 +9606,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 ID of the Capacity Block offering.
\",\ + \"locationName\":\"capacityBlockOfferingId\"\ + },\ + \"InstanceType\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The instance type of the Capacity Block offering.
\",\ + \"locationName\":\"instanceType\"\ + },\ + \"AvailabilityZone\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The Availability Zone of the Capacity Block offering.
\",\ + \"locationName\":\"availabilityZone\"\ + },\ + \"InstanceCount\":{\ + \"shape\":\"Integer\",\ + \"documentation\":\"The number of instances in the Capacity Block offering.
\",\ + \"locationName\":\"instanceCount\"\ + },\ + \"StartDate\":{\ + \"shape\":\"MillisecondDateTime\",\ + \"documentation\":\"The start date of the Capacity Block offering.
\",\ + \"locationName\":\"startDate\"\ + },\ + \"EndDate\":{\ + \"shape\":\"MillisecondDateTime\",\ + \"documentation\":\"The end date of the Capacity Block offering.
\",\ + \"locationName\":\"endDate\"\ + },\ + \"CapacityBlockDurationHours\":{\ + \"shape\":\"Integer\",\ + \"documentation\":\"The amount of time of the Capacity Block reservation in hours.
\",\ + \"locationName\":\"capacityBlockDurationHours\"\ + },\ + \"UpfrontFee\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The total price to be paid up front.
\",\ + \"locationName\":\"upfrontFee\"\ + },\ + \"CurrencyCode\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The currency of the payment for the Capacity Block.
\",\ + \"locationName\":\"currencyCode\"\ + },\ + \"Tenancy\":{\ + \"shape\":\"CapacityReservationTenancy\",\ + \"documentation\":\"The tenancy of the Capacity Block.
\",\ + \"locationName\":\"tenancy\"\ + }\ + },\ + \"documentation\":\"The recommended Capacity Block that fits your search requirements.
\"\ + },\ + \"CapacityBlockOfferingSet\":{\ + \"type\":\"list\",\ + \"member\":{\ + \"shape\":\"CapacityBlockOffering\",\ + \"locationName\":\"item\"\ + }\ + },\ \"CapacityReservation\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -9853,6 +10067,11 @@ - (NSString *)definitionString { \"shape\":\"CapacityAllocations\",\ \"documentation\":\"Information about instance capacity usage.
\",\ \"locationName\":\"capacityAllocationSet\"\ + },\ + \"ReservationType\":{\ + \"shape\":\"CapacityReservationType\",\ + \"documentation\":\"The type of Capacity Reservation.
\",\ + \"locationName\":\"reservationType\"\ }\ },\ \"documentation\":\"Describes a Capacity Reservation.
\"\ @@ -10030,7 +10249,8 @@ - (NSString *)definitionString { \"RHEL with SQL Server Web\",\ \"RHEL with HA\",\ \"RHEL with HA and SQL Server Standard\",\ - \"RHEL with HA and SQL Server Enterprise\"\ + \"RHEL with HA and SQL Server Enterprise\",\ + \"Ubuntu Pro\"\ ]\ },\ \"CapacityReservationOptions\":{\ @@ -10105,7 +10325,10 @@ - (NSString *)definitionString { \"expired\",\ \"cancelled\",\ \"pending\",\ - \"failed\"\ + \"failed\",\ + \"scheduled\",\ + \"payment-pending\",\ + \"payment-failed\"\ ]\ },\ \"CapacityReservationTarget\":{\ @@ -10145,6 +10368,13 @@ - (NSString *)definitionString { \"dedicated\"\ ]\ },\ + \"CapacityReservationType\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"default\",\ + \"capacity-block\"\ + ]\ + },\ \"CarrierGateway\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -10462,7 +10692,6 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"sensitive\":true\ },\ - \"ClientVpnAssociationId\":{\"type\":\"string\"},\ \"ClientVpnAuthentication\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -11284,6 +11513,12 @@ - (NSString *)definitionString { \"completed\"\ ]\ },\ + \"CoolOffPeriodRequestHours\":{\ + \"type\":\"integer\",\ + \"max\":72,\ + \"min\":1\ + },\ + \"CoolOffPeriodResponseHours\":{\"type\":\"integer\"},\ \"CopyFpgaImageRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -12028,7 +12263,7 @@ - (NSString *)definitionString { \"required\":[\"AvailabilityZone\"],\ \"members\":{\ \"AvailabilityZone\":{\ - \"shape\":\"String\",\ + \"shape\":\"AvailabilityZoneName\",\ \"documentation\":\"The Availability Zone in which to create the default subnet.
\"\ },\ \"DryRun\":{\ @@ -12267,7 +12502,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.
The block device mappings. This parameter cannot be used to modify the encryption status of existing volumes or snapshots. To create an AMI with encrypted snapshots, use the CopyImage action.
\",\ + \"documentation\":\"The block device mappings.
When using the CreateImage action:
You can't change the volume size using the VolumeSize parameter. If you want a different volume size, you must first change the volume size of the source instance.
You can't modify the encryption status of existing volumes or snapshots. To create an AMI with volumes or snapshots that have a different encryption status (for example, where the source volume and snapshots are unencrypted, and you want to create an AMI with encrypted volumes or snapshots), use the CopyImage action.
The only option that can be changed for existing mappings or snapshots is DeleteOnTermination
.
The IDs of the security groups to associate with the Verified Access endpoint.
\",\ + \"documentation\":\"The IDs of the security groups to associate with the Verified Access endpoint. Required if AttachmentType
is set to vpc
.
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 options for server side encryption.
\"\ }\ }\ },\ @@ -15027,7 +15266,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessEndpoint\":{\ \"shape\":\"VerifiedAccessEndpoint\",\ - \"documentation\":\"The ID of the Verified Access endpoint.
\",\ + \"documentation\":\"Details about the Verified Access endpoint.
\",\ \"locationName\":\"verifiedAccessEndpoint\"\ }\ }\ @@ -15068,6 +15307,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
.
The options for server side encryption.
\"\ }\ }\ },\ @@ -15076,7 +15319,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessGroup\":{\ \"shape\":\"VerifiedAccessGroup\",\ - \"documentation\":\"The ID of the Verified Access group.
\",\ + \"documentation\":\"Details about the Verified Access group.
\",\ \"locationName\":\"verifiedAccessGroup\"\ }\ }\ @@ -15101,6 +15344,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.
\"\ }\ }\ },\ @@ -15109,7 +15356,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessInstance\":{\ \"shape\":\"VerifiedAccessInstance\",\ - \"documentation\":\"The ID of the Verified Access instance.
\",\ + \"documentation\":\"Details about the Verified Access instance.
\",\ \"locationName\":\"verifiedAccessInstance\"\ }\ }\ @@ -15120,6 +15367,10 @@ - (NSString *)definitionString { \"TenantId\":{\ \"shape\":\"String\",\ \"documentation\":\"The ID of the tenant application with the device-identity provider.
\"\ + },\ + \"PublicSigningKeyUrl\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
\"\ }\ },\ \"documentation\":\"Describes the options when creating an Amazon Web Services Verified Access trust provider using the device
type.
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 options for server side encryption.
\"\ }\ }\ },\ @@ -15214,7 +15469,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessTrustProvider\":{\ \"shape\":\"VerifiedAccessTrustProvider\",\ - \"documentation\":\"The ID of the Verified Access trust provider.
\",\ + \"documentation\":\"Details about the Verified Access trust provider.
\",\ \"locationName\":\"verifiedAccessTrustProvider\"\ }\ }\ @@ -15945,7 +16200,8 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"spot\",\ - \"on-demand\"\ + \"on-demand\",\ + \"capacity-block\"\ ]\ },\ \"DefaultingDhcpOptionsId\":{\"type\":\"string\"},\ @@ -16490,6 +16746,21 @@ - (NSString *)definitionString { }\ }\ },\ + \"DeleteKeyPairResult\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Return\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Is true
if the request succeeds, and an error otherwise.
The ID of the key pair.
\",\ + \"locationName\":\"keyPairId\"\ + }\ + }\ + },\ \"DeleteLaunchTemplateRequest\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -17608,7 +17879,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessEndpoint\":{\ \"shape\":\"VerifiedAccessEndpoint\",\ - \"documentation\":\"The ID of the Verified Access endpoint.
\",\ + \"documentation\":\"Details about the Verified Access endpoint.
\",\ \"locationName\":\"verifiedAccessEndpoint\"\ }\ }\ @@ -17637,7 +17908,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessGroup\":{\ \"shape\":\"VerifiedAccessGroup\",\ - \"documentation\":\"The ID of the Verified Access group.
\",\ + \"documentation\":\"Details about the Verified Access group.
\",\ \"locationName\":\"verifiedAccessGroup\"\ }\ }\ @@ -17666,7 +17937,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessInstance\":{\ \"shape\":\"VerifiedAccessInstance\",\ - \"documentation\":\"The ID of the Verified Access instance.
\",\ + \"documentation\":\"Details about the Verified Access instance.
\",\ \"locationName\":\"verifiedAccessInstance\"\ }\ }\ @@ -17695,7 +17966,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessTrustProvider\":{\ \"shape\":\"VerifiedAccessTrustProvider\",\ - \"documentation\":\"The ID of the Verified Access trust provider.
\",\ + \"documentation\":\"Details about the Verified Access trust provider.
\",\ \"locationName\":\"verifiedAccessTrustProvider\"\ }\ }\ @@ -18404,6 +18675,68 @@ - (NSString *)definitionString { }\ }\ },\ + \"DescribeCapacityBlockOfferingsMaxResults\":{\ + \"type\":\"integer\",\ + \"max\":1000,\ + \"min\":1\ + },\ + \"DescribeCapacityBlockOfferingsRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"InstanceType\",\ + \"InstanceCount\",\ + \"CapacityDurationHours\"\ + ],\ + \"members\":{\ + \"DryRun\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
The type of instance for which the Capacity Block offering reserves capacity.
\"\ + },\ + \"InstanceCount\":{\ + \"shape\":\"Integer\",\ + \"documentation\":\"The number of instances for which to reserve capacity.
\"\ + },\ + \"StartDateRange\":{\ + \"shape\":\"MillisecondDateTime\",\ + \"documentation\":\"The earliest start date for the Capacity Block offering.
\"\ + },\ + \"EndDateRange\":{\ + \"shape\":\"MillisecondDateTime\",\ + \"documentation\":\"The latest end date for the Capacity Block offering.
\"\ + },\ + \"CapacityDurationHours\":{\ + \"shape\":\"Integer\",\ + \"documentation\":\"The number of hours for which to reserve Capacity Block.
\"\ + },\ + \"NextToken\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The token to use to retrieve the next page of results.
\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"DescribeCapacityBlockOfferingsMaxResults\",\ + \"documentation\":\"The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken
value. This value can be between 5 and 500. If maxResults
is given a larger value than 500, you receive an error.
The recommended Capacity Block offering for the dates specified.
\",\ + \"locationName\":\"capacityBlockOfferingSet\"\ + },\ + \"NextToken\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
Details for one or more Windows AMI image IDs.
\",\ + \"documentation\":\"Specify one or more Windows AMI image IDs for the request.
\",\ \"locationName\":\"ImageId\"\ },\ \"Filters\":{\ \"shape\":\"FilterList\",\ - \"documentation\":\"Use the following filters to streamline results.
resource-type
- The resource type for pre-provisioning.
launch-template
- The launch template that is associated with the pre-provisioned Windows AMI.
owner-id
- The owner ID for the pre-provisioning resource.
state
- The current state of fast launching for the Windows AMI.
Use the following filters to streamline results.
resource-type
- The resource type for pre-provisioning.
owner-id
- The owner ID for the pre-provisioning resource.
state
- The current state of fast launching for the Windows AMI.
The image ID that identifies the fast-launch enabled Windows image.
\",\ + \"documentation\":\"The image ID that identifies the Windows fast launch enabled image.
\",\ \"locationName\":\"imageId\"\ },\ \"ResourceType\":{\ \"shape\":\"FastLaunchResourceType\",\ - \"documentation\":\"The resource type that is used for pre-provisioning the Windows AMI. Supported values include: snapshot
.
The resource type that Amazon EC2 uses for pre-provisioning the Windows AMI. Supported values include: snapshot
.
The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances from pre-provisioned snapshots.
\",\ + \"documentation\":\"The launch template that the Windows fast launch enabled AMI uses when it launches Windows instances from pre-provisioned snapshots.
\",\ \"locationName\":\"launchTemplate\"\ },\ \"MaxParallelLaunches\":{\ \"shape\":\"Integer\",\ - \"documentation\":\"The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching.
\",\ + \"documentation\":\"The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
\",\ \"locationName\":\"maxParallelLaunches\"\ },\ \"OwnerId\":{\ \"shape\":\"String\",\ - \"documentation\":\"The owner ID for the fast-launch enabled Windows AMI.
\",\ + \"documentation\":\"The owner ID for the Windows fast launch enabled AMI.
\",\ \"locationName\":\"ownerId\"\ },\ \"State\":{\ \"shape\":\"FastLaunchStateCode\",\ - \"documentation\":\"The current state of faster launching for the specified Windows AMI.
\",\ + \"documentation\":\"The current state of Windows fast launch for the specified Windows AMI.
\",\ \"locationName\":\"state\"\ },\ \"StateTransitionReason\":{\ \"shape\":\"String\",\ - \"documentation\":\"The reason that faster launching for the Windows AMI changed to the current state.
\",\ + \"documentation\":\"The reason that Windows fast launch for the AMI changed to the current state.
\",\ \"locationName\":\"stateTransitionReason\"\ },\ \"StateTransitionTime\":{\ \"shape\":\"MillisecondDateTime\",\ - \"documentation\":\"The time that faster launching for the Windows AMI changed to the current state.
\",\ + \"documentation\":\"The time that Windows fast launch for the AMI changed to the current state.
\",\ \"locationName\":\"stateTransitionTime\"\ }\ },\ - \"documentation\":\"Describe details about a fast-launch enabled Windows image that meets the requested criteria. Criteria are defined by the DescribeFastLaunchImages
action filters.
Describe details about a Windows image with Windows fast launch enabled that meets the requested criteria. Criteria are defined by the DescribeFastLaunchImages
action filters.
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
.
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 token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"DescribeInstanceTopologyMaxResults\",\ + \"documentation\":\"The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You can't specify this parameter and the instance IDs parameter in the same request.
Default: 20
The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
\",\ + \"locationName\":\"InstanceId\"\ + },\ + \"GroupNames\":{\ + \"shape\":\"DescribeInstanceTopologyGroupNameSet\",\ + \"documentation\":\"The name of the placement group that each instance is in.
Constraints: Maximum 100 explicitly specified placement group names.
\",\ + \"locationName\":\"GroupName\"\ + },\ + \"Filters\":{\ + \"shape\":\"FilterList\",\ + \"documentation\":\"The filters.
availability-zone
- The name of the Availability Zone (for example, us-west-2a
) or Local Zone (for example, us-west-2-lax-1b
) that the instance is in.
instance-type
- The instance type (for example, p4d.24xlarge
) or instance family (for example, p4d*
). You can use the *
wildcard to match zero or more characters, or the ?
wildcard to match zero or one character.
zone-id
- The ID of the Availability Zone (for example, usw2-az2
) or Local Zone (for example, usw2-lax1-az1
) that the instance is in.
Information about the topology of each instance.
\",\ + \"locationName\":\"instanceSet\"\ + },\ + \"NextToken\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The token to include in another request to get the next page of items. This value is null
when there are no more items to return.
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, a Scheduled Instance, or a Capacity Block (spot
| scheduled
| capacity-block
).
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.
The filters.
lock-state
- The state of the snapshot lock (compliance-cooloff
| governance
| compliance
| expired
).
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.
\"\ + },\ + \"NextToken\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
\"\ + },\ + \"SnapshotIds\":{\ + \"shape\":\"SnapshotIdStringList\",\ + \"documentation\":\"The IDs of the snapshots for which to view the lock status.
\",\ + \"locationName\":\"SnapshotId\"\ + },\ + \"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
.
Information about the snapshots.
\",\ + \"locationName\":\"snapshotSet\"\ + },\ + \"NextToken\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The token to include in another request to get the next page of items. This value is null
when there are no more items to return.
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.
availability-zone
- The Availability Zone for which prices should be returned.
instance-type
- The type of instance (for example, m3.medium
).
product-description
- The product description for the Spot price (Linux/UNIX
| Red Hat Enterprise Linux
| SUSE Linux
| Windows
| Linux/UNIX (Amazon VPC)
| Red Hat Enterprise Linux (Amazon VPC)
| SUSE Linux (Amazon VPC)
| Windows (Amazon VPC)
).
spot-price
- The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported).
timestamp
- The time stamp of the Spot price history, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ). You can use wildcards (* and ?). Greater than or less than comparison is not supported.
The filters.
availability-zone
- The Availability Zone for which prices should be returned.
instance-type
- The type of instance (for example, m3.medium
).
product-description
- The product description for the Spot price (Linux/UNIX
| Red Hat Enterprise Linux
| SUSE Linux
| Windows
| Linux/UNIX (Amazon VPC)
| Red Hat Enterprise Linux (Amazon VPC)
| SUSE Linux (Amazon VPC)
| Windows (Amazon VPC)
).
spot-price
- The Spot price. The value must match exactly (or use wildcards; greater than or less than comparison is not supported).
timestamp
- The time stamp of the Spot price history, in UTC format (for example, ddd MMM dd HH:mm:ss UTC YYYY). You can use wildcards (*
and ?
). Greater than or less than comparison is not supported.
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 Verified Access endpoint.
\",\ + \"documentation\":\"Details about the Verified Access endpoints.
\",\ \"locationName\":\"verifiedAccessEndpointSet\"\ },\ \"NextToken\":{\ @@ -23693,7 +24137,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessGroups\":{\ \"shape\":\"VerifiedAccessGroupList\",\ - \"documentation\":\"The ID of the Verified Access group.
\",\ + \"documentation\":\"Details about the Verified Access groups.
\",\ \"locationName\":\"verifiedAccessGroupSet\"\ },\ \"NextToken\":{\ @@ -23740,7 +24184,7 @@ - (NSString *)definitionString { \"members\":{\ \"LoggingConfigurations\":{\ \"shape\":\"VerifiedAccessInstanceLoggingConfigurationList\",\ - \"documentation\":\"The current logging configuration for the Verified Access instances.
\",\ + \"documentation\":\"The logging configuration for the Verified Access instances.
\",\ \"locationName\":\"loggingConfigurationSet\"\ },\ \"NextToken\":{\ @@ -23787,7 +24231,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessInstances\":{\ \"shape\":\"VerifiedAccessInstanceList\",\ - \"documentation\":\"The IDs of the Verified Access instances.
\",\ + \"documentation\":\"Details about the Verified Access instances.
\",\ \"locationName\":\"verifiedAccessInstanceSet\"\ },\ \"NextToken\":{\ @@ -23834,7 +24278,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessTrustProviders\":{\ \"shape\":\"VerifiedAccessTrustProviderList\",\ - \"documentation\":\"The IDs of the Verified Access trust providers.
\",\ + \"documentation\":\"Details about the Verified Access trust providers.
\",\ \"locationName\":\"verifiedAccessTrustProviderSet\"\ },\ \"NextToken\":{\ @@ -24705,12 +25149,12 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessTrustProvider\":{\ \"shape\":\"VerifiedAccessTrustProvider\",\ - \"documentation\":\"The ID of the Verified Access trust provider.
\",\ + \"documentation\":\"Details about the Verified Access trust provider.
\",\ \"locationName\":\"verifiedAccessTrustProvider\"\ },\ \"VerifiedAccessInstance\":{\ \"shape\":\"VerifiedAccessInstance\",\ - \"documentation\":\"The ID of the Verified Access instance.
\",\ + \"documentation\":\"Details about the Verified Access instance.
\",\ \"locationName\":\"verifiedAccessInstance\"\ }\ }\ @@ -24772,6 +25216,11 @@ - (NSString *)definitionString { \"shape\":\"String\",\ \"documentation\":\"The ID of the tenant application with the device-identity provider.
\",\ \"locationName\":\"tenantId\"\ + },\ + \"PublicSigningKeyUrl\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
\",\ + \"locationName\":\"publicSigningKeyUrl\"\ }\ },\ \"documentation\":\"Describes the options for an Amazon Web Services Verified Access device-identity based trust provider.
\"\ @@ -24780,7 +25229,8 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"jamf\",\ - \"crowdstrike\"\ + \"crowdstrike\",\ + \"jumpcloud\"\ ]\ },\ \"DeviceType\":{\ @@ -24966,11 +25416,11 @@ - (NSString *)definitionString { \"members\":{\ \"ImageId\":{\ \"shape\":\"ImageId\",\ - \"documentation\":\"The ID of the image for which you’re turning off faster launching, and removing pre-provisioned snapshots.
\"\ + \"documentation\":\"Specify the ID of the image for which to disable Windows fast launch.
\"\ },\ \"Force\":{\ \"shape\":\"Boolean\",\ - \"documentation\":\"Forces the image settings to turn off faster launching for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account.
\"\ + \"documentation\":\"Forces the image settings to turn off Windows fast launch for your Windows AMI. This parameter overrides any errors that are encountered while cleaning up resources in your account.
\"\ },\ \"DryRun\":{\ \"shape\":\"Boolean\",\ @@ -24983,17 +25433,17 @@ - (NSString *)definitionString { \"members\":{\ \"ImageId\":{\ \"shape\":\"ImageId\",\ - \"documentation\":\"The ID of the image for which faster-launching has been turned off.
\",\ + \"documentation\":\"The ID of the image for which Windows fast launch was disabled.
\",\ \"locationName\":\"imageId\"\ },\ \"ResourceType\":{\ \"shape\":\"FastLaunchResourceType\",\ - \"documentation\":\"The pre-provisioning resource type that must be cleaned after turning off faster launching for the Windows AMI. Supported values include: snapshot
.
The pre-provisioning resource type that must be cleaned after turning off Windows fast launch for the Windows AMI. Supported values include: snapshot
.
Parameters that were used for faster launching for the Windows AMI before faster launching was turned off. This informs the clean-up process.
\",\ + \"documentation\":\"Parameters that were used for Windows fast launch for the Windows AMI before Windows fast launch was disabled. This informs the clean-up process.
\",\ \"locationName\":\"snapshotConfiguration\"\ },\ \"LaunchTemplate\":{\ @@ -25003,27 +25453,27 @@ - (NSString *)definitionString { },\ \"MaxParallelLaunches\":{\ \"shape\":\"Integer\",\ - \"documentation\":\"The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching.
\",\ + \"documentation\":\"The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
\",\ \"locationName\":\"maxParallelLaunches\"\ },\ \"OwnerId\":{\ \"shape\":\"String\",\ - \"documentation\":\"The owner of the Windows AMI for which faster launching was turned off.
\",\ + \"documentation\":\"The owner of the Windows AMI for which Windows fast launch was disabled.
\",\ \"locationName\":\"ownerId\"\ },\ \"State\":{\ \"shape\":\"FastLaunchStateCode\",\ - \"documentation\":\"The current state of faster launching for the specified Windows AMI.
\",\ + \"documentation\":\"The current state of Windows fast launch for the specified Windows AMI.
\",\ \"locationName\":\"state\"\ },\ \"StateTransitionReason\":{\ \"shape\":\"String\",\ - \"documentation\":\"The reason that the state changed for faster launching for the Windows AMI.
\",\ + \"documentation\":\"The reason that the state changed for Windows fast launch for the Windows AMI.
\",\ \"locationName\":\"stateTransitionReason\"\ },\ \"StateTransitionTime\":{\ \"shape\":\"MillisecondDateTime\",\ - \"documentation\":\"The time that the state changed for faster launching for the Windows AMI.
\",\ + \"documentation\":\"The time that the state changed for Windows fast launch for the Windows AMI.
\",\ \"locationName\":\"stateTransitionTime\"\ }\ }\ @@ -25196,6 +25646,25 @@ - (NSString *)definitionString { }\ }\ },\ + \"DisableImageBlockPublicAccessRequest\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"DryRun\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Returns unblocked
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.
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 unblocked
if the request succeeds.
The ID of the Client VPN endpoint from which to disassociate the target network.
\"\ },\ \"AssociationId\":{\ - \"shape\":\"ClientVpnAssociationId\",\ + \"shape\":\"String\",\ \"documentation\":\"The ID of the target network association.
\"\ },\ \"DryRun\":{\ @@ -26573,16 +27085,40 @@ - (NSString *)definitionString { },\ \"documentation\":\"ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.
To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it.
\"\ },\ + \"EnaSrdSpecificationRequest\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"EnaSrdEnabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Specifies whether ENA Express is enabled for the network interface when you launch an instance from your launch template.
\"\ + },\ + \"EnaSrdUdpSpecification\":{\ + \"shape\":\"EnaSrdUdpSpecificationRequest\",\ + \"documentation\":\"Contains ENA Express settings for UDP network traffic in your launch template.
\"\ + }\ + },\ + \"documentation\":\"Launch instances with ENA Express settings configured from your launch template.
\"\ + },\ \"EnaSrdSupported\":{\"type\":\"boolean\"},\ \"EnaSrdUdpSpecification\":{\ \"type\":\"structure\",\ \"members\":{\ \"EnaSrdUdpEnabled\":{\ \"shape\":\"Boolean\",\ - \"documentation\":\"Indicates whether UDP traffic uses ENA Express. To specify this setting, you must first enable ENA Express.
\"\ + \"documentation\":\"Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
\"\ }\ },\ - \"documentation\":\"ENA Express is compatible with both TCP and UDP transport protocols. When it’s enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.
\"\ + \"documentation\":\"ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.
\"\ + },\ + \"EnaSrdUdpSpecificationRequest\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"EnaSrdUdpEnabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Indicates whether UDP traffic uses ENA Express for your instance. To ensure that UDP traffic can use ENA Express when you launch an instance, you must also set EnaSrdEnabled in the EnaSrdSpecificationRequest to true
in your launch template.
Configures ENA Express for UDP network traffic from your launch template.
\"\ },\ \"EnaSupport\":{\ \"type\":\"string\",\ @@ -26683,15 +27219,15 @@ - (NSString *)definitionString { \"members\":{\ \"ImageId\":{\ \"shape\":\"ImageId\",\ - \"documentation\":\"The ID of the image for which you’re enabling faster launching.
\"\ + \"documentation\":\"Specify the ID of the image for which to enable Windows fast launch.
\"\ },\ \"ResourceType\":{\ \"shape\":\"String\",\ - \"documentation\":\"The type of resource to use for pre-provisioning the Windows AMI for faster launching. Supported values include: snapshot
, which is the default value.
The type of resource to use for pre-provisioning the AMI for Windows fast launch. Supported values include: snapshot
, which is the default value.
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the Windows AMI for faster launching. The associated ResourceType
must be snapshot
.
Configuration settings for creating and managing the snapshots that are used for pre-provisioning the AMI for Windows fast launch. The associated ResourceType
must be snapshot
.
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching. Value must be 6
or greater.
The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch. Value must be 6
or greater.
The image ID that identifies the Windows AMI for which faster launching was enabled.
\",\ + \"documentation\":\"The image ID that identifies the AMI for which Windows fast launch was enabled.
\",\ \"locationName\":\"imageId\"\ },\ \"ResourceType\":{\ \"shape\":\"FastLaunchResourceType\",\ - \"documentation\":\"The type of resource that was defined for pre-provisioning the Windows AMI for faster launching.
\",\ + \"documentation\":\"The type of resource that was defined for pre-provisioning the AMI for Windows fast launch.
\",\ \"locationName\":\"resourceType\"\ },\ \"SnapshotConfiguration\":{\ @@ -26732,27 +27268,27 @@ - (NSString *)definitionString { },\ \"MaxParallelLaunches\":{\ \"shape\":\"Integer\",\ - \"documentation\":\"The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows faster launching.
\",\ + \"documentation\":\"The maximum number of instances that Amazon EC2 can launch at the same time to create pre-provisioned snapshots for Windows fast launch.
\",\ \"locationName\":\"maxParallelLaunches\"\ },\ \"OwnerId\":{\ \"shape\":\"String\",\ - \"documentation\":\"The owner ID for the Windows AMI for which faster launching was enabled.
\",\ + \"documentation\":\"The owner ID for the AMI for which Windows fast launch was enabled.
\",\ \"locationName\":\"ownerId\"\ },\ \"State\":{\ \"shape\":\"FastLaunchStateCode\",\ - \"documentation\":\"The current state of faster launching for the specified Windows AMI.
\",\ + \"documentation\":\"The current state of Windows fast launch for the specified AMI.
\",\ \"locationName\":\"state\"\ },\ \"StateTransitionReason\":{\ \"shape\":\"String\",\ - \"documentation\":\"The reason that the state changed for faster launching for the Windows AMI.
\",\ + \"documentation\":\"The reason that the state changed for Windows fast launch for the AMI.
\",\ \"locationName\":\"stateTransitionReason\"\ },\ \"StateTransitionTime\":{\ \"shape\":\"MillisecondDateTime\",\ - \"documentation\":\"The time that the state changed for faster launching for the Windows AMI.
\",\ + \"documentation\":\"The time that the state changed for Windows fast launch for the AMI.
\",\ \"locationName\":\"stateTransitionTime\"\ }\ }\ @@ -26925,6 +27461,30 @@ - (NSString *)definitionString { }\ }\ },\ + \"EnableImageBlockPublicAccessRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"ImageBlockPublicAccessState\"],\ + \"members\":{\ + \"ImageBlockPublicAccessState\":{\ + \"shape\":\"ImageBlockPublicAccessEnabledState\",\ + \"documentation\":\"Specify block-new-sharing
to enable block public access for AMIs at the account level in the specified Region. This will block any attempt to publicly share your AMIs in the specified Region.
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 block-new-sharing
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 mode in which to enable block public access for snapshots for the Region. Specify one of the following values:
block-all-sharing
- Prevents all public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. Additionally, snapshots that are already publicly shared are treated as private and they are no longer publicly available.
If you enable block public access for snapshots in block-all-sharing
mode, it does not change the permissions for snapshots that are already publicly shared. Instead, it prevents these snapshots from be publicly visible and publicly accessible. Therefore, the attributes for these snapshots still indicate that they are publicly shared, even though they are not publicly available.
block-new-sharing
- Prevents only new public sharing of snapshots in the Region. Users in the account will no longer be able to request new public sharing. However, snapshots that are already publicly shared, remain publicly available.
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 state of block public access for snapshots for the account and Region. Returns either block-all-sharing
or block-new-sharing
if the request succeeds.
The ID of the launch template to use for faster launching for a Windows AMI.
\"\ + \"documentation\":\"Specify the ID of the launch template that the AMI should use for Windows fast launch.
\"\ },\ \"LaunchTemplateName\":{\ \"shape\":\"String\",\ - \"documentation\":\"The name of the launch template to use for faster launching for a Windows AMI.
\"\ + \"documentation\":\"Specify the name of the launch template that the AMI should use for Windows fast launch.
\"\ },\ \"Version\":{\ \"shape\":\"String\",\ - \"documentation\":\"The version of the launch template to use for faster launching for a Windows AMI.
\"\ + \"documentation\":\"Specify the version of the launch template that the AMI should use for Windows fast launch.
\"\ }\ },\ - \"documentation\":\"Request to create a launch template for a fast-launch enabled Windows AMI.
Note - You can specify either the LaunchTemplateName
or the LaunchTemplateId
, but not both.
Request to create a launch template for a Windows fast launch enabled AMI.
Note - You can specify either the LaunchTemplateName
or the LaunchTemplateId
, but not both.
The ID of the launch template for faster launching of the associated Windows AMI.
\",\ + \"documentation\":\"The ID of the launch template that the AMI uses for Windows fast launch.
\",\ \"locationName\":\"launchTemplateId\"\ },\ \"LaunchTemplateName\":{\ \"shape\":\"String\",\ - \"documentation\":\"The name of the launch template for faster launching of the associated Windows AMI.
\",\ + \"documentation\":\"The name of the launch template that the AMI uses for Windows fast launch.
\",\ \"locationName\":\"launchTemplateName\"\ },\ \"Version\":{\ \"shape\":\"String\",\ - \"documentation\":\"The version of the launch template for faster launching of the associated Windows AMI.
\",\ + \"documentation\":\"The version of the launch template that the AMI uses for Windows fast launch.
\",\ \"locationName\":\"version\"\ }\ },\ - \"documentation\":\"Identifies the launch template to use for faster launching of the Windows AMI.
\"\ + \"documentation\":\"Identifies the launch template that the AMI uses for Windows fast launch.
\"\ },\ \"FastLaunchResourceType\":{\ \"type\":\"string\",\ @@ -28039,21 +28647,21 @@ - (NSString *)definitionString { \"members\":{\ \"TargetResourceCount\":{\ \"shape\":\"Integer\",\ - \"documentation\":\"The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.
\"\ + \"documentation\":\"The number of pre-provisioned snapshots to keep on hand for a Windows fast launch enabled AMI.
\"\ }\ },\ - \"documentation\":\"Configuration settings for creating and managing pre-provisioned snapshots for a fast-launch enabled Windows AMI.
\"\ + \"documentation\":\"Configuration settings for creating and managing pre-provisioned snapshots for a Windows fast launch enabled AMI.
\"\ },\ \"FastLaunchSnapshotConfigurationResponse\":{\ \"type\":\"structure\",\ \"members\":{\ \"TargetResourceCount\":{\ \"shape\":\"Integer\",\ - \"documentation\":\"The number of pre-provisioned snapshots requested to keep on hand for a fast-launch enabled Windows AMI.
\",\ + \"documentation\":\"The number of pre-provisioned snapshots requested to keep on hand for a Windows fast launch enabled AMI.
\",\ \"locationName\":\"targetResourceCount\"\ }\ },\ - \"documentation\":\"Configuration settings for creating and managing pre-provisioned snapshots for a fast-launch enabled Windows AMI.
\"\ + \"documentation\":\"Configuration settings for creating and managing pre-provisioned snapshots for a Windows fast launch enabled Windows AMI.
\"\ },\ \"FastLaunchStateCode\":{\ \"type\":\"string\",\ @@ -29333,6 +29941,11 @@ - (NSString *)definitionString { \"shape\":\"String\",\ \"documentation\":\"The ID of the local gateway route table.
\",\ \"locationName\":\"localGatewayRouteTableId\"\ + },\ + \"NextToken\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The token to use to retrieve the next page of results. This value is null
when there are no more results to return.
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 current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.
Possible values:
block-new-sharing
- Any attempt to publicly share your AMIs in the specified Region is blocked.
unblocked
- Your AMIs in the specified Region can be publicly shared.
The password of the instance. Returns an empty string if the password is not available.
\",\ \"locationName\":\"passwordData\"\ },\ @@ -30270,6 +30902,53 @@ - (NSString *)definitionString { },\ \"documentation\":\"Contains the output of GetReservedInstancesExchangeQuote.
\"\ },\ + \"GetSecurityGroupsForVpcRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"VpcId\"],\ + \"members\":{\ + \"VpcId\":{\ + \"shape\":\"VpcId\",\ + \"documentation\":\"The VPC ID where the security group can be used.
\"\ + },\ + \"NextToken\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
\"\ + },\ + \"MaxResults\":{\ + \"shape\":\"GetSecurityGroupsForVpcRequestMaxResults\",\ + \"documentation\":\"The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
\"\ + },\ + \"Filters\":{\ + \"shape\":\"FilterList\",\ + \"documentation\":\"The filters. If using multiple filters, the results include security groups which match all filters.
group-id
: The security group ID.
description
: The security group's description.
group-name
: The security group name.
owner-id
: The security group owner ID.
primary-vpc-id
: The VPC ID in which the security group was created.
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 token to include in another request to get the next page of items. This value is null
when there are no more items to return.
The security group that can be used by interfaces in the VPC.
\",\ + \"locationName\":\"securityGroupForVpcSet\"\ + }\ + }\ + },\ \"GetSerialConsoleAccessStatusRequest\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -30289,6 +30968,25 @@ - (NSString *)definitionString { }\ }\ },\ + \"GetSnapshotBlockPublicAccessStateRequest\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"DryRun\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
The current state of block public access for snapshots. Possible values include:
block-all-sharing
- All public sharing of snapshots is blocked. Users in the account can't request new public sharing. Additionally, snapshots that were already publicly shared are treated as private and are not publicly available.
block-new-sharing
- Only new public sharing of snapshots is blocked. Users in the account can't request new public sharing. However, snapshots that were already publicly shared, remain publicly available.
unblocked
- Public sharing is not blocked. Users can publicly share snapshots.
Set to true
to enable your instance for hibernation.
Default: false
Set to true
to enable your instance for hibernation.
For Spot Instances, if you set Configured
to true
, either omit the InstanceInterruptionBehavior
parameter (for SpotMarketOptions
), or set it to hibernate
. When Configured
is true:
If you omit InstanceInterruptionBehavior
, it defaults to hibernate
.
If you set InstanceInterruptionBehavior
to a value other than hibernate
, you'll get an error.
Default: false
Indicates whether your instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. For more information, see Hibernate your instance in the Amazon EC2 User Guide.
\"\ @@ -31677,7 +32375,7 @@ - (NSString *)definitionString { },\ \"Hypervisor\":{\ \"shape\":\"HypervisorType\",\ - \"documentation\":\"The hypervisor type of the image.
\",\ + \"documentation\":\"The hypervisor type of the image. Only xen
is supported. ovm
is not supported.
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.
\"\ @@ -31831,6 +32534,14 @@ - (NSString *)definitionString { \"imdsSupport\"\ ]\ },\ + \"ImageBlockPublicAccessDisabledState\":{\ + \"type\":\"string\",\ + \"enum\":[\"unblocked\"]\ + },\ + \"ImageBlockPublicAccessEnabledState\":{\ + \"type\":\"string\",\ + \"enum\":[\"block-new-sharing\"]\ + },\ \"ImageDiskContainer\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -31937,7 +32648,8 @@ - (NSString *)definitionString { \"deregistered\",\ \"transient\",\ \"failed\",\ - \"error\"\ + \"error\",\ + \"disabled\"\ ]\ },\ \"ImageTypeValues\":{\ @@ -32085,7 +32797,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.
Describes an instance.
\"\ },\ + \"InstanceAttachmentEnaSrdSpecification\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"EnaSrdEnabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Indicates whether ENA Express is enabled for the network interface.
\",\ + \"locationName\":\"enaSrdEnabled\"\ + },\ + \"EnaSrdUdpSpecification\":{\ + \"shape\":\"InstanceAttachmentEnaSrdUdpSpecification\",\ + \"documentation\":\"Configures ENA Express for UDP network traffic.
\",\ + \"locationName\":\"enaSrdUdpSpecification\"\ + }\ + },\ + \"documentation\":\"ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.
To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it.
\"\ + },\ + \"InstanceAttachmentEnaSrdUdpSpecification\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"EnaSrdUdpEnabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
\",\ + \"locationName\":\"enaSrdUdpEnabled\"\ + }\ + },\ + \"documentation\":\"ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.
\"\ + },\ \"InstanceAttribute\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -33727,7 +34466,8 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"spot\",\ - \"scheduled\"\ + \"scheduled\",\ + \"capacity-block\"\ ]\ },\ \"InstanceList\":{\ @@ -34051,6 +34791,11 @@ - (NSString *)definitionString { \"shape\":\"Integer\",\ \"documentation\":\"The index of the network card.
\",\ \"locationName\":\"networkCardIndex\"\ + },\ + \"EnaSrdSpecification\":{\ + \"shape\":\"InstanceAttachmentEnaSrdSpecification\",\ + \"documentation\":\"Contains the ENA Express settings for the network interface that's attached to the instance.
\",\ + \"locationName\":\"enaSrdSpecification\"\ }\ },\ \"documentation\":\"Describes a network interface attachment.
\"\ @@ -34160,6 +34905,10 @@ - (NSString *)definitionString { \"PrimaryIpv6\":{\ \"shape\":\"Boolean\",\ \"documentation\":\"The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.
\"\ + },\ + \"EnaSrdSpecification\":{\ + \"shape\":\"EnaSrdSpecificationRequest\",\ + \"documentation\":\"Specifies the ENA Express settings for the network interface that's attached to the instance.
\"\ }\ },\ \"documentation\":\"Describes a network interface.
\"\ @@ -34323,7 +35072,7 @@ - (NSString *)definitionString { \"locationName\":\"allowedInstanceTypeSet\"\ }\ },\ - \"documentation\":\"The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.
You must specify VCpuCount
and MemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default.
When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.
To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:
AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes.
If you specify InstanceRequirements
, you can't specify InstanceType
.
Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard or with the RunInstances API, you can't specify InstanceRequirements
.
For more information, see Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide.
\"\ + \"documentation\":\"The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes.
You must specify VCpuCount
and MemoryMiB
. All other attributes are optional. Any unspecified optional attribute is set to its default.
When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.
To limit the list of instance types from which Amazon EC2 can identify matching instance types, you can use one of the following parameters, but not both in the same request:
AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes.
If you specify InstanceRequirements
, you can't specify InstanceType
.
Attribute-based instance type selection is only supported when using Auto Scaling groups, EC2 Fleet, and Spot Fleet to launch instances. If you plan to use the launch template in the launch instance wizard or with the RunInstances API, you can't specify InstanceRequirements
.
For more information, see Create a mixed instances group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide, and also Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide.
\"\ },\ \"InstanceRequirementsRequest\":{\ \"type\":\"structure\",\ @@ -34455,6 +35204,13 @@ - (NSString *)definitionString { },\ \"documentation\":\"The architecture type, virtualization type, and other attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with those attributes.
If you specify InstanceRequirementsWithMetadataRequest
, you can't specify InstanceTypes
.
Describes the registered tag keys for the current Region.
\"\ },\ + \"InstanceTopology\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"InstanceId\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The instance ID.
\",\ + \"locationName\":\"instanceId\"\ + },\ + \"InstanceType\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The instance type.
\",\ + \"locationName\":\"instanceType\"\ + },\ + \"GroupName\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The name of the placement group that the instance is in.
\",\ + \"locationName\":\"groupName\"\ + },\ + \"NetworkNodes\":{\ + \"shape\":\"NetworkNodesList\",\ + \"documentation\":\"The network nodes. The nodes are hashed based on your account. Instances from different accounts running under the same droplet will return a different hashed list of strings.
\",\ + \"locationName\":\"networkNodeSet\"\ + },\ + \"AvailabilityZone\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The name of the Availability Zone or Local Zone that the instance is in.
\",\ + \"locationName\":\"availabilityZone\"\ + },\ + \"ZoneId\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The ID of the Availability Zone or Local Zone that the instance is in.
\",\ + \"locationName\":\"zoneId\"\ + }\ + },\ + \"documentation\":\"Information about the instance topology.
\"\ + },\ \"InstanceType\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -35404,7 +36196,99 @@ - (NSString *)definitionString { \"m7i-flex.xlarge\",\ \"m7i-flex.2xlarge\",\ \"m7i-flex.4xlarge\",\ - \"m7i-flex.8xlarge\"\ + \"m7i-flex.8xlarge\",\ + \"m7a.medium\",\ + \"m7a.large\",\ + \"m7a.xlarge\",\ + \"m7a.2xlarge\",\ + \"m7a.4xlarge\",\ + \"m7a.8xlarge\",\ + \"m7a.12xlarge\",\ + \"m7a.16xlarge\",\ + \"m7a.24xlarge\",\ + \"m7a.32xlarge\",\ + \"m7a.48xlarge\",\ + \"m7a.metal-48xl\",\ + \"hpc7a.12xlarge\",\ + \"hpc7a.24xlarge\",\ + \"hpc7a.48xlarge\",\ + \"hpc7a.96xlarge\",\ + \"c7gd.medium\",\ + \"c7gd.large\",\ + \"c7gd.xlarge\",\ + \"c7gd.2xlarge\",\ + \"c7gd.4xlarge\",\ + \"c7gd.8xlarge\",\ + \"c7gd.12xlarge\",\ + \"c7gd.16xlarge\",\ + \"m7gd.medium\",\ + \"m7gd.large\",\ + \"m7gd.xlarge\",\ + \"m7gd.2xlarge\",\ + \"m7gd.4xlarge\",\ + \"m7gd.8xlarge\",\ + \"m7gd.12xlarge\",\ + \"m7gd.16xlarge\",\ + \"r7gd.medium\",\ + \"r7gd.large\",\ + \"r7gd.xlarge\",\ + \"r7gd.2xlarge\",\ + \"r7gd.4xlarge\",\ + \"r7gd.8xlarge\",\ + \"r7gd.12xlarge\",\ + \"r7gd.16xlarge\",\ + \"r7a.medium\",\ + \"r7a.large\",\ + \"r7a.xlarge\",\ + \"r7a.2xlarge\",\ + \"r7a.4xlarge\",\ + \"r7a.8xlarge\",\ + \"r7a.12xlarge\",\ + \"r7a.16xlarge\",\ + \"r7a.24xlarge\",\ + \"r7a.32xlarge\",\ + \"r7a.48xlarge\",\ + \"c7i.large\",\ + \"c7i.xlarge\",\ + \"c7i.2xlarge\",\ + \"c7i.4xlarge\",\ + \"c7i.8xlarge\",\ + \"c7i.12xlarge\",\ + \"c7i.16xlarge\",\ + \"c7i.24xlarge\",\ + \"c7i.48xlarge\",\ + \"mac2-m2pro.metal\",\ + \"r7iz.large\",\ + \"r7iz.xlarge\",\ + \"r7iz.2xlarge\",\ + \"r7iz.4xlarge\",\ + \"r7iz.8xlarge\",\ + \"r7iz.12xlarge\",\ + \"r7iz.16xlarge\",\ + \"r7iz.32xlarge\",\ + \"c7a.medium\",\ + \"c7a.large\",\ + \"c7a.xlarge\",\ + \"c7a.2xlarge\",\ + \"c7a.4xlarge\",\ + \"c7a.8xlarge\",\ + \"c7a.12xlarge\",\ + \"c7a.16xlarge\",\ + \"c7a.24xlarge\",\ + \"c7a.32xlarge\",\ + \"c7a.48xlarge\",\ + \"c7a.metal-48xl\",\ + \"r7a.metal-48xl\",\ + \"r7i.large\",\ + \"r7i.xlarge\",\ + \"r7i.2xlarge\",\ + \"r7i.4xlarge\",\ + \"r7i.8xlarge\",\ + \"r7i.12xlarge\",\ + \"r7i.16xlarge\",\ + \"r7i.24xlarge\",\ + \"r7i.48xlarge\",\ + \"dl2q.24xlarge\"\ ]\ },\ \"InstanceTypeHypervisor\":{\ @@ -37252,6 +38136,7 @@ - (NSString *)definitionString { \"ed25519\"\ ]\ },\ + \"KmsKeyArn\":{\"type\":\"string\"},\ \"KmsKeyId\":{\"type\":\"string\"},\ \"LastError\":{\ \"type\":\"structure\",\ @@ -37754,6 +38639,33 @@ - (NSString *)definitionString { \"locationName\":\"item\"\ }\ },\ + \"LaunchTemplateEnaSrdSpecification\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"EnaSrdEnabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Indicates whether ENA Express is enabled for the network interface.
\",\ + \"locationName\":\"enaSrdEnabled\"\ + },\ + \"EnaSrdUdpSpecification\":{\ + \"shape\":\"LaunchTemplateEnaSrdUdpSpecification\",\ + \"documentation\":\"Configures ENA Express for UDP network traffic.
\",\ + \"locationName\":\"enaSrdUdpSpecification\"\ + }\ + },\ + \"documentation\":\"ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.
To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it.
\"\ + },\ + \"LaunchTemplateEnaSrdUdpSpecification\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"EnaSrdUdpEnabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
\",\ + \"locationName\":\"enaSrdUdpEnabled\"\ + }\ + },\ + \"documentation\":\"ENA Express is compatible with both TCP and UDP transport protocols. When it's enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.
\"\ + },\ \"LaunchTemplateEnclaveOptions\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -38095,6 +39007,11 @@ - (NSString *)definitionString { \"shape\":\"Boolean\",\ \"documentation\":\"The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.
\",\ \"locationName\":\"primaryIpv6\"\ + },\ + \"EnaSrdSpecification\":{\ + \"shape\":\"LaunchTemplateEnaSrdSpecification\",\ + \"documentation\":\"Contains the ENA Express settings for instances launched from your launch template.
\",\ + \"locationName\":\"enaSrdSpecification\"\ }\ },\ \"documentation\":\"Describes a network interface.
\"\ @@ -38191,6 +39108,10 @@ - (NSString *)definitionString { \"PrimaryIpv6\":{\ \"shape\":\"Boolean\",\ \"documentation\":\"The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.
\"\ + },\ + \"EnaSrdSpecification\":{\ + \"shape\":\"EnaSrdSpecificationRequest\",\ + \"documentation\":\"Configure ENA Express settings for your launch template.
\"\ }\ },\ \"documentation\":\"The parameters for a network interface.
\"\ @@ -38540,7 +39461,7 @@ - (NSString *)definitionString { \"members\":{\ \"ResourceType\":{\ \"shape\":\"ResourceType\",\ - \"documentation\":\"The type of resource to tag.
The Valid Values
are all the resource types that can be tagged. However, when creating a launch template, you can specify tags for the following resource types only: instance
| volume
| elastic-gpu
| network-interface
| spot-instances-request
To tag a resource after it has been created, see CreateTags.
\"\ + \"documentation\":\"The type of resource to tag.
Valid Values lists all resource types for Amazon EC2 that can be tagged. When you create a launch template, you can specify tags for the following resource types only: instance
| volume
| elastic-gpu
| network-interface
| spot-instances-request
. If the instance does not 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\",\ @@ -39314,9 +40235,162 @@ - (NSString *)definitionString { \"enum\":[\ \"region\",\ \"availability-zone\",\ - \"availability-zone-id\"\ + \"availability-zone-id\",\ + \"outpost\"\ + ]\ + },\ + \"LockMode\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"compliance\",\ + \"governance\"\ ]\ },\ + \"LockSnapshotRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"SnapshotId\",\ + \"LockMode\"\ + ],\ + \"members\":{\ + \"SnapshotId\":{\ + \"shape\":\"SnapshotId\",\ + \"documentation\":\"The ID of the snapshot to lock.
\"\ + },\ + \"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 mode in which to lock the snapshot. Specify one of the following:
governance
- Locks the snapshot in governance mode. Snapshots locked in governance mode can't be deleted until one of the following conditions are met:
The lock duration expires.
The snapshot is unlocked by a user with the appropriate permissions.
Users with the appropriate IAM permissions can unlock the snapshot, increase or decrease the lock duration, and change the lock mode to compliance
at any time.
If you lock a snapshot in governance
mode, omit CoolOffPeriod.
compliance
- Locks the snapshot in compliance mode. Snapshots locked in compliance mode can't be unlocked by any user. They can be deleted only after the lock duration expires. Users can't decrease the lock duration or change the lock mode to governance
. However, users with appropriate IAM permissions can increase the lock duration at any time.
If you lock a snapshot in compliance
mode, you can optionally specify CoolOffPeriod.
The cooling-off period during which you can unlock the snapshot or modify the lock settings after locking the snapshot in compliance mode, in hours. After the cooling-off period expires, you can't unlock or delete the snapshot, decrease the lock duration, or change the lock mode. You can increase the lock duration after the cooling-off period expires.
The cooling-off period is optional when locking a snapshot in compliance mode. If you are locking the snapshot in governance mode, omit this parameter.
To lock the snapshot in compliance mode immediately without a cooling-off period, omit this parameter.
If you are extending the lock duration for a snapshot that is locked in compliance mode after the cooling-off period has expired, omit this parameter. If you specify a cooling-period in a such a request, the request fails.
Allowed values: Min 1, max 72.
\"\ + },\ + \"LockDuration\":{\ + \"shape\":\"RetentionPeriodRequestDays\",\ + \"documentation\":\"The period of time for which to lock the snapshot, in days. The snapshot lock will automatically expire after this period lapses.
You must specify either this parameter or ExpirationDate, but not both.
Allowed values: Min: 1, max 36500
\"\ + },\ + \"ExpirationDate\":{\ + \"shape\":\"MillisecondDateTime\",\ + \"documentation\":\"The date and time at which the snapshot lock is to automatically expire, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
You must specify either this parameter or LockDuration, but not both.
\"\ + }\ + }\ + },\ + \"LockSnapshotResult\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"SnapshotId\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The ID of the snapshot
\",\ + \"locationName\":\"snapshotId\"\ + },\ + \"LockState\":{\ + \"shape\":\"LockState\",\ + \"documentation\":\"The state of the snapshot lock. Valid states include:
compliance-cooloff
- The snapshot has been locked in compliance mode but it is still within the cooling-off period. The snapshot can't be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions.
governance
- The snapshot is locked in governance mode. The snapshot can't be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions.
compliance
- The snapshot is locked in compliance mode and the cooling-off period has expired. The snapshot can't be unlocked or deleted. The lock duration can only be increased by users with appropriate permissions.
expired
- The snapshot was locked in compliance or governance mode but the lock duration has expired. The snapshot is not locked and can be deleted.
The period of time for which the snapshot is locked, in days.
\",\ + \"locationName\":\"lockDuration\"\ + },\ + \"CoolOffPeriod\":{\ + \"shape\":\"CoolOffPeriodResponseHours\",\ + \"documentation\":\"The compliance mode cooling-off period, in hours.
\",\ + \"locationName\":\"coolOffPeriod\"\ + },\ + \"CoolOffPeriodExpiresOn\":{\ + \"shape\":\"MillisecondDateTime\",\ + \"documentation\":\"The date and time at which the compliance mode cooling-off period expires, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The date and time at which the snapshot was locked, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The date and time at which the lock will expire, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The date and time at which the lock duration started, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The account ID of the Amazon Web Services account that owns the snapshot.
\",\ + \"locationName\":\"ownerId\"\ + },\ + \"SnapshotId\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The ID of the snapshot.
\",\ + \"locationName\":\"snapshotId\"\ + },\ + \"LockState\":{\ + \"shape\":\"LockState\",\ + \"documentation\":\"The state of the snapshot lock. Valid states include:
compliance-cooloff
- The snapshot has been locked in compliance mode but it is still within the cooling-off period. The snapshot can't be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions.
governance
- The snapshot is locked in governance mode. The snapshot can't be deleted, but it can be unlocked and the lock settings can be modified by users with appropriate permissions.
compliance
- The snapshot is locked in compliance mode and the cooling-off period has expired. The snapshot can't be unlocked or deleted. The lock duration can only be increased by users with appropriate permissions.
expired
- The snapshot was locked in compliance or governance mode but the lock duration has expired. The snapshot is not locked and can be deleted.
The period of time for which the snapshot is locked, in days.
\",\ + \"locationName\":\"lockDuration\"\ + },\ + \"CoolOffPeriod\":{\ + \"shape\":\"CoolOffPeriodResponseHours\",\ + \"documentation\":\"The compliance mode cooling-off period, in hours.
\",\ + \"locationName\":\"coolOffPeriod\"\ + },\ + \"CoolOffPeriodExpiresOn\":{\ + \"shape\":\"MillisecondDateTime\",\ + \"documentation\":\"The date and time at which the compliance mode cooling-off period expires, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The date and time at which the snapshot was locked, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
The date and time at which the lock duration started, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
If you lock a snapshot that is in the pending
state, the lock duration starts only once the snapshot enters the completed
state.
The date and time at which the lock will expire, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).
Information about a locked snapshot.
\"\ + },\ + \"LockedSnapshotsInfoList\":{\ + \"type\":\"list\",\ + \"member\":{\ + \"shape\":\"LockedSnapshotsInfo\",\ + \"locationName\":\"item\"\ + }\ + },\ \"LogDestinationType\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -39412,7 +40486,10 @@ - (NSString *)definitionString { },\ \"MarketType\":{\ \"type\":\"string\",\ - \"enum\":[\"spot\"]\ + \"enum\":[\ + \"spot\",\ + \"capacity-block\"\ + ]\ },\ \"MaxIpv4AddrPerInterface\":{\"type\":\"integer\"},\ \"MaxIpv6AddrPerInterface\":{\"type\":\"integer\"},\ @@ -41442,10 +42519,7 @@ - (NSString *)definitionString { },\ \"ModifyVerifiedAccessEndpointPolicyRequest\":{\ \"type\":\"structure\",\ - \"required\":[\ - \"VerifiedAccessEndpointId\",\ - \"PolicyEnabled\"\ - ],\ + \"required\":[\"VerifiedAccessEndpointId\"],\ \"members\":{\ \"VerifiedAccessEndpointId\":{\ \"shape\":\"VerifiedAccessEndpointId\",\ @@ -41467,6 +42541,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
.
The options for server side encryption.
\"\ }\ }\ },\ @@ -41482,6 +42560,11 @@ - (NSString *)definitionString { \"shape\":\"String\",\ \"documentation\":\"The Verified Access policy document.
\",\ \"locationName\":\"policyDocument\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationResponse\",\ + \"documentation\":\"The options in use for server side encryption.
\",\ + \"locationName\":\"sseSpecification\"\ }\ }\ },\ @@ -41525,7 +42608,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessEndpoint\":{\ \"shape\":\"VerifiedAccessEndpoint\",\ - \"documentation\":\"The Verified Access endpoint details.
\",\ + \"documentation\":\"Details about the Verified Access endpoint.
\",\ \"locationName\":\"verifiedAccessEndpoint\"\ }\ }\ @@ -41539,10 +42622,7 @@ - (NSString *)definitionString { },\ \"ModifyVerifiedAccessGroupPolicyRequest\":{\ \"type\":\"structure\",\ - \"required\":[\ - \"VerifiedAccessGroupId\",\ - \"PolicyEnabled\"\ - ],\ + \"required\":[\"VerifiedAccessGroupId\"],\ \"members\":{\ \"VerifiedAccessGroupId\":{\ \"shape\":\"VerifiedAccessGroupId\",\ @@ -41564,6 +42644,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
.
The options for server side encryption.
\"\ }\ }\ },\ @@ -41579,6 +42663,11 @@ - (NSString *)definitionString { \"shape\":\"String\",\ \"documentation\":\"The Verified Access policy document.
\",\ \"locationName\":\"policyDocument\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationResponse\",\ + \"documentation\":\"The options in use for server side encryption.
\",\ + \"locationName\":\"sseSpecification\"\ }\ }\ },\ @@ -41614,7 +42703,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessGroup\":{\ \"shape\":\"VerifiedAccessGroup\",\ - \"documentation\":\"Details of Verified Access group.
\",\ + \"documentation\":\"Details about the Verified Access group.
\",\ \"locationName\":\"verifiedAccessGroup\"\ }\ }\ @@ -41683,11 +42772,21 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessInstance\":{\ \"shape\":\"VerifiedAccessInstance\",\ - \"documentation\":\"The ID of the Verified Access instance.
\",\ + \"documentation\":\"Details about the Verified Access instance.
\",\ \"locationName\":\"verifiedAccessInstance\"\ }\ }\ },\ + \"ModifyVerifiedAccessTrustProviderDeviceOptions\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"PublicSigningKeyUrl\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The URL Amazon Web Services Verified Access will use to verify the authenticity of the device tokens.
\"\ + }\ + },\ + \"documentation\":\"Modifies the configuration of the specified device-based Amazon Web Services Verified Access trust provider.
\"\ + },\ \"ModifyVerifiedAccessTrustProviderOidcOptions\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -41734,6 +42833,10 @@ - (NSString *)definitionString { \"shape\":\"ModifyVerifiedAccessTrustProviderOidcOptions\",\ \"documentation\":\"The options for an OpenID Connect-compatible user-identity trust provider.
\"\ },\ + \"DeviceOptions\":{\ + \"shape\":\"ModifyVerifiedAccessTrustProviderDeviceOptions\",\ + \"documentation\":\"The options for a device-based trust provider. This parameter is required when the provider type is device
.
A description for the Verified Access trust provider.
\"\ @@ -41746,6 +42849,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\":\"The options for server side encryption.
\"\ }\ }\ },\ @@ -41754,7 +42861,7 @@ - (NSString *)definitionString { \"members\":{\ \"VerifiedAccessTrustProvider\":{\ \"shape\":\"VerifiedAccessTrustProvider\",\ - \"documentation\":\"The ID of the Verified Access trust provider.
\",\ + \"documentation\":\"Details about the Verified Access trust provider.
\",\ \"locationName\":\"verifiedAccessTrustProvider\"\ }\ }\ @@ -42291,7 +43398,7 @@ - (NSString *)definitionString { },\ \"SkipTunnelReplacement\":{\ \"shape\":\"Boolean\",\ - \"documentation\":\"Choose whether or not to trigger immediate tunnel replacement.
Valid values: True
| False
Choose whether or not to trigger immediate tunnel replacement. This is only applicable when turning on or off EnableTunnelLifecycleControl
.
Valid values: True
| False
The number of seconds after which a DPD timeout occurs.
Constraints: A value greater than or equal to 30.
Default: 30
The number of seconds after which a DPD timeout occurs. A DPD timeout of 40 seconds means that the VPN endpoint will consider the peer dead 30 seconds after the first failed keep-alive.
Constraints: A value greater than or equal to 30.
Default: 40
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.
\"\ @@ -44124,6 +45238,10 @@ - (NSString *)definitionString { \"monthly\"\ ]\ },\ + \"PasswordData\":{\ + \"type\":\"string\",\ + \"sensitive\":true\ + },\ \"PathComponent\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -45721,6 +46839,42 @@ - (NSString *)definitionString { },\ \"documentation\":\"Describes the result of the purchase.
\"\ },\ + \"PurchaseCapacityBlockRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"CapacityBlockOfferingId\",\ + \"InstancePlatform\"\ + ],\ + \"members\":{\ + \"DryRun\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
The tags to apply to the Capacity Block during launch.
\",\ + \"locationName\":\"TagSpecification\"\ + },\ + \"CapacityBlockOfferingId\":{\ + \"shape\":\"OfferingId\",\ + \"documentation\":\"The ID of the Capacity Block offering.
\"\ + },\ + \"InstancePlatform\":{\ + \"shape\":\"CapacityReservationInstancePlatform\",\ + \"documentation\":\"The type of operating system for which to reserve capacity.
\"\ + }\ + }\ + },\ + \"PurchaseCapacityBlockResult\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"CapacityReservation\":{\ + \"shape\":\"CapacityReservation\",\ + \"documentation\":\"The Capacity Reservation.
\",\ + \"locationName\":\"capacityReservation\"\ + }\ + }\ + },\ \"PurchaseHostReservationRequest\":{\ \"type\":\"structure\",\ \"required\":[\ @@ -46389,7 +47543,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.
One or more security group IDs. You can create a security group using CreateSecurityGroup. You cannot specify both a security group ID and security name in the same request.
\",\ + \"documentation\":\"One or more security group IDs. You can create a security group using CreateSecurityGroup.
\",\ \"locationName\":\"SecurityGroupId\"\ },\ \"SecurityGroups\":{\ \"shape\":\"SecurityGroupStringList\",\ - \"documentation\":\"One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.
\",\ + \"documentation\":\"One or more security group names. For a nondefault VPC, you must use security group IDs instead.
\",\ \"locationName\":\"SecurityGroup\"\ },\ \"InstanceMarketOptions\":{\ @@ -48372,7 +49526,7 @@ - (NSString *)definitionString { },\ \"ElasticInferenceAccelerators\":{\ \"shape\":\"LaunchTemplateElasticInferenceAcceleratorResponseList\",\ - \"documentation\":\"The elastic inference accelerator for the instance.
\",\ + \"documentation\":\"An elastic inference accelerator to associate with the instance. Elastic inference accelerators are a resource you can attach to your Amazon EC2 instances to accelerate your Deep Learning (DL) inference workloads.
You cannot specify accelerators from different generations in the same request.
Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.
The signature of the JSON document.
\",\ \"locationName\":\"uploadPolicySignature\"\ }\ },\ \"documentation\":\"Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed AMI.
\"\ },\ + \"S3StorageUploadPolicy\":{\ + \"type\":\"string\",\ + \"sensitive\":true\ + },\ + \"S3StorageUploadPolicySignature\":{\ + \"type\":\"string\",\ + \"sensitive\":true\ + },\ \"SSEType\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -50148,6 +51316,49 @@ - (NSString *)definitionString { },\ \"documentation\":\"Describes a security group.
\"\ },\ + \"SecurityGroupForVpc\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"Description\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The security group's description.
\",\ + \"locationName\":\"description\"\ + },\ + \"GroupName\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The security group name.
\",\ + \"locationName\":\"groupName\"\ + },\ + \"OwnerId\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The security group owner ID.
\",\ + \"locationName\":\"ownerId\"\ + },\ + \"GroupId\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The security group ID.
\",\ + \"locationName\":\"groupId\"\ + },\ + \"Tags\":{\ + \"shape\":\"TagList\",\ + \"documentation\":\"The security group tags.
\",\ + \"locationName\":\"tagSet\"\ + },\ + \"PrimaryVpcId\":{\ + \"shape\":\"String\",\ + \"documentation\":\"The VPC ID in which the security group was created.
\",\ + \"locationName\":\"primaryVpcId\"\ + }\ + },\ + \"documentation\":\"A security group that can be used by interfaces in the VPC.
\"\ + },\ + \"SecurityGroupForVpcList\":{\ + \"type\":\"list\",\ + \"member\":{\ + \"shape\":\"SecurityGroupForVpc\",\ + \"locationName\":\"item\"\ + }\ + },\ \"SecurityGroupId\":{\"type\":\"string\"},\ \"SecurityGroupIdList\":{\ \"type\":\"list\",\ @@ -50795,6 +52006,14 @@ - (NSString *)definitionString { \"createVolumePermission\"\ ]\ },\ + \"SnapshotBlockPublicAccessState\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"block-all-sharing\",\ + \"block-new-sharing\",\ + \"unblocked\"\ + ]\ + },\ \"SnapshotDetail\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -51422,12 +52641,12 @@ - (NSString *)definitionString { },\ \"OnDemandMaxTotalPrice\":{\ \"shape\":\"String\",\ - \"documentation\":\"The maximum amount per hour for On-Demand Instances that you're willing to pay. You can use the onDemandMaxTotalPrice
parameter, the spotMaxTotalPrice
parameter, or both parameters to ensure that your fleet cost does not exceed your budget. If you set a maximum price per hour for the On-Demand Instances and Spot Instances in your request, Spot Fleet will launch instances until it reaches the maximum amount you're willing to pay. When the maximum amount you're willing to pay is reached, the fleet stops launching instances even if it hasn’t met the target capacity.
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 behavior when a Spot Instance is interrupted. The default is terminate
.
The behavior when a Spot Instance is interrupted.
If Configured
(for HibernationOptions
) is set to true
, the InstanceInterruptionBehavior
parameter is automatically set to hibernate
. If you set it to stop
or terminate
, you'll get an error.
If Configured
(for HibernationOptions
) is set to false
or null
, the InstanceInterruptionBehavior
parameter is automatically set to terminate
. You can also set it to stop
or hibernate
.
For more information, see Interruption behavior in the Amazon EC2 User Guide.
\"\ }\ },\ \"documentation\":\"The options for Spot Instances.
\"\ @@ -51782,7 +53001,7 @@ - (NSString *)definitionString { },\ \"MaxTotalPrice\":{\ \"shape\":\"String\",\ - \"documentation\":\"The maximum amount per hour for Spot Instances that you're willing to pay. We do not recommend using this parameter because it can lead to increased interruptions. If you do not specify this parameter, you will pay the current Spot price.
If you specify a maximum price, your Spot Instances will be interrupted more frequently than if you do not specify this parameter.
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.
\"\ @@ -55581,6 +56800,30 @@ - (NSString *)definitionString { \"t4g\"\ ]\ },\ + \"UnlockSnapshotRequest\":{\ + \"type\":\"structure\",\ + \"required\":[\"SnapshotId\"],\ + \"members\":{\ + \"SnapshotId\":{\ + \"shape\":\"SnapshotId\",\ + \"documentation\":\"The ID of the snapshot to unlock.
\"\ + },\ + \"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 ID of the snapshot.
\",\ + \"locationName\":\"snapshotId\"\ + }\ + }\ + },\ \"UnmonitorInstancesRequest\":{\ \"type\":\"structure\",\ \"required\":[\"InstanceIds\"],\ @@ -55777,7 +57020,8 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"spot\",\ - \"on-demand\"\ + \"on-demand\",\ + \"capacity-block\"\ ]\ },\ \"UsageClassTypeList\":{\ @@ -56094,6 +57338,11 @@ - (NSString *)definitionString { \"shape\":\"TagList\",\ \"documentation\":\"The tags.
\",\ \"locationName\":\"tagSet\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationResponse\",\ + \"documentation\":\"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.
\"\ @@ -56263,6 +57512,11 @@ - (NSString *)definitionString { \"shape\":\"TagList\",\ \"documentation\":\"The tags.
\",\ \"locationName\":\"tagSet\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationResponse\",\ + \"documentation\":\"The options in use for server side encryption.
\",\ + \"locationName\":\"sseSpecification\"\ }\ },\ \"documentation\":\"Describes a Verified Access group.
\"\ @@ -56314,6 +57568,11 @@ - (NSString *)definitionString { \"shape\":\"TagList\",\ \"documentation\":\"The tags.
\",\ \"locationName\":\"tagSet\"\ + },\ + \"FipsEnabled\":{\ + \"shape\":\"Boolean\",\ + \"documentation\":\"Indicates whether support for Federal Information Processing Standards (FIPS) is enabled on the instance.
\",\ + \"locationName\":\"fipsEnabled\"\ }\ },\ \"documentation\":\"Describes a Verified Access instance.
\"\ @@ -56468,11 +57727,11 @@ - (NSString *)definitionString { },\ \"LogVersion\":{\ \"shape\":\"String\",\ - \"documentation\":\"The logging version to use.
Valid values: ocsf-0.1
| ocsf-1.0.0-rc.2
The logging version.
Valid values: ocsf-0.1
| ocsf-1.0.0-rc.2
Include trust data sent by trust providers into the logs.
\"\ + \"documentation\":\"Indicates whether to include trust data sent by trust providers in the logs.
\"\ }\ },\ \"documentation\":\"Options for Verified Access logs.
\"\ @@ -56551,17 +57810,47 @@ - (NSString *)definitionString { },\ \"LogVersion\":{\ \"shape\":\"String\",\ - \"documentation\":\"Describes current setting for the logging version.
\",\ + \"documentation\":\"The log version.
\",\ \"locationName\":\"logVersion\"\ },\ \"IncludeTrustContext\":{\ \"shape\":\"Boolean\",\ - \"documentation\":\"Describes current setting for including trust data into the logs.
\",\ + \"documentation\":\"Indicates whether trust data is included in the logs.
\",\ \"locationName\":\"includeTrustContext\"\ }\ },\ \"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\":\"Indicates whether customer managed KMS keys are in use for server side encryption.
Valid values: True
| False
The ARN of the KMS key.
\",\ + \"locationName\":\"kmsKeyArn\"\ + }\ + },\ + \"documentation\":\"The options in use for server side encryption.
\"\ + },\ \"VerifiedAccessTrustProvider\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -56619,6 +57908,11 @@ - (NSString *)definitionString { \"shape\":\"TagList\",\ \"documentation\":\"The tags.
\",\ \"locationName\":\"tagSet\"\ + },\ + \"SseSpecification\":{\ + \"shape\":\"VerifiedAccessSseSpecificationResponse\",\ + \"documentation\":\"The options in use for server side encryption.
\",\ + \"locationName\":\"sseSpecification\"\ }\ },\ \"documentation\":\"Describes a Verified Access trust provider.
\"\ @@ -56698,7 +57992,7 @@ - (NSString *)definitionString { },\ \"LastStatusChange\":{\ \"shape\":\"DateTime\",\ - \"documentation\":\"The date and time of the last change in status.
\",\ + \"documentation\":\"The date and time of the last change in status. This field is updated when changes in IKE (Phase 1), IPSec (Phase 2), or BGP status are detected.
\",\ \"locationName\":\"lastStatusChange\"\ },\ \"OutsideIpAddress\":{\ diff --git a/AWSEC2/AWSEC2Service.h b/AWSEC2/AWSEC2Service.h index 9d1b811da06..867b9ed0eca 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 key pair, by removing the public key from Amazon EC2.
@param request A container for the necessary parameters to execute the DeleteKeyPair 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 AWSEC2DeleteKeyPairRequest + @see AWSEC2DeleteKeyPairResult */ -- (void)deleteKeyPair:(AWSEC2DeleteKeyPairRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; +- (void)deleteKeyPair:(AWSEC2DeleteKeyPairRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DeleteKeyPairResult * _Nullable response, NSError * _Nullable error))completionHandler; /**Deletes a launch template. Deleting a launch template deletes all of its versions.
@@ -5156,7 +5159,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (void)deleteVolume:(AWSEC2DeleteVolumeRequest *)request completionHandler:(void (^ _Nullable)(NSError * _Nullable error))completionHandler; /** -Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.
+Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on. When you delete the VPC, it deletes the VPC's default security group, network ACL, and route table.
@param request A container for the necessary parameters to execute the DeleteVpc service method. @@ -5167,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. @@ -5253,7 +5256,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (void)deleteVpcEndpoints:(AWSEC2DeleteVpcEndpointsRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DeleteVpcEndpointsResult * _Nullable response, NSError * _Nullable error))completionHandler; /** -Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the accepter VPC can delete the VPC peering connection if it's in the active
state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance
state. You cannot delete a VPC peering connection that's in the failed
state.
Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the accepter VPC can delete the VPC peering connection if it's in the active
state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance
state. You cannot delete a VPC peering connection that's in the failed
or rejected
state.
Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the accepter VPC can delete the VPC peering connection if it's in the active
state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance
state. You cannot delete a VPC peering connection that's in the failed
state.
Deletes a VPC peering connection. Either the owner of the requester VPC or the owner of the accepter VPC can delete the VPC peering connection if it's in the active
state. The owner of the requester VPC can delete a VPC peering connection in the pending-acceptance
state. You cannot delete a VPC peering connection that's in the failed
or rejected
state.
Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.
+ + @param request A container for the necessary parameters to execute the DescribeCapacityBlockOfferings service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2DescribeCapacityBlockOfferingsResult`. + + @see AWSEC2DescribeCapacityBlockOfferingsRequest + @see AWSEC2DescribeCapacityBlockOfferingsResult + */ +- (AWSTaskDescribes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.
+ + @param request A container for the necessary parameters to execute the DescribeCapacityBlockOfferings service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2DescribeCapacityBlockOfferingsRequest + @see AWSEC2DescribeCapacityBlockOfferingsResult + */ +- (void)describeCapacityBlockOfferings:(AWSEC2DescribeCapacityBlockOfferingsRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DescribeCapacityBlockOfferingsResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Describes one or more Capacity Reservation Fleets.
@@ -6166,7 +6194,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (void)describeExportTasks:(AWSEC2DescribeExportTasksRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DescribeExportTasksResult * _Nullable response, NSError * _Nullable error))completionHandler; /** -Describe details for Windows AMIs that are configured for faster launching.
+Describe details for Windows AMIs that are configured for Windows fast launch.
@param request A container for the necessary parameters to execute the DescribeFastLaunchImages service method. @@ -6178,7 +6206,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (AWSTaskDescribe details for Windows AMIs that are configured for faster launching.
+Describe details for Windows AMIs that are configured for Windows fast launch.
@param request A container for the necessary parameters to execute the DescribeFastLaunchImages service method. @param completionHandler The completion handler to call when the load request is complete. @@ -6765,6 +6793,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)describeInstanceStatus:(AWSEC2DescribeInstanceStatusRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DescribeInstanceStatusResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Describes a tree-based hierarchy that represents the physical host placement of your EC2 instances within an Availability Zone or Local Zone. You can use this information to determine the relative proximity of your EC2 instances within the Amazon Web Services network to support your tightly coupled workloads.
Limitations
Supported zones
Availability Zone
Local Zone
Supported instance types
hpc6a.48xlarge
| hpc6id.32xlarge
| hpc7a.12xlarge
| hpc7a.24xlarge
| hpc7a.48xlarge
| hpc7a.96xlarge
| hpc7g.4xlarge
| hpc7g.8xlarge
| hpc7g.16xlarge
p3dn.24xlarge
| p4d.24xlarge
| p4de.24xlarge
| p5.48xlarge
trn1.2xlarge
| trn1.32xlarge
| trn1n.32xlarge
For more information, see Amazon EC2 instance topology in the Amazon EC2 User Guide.
+ + @param request A container for the necessary parameters to execute the DescribeInstanceTopology service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2DescribeInstanceTopologyResult`. + + @see AWSEC2DescribeInstanceTopologyRequest + @see AWSEC2DescribeInstanceTopologyResult + */ +- (AWSTaskDescribes a tree-based hierarchy that represents the physical host placement of your EC2 instances within an Availability Zone or Local Zone. You can use this information to determine the relative proximity of your EC2 instances within the Amazon Web Services network to support your tightly coupled workloads.
Limitations
Supported zones
Availability Zone
Local Zone
Supported instance types
hpc6a.48xlarge
| hpc6id.32xlarge
| hpc7a.12xlarge
| hpc7a.24xlarge
| hpc7a.48xlarge
| hpc7a.96xlarge
| hpc7g.4xlarge
| hpc7g.8xlarge
| hpc7g.16xlarge
p3dn.24xlarge
| p4d.24xlarge
| p4de.24xlarge
| p5.48xlarge
trn1.2xlarge
| trn1.32xlarge
| trn1n.32xlarge
For more information, see Amazon EC2 instance topology in the Amazon EC2 User Guide.
+ + @param request A container for the necessary parameters to execute the DescribeInstanceTopology 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 AWSEC2DescribeInstanceTopologyRequest + @see AWSEC2DescribeInstanceTopologyResult + */ +- (void)describeInstanceTopology:(AWSEC2DescribeInstanceTopologyRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DescribeInstanceTopologyResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Returns a list of all instance types offered. The results can be filtered by location (Region or Availability Zone). If no location is specified, the instance types offered in the current Region are returned.
@@ -7240,6 +7293,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)describeLocalGateways:(AWSEC2DescribeLocalGatewaysRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DescribeLocalGatewaysResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Describes the lock status for a snapshot.
+ + @param request A container for the necessary parameters to execute the DescribeLockedSnapshots service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2DescribeLockedSnapshotsResult`. + + @see AWSEC2DescribeLockedSnapshotsRequest + @see AWSEC2DescribeLockedSnapshotsResult + */ +- (AWSTaskDescribes the lock status for a snapshot.
+ + @param request A container for the necessary parameters to execute the DescribeLockedSnapshots 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 AWSEC2DescribeLockedSnapshotsRequest + @see AWSEC2DescribeLockedSnapshotsResult + */ +- (void)describeLockedSnapshots:(AWSEC2DescribeLockedSnapshotsRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DescribeLockedSnapshotsResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Describes your managed prefix lists and any Amazon Web Services-managed prefix lists.
To view the entries for your prefix list, use GetManagedPrefixListEntries.
@@ -7491,7 +7569,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
.
Discontinue faster launching for a Windows AMI, and clean up existing pre-provisioned snapshots. When you disable faster launching, the AMI uses the standard launch process for each instance. All pre-provisioned snapshots must be removed before you can enable faster launching again.
To change these settings, you must own the AMI.
Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned snapshots. After you disable Windows fast launch, the AMI uses the standard launch process for each new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable Windows fast launch again.
You can only change these settings for Windows AMIs that you own or that have been shared with you.
Discontinue faster launching for a Windows AMI, and clean up existing pre-provisioned snapshots. When you disable faster launching, the AMI uses the standard launch process for each instance. All pre-provisioned snapshots must be removed before you can enable faster launching again.
To change these settings, you must own the AMI.
Discontinue Windows fast launch for a Windows AMI, and clean up existing pre-provisioned snapshots. After you disable Windows fast launch, the AMI uses the standard launch process for each new instance. Amazon EC2 must remove all pre-provisioned snapshots before you can enable Windows fast launch again.
You can only change these settings for Windows AMIs that you own or that have been shared with you.
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 an AMI was public or 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 an AMI was public or 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.
+ + @param request A container for the necessary parameters to execute the DisableImageBlockPublicAccess service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2DisableImageBlockPublicAccessResult`. + + @see AWSEC2DisableImageBlockPublicAccessRequest + @see AWSEC2DisableImageBlockPublicAccessResult + */ +- (AWSTaskDisables 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.
+ + @param request A container for the necessary parameters to execute the DisableImageBlockPublicAccess 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 AWSEC2DisableImageBlockPublicAccessRequest + @see AWSEC2DisableImageBlockPublicAccessResult + */ +- (void)disableImageBlockPublicAccess:(AWSEC2DisableImageBlockPublicAccessRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DisableImageBlockPublicAccessResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Cancels the deprecation of the specified AMI.
For more information, see Deprecate an AMI in the Amazon EC2 User Guide.
@@ -9481,6 +9609,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)disableSerialConsoleAccess:(AWSEC2DisableSerialConsoleAccessRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DisableSerialConsoleAccessResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Disables the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you disable block public access for snapshots in a Region, users can publicly share snapshots in that Region.
If block public access is enabled in block-all-sharing
mode, and you disable block public access, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.
For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide .
+ + @param request A container for the necessary parameters to execute the DisableSnapshotBlockPublicAccess service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2DisableSnapshotBlockPublicAccessResult`. + + @see AWSEC2DisableSnapshotBlockPublicAccessRequest + @see AWSEC2DisableSnapshotBlockPublicAccessResult + */ +- (AWSTaskDisables the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you disable block public access for snapshots in a Region, users can publicly share snapshots in that Region.
If block public access is enabled in block-all-sharing
mode, and you disable block public access, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.
For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide .
+ + @param request A container for the necessary parameters to execute the DisableSnapshotBlockPublicAccess service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2DisableSnapshotBlockPublicAccessRequest + @see AWSEC2DisableSnapshotBlockPublicAccessResult + */ +- (void)disableSnapshotBlockPublicAccess:(AWSEC2DisableSnapshotBlockPublicAccessRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2DisableSnapshotBlockPublicAccessResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Disables the specified resource attachment from propagating routes to the specified propagation route table.
@@ -9998,7 +10151,7 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; - (void)enableEbsEncryptionByDefault:(AWSEC2EnableEbsEncryptionByDefaultRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2EnableEbsEncryptionByDefaultResult * _Nullable response, NSError * _Nullable error))completionHandler; /** -When you enable faster launching for a Windows AMI, images are pre-provisioned, using snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a set of reserved snapshots that are used for subsequent launches. The reserved snapshots are automatically replenished as they are used, depending on your settings for launch frequency.
To change these settings, you must own the AMI.
When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, using snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a set of reserved snapshots that are used for subsequent launches. The reserved snapshots are automatically replenished as they are used, depending on your settings for launch frequency.
You can only change these settings for Windows AMIs that you own or that have been shared with you.
When you enable faster launching for a Windows AMI, images are pre-provisioned, using snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a set of reserved snapshots that are used for subsequent launches. The reserved snapshots are automatically replenished as they are used, depending on your settings for launch frequency.
To change these settings, you must own the AMI.
When you enable Windows fast launch for a Windows AMI, images are pre-provisioned, using snapshots to launch instances up to 65% faster. To create the optimized Windows image, Amazon EC2 launches an instance and runs through Sysprep steps, rebooting as required. Then it creates a set of reserved snapshots that are used for subsequent launches. The reserved snapshots are automatically replenished as they are used, depending on your settings for launch frequency.
You can only change these settings for Windows AMIs that you own or that have been shared with you.
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.
+ + @param request A container for the necessary parameters to execute the EnableImageBlockPublicAccess service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2EnableImageBlockPublicAccessResult`. + + @see AWSEC2EnableImageBlockPublicAccessRequest + @see AWSEC2EnableImageBlockPublicAccessResult + */ +- (AWSTaskEnables 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.
+ + @param request A container for the necessary parameters to execute the EnableImageBlockPublicAccess 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 AWSEC2EnableImageBlockPublicAccessRequest + @see AWSEC2EnableImageBlockPublicAccessResult + */ +- (void)enableImageBlockPublicAccess:(AWSEC2EnableImageBlockPublicAccessRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2EnableImageBlockPublicAccessResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Enables deprecation of the specified AMI at the specified date and time.
For more information, see Deprecate an AMI in the Amazon EC2 User Guide.
@@ -10147,6 +10350,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)enableSerialConsoleAccess:(AWSEC2EnableSerialConsoleAccessRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2EnableSerialConsoleAccessResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Enables or modifies the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you enable block public access for snapshots in a Region, users can no longer request public sharing for snapshots in that Region. Snapshots that are already publicly shared are either treated as private or they remain publicly shared, depending on the State that you specify.
If block public access is enabled in block-all-sharing
mode, and you change the mode to block-new-sharing
, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.
For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.
+ + @param request A container for the necessary parameters to execute the EnableSnapshotBlockPublicAccess service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2EnableSnapshotBlockPublicAccessResult`. + + @see AWSEC2EnableSnapshotBlockPublicAccessRequest + @see AWSEC2EnableSnapshotBlockPublicAccessResult + */ +- (AWSTaskEnables or modifies the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you enable block public access for snapshots in a Region, users can no longer request public sharing for snapshots in that Region. Snapshots that are already publicly shared are either treated as private or they remain publicly shared, depending on the State that you specify.
If block public access is enabled in block-all-sharing
mode, and you change the mode to block-new-sharing
, all snapshots that were previously publicly shared are no longer treated as private and they become publicly accessible again.
For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.
+ + @param request A container for the necessary parameters to execute the EnableSnapshotBlockPublicAccess service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2EnableSnapshotBlockPublicAccessRequest + @see AWSEC2EnableSnapshotBlockPublicAccessResult + */ +- (void)enableSnapshotBlockPublicAccess:(AWSEC2EnableSnapshotBlockPublicAccessRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2EnableSnapshotBlockPublicAccessResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Enables the specified attachment to propagate routes to the specified propagation route table.
@@ -10691,6 +10919,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)getHostReservationPurchasePreview:(AWSEC2GetHostReservationPurchasePreviewRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2GetHostReservationPurchasePreviewResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Gets the current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.
For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
+ + @param request A container for the necessary parameters to execute the GetImageBlockPublicAccessState service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2GetImageBlockPublicAccessStateResult`. + + @see AWSEC2GetImageBlockPublicAccessStateRequest + @see AWSEC2GetImageBlockPublicAccessStateResult + */ +- (AWSTaskGets the current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.
For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.
+ + @param request A container for the necessary parameters to execute the GetImageBlockPublicAccessState 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 AWSEC2GetImageBlockPublicAccessStateRequest + @see AWSEC2GetImageBlockPublicAccessStateResult + */ +- (void)getImageBlockPublicAccessState:(AWSEC2GetImageBlockPublicAccessStateRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2GetImageBlockPublicAccessStateResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Returns a list of instance types with the specified instance attributes. You can use the response to preview the instance types without launching instances. Note that the response does not consider capacity.
When you specify multiple parameters, you get instance types that satisfy all of the specified parameters. If you specify multiple values for a parameter, you get instance types that satisfy any of the specified values.
For more information, see Preview instance types with specified attributes, Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide, and Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.
@@ -11066,6 +11319,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)getReservedInstancesExchangeQuote:(AWSEC2GetReservedInstancesExchangeQuoteRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2GetReservedInstancesExchangeQuoteResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.
+ + @param request A container for the necessary parameters to execute the GetSecurityGroupsForVpc service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2GetSecurityGroupsForVpcResult`. + + @see AWSEC2GetSecurityGroupsForVpcRequest + @see AWSEC2GetSecurityGroupsForVpcResult + */ +- (AWSTaskGets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.
+ + @param request A container for the necessary parameters to execute the GetSecurityGroupsForVpc service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2GetSecurityGroupsForVpcRequest + @see AWSEC2GetSecurityGroupsForVpcResult + */ +- (void)getSecurityGroupsForVpc:(AWSEC2GetSecurityGroupsForVpcRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2GetSecurityGroupsForVpcResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Retrieves the access status of your account to the EC2 serial console of all instances. By default, access to the EC2 serial console is disabled for your account. For more information, see Manage account access to the EC2 serial console in the Amazon EC2 User Guide.
@@ -11091,6 +11369,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)getSerialConsoleAccessStatus:(AWSEC2GetSerialConsoleAccessStatusRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2GetSerialConsoleAccessStatusResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Gets the current state of block public access for snapshots setting for the account and Region.
For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.
+ + @param request A container for the necessary parameters to execute the GetSnapshotBlockPublicAccessState service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2GetSnapshotBlockPublicAccessStateResult`. + + @see AWSEC2GetSnapshotBlockPublicAccessStateRequest + @see AWSEC2GetSnapshotBlockPublicAccessStateResult + */ +- (AWSTaskGets the current state of block public access for snapshots setting for the account and Region.
For more information, see Block public access for snapshots in the Amazon Elastic Compute Cloud User Guide.
+ + @param request A container for the necessary parameters to execute the GetSnapshotBlockPublicAccessState service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2GetSnapshotBlockPublicAccessStateRequest + @see AWSEC2GetSnapshotBlockPublicAccessStateResult + */ +- (void)getSnapshotBlockPublicAccessState:(AWSEC2GetSnapshotBlockPublicAccessStateRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2GetSnapshotBlockPublicAccessStateResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Calculates the Spot placement score for a Region or Availability Zone based on the specified target capacity and compute requirements.
You can specify your compute requirements either by using InstanceRequirementsWithMetadata
and letting Amazon EC2 choose the optimal instance types to fulfill your Spot request, or you can specify the instance types by using InstanceTypes
.
For more information, see Spot placement score in the Amazon EC2 User Guide.
@@ -11641,6 +11944,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)listSnapshotsInRecycleBin:(AWSEC2ListSnapshotsInRecycleBinRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2ListSnapshotsInRecycleBinResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Locks an Amazon EBS snapshot in either governance or compliance mode to protect it against accidental or malicious deletions for a specific duration. A locked snapshot can't be deleted.
You can also use this action to modify the lock settings for a snapshot that is already locked. The allowed modifications depend on the lock mode and lock state:
If the snapshot is locked in governance mode, you can modify the lock mode and the lock duration or lock expiration date.
If the snapshot is locked in compliance mode and it is in the cooling-off period, you can modify the lock mode and the lock duration or lock expiration date.
If the snapshot is locked in compliance mode and the cooling-off period has lapsed, you can only increase the lock duration or extend the lock expiration date.
Locks an Amazon EBS snapshot in either governance or compliance mode to protect it against accidental or malicious deletions for a specific duration. A locked snapshot can't be deleted.
You can also use this action to modify the lock settings for a snapshot that is already locked. The allowed modifications depend on the lock mode and lock state:
If the snapshot is locked in governance mode, you can modify the lock mode and the lock duration or lock expiration date.
If the snapshot is locked in compliance mode and it is in the cooling-off period, you can modify the lock mode and the lock duration or lock expiration date.
If the snapshot is locked in compliance mode and the cooling-off period has lapsed, you can only increase the lock duration or extend the lock expiration date.
Modifies an attribute of the specified Elastic IP address. For requirements, see Using reverse DNS for email applications.
@@ -13364,6 +13692,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)provisionPublicIpv4PoolCidr:(AWSEC2ProvisionPublicIpv4PoolCidrRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2ProvisionPublicIpv4PoolCidrResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.
+ + @param request A container for the necessary parameters to execute the PurchaseCapacityBlock service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2PurchaseCapacityBlockResult`. + + @see AWSEC2PurchaseCapacityBlockRequest + @see AWSEC2PurchaseCapacityBlockResult + */ +- (AWSTaskPurchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.
+ + @param request A container for the necessary parameters to execute the PurchaseCapacityBlock service method. + @param completionHandler The completion handler to call when the load request is complete. + `response` - A response object, or `nil` if the request failed. + `error` - An error object that indicates why the request failed, or `nil` if the request was successful. + + @see AWSEC2PurchaseCapacityBlockRequest + @see AWSEC2PurchaseCapacityBlockResult + */ +- (void)purchaseCapacityBlock:(AWSEC2PurchaseCapacityBlockRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2PurchaseCapacityBlockResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Purchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account.
@@ -14338,7 +14691,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. @@ -14350,7 +14703,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. @@ -14756,6 +15109,31 @@ FOUNDATION_EXPORT NSString *const AWSEC2SDKVersion; */ - (void)unassignPrivateNatGatewayAddress:(AWSEC2UnassignPrivateNatGatewayAddressRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2UnassignPrivateNatGatewayAddressResult * _Nullable response, NSError * _Nullable error))completionHandler; +/** +Unlocks a snapshot that is locked in governance mode or that is locked in compliance mode but still in the cooling-off period. You can't unlock a snapshot that is locked in compliance mode after the cooling-off period has expired.
+ + @param request A container for the necessary parameters to execute the UnlockSnapshot service method. + + @return An instance of `AWSTask`. On successful execution, `task.result` will contain an instance of `AWSEC2UnlockSnapshotResult`. + + @see AWSEC2UnlockSnapshotRequest + @see AWSEC2UnlockSnapshotResult + */ +- (AWSTaskUnlocks a snapshot that is locked in governance mode or that is locked in compliance mode but still in the cooling-off period. You can't unlock a snapshot that is locked in compliance mode after the cooling-off period has expired.
+ + @param request A container for the necessary parameters to execute the UnlockSnapshot 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 AWSEC2UnlockSnapshotRequest + @see AWSEC2UnlockSnapshotResult + */ +- (void)unlockSnapshot:(AWSEC2UnlockSnapshotRequest *)request completionHandler:(void (^ _Nullable)(AWSEC2UnlockSnapshotResult * _Nullable response, NSError * _Nullable error))completionHandler; + /**Disables detailed monitoring for a running instance. For more information, see Monitoring your instances and volumes in the Amazon EC2 User Guide.
diff --git a/AWSEC2/AWSEC2Service.m b/AWSEC2/AWSEC2Service.m index b4017103ec5..93cbc733781 100644 --- a/AWSEC2/AWSEC2Service.m +++ b/AWSEC2/AWSEC2Service.m @@ -26,7 +26,7 @@ #import "AWSEC2Serializer.h" static NSString *const AWSInfoEC2 = @"EC2"; -NSString *const AWSEC2SDKVersion = @"2.33.4"; +NSString *const AWSEC2SDKVersion = @"2.33.5"; @interface AWSEC2ResponseSerializer : AWSXMLResponseSerializer @@ -3803,22 +3803,23 @@ - (void)deleteIpamScope:(AWSEC2DeleteIpamScopeRequest *)request }]; } -- (AWSTask *)deleteKeyPair:(AWSEC2DeleteKeyPairRequest *)request { +- (AWSTaskThe 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; @@ -2555,7 +2555,7 @@ typedef NS_ENUM(NSInteger, AWSElasticLoadBalancingTargetTypeEnum) { /** -The name of the attribute.
The following attributes are supported by all load balancers:
deregistration_delay.timeout_seconds
- The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from draining
to unused
. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported.
stickiness.enabled
- Indicates whether target stickiness is enabled. The value is true
or false
. The default is false
.
stickiness.type
- Indicates the type of stickiness. The possible values are:
lb_cookie
and app_cookie
for Application Load Balancers.
source_ip
for Network Load Balancers.
source_ip_dest_ip
and source_ip_dest_ip_proto
for Gateway Load Balancers.
The following attributes are supported by Application Load Balancers and Network Load Balancers:
load_balancing.cross_zone.enabled
- Indicates whether cross zone load balancing is enabled. The value is true
, false
or use_load_balancer_configuration
. The default is use_load_balancer_configuration
.
target_group_health.dns_failover.minimum_healthy_targets.count
- The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off
or an integer from 1 to the maximum number of targets. The default is off
.
target_group_health.dns_failover.minimum_healthy_targets.percentage
- The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off
or an integer from 1 to 100. The default is off
.
target_group_health.unhealthy_state_routing.minimum_healthy_targets.count
- The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are 1 to the maximum number of targets. The default is 1.
target_group_health.unhealthy_state_routing.minimum_healthy_targets.percentage
- The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are off
or an integer from 1 to 100. The default is off
.
The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:
load_balancing.algorithm.type
- The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is round_robin
or least_outstanding_requests
. The default is round_robin
.
slow_start.duration_seconds
- The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). The default is 0 seconds (disabled).
stickiness.app_cookie.cookie_name
- Indicates the name of the application-based cookie. Names that start with the following prefixes are not allowed: AWSALB
, AWSALBAPP
, and AWSALBTG
; they're reserved for use by the load balancer.
stickiness.app_cookie.duration_seconds
- The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the application-based cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
stickiness.lb_cookie.duration_seconds
- The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:
lambda.multi_value_headers.enabled
- Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is true
or false
. The default is false
. If the value is false
and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client.
The following attributes are supported only by Network Load Balancers:
deregistration_delay.connection_termination.enabled
- Indicates whether the load balancer terminates connections at the end of the deregistration timeout. The value is true
or false
. The default is false
.
preserve_client_ip.enabled
- Indicates whether client IP preservation is enabled. The value is true
or false
. The default is disabled if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and TCP_UDP target groups.
proxy_protocol_v2.enabled
- Indicates whether Proxy Protocol version 2 is enabled. The value is true
or false
. The default is false
.
The following attributes are supported only by Gateway Load Balancers:
target_failover.on_deregistration
- Indicates how the Gateway Load Balancer handles existing flows when a target is deregistered. The possible values are rebalance
and no_rebalance
. The default is no_rebalance
. The two attributes (target_failover.on_deregistration
and target_failover.on_unhealthy
) can't be set independently. The value you set for both attributes must be the same.
target_failover.on_unhealthy
- Indicates how the Gateway Load Balancer handles existing flows when a target is unhealthy. The possible values are rebalance
and no_rebalance
. The default is no_rebalance
. The two attributes (target_failover.on_deregistration
and target_failover.on_unhealthy
) cannot be set independently. The value you set for both attributes must be the same.
The name of the attribute.
The following attributes are supported by all load balancers:
deregistration_delay.timeout_seconds
- The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from draining
to unused
. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported.
stickiness.enabled
- Indicates whether target stickiness is enabled. The value is true
or false
. The default is false
.
stickiness.type
- Indicates the type of stickiness. The possible values are:
lb_cookie
and app_cookie
for Application Load Balancers.
source_ip
for Network Load Balancers.
source_ip_dest_ip
and source_ip_dest_ip_proto
for Gateway Load Balancers.
The following attributes are supported by Application Load Balancers and Network Load Balancers:
load_balancing.cross_zone.enabled
- Indicates whether cross zone load balancing is enabled. The value is true
, false
or use_load_balancer_configuration
. The default is use_load_balancer_configuration
.
target_group_health.dns_failover.minimum_healthy_targets.count
- The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off
or an integer from 1 to the maximum number of targets. The default is off
.
target_group_health.dns_failover.minimum_healthy_targets.percentage
- The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off
or an integer from 1 to 100. The default is off
.
target_group_health.unhealthy_state_routing.minimum_healthy_targets.count
- The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are 1 to the maximum number of targets. The default is 1.
target_group_health.unhealthy_state_routing.minimum_healthy_targets.percentage
- The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are off
or an integer from 1 to 100. The default is off
.
The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:
load_balancing.algorithm.type
- The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is round_robin
or least_outstanding_requests
. The default is round_robin
.
slow_start.duration_seconds
- The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). The default is 0 seconds (disabled).
stickiness.app_cookie.cookie_name
- Indicates the name of the application-based cookie. Names that start with the following prefixes are not allowed: AWSALB
, AWSALBAPP
, and AWSALBTG
; they're reserved for use by the load balancer.
stickiness.app_cookie.duration_seconds
- The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the application-based cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
stickiness.lb_cookie.duration_seconds
- The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:
lambda.multi_value_headers.enabled
- Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is true
or false
. The default is false
. If the value is false
and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client.
The following attributes are supported only by Network Load Balancers:
deregistration_delay.connection_termination.enabled
- Indicates whether the load balancer terminates connections at the end of the deregistration timeout. The value is true
or false
. For new UDP/TCP_UDP target groups the default is true
. Otherwise, the default is false
.
preserve_client_ip.enabled
- Indicates whether client IP preservation is enabled. The value is true
or false
. The default is disabled if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and TCP_UDP target groups.
proxy_protocol_v2.enabled
- Indicates whether Proxy Protocol version 2 is enabled. The value is true
or false
. The default is false
.
target_health_state.unhealthy.connection_termination.enabled
- Indicates whether the load balancer terminates connections to unhealthy targets. The value is true
or false
. The default is true
.
The following attributes are supported only by Gateway Load Balancers:
target_failover.on_deregistration
- Indicates how the Gateway Load Balancer handles existing flows when a target is deregistered. The possible values are rebalance
and no_rebalance
. The default is no_rebalance
. The two attributes (target_failover.on_deregistration
and target_failover.on_unhealthy
) can't be set independently. The value you set for both attributes must be the same.
target_failover.on_unhealthy
- Indicates how the Gateway Load Balancer handles existing flows when a target is unhealthy. The possible values are rebalance
and no_rebalance
. The default is no_rebalance
. The two attributes (target_failover.on_deregistration
and target_failover.on_unhealthy
) cannot be set independently. The value you set for both attributes must be the same.
Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.
Note: If the specified target does not exist, the action returns successfully.
\"\ + \"documentation\":\"Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.
The load balancer stops sending requests to targets that are deregistering, but uses connection draining to ensure that in-flight traffic completes on the existing connections. This deregistration delay is configured by default but can be updated for each target group.
For more information, see the following:
Deregistration delay in the Application Load Balancers User Guide
Deregistration delay in the Network Load Balancers User Guide
Deregistration delay in the Gateway Load Balancers User Guide
Note: If the specified target does not exist, the action returns successfully.
\"\ },\ \"DescribeAccountLimits\":{\ \"name\":\"DescribeAccountLimits\",\ @@ -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.
\"\ }\ }\ },\ @@ -3197,7 +3197,7 @@ - (NSString *)definitionString { \"members\":{\ \"Key\":{\ \"shape\":\"TargetGroupAttributeKey\",\ - \"documentation\":\"The name of the attribute.
The following attributes are supported by all load balancers:
deregistration_delay.timeout_seconds
- The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from draining
to unused
. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported.
stickiness.enabled
- Indicates whether target stickiness is enabled. The value is true
or false
. The default is false
.
stickiness.type
- Indicates the type of stickiness. The possible values are:
lb_cookie
and app_cookie
for Application Load Balancers.
source_ip
for Network Load Balancers.
source_ip_dest_ip
and source_ip_dest_ip_proto
for Gateway Load Balancers.
The following attributes are supported by Application Load Balancers and Network Load Balancers:
load_balancing.cross_zone.enabled
- Indicates whether cross zone load balancing is enabled. The value is true
, false
or use_load_balancer_configuration
. The default is use_load_balancer_configuration
.
target_group_health.dns_failover.minimum_healthy_targets.count
- The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off
or an integer from 1 to the maximum number of targets. The default is off
.
target_group_health.dns_failover.minimum_healthy_targets.percentage
- The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off
or an integer from 1 to 100. The default is off
.
target_group_health.unhealthy_state_routing.minimum_healthy_targets.count
- The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are 1 to the maximum number of targets. The default is 1.
target_group_health.unhealthy_state_routing.minimum_healthy_targets.percentage
- The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are off
or an integer from 1 to 100. The default is off
.
The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:
load_balancing.algorithm.type
- The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is round_robin
or least_outstanding_requests
. The default is round_robin
.
slow_start.duration_seconds
- The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). The default is 0 seconds (disabled).
stickiness.app_cookie.cookie_name
- Indicates the name of the application-based cookie. Names that start with the following prefixes are not allowed: AWSALB
, AWSALBAPP
, and AWSALBTG
; they're reserved for use by the load balancer.
stickiness.app_cookie.duration_seconds
- The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the application-based cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
stickiness.lb_cookie.duration_seconds
- The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:
lambda.multi_value_headers.enabled
- Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is true
or false
. The default is false
. If the value is false
and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client.
The following attributes are supported only by Network Load Balancers:
deregistration_delay.connection_termination.enabled
- Indicates whether the load balancer terminates connections at the end of the deregistration timeout. The value is true
or false
. The default is false
.
preserve_client_ip.enabled
- Indicates whether client IP preservation is enabled. The value is true
or false
. The default is disabled if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and TCP_UDP target groups.
proxy_protocol_v2.enabled
- Indicates whether Proxy Protocol version 2 is enabled. The value is true
or false
. The default is false
.
The following attributes are supported only by Gateway Load Balancers:
target_failover.on_deregistration
- Indicates how the Gateway Load Balancer handles existing flows when a target is deregistered. The possible values are rebalance
and no_rebalance
. The default is no_rebalance
. The two attributes (target_failover.on_deregistration
and target_failover.on_unhealthy
) can't be set independently. The value you set for both attributes must be the same.
target_failover.on_unhealthy
- Indicates how the Gateway Load Balancer handles existing flows when a target is unhealthy. The possible values are rebalance
and no_rebalance
. The default is no_rebalance
. The two attributes (target_failover.on_deregistration
and target_failover.on_unhealthy
) cannot be set independently. The value you set for both attributes must be the same.
The name of the attribute.
The following attributes are supported by all load balancers:
deregistration_delay.timeout_seconds
- The amount of time, in seconds, for Elastic Load Balancing to wait before changing the state of a deregistering target from draining
to unused
. The range is 0-3600 seconds. The default value is 300 seconds. If the target is a Lambda function, this attribute is not supported.
stickiness.enabled
- Indicates whether target stickiness is enabled. The value is true
or false
. The default is false
.
stickiness.type
- Indicates the type of stickiness. The possible values are:
lb_cookie
and app_cookie
for Application Load Balancers.
source_ip
for Network Load Balancers.
source_ip_dest_ip
and source_ip_dest_ip_proto
for Gateway Load Balancers.
The following attributes are supported by Application Load Balancers and Network Load Balancers:
load_balancing.cross_zone.enabled
- Indicates whether cross zone load balancing is enabled. The value is true
, false
or use_load_balancer_configuration
. The default is use_load_balancer_configuration
.
target_group_health.dns_failover.minimum_healthy_targets.count
- The minimum number of targets that must be healthy. If the number of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off
or an integer from 1 to the maximum number of targets. The default is off
.
target_group_health.dns_failover.minimum_healthy_targets.percentage
- The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, mark the zone as unhealthy in DNS, so that traffic is routed only to healthy zones. The possible values are off
or an integer from 1 to 100. The default is off
.
target_group_health.unhealthy_state_routing.minimum_healthy_targets.count
- The minimum number of targets that must be healthy. If the number of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are 1 to the maximum number of targets. The default is 1.
target_group_health.unhealthy_state_routing.minimum_healthy_targets.percentage
- The minimum percentage of targets that must be healthy. If the percentage of healthy targets is below this value, send traffic to all targets, including unhealthy targets. The possible values are off
or an integer from 1 to 100. The default is off
.
The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address:
load_balancing.algorithm.type
- The load balancing algorithm determines how the load balancer selects targets when routing requests. The value is round_robin
or least_outstanding_requests
. The default is round_robin
.
slow_start.duration_seconds
- The time period, in seconds, during which a newly registered target receives an increasing share of the traffic to the target group. After this time period ends, the target receives its full share of traffic. The range is 30-900 seconds (15 minutes). The default is 0 seconds (disabled).
stickiness.app_cookie.cookie_name
- Indicates the name of the application-based cookie. Names that start with the following prefixes are not allowed: AWSALB
, AWSALBAPP
, and AWSALBTG
; they're reserved for use by the load balancer.
stickiness.app_cookie.duration_seconds
- The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the application-based cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
stickiness.lb_cookie.duration_seconds
- The time period, in seconds, during which requests from a client should be routed to the same target. After this time period expires, the load balancer-generated cookie is considered stale. The range is 1 second to 1 week (604800 seconds). The default value is 1 day (86400 seconds).
The following attribute is supported only if the load balancer is an Application Load Balancer and the target is a Lambda function:
lambda.multi_value_headers.enabled
- Indicates whether the request and response headers that are exchanged between the load balancer and the Lambda function include arrays of values or strings. The value is true
or false
. The default is false
. If the value is false
and the request contains a duplicate header field name or query parameter key, the load balancer uses the last value sent by the client.
The following attributes are supported only by Network Load Balancers:
deregistration_delay.connection_termination.enabled
- Indicates whether the load balancer terminates connections at the end of the deregistration timeout. The value is true
or false
. For new UDP/TCP_UDP target groups the default is true
. Otherwise, the default is false
.
preserve_client_ip.enabled
- Indicates whether client IP preservation is enabled. The value is true
or false
. The default is disabled if the target group type is IP address and the target group protocol is TCP or TLS. Otherwise, the default is enabled. Client IP preservation cannot be disabled for UDP and TCP_UDP target groups.
proxy_protocol_v2.enabled
- Indicates whether Proxy Protocol version 2 is enabled. The value is true
or false
. The default is false
.
target_health_state.unhealthy.connection_termination.enabled
- Indicates whether the load balancer terminates connections to unhealthy targets. The value is true
or false
. The default is true
.
The following attributes are supported only by Gateway Load Balancers:
target_failover.on_deregistration
- Indicates how the Gateway Load Balancer handles existing flows when a target is deregistered. The possible values are rebalance
and no_rebalance
. The default is no_rebalance
. The two attributes (target_failover.on_deregistration
and target_failover.on_unhealthy
) can't be set independently. The value you set for both attributes must be the same.
target_failover.on_unhealthy
- Indicates how the Gateway Load Balancer handles existing flows when a target is unhealthy. The possible values are rebalance
and no_rebalance
. The default is no_rebalance
. The two attributes (target_failover.on_deregistration
and target_failover.on_unhealthy
) cannot be set independently. The value you set for both attributes must be the same.
Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.
Note: If the specified target does not exist, the action returns successfully.
+Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.
The load balancer stops sending requests to targets that are deregistering, but uses connection draining to ensure that in-flight traffic completes on the existing connections. This deregistration delay is configured by default but can be updated for each target group.
For more information, see the following:
Deregistration delay in the Application Load Balancers User Guide
Deregistration delay in the Network Load Balancers User Guide
Deregistration delay in the Gateway Load Balancers User Guide
Note: If the specified target does not exist, the action returns successfully.
@param request A container for the necessary parameters to execute the DeregisterTargets service method. @@ -437,7 +437,7 @@ FOUNDATION_EXPORT NSString *const AWSElasticLoadBalancingSDKVersion; - (AWSTaskDeregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.
Note: If the specified target does not exist, the action returns successfully.
+Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.
The load balancer stops sending requests to targets that are deregistering, but uses connection draining to ensure that in-flight traffic completes on the existing connections. This deregistration delay is configured by default but can be updated for each target group.
For more information, see the following:
Deregistration delay in the Application Load Balancers User Guide
Deregistration delay in the Network Load Balancers User Guide
Deregistration delay in the Gateway Load Balancers User Guide
Note: If the specified target does not exist, the action returns successfully.
@param request A container for the necessary parameters to execute the DeregisterTargets service method. @param completionHandler The completion handler to call when the load request is complete. @@ -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. diff --git a/AWSElasticLoadBalancing/AWSElasticLoadBalancingService.m b/AWSElasticLoadBalancing/AWSElasticLoadBalancingService.m index 5d54f133d8e..9e4b5d0252f 100644 --- a/AWSElasticLoadBalancing/AWSElasticLoadBalancingService.m +++ b/AWSElasticLoadBalancing/AWSElasticLoadBalancingService.m @@ -25,7 +25,7 @@ #import "AWSElasticLoadBalancingResources.h" static NSString *const AWSInfoElasticLoadBalancing = @"ElasticLoadBalancing"; -NSString *const AWSElasticLoadBalancingSDKVersion = @"2.33.4"; +NSString *const AWSElasticLoadBalancingSDKVersion = @"2.33.5"; @interface AWSElasticLoadBalancingResponseSerializer : AWSXMLResponseSerializer diff --git a/AWSElasticLoadBalancing/Info.plist b/AWSElasticLoadBalancing/Info.plist index a2c2de79b02..e4fb6d14e33 100644 --- a/AWSElasticLoadBalancing/Info.plist +++ b/AWSElasticLoadBalancing/Info.plist @@ -15,7 +15,7 @@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.
Value indicates exporting metrics related to the behavior when it is true.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable exportMetric; + /**What is measured by the behavior.
*/ @@ -3771,7 +3787,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, strong) NSString * _Nullable detail; /** -The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
+The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
*/ @property (nonatomic, strong) NSArrayThe package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
+The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
*/ @property (nonatomic, strong) NSArrayAn 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 +4071,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 +4215,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 +4243,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 +4281,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; @@ -4676,6 +4692,11 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { */ @property (nonatomic, strong) NSArraySpecifies the MQTT topic and role ARN required for metric export.
+ */ +@property (nonatomic, strong) AWSIoTMetricsExportConfig * _Nullable metricsExportConfig; + /**A description of the security profile.
*/ @@ -5375,7 +5396,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 +5422,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 +6377,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 package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
+The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
*/ @property (nonatomic, strong) NSArraySpecifies the MQTT topic and role ARN required for metric export.
+ */ +@property (nonatomic, strong) AWSIoTMetricsExportConfig * _Nullable metricsExportConfig; + /**The ARN of the security profile.
*/ @@ -7996,6 +8022,24 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @end +/** +A geolocation target that you select to index. Each geolocation target contains a name
and order
key-value pair that specifies the geolocation target fields.
The name
of the geolocation target field. If the target field is part of a named shadow, you must select the named shadow using the namedShadow
filter.
The order
of the geolocation target field. This field is optional. The default value is LatLon
.
The name of the target package.
+The name of the target software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -8335,7 +8379,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 +8435,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; @@ -8884,11 +8928,16 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @end /** -Provides additional filters for specific data sources. Named shadow is the only data source that currently supports and requires a filter. To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON
and specify your shadow names in filter
.
Provides additional selections for named shadows and geolocation data.
To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON and specify your shadow names in namedShadowNames
filter.
To add geolocation data to your fleet indexing configuration:
If you store geolocation data in a class/unnamed shadow, set thingIndexingMode
to be REGISTRY_AND_SHADOW
and specify your geolocation data in geoLocations
filter.
If you store geolocation data in a named shadow, set namedShadowIndexingMode
to be ON
, add the shadow name in namedShadowNames
filter, and specify your geolocation data in geoLocations
filter. For more information, see Managing fleet indexing.
The list of geolocation targets that you select to index. The default maximum number of geolocation targets for indexing is 1
. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
The shadow names that you select to index. The default maximum number of shadow names for indexing is 10. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
*/ @@ -9027,7 +9076,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, strong) NSString * _Nullable detail; /** -The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
+The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
*/ @property (nonatomic, strong) NSArrayThe list of Kafka headers that you specify.
+ */ +@property (nonatomic, strong) NSArrayThe Kafka message key.
*/ @@ -9478,6 +9532,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 +10958,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; @@ -12428,6 +12501,11 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @interface AWSIoTMetricToRetain : AWSModel +/** +Value added in both Behavior and AdditionalMetricsToRetainV2 to indicate if Device Defender Detect should export the corresponding metrics.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable exportMetric; + /**What is measured by the behavior.
*/ @@ -12478,6 +12556,25 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @end +/** +Set configurations for metrics export.
+ Required parameters: [mqttTopic, roleArn] + */ +@interface AWSIoTMetricsExportConfig : AWSModel + + +/** +The MQTT topic that Device Defender Detect should publish messages to for metrics export.
+ */ +@property (nonatomic, strong) NSString * _Nullable mqttTopic; + +/** +This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the role and publish messages on your behalf.
+ */ +@property (nonatomic, strong) NSString * _Nullable roleArn; + +@end + /**Describes which changes should be applied as part of a mitigation action.
*/ @@ -12658,7 +12755,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 +13968,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 maximum number of results to return at one time.
+The maximum number of results to return per page at one time. The response might contain fewer results but will never contain more.
*/ @property (nonatomic, strong) NSNumber * _Nullable maxResults; @@ -15028,7 +15125,7 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { @property (nonatomic, strong) NSArrayContains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
+Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
You can't modify managed fields by updating fleet indexing configuration.
Provides additional filters for specific data sources. Named shadow is the only data source that currently supports and requires a filter. To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON
and specify your shadow names in filter
.
Provides additional selections for named shadows and geolocation data.
To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON and specify your shadow names in namedShadowNames
filter.
To add geolocation data to your fleet indexing configuration:
If you store geolocation data in a class/unnamed shadow, set thingIndexingMode
to be REGISTRY_AND_SHADOW
and specify your geolocation data in geoLocations
filter.
If you store geolocation data in a named shadow, set namedShadowIndexingMode
to be ON
, add the shadow name in namedShadowNames
filter, and specify your geolocation data in geoLocations
filter. For more information, see Managing fleet indexing.
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
+Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
You can't modify managed fields by updating fleet indexing configuration.
The name of the target package.
+The name of the target software package.
*/ @property (nonatomic, strong) NSString * _Nullable packageName; @@ -16356,7 +16453,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) NSDictionarySet the value as true to delete metrics export related configurations.
+ */ +@property (nonatomic, strong) NSNumber * _Nullable deleteMetricsExportConfig; + /**The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException
is thrown.
Specifies the MQTT topic and role ARN required for metric export.
+ */ +@property (nonatomic, strong) AWSIoTMetricsExportConfig * _Nullable metricsExportConfig; + /**A description of the security profile.
*/ @@ -16622,6 +16729,11 @@ typedef NS_ENUM(NSInteger, AWSIoTViolationEventType) { */ @property (nonatomic, strong) NSDate * _Nullable lastModifiedDate; +/** +Specifies the MQTT topic and role ARN required for metric export.
+ */ +@property (nonatomic, strong) AWSIoTMetricsExportConfig * _Nullable metricsExportConfig; + /**The ARN of the security profile that was updated.
*/ diff --git a/AWSIoT/AWSIoTModel.m b/AWSIoT/AWSIoTModel.m index 837a0aff29f..da88ea19c3c 100644 --- a/AWSIoT/AWSIoTModel.m +++ b/AWSIoT/AWSIoTModel.m @@ -1428,6 +1428,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"criteria" : @"criteria", + @"exportMetric" : @"exportMetric", @"metric" : @"metric", @"metricDimension" : @"metricDimension", @"name" : @"name", @@ -3787,6 +3788,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"additionalMetricsToRetainV2" : @"additionalMetricsToRetainV2", @"alertTargets" : @"alertTargets", @"behaviors" : @"behaviors", + @"metricsExportConfig" : @"metricsExportConfig", @"securityProfileDescription" : @"securityProfileDescription", @"securityProfileName" : @"securityProfileName", @"tags" : @"tags", @@ -3809,6 +3811,10 @@ + (NSValueTransformer *)behaviorsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSIoTBehavior class]]; } ++ (NSValueTransformer *)metricsExportConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSIoTMetricsExportConfig class]]; +} + + (NSValueTransformer *)tagsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSIoTTag class]]; } @@ -4761,6 +4767,12 @@ + (NSValueTransformer *)targetTypeJSONTransformer { if ([value caseInsensitiveCompare:@"PRINCIPAL_ID"] == NSOrderedSame) { return @(AWSIoTLogTargetTypePrincipalId); } + if ([value caseInsensitiveCompare:@"EVENT_TYPE"] == NSOrderedSame) { + return @(AWSIoTLogTargetTypeEventType); + } + if ([value caseInsensitiveCompare:@"DEVICE_DEFENDER"] == NSOrderedSame) { + return @(AWSIoTLogTargetTypeDeviceDefender); + } return @(AWSIoTLogTargetTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -4774,6 +4786,10 @@ + (NSValueTransformer *)targetTypeJSONTransformer { return @"SOURCE_IP"; case AWSIoTLogTargetTypePrincipalId: return @"PRINCIPAL_ID"; + case AWSIoTLogTargetTypeEventType: + return @"EVENT_TYPE"; + case AWSIoTLogTargetTypeDeviceDefender: + return @"DEVICE_DEFENDER"; default: return nil; } @@ -6527,6 +6543,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"behaviors" : @"behaviors", @"creationDate" : @"creationDate", @"lastModifiedDate" : @"lastModifiedDate", + @"metricsExportConfig" : @"metricsExportConfig", @"securityProfileArn" : @"securityProfileArn", @"securityProfileDescription" : @"securityProfileDescription", @"securityProfileName" : @"securityProfileName", @@ -6566,6 +6583,10 @@ + (NSValueTransformer *)lastModifiedDateJSONTransformer { }]; } ++ (NSValueTransformer *)metricsExportConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSIoTMetricsExportConfig class]]; +} + @end @implementation AWSIoTDescribeStreamRequest @@ -7524,6 +7545,42 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSIoTGeoLocationTarget + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"name" : @"name", + @"order" : @"order", + }; +} + ++ (NSValueTransformer *)orderJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"LatLon"] == NSOrderedSame) { + return @(AWSIoTTargetFieldOrderLatLon); + } + if ([value caseInsensitiveCompare:@"LonLat"] == NSOrderedSame) { + return @(AWSIoTTargetFieldOrderLonLat); + } + return @(AWSIoTTargetFieldOrderUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSIoTTargetFieldOrderLatLon: + return @"LatLon"; + case AWSIoTTargetFieldOrderLonLat: + return @"LonLat"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSIoTGetBehaviorModelTrainingSummariesRequest + (BOOL)supportsSecureCoding { @@ -8445,10 +8502,15 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"geoLocations" : @"geoLocations", @"namedShadowNames" : @"namedShadowNames", }; } ++ (NSValueTransformer *)geoLocationsJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSIoTGeoLocationTarget class]]; +} + @end @implementation AWSIoTIotAnalyticsAction @@ -9117,12 +9179,32 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"clientProperties" : @"clientProperties", @"destinationArn" : @"destinationArn", + @"headers" : @"headers", @"key" : @"key", @"partition" : @"partition", @"topic" : @"topic", }; } ++ (NSValueTransformer *)headersJSONTransformer { + return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSIoTKafkaActionHeader class]]; +} + +@end + +@implementation AWSIoTKafkaActionHeader + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"key" : @"key", + @"value" : @"value", + }; +} + @end @implementation AWSIoTKeyPair @@ -11889,6 +11971,12 @@ + (NSValueTransformer *)targetTypeJSONTransformer { if ([value caseInsensitiveCompare:@"PRINCIPAL_ID"] == NSOrderedSame) { return @(AWSIoTLogTargetTypePrincipalId); } + if ([value caseInsensitiveCompare:@"EVENT_TYPE"] == NSOrderedSame) { + return @(AWSIoTLogTargetTypeEventType); + } + if ([value caseInsensitiveCompare:@"DEVICE_DEFENDER"] == NSOrderedSame) { + return @(AWSIoTLogTargetTypeDeviceDefender); + } return @(AWSIoTLogTargetTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -11902,6 +11990,10 @@ + (NSValueTransformer *)targetTypeJSONTransformer { return @"SOURCE_IP"; case AWSIoTLogTargetTypePrincipalId: return @"PRINCIPAL_ID"; + case AWSIoTLogTargetTypeEventType: + return @"EVENT_TYPE"; + case AWSIoTLogTargetTypeDeviceDefender: + return @"DEVICE_DEFENDER"; default: return nil; } @@ -12111,6 +12203,12 @@ + (NSValueTransformer *)targetTypeJSONTransformer { if ([value caseInsensitiveCompare:@"PRINCIPAL_ID"] == NSOrderedSame) { return @(AWSIoTLogTargetTypePrincipalId); } + if ([value caseInsensitiveCompare:@"EVENT_TYPE"] == NSOrderedSame) { + return @(AWSIoTLogTargetTypeEventType); + } + if ([value caseInsensitiveCompare:@"DEVICE_DEFENDER"] == NSOrderedSame) { + return @(AWSIoTLogTargetTypeDeviceDefender); + } return @(AWSIoTLogTargetTypeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -12124,6 +12222,10 @@ + (NSValueTransformer *)targetTypeJSONTransformer { return @"SOURCE_IP"; case AWSIoTLogTargetTypePrincipalId: return @"PRINCIPAL_ID"; + case AWSIoTLogTargetTypeEventType: + return @"EVENT_TYPE"; + case AWSIoTLogTargetTypeDeviceDefender: + return @"DEVICE_DEFENDER"; default: return nil; } @@ -12382,6 +12484,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"exportMetric" : @"exportMetric", @"metric" : @"metric", @"metricDimension" : @"metricDimension", }; @@ -12412,6 +12515,21 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @end +@implementation AWSIoTMetricsExportConfig + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"mqttTopic" : @"mqttTopic", + @"roleArn" : @"roleArn", + }; +} + +@end + @implementation AWSIoTMitigationAction + (BOOL)supportsSecureCoding { @@ -16991,7 +17109,9 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"deleteAdditionalMetricsToRetain" : @"deleteAdditionalMetricsToRetain", @"deleteAlertTargets" : @"deleteAlertTargets", @"deleteBehaviors" : @"deleteBehaviors", + @"deleteMetricsExportConfig" : @"deleteMetricsExportConfig", @"expectedVersion" : @"expectedVersion", + @"metricsExportConfig" : @"metricsExportConfig", @"securityProfileDescription" : @"securityProfileDescription", @"securityProfileName" : @"securityProfileName", }; @@ -17013,6 +17133,10 @@ + (NSValueTransformer *)behaviorsJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSIoTBehavior class]]; } ++ (NSValueTransformer *)metricsExportConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSIoTMetricsExportConfig class]]; +} + @end @implementation AWSIoTUpdateSecurityProfileResponse @@ -17029,6 +17153,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"behaviors" : @"behaviors", @"creationDate" : @"creationDate", @"lastModifiedDate" : @"lastModifiedDate", + @"metricsExportConfig" : @"metricsExportConfig", @"securityProfileArn" : @"securityProfileArn", @"securityProfileDescription" : @"securityProfileDescription", @"securityProfileName" : @"securityProfileName", @@ -17068,6 +17193,10 @@ + (NSValueTransformer *)lastModifiedDateJSONTransformer { }]; } ++ (NSValueTransformer *)metricsExportConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSIoTMetricsExportConfig class]]; +} + @end @implementation AWSIoTUpdateStreamRequest diff --git a/AWSIoT/AWSIoTResources.m b/AWSIoT/AWSIoTResources.m index 303f4991842..fa5bd586855 100644 --- a/AWSIoT/AWSIoTResources.m +++ b/AWSIoT/AWSIoTResources.m @@ -411,7 +411,7 @@ - (NSString *)definitionString { {\"shape\":\"ServiceUnavailableException\"},\ {\"shape\":\"InternalFailureException\"}\ ],\ - \"documentation\":\"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\\\"
Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
\"\ + \"documentation\":\"Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
If the ThingGroup
that you create has the exact same attributes as an existing ThingGroup
, you will get a 200 success response.
Requires permission to access the CreateThingGroup action.
\"\ },\ \"CreateThingType\":{\ \"name\":\"CreateThingType\",\ @@ -1188,7 +1188,7 @@ - (NSString *)definitionString { {\"shape\":\"InternalServerException\"},\ {\"shape\":\"ValidationException\"}\ ],\ - \"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 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,11 +5708,15 @@ - (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.
Suppresses alerts.
\"\ + },\ + \"exportMetric\":{\ + \"shape\":\"ExportMetric\",\ + \"documentation\":\"Value indicates exporting metrics related to the behavior when it is true.
\"\ }\ },\ \"documentation\":\"A Device Defender security profile behavior.
\"\ @@ -7104,7 +7108,7 @@ - (NSString *)definitionString { },\ \"destinationPackageVersions\":{\ \"shape\":\"DestinationPackageVersions\",\ - \"documentation\":\"The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
\"\ + \"documentation\":\"The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
\"\ }\ }\ },\ @@ -7144,7 +7148,7 @@ - (NSString *)definitionString { },\ \"documentSource\":{\ \"shape\":\"JobDocumentSource\",\ - \"documentation\":\"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\",\ @@ -7172,7 +7176,7 @@ - (NSString *)definitionString { },\ \"destinationPackageVersions\":{\ \"shape\":\"DestinationPackageVersions\",\ - \"documentation\":\"The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
\"\ + \"documentation\":\"The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
\"\ }\ }\ },\ @@ -7321,7 +7325,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 +7364,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 +7390,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 +7411,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 +7451,7 @@ - (NSString *)definitionString { },\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name of the associated package.
\"\ + \"documentation\":\"The name of the associated software package.
\"\ },\ \"versionName\":{\ \"shape\":\"VersionName\",\ @@ -7823,6 +7827,10 @@ - (NSString *)definitionString { \"tags\":{\ \"shape\":\"TagList\",\ \"documentation\":\"Metadata that can be used to manage the security profile.
\"\ + },\ + \"metricsExportConfig\":{\ + \"shape\":\"MetricsExportConfig\",\ + \"documentation\":\"Specifies the MQTT topic and role ARN required for metric export.
\"\ }\ }\ },\ @@ -8429,6 +8437,7 @@ - (NSString *)definitionString { }\ }\ },\ + \"DeleteMetricsExportConfig\":{\"type\":\"boolean\"},\ \"DeleteMitigationActionRequest\":{\ \"type\":\"structure\",\ \"required\":[\"actionName\"],\ @@ -8481,7 +8490,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 +8517,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 +9311,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 package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
\"\ + \"documentation\":\"The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
\"\ }\ }\ },\ @@ -9878,6 +9887,10 @@ - (NSString *)definitionString { \"lastModifiedDate\":{\ \"shape\":\"Timestamp\",\ \"documentation\":\"The time the security profile was last modified.
\"\ + },\ + \"metricsExportConfig\":{\ + \"shape\":\"MetricsExportConfig\",\ + \"documentation\":\"Specifies the MQTT topic and role ARN required for metric export.
\"\ }\ }\ },\ @@ -10836,6 +10849,7 @@ - (NSString *)definitionString { },\ \"documentation\":\"Allows you to create an exponential rate of rollout for a job.
\"\ },\ + \"ExportMetric\":{\"type\":\"boolean\"},\ \"FailedChecksCount\":{\"type\":\"integer\"},\ \"FailedFindingsCount\":{\"type\":\"long\"},\ \"FailedThings\":{\"type\":\"integer\"},\ @@ -11008,6 +11022,24 @@ - (NSString *)definitionString { \"FunctionArn\":{\"type\":\"string\"},\ \"GenerationId\":{\"type\":\"string\"},\ \"GenericLongValue\":{\"type\":\"long\"},\ + \"GeoLocationTarget\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"name\":{\ + \"shape\":\"TargetFieldName\",\ + \"documentation\":\"The name
of the geolocation target field. If the target field is part of a named shadow, you must select the named shadow using the namedShadow
filter.
The order
of the geolocation target field. This field is optional. The default value is LatLon
.
A geolocation target that you select to index. Each geolocation target contains a name
and order
key-value pair that specifies the geolocation target fields.
The name of the target package.
\",\ + \"documentation\":\"The name of the target software package.
\",\ \"location\":\"uri\",\ \"locationName\":\"packageName\"\ }\ @@ -11257,7 +11289,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 +11343,7 @@ - (NSString *)definitionString { },\ \"packageName\":{\ \"shape\":\"PackageName\",\ - \"documentation\":\"The name of the package.
\"\ + \"documentation\":\"The name of the software package.
\"\ },\ \"versionName\":{\ \"shape\":\"VersionName\",\ @@ -11805,9 +11837,13 @@ - (NSString *)definitionString { \"namedShadowNames\":{\ \"shape\":\"NamedShadowNamesFilter\",\ \"documentation\":\"The shadow names that you select to index. The default maximum number of shadow names for indexing is 10. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
\"\ + },\ + \"geoLocations\":{\ + \"shape\":\"GeoLocationsFilter\",\ + \"documentation\":\"The list of geolocation targets that you select to index. The default maximum number of geolocation targets for indexing is 1
. To increase the limit, see Amazon Web Services IoT Device Management Quotas in the Amazon Web Services General Reference.
Provides additional filters for specific data sources. Named shadow is the only data source that currently supports and requires a filter. To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON
and specify your shadow names in filter
.
Provides additional selections for named shadows and geolocation data.
To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON and specify your shadow names in namedShadowNames
filter.
To add geolocation data to your fleet indexing configuration:
If you store geolocation data in a class/unnamed shadow, set thingIndexingMode
to be REGISTRY_AND_SHADOW
and specify your geolocation data in geoLocations
filter.
If you store geolocation data in a named shadow, set namedShadowIndexingMode
to be ON
, add the shadow name in namedShadowNames
filter, and specify your geolocation data in geoLocations
filter. For more information, see Managing fleet indexing.
The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single string. Up to five strings are allowed.
\"\ + \"documentation\":\"The package version Amazon Resource Names (ARNs) that are installed on the device when the job successfully completes.
Note:The following Length Constraints relates to a single ARN. Up to 25 package version ARNs are allowed.
\"\ }\ },\ \"documentation\":\"The Job
object contains details about a job.
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 +13882,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 +15211,9 @@ - (NSString *)definitionString { \"THING_GROUP\",\ \"CLIENT_ID\",\ \"SOURCE_IP\",\ - \"PRINCIPAL_ID\"\ + \"PRINCIPAL_ID\",\ + \"EVENT_TYPE\",\ + \"DEVICE_DEFENDER\"\ ]\ },\ \"LoggingOptionsPayload\":{\ @@ -15339,6 +15415,10 @@ - (NSString *)definitionString { \"metricDimension\":{\ \"shape\":\"MetricDimension\",\ \"documentation\":\"The dimension of a metric. This can't be used with custom metrics.
\"\ + },\ + \"exportMetric\":{\ + \"shape\":\"ExportMetric\",\ + \"documentation\":\"Value added in both Behavior and AdditionalMetricsToRetainV2 to indicate if Device Defender Detect should export the corresponding metrics.
\"\ }\ },\ \"documentation\":\"The metric you want to retain. Dimensions are optional.
\"\ @@ -15373,6 +15453,24 @@ - (NSString *)definitionString { },\ \"documentation\":\"The value to be compared with the metric
.
The MQTT topic that Device Defender Detect should publish messages to for metrics export.
\"\ + },\ + \"roleArn\":{\ + \"shape\":\"RoleArn\",\ + \"documentation\":\"This role ARN has permission to publish MQTT messages, after which Device Defender Detect can assume the role and publish messages on your behalf.
\"\ + }\ + },\ + \"documentation\":\"Set configurations for metrics export.
\"\ + },\ \"Minimum\":{\"type\":\"double\"},\ \"MinimumNumberOfExecutedThings\":{\ \"type\":\"integer\",\ @@ -15558,6 +15656,11 @@ - (NSString *)definitionString { \"max\":65535,\ \"min\":1\ },\ + \"MqttTopic\":{\ + \"type\":\"string\",\ + \"max\":512,\ + \"min\":1\ + },\ \"MqttUsername\":{\ \"type\":\"string\",\ \"max\":65535,\ @@ -15659,7 +15762,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 +15970,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 +17261,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 maximum number of results to return at one time.
\"\ + \"documentation\":\"The maximum number of results to return per page at one time. The response might contain fewer results but will never contain more.
\"\ },\ \"queryVersion\":{\ \"shape\":\"QueryVersion\",\ @@ -17472,7 +17575,7 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"max\":64,\ \"min\":1,\ - \"pattern\":\"[a-zA-Z0-9:_-]+\"\ + \"pattern\":\"[$a-zA-Z0-9:_-]+\"\ },\ \"SigV4Authorization\":{\ \"type\":\"structure\",\ @@ -18073,6 +18176,14 @@ - (NSString *)definitionString { \"type\":\"list\",\ \"member\":{\"shape\":\"AuditCheckName\"}\ },\ + \"TargetFieldName\":{\"type\":\"string\"},\ + \"TargetFieldOrder\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"LatLon\",\ + \"LonLat\"\ + ]\ + },\ \"TargetSelection\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -18453,7 +18564,7 @@ - (NSString *)definitionString { },\ \"managedFields\":{\ \"shape\":\"Fields\",\ - \"documentation\":\"Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
\"\ + \"documentation\":\"Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
You can't modify managed fields by updating fleet indexing configuration.
Contains fields that are indexed and whose types are already known by the Fleet Indexing service.
\"\ + \"documentation\":\"Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.
You can't modify managed fields by updating fleet indexing configuration.
Provides additional filters for specific data sources. Named shadow is the only data source that currently supports and requires a filter. To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON
and specify your shadow names in filter
.
Provides additional selections for named shadows and geolocation data.
To add named shadows to your fleet indexing configuration, set namedShadowIndexingMode
to be ON and specify your shadow names in namedShadowNames
filter.
To add geolocation data to your fleet indexing configuration:
If you store geolocation data in a class/unnamed shadow, set thingIndexingMode
to be REGISTRY_AND_SHADOW
and specify your geolocation data in geoLocations
filter.
If you store geolocation data in a named shadow, set namedShadowIndexingMode
to be ON
, add the shadow name in namedShadowNames
filter, and specify your geolocation data in geoLocations
filter. For more information, see Managing fleet indexing.
The thing indexing configuration. For more information, see Managing Thing Indexing.
\"\ @@ -19709,7 +19820,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\"\ },\ @@ -19764,7 +19875,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\",\ @@ -19944,6 +20055,14 @@ - (NSString *)definitionString { \"documentation\":\"The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException
is thrown.
Specifies the MQTT topic and role ARN required for metric export.
\"\ + },\ + \"deleteMetricsExportConfig\":{\ + \"shape\":\"DeleteMetricsExportConfig\",\ + \"documentation\":\"Set the value as true to delete metrics export related configurations.
\"\ }\ }\ },\ @@ -19991,6 +20110,10 @@ - (NSString *)definitionString { \"lastModifiedDate\":{\ \"shape\":\"Timestamp\",\ \"documentation\":\"The time the security profile was last modified.
\"\ + },\ + \"metricsExportConfig\":{\ + \"shape\":\"MetricsExportConfig\",\ + \"documentation\":\"Specifies the MQTT topic and role ARN required for metric export.
\"\ }\ }\ },\ diff --git a/AWSIoT/AWSIoTService.h b/AWSIoT/AWSIoTService.h index 9c82b727a7d..9f9e5cdfed8 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"
Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
+Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
If the ThingGroup
that you create has the exact same attributes as an existing ThingGroup
, you will get a 200 success response.
Requires permission to access the CreateThingGroup action.
@param request A container for the necessary parameters to execute the CreateThingGroup service method. @@ -1222,7 +1222,7 @@ FOUNDATION_EXPORT NSString *const AWSIoTSDKVersion; - (AWSTaskCreate a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
Requires permission to access the CreateThingGroup action.
+Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
If the ThingGroup
that you create has the exact same attributes as an existing ThingGroup
, you will get a 200 success response.
Requires permission to access the CreateThingGroup action.
@param request A container for the necessary parameters to execute the CreateThingGroup service method. @param completionHandler The completion handler to call when the load request is complete. @@ -1717,7 +1717,7 @@ FOUNDATION_EXPORT NSString *const AWSIoTSDKVersion; - (void)deletePackage:(AWSIoTDeletePackageRequest *)request completionHandler:(void (^ _Nullable)(AWSIoTDeletePackageResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -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/AWSIoT/AWSIoTService.m b/AWSIoT/AWSIoTService.m index a1a1618a0bf..6b45f1b2664 100644 --- a/AWSIoT/AWSIoTService.m +++ b/AWSIoT/AWSIoTService.m @@ -25,7 +25,7 @@ #import "AWSIoTResources.h" static NSString *const AWSInfoIoT = @"IoT"; -NSString *const AWSIoTSDKVersion = @"2.33.4"; +NSString *const AWSIoTSDKVersion = @"2.33.5"; @interface AWSIoTResponseSerializer : AWSJSONResponseSerializer diff --git a/AWSIoT/Info.plist b/AWSIoT/Info.plist index a2c2de79b02..e4fb6d14e33 100644 --- a/AWSIoT/Info.plist +++ b/AWSIoT/Info.plist @@ -15,7 +15,7 @@The details of the VPC of the Amazon ES destination.
+The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless destination.
*/ @property (nonatomic, strong) AWSFirehoseVpcConfiguration * _Nullable vpcConfiguration; @@ -425,7 +444,7 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { @property (nonatomic, strong) AWSFirehoseAmazonOpenSearchServerlessRetryOptions * _Nullable retryOptions; /** -The Amazon Resource Name (ARN) of the AWS credentials.
+The Amazon Resource Name (ARN) of the Amazon Web Services credentials.
*/ @property (nonatomic, strong) NSString * _Nullable roleARN; @@ -547,6 +566,11 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { */ @property (nonatomic, strong) NSString * _Nullable clusterEndpoint; +/** +Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
+ */ +@property (nonatomic, strong) AWSFirehoseDocumentIdOptions * _Nullable documentIdOptions; + /**The ARN of the Amazon OpenSearch Service domain. The IAM role must have permissions for DescribeElasticsearchDomain, DescribeElasticsearchDomains, and DescribeElasticsearchDomainConfig after assuming the role specified in RoleARN.
*/ @@ -593,7 +617,7 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { @property (nonatomic, strong) NSString * _Nullable typeName; /** -The details of the VPC of the Amazon ES destination.
+The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless destination.
*/ @property (nonatomic, strong) AWSFirehoseVpcConfiguration * _Nullable vpcConfiguration; @@ -620,6 +644,11 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { */ @property (nonatomic, strong) NSString * _Nullable clusterEndpoint; +/** +Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
+ */ +@property (nonatomic, strong) AWSFirehoseDocumentIdOptions * _Nullable documentIdOptions; + /**The ARN of the Amazon OpenSearch Service domain.
*/ @@ -693,6 +722,11 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { */ @property (nonatomic, strong) NSString * _Nullable clusterEndpoint; +/** +Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
+ */ +@property (nonatomic, strong) AWSFirehoseDocumentIdOptions * _Nullable documentIdOptions; + /**The ARN of the Amazon OpenSearch Service domain. The IAM role must have permissions for DescribeDomain, DescribeDomains, and DescribeDomainConfig after assuming the IAM role specified in RoleARN.
*/ @@ -748,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.
*/ @@ -1177,6 +1235,20 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { @end +/** +Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
+ Required parameters: [DefaultDocumentIdFormat] + */ +@interface AWSFirehoseDocumentIdOptions : AWSModel + + +/** +When the FIREHOSE_DEFAULT
option is chosen, Kinesis Data Firehose generates a unique document ID for each record based on a unique internal identifier. The generated document ID is stable across multiple delivery attempts, which helps prevent the same record from being indexed multiple times with different document IDs.
When the NO_DOCUMENT_ID
option is chosen, Kinesis Data Firehose does not include any document IDs in the requests it sends to the Amazon OpenSearch Service. This causes the Amazon OpenSearch Service domain to generate document IDs. In case of multiple delivery attempts, this may cause the same record to be indexed more than once with different document IDs. This option enables write-heavy operations, such as the ingestion of logs and observability data, to consume less resources in the Amazon OpenSearch Service domain, resulting in improved performance.
The configuration of the dynamic partitioning mechanism that creates smaller data sets from the streaming data by partitioning it based on partition keys. Currently, dynamic partitioning is only supported for Amazon S3 destinations.
*/ @@ -1235,6 +1307,11 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { */ @property (nonatomic, strong) NSString * _Nullable clusterEndpoint; +/** +Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
+ */ +@property (nonatomic, strong) AWSFirehoseDocumentIdOptions * _Nullable documentIdOptions; + /**The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeDomain
, DescribeDomains
, and DescribeDomainConfig
 after assuming the role specified in RoleARN. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
Specify either ClusterEndpoint
or DomainARN
.
The details of the VPC of the Amazon ES destination.
+The details of the VPC of the Amazon destination.
*/ @property (nonatomic, strong) AWSFirehoseVpcConfiguration * _Nullable vpcConfiguration; @@ -1308,6 +1385,11 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { */ @property (nonatomic, strong) NSString * _Nullable clusterEndpoint; +/** +Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
+ */ +@property (nonatomic, strong) AWSFirehoseDocumentIdOptions * _Nullable documentIdOptions; + /**The ARN of the Amazon ES domain. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
Kinesis Data Firehose uses either ClusterEndpoint
or DomainARN
to send data to Amazon ES.
The details of the VPC of the Amazon ES destination.
+The details of the VPC of the Amazon OpenSearch or the Amazon OpenSearch Serverless destination.
*/ @property (nonatomic, strong) AWSFirehoseVpcConfigurationDescription * _Nullable vpcConfigurationDescription; @@ -1381,6 +1463,11 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { */ @property (nonatomic, strong) NSString * _Nullable clusterEndpoint; +/** +Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
+ */ +@property (nonatomic, strong) AWSFirehoseDocumentIdOptions * _Nullable documentIdOptions; + /**The ARN of the Amazon ES domain. The IAM role must have permissions for DescribeDomain
, DescribeDomains
, and DescribeDomainConfig
 after assuming the IAM role specified in RoleARN
. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
Specify either ClusterEndpoint
or DomainARN
.
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.
*/ @@ -2855,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 /** @@ -3220,7 +3364,7 @@ typedef NS_ENUM(NSInteger, AWSFirehoseSplunkS3BackupMode) { @end /** -The details of the VPC of the Amazon ES destination.
+The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless destination.
Required parameters: [SubnetIds, RoleARN, SecurityGroupIds] */ @interface AWSFirehoseVpcConfiguration : AWSModel diff --git a/AWSKinesis/AWSFirehoseModel.m b/AWSKinesis/AWSFirehoseModel.m index 9af9de394f9..9dea2b9ccb5 100644 --- a/AWSKinesis/AWSFirehoseModel.m +++ b/AWSKinesis/AWSFirehoseModel.m @@ -1,5 +1,5 @@ // -// Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. @@ -250,6 +250,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"bufferingHints" : @"BufferingHints", @"cloudWatchLoggingOptions" : @"CloudWatchLoggingOptions", @"clusterEndpoint" : @"ClusterEndpoint", + @"documentIdOptions" : @"DocumentIdOptions", @"domainARN" : @"DomainARN", @"indexName" : @"IndexName", @"indexRotationPeriod" : @"IndexRotationPeriod", @@ -271,6 +272,10 @@ + (NSValueTransformer *)cloudWatchLoggingOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseCloudWatchLoggingOptions class]]; } ++ (NSValueTransformer *)documentIdOptionsJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseDocumentIdOptions class]]; +} + + (NSValueTransformer *)indexRotationPeriodJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"NoRotation"] == NSOrderedSame) { @@ -357,6 +362,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"bufferingHints" : @"BufferingHints", @"cloudWatchLoggingOptions" : @"CloudWatchLoggingOptions", @"clusterEndpoint" : @"ClusterEndpoint", + @"documentIdOptions" : @"DocumentIdOptions", @"domainARN" : @"DomainARN", @"indexName" : @"IndexName", @"indexRotationPeriod" : @"IndexRotationPeriod", @@ -378,6 +384,10 @@ + (NSValueTransformer *)cloudWatchLoggingOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseCloudWatchLoggingOptions class]]; } ++ (NSValueTransformer *)documentIdOptionsJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseDocumentIdOptions class]]; +} + + (NSValueTransformer *)indexRotationPeriodJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"NoRotation"] == NSOrderedSame) { @@ -464,6 +474,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"bufferingHints" : @"BufferingHints", @"cloudWatchLoggingOptions" : @"CloudWatchLoggingOptions", @"clusterEndpoint" : @"ClusterEndpoint", + @"documentIdOptions" : @"DocumentIdOptions", @"domainARN" : @"DomainARN", @"indexName" : @"IndexName", @"indexRotationPeriod" : @"IndexRotationPeriod", @@ -483,6 +494,10 @@ + (NSValueTransformer *)cloudWatchLoggingOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseCloudWatchLoggingOptions class]]; } ++ (NSValueTransformer *)documentIdOptionsJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseDocumentIdOptions class]]; +} + + (NSValueTransformer *)indexRotationPeriodJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"NoRotation"] == NSOrderedSame) { @@ -547,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 { @@ -611,6 +662,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"extendedS3DestinationConfiguration" : @"ExtendedS3DestinationConfiguration", @"httpEndpointDestinationConfiguration" : @"HttpEndpointDestinationConfiguration", @"kinesisStreamSourceConfiguration" : @"KinesisStreamSourceConfiguration", + @"MSKSourceConfiguration" : @"MSKSourceConfiguration", @"redshiftDestinationConfiguration" : @"RedshiftDestinationConfiguration", @"s3DestinationConfiguration" : @"S3DestinationConfiguration", @"splunkDestinationConfiguration" : @"SplunkDestinationConfiguration", @@ -638,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]) { @@ -645,6 +700,8 @@ + (NSValueTransformer *)deliveryStreamTypeJSONTransformer { return @"DirectPut"; case AWSFirehoseDeliveryStreamTypeKinesisStreamAsSource: return @"KinesisStreamAsSource"; + case AWSFirehoseDeliveryStreamTypeMSKAsSource: + return @"MSKAsSource"; default: return nil; } @@ -667,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]]; } @@ -830,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]) { @@ -837,6 +901,8 @@ + (NSValueTransformer *)deliveryStreamTypeJSONTransformer { return @"DirectPut"; case AWSFirehoseDeliveryStreamTypeKinesisStreamAsSource: return @"KinesisStreamAsSource"; + case AWSFirehoseDeliveryStreamTypeMSKAsSource: + return @"MSKAsSource"; default: return nil; } @@ -1095,6 +1161,41 @@ + (NSValueTransformer *)splunkDestinationDescriptionJSONTransformer { @end +@implementation AWSFirehoseDocumentIdOptions + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"defaultDocumentIdFormat" : @"DefaultDocumentIdFormat", + }; +} + ++ (NSValueTransformer *)defaultDocumentIdFormatJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"FIREHOSE_DEFAULT"] == NSOrderedSame) { + return @(AWSFirehoseDefaultDocumentIdFormatFirehoseDefault); + } + if ([value caseInsensitiveCompare:@"NO_DOCUMENT_ID"] == NSOrderedSame) { + return @(AWSFirehoseDefaultDocumentIdFormatNoDocumentId); + } + return @(AWSFirehoseDefaultDocumentIdFormatUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSFirehoseDefaultDocumentIdFormatFirehoseDefault: + return @"FIREHOSE_DEFAULT"; + case AWSFirehoseDefaultDocumentIdFormatNoDocumentId: + return @"NO_DOCUMENT_ID"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSFirehoseDynamicPartitioningConfiguration + (BOOL)supportsSecureCoding { @@ -1140,6 +1241,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"bufferingHints" : @"BufferingHints", @"cloudWatchLoggingOptions" : @"CloudWatchLoggingOptions", @"clusterEndpoint" : @"ClusterEndpoint", + @"documentIdOptions" : @"DocumentIdOptions", @"domainARN" : @"DomainARN", @"indexName" : @"IndexName", @"indexRotationPeriod" : @"IndexRotationPeriod", @@ -1161,6 +1263,10 @@ + (NSValueTransformer *)cloudWatchLoggingOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseCloudWatchLoggingOptions class]]; } ++ (NSValueTransformer *)documentIdOptionsJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseDocumentIdOptions class]]; +} + + (NSValueTransformer *)indexRotationPeriodJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"NoRotation"] == NSOrderedSame) { @@ -1247,6 +1353,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"bufferingHints" : @"BufferingHints", @"cloudWatchLoggingOptions" : @"CloudWatchLoggingOptions", @"clusterEndpoint" : @"ClusterEndpoint", + @"documentIdOptions" : @"DocumentIdOptions", @"domainARN" : @"DomainARN", @"indexName" : @"IndexName", @"indexRotationPeriod" : @"IndexRotationPeriod", @@ -1268,6 +1375,10 @@ + (NSValueTransformer *)cloudWatchLoggingOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseCloudWatchLoggingOptions class]]; } ++ (NSValueTransformer *)documentIdOptionsJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseDocumentIdOptions class]]; +} + + (NSValueTransformer *)indexRotationPeriodJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"NoRotation"] == NSOrderedSame) { @@ -1354,6 +1465,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"bufferingHints" : @"BufferingHints", @"cloudWatchLoggingOptions" : @"CloudWatchLoggingOptions", @"clusterEndpoint" : @"ClusterEndpoint", + @"documentIdOptions" : @"DocumentIdOptions", @"domainARN" : @"DomainARN", @"indexName" : @"IndexName", @"indexRotationPeriod" : @"IndexRotationPeriod", @@ -1373,6 +1485,10 @@ + (NSValueTransformer *)cloudWatchLoggingOptionsJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseCloudWatchLoggingOptions class]]; } ++ (NSValueTransformer *)documentIdOptionsJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSFirehoseDocumentIdOptions class]]; +} + + (NSValueTransformer *)indexRotationPeriodJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"NoRotation"] == NSOrderedSame) { @@ -2341,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]) { @@ -2348,6 +2467,8 @@ + (NSValueTransformer *)deliveryStreamTypeJSONTransformer { return @"DirectPut"; case AWSFirehoseDeliveryStreamTypeKinesisStreamAsSource: return @"KinesisStreamAsSource"; + case AWSFirehoseDeliveryStreamTypeMSKAsSource: + return @"MSKAsSource"; default: return nil; } @@ -2406,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 { @@ -2617,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); } @@ -2631,6 +2804,8 @@ + (NSValueTransformer *)typesJSONTransformer { switch ([value integerValue]) { case AWSFirehoseProcessorTypeRecordDeAggregation: return @"RecordDeAggregation"; + case AWSFirehoseProcessorTypeDecompression: + return @"Decompression"; case AWSFirehoseProcessorTypeLambda: return @"Lambda"; case AWSFirehoseProcessorTypeMetadataExtraction: @@ -2687,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]) { @@ -2708,6 +2886,8 @@ + (NSValueTransformer *)parameterNameJSONTransformer { return @"SubRecordType"; case AWSFirehoseProcessorParameterNameDelimiter: return @"Delimiter"; + case AWSFirehoseProcessorParameterNameCompressionFormat: + return @"CompressionFormat"; default: return nil; } @@ -3311,6 +3491,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ @"kinesisStreamSourceDescription" : @"KinesisStreamSourceDescription", + @"MSKSourceDescription" : @"MSKSourceDescription", }; } @@ -3318,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.h b/AWSKinesis/AWSFirehoseResources.h index 4e7f35ad5dd..7068c6be2d1 100644 --- a/AWSKinesis/AWSFirehoseResources.h +++ b/AWSKinesis/AWSFirehoseResources.h @@ -1,5 +1,5 @@ // -// Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. diff --git a/AWSKinesis/AWSFirehoseResources.m b/AWSKinesis/AWSFirehoseResources.m index 632fc0d368f..7b782c54844 100644 --- a/AWSKinesis/AWSFirehoseResources.m +++ b/AWSKinesis/AWSFirehoseResources.m @@ -1,5 +1,5 @@ // -// Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. @@ -85,7 +85,7 @@ - (NSString *)definitionString { {\"shape\":\"ResourceInUseException\"},\ {\"shape\":\"InvalidKMSResourceException\"}\ ],\ - \"documentation\":\"Creates a Kinesis Data Firehose delivery stream.
By default, you can create up to 50 delivery streams per Amazon Web Services Region.
This is an asynchronous operation that immediately returns. The initial status of the delivery stream is CREATING
. After the delivery stream is created, its status is ACTIVE
and it now accepts data. If the delivery stream creation fails, the status transitions to CREATING_FAILED
. Attempts to send data to a delivery stream that is not in the ACTIVE
state cause an exception. To check the state of a delivery stream, use DescribeDeliveryStream.
If the status of a delivery stream is CREATING_FAILED
, this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream operation to delete it.
A Kinesis Data Firehose delivery stream can be configured to receive records directly from providers using PutRecord or PutRecordBatch, or it can be configured to use an existing Kinesis stream as its source. To specify a Kinesis data stream as input, set the DeliveryStreamType
parameter to KinesisStreamAsSource
, and provide the Kinesis stream Amazon Resource Name (ARN) and role ARN in the KinesisStreamSourceConfiguration
parameter.
To create a delivery stream with server-side encryption (SSE) enabled, include DeliveryStreamEncryptionConfigurationInput in your request. This is optional. You can also invoke StartDeliveryStreamEncryption to turn on SSE for an existing delivery stream that doesn't have SSE enabled.
A delivery stream is configured with a single destination: Amazon S3, Amazon ES, Amazon Redshift, or Splunk. You must specify only one of the following destination configuration parameters: ExtendedS3DestinationConfiguration
, S3DestinationConfiguration
, ElasticsearchDestinationConfiguration
, RedshiftDestinationConfiguration
, or SplunkDestinationConfiguration
.
When you specify S3DestinationConfiguration
, you can also provide the following optional values: BufferingHints, EncryptionConfiguration
, and CompressionFormat
. By default, if no BufferingHints
value is provided, Kinesis Data Firehose buffers data up to 5 MB or for 5 minutes, whichever condition is satisfied first. BufferingHints
is a hint, so there are some cases where the service cannot adhere to these conditions strictly. For example, record boundaries might be such that the size is a little over or under the configured buffering size. By default, no encryption is performed. We strongly recommend that you enable encryption to ensure secure data storage in Amazon S3.
A few notes about Amazon Redshift as a destination:
An Amazon Redshift destination requires an S3 bucket as intermediate location. Kinesis Data Firehose first delivers data to Amazon S3 and then uses COPY
syntax to load data into an Amazon Redshift table. This is specified in the RedshiftDestinationConfiguration.S3Configuration
parameter.
The compression formats SNAPPY
or ZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
We strongly recommend that you use the user name and password you provide exclusively with Kinesis Data Firehose, and that the permissions for the account are restricted for Amazon Redshift INSERT
permissions.
Kinesis Data Firehose assumes the IAM role that is configured as part of the destination. The role should allow the Kinesis Data Firehose principal to assume the role, and the role should have permissions that allow the service to deliver the data. For more information, see Grant Kinesis Data Firehose Access to an Amazon S3 Destination in the Amazon Kinesis Data Firehose Developer Guide.
\"\ + \"documentation\":\"Creates a Kinesis Data Firehose delivery stream.
By default, you can create up to 50 delivery streams per Amazon Web Services Region.
This is an asynchronous operation that immediately returns. The initial status of the delivery stream is CREATING
. After the delivery stream is created, its status is ACTIVE
and it now accepts data. If the delivery stream creation fails, the status transitions to CREATING_FAILED
. Attempts to send data to a delivery stream that is not in the ACTIVE
state cause an exception. To check the state of a delivery stream, use DescribeDeliveryStream.
If the status of a delivery stream is CREATING_FAILED
, this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream operation to delete it.
A Kinesis Data Firehose delivery stream can be configured to receive records directly from providers using PutRecord or PutRecordBatch, or it can be configured to use an existing Kinesis stream as its source. To specify a Kinesis data stream as input, set the DeliveryStreamType
parameter to KinesisStreamAsSource
, and provide the Kinesis stream Amazon Resource Name (ARN) and role ARN in the KinesisStreamSourceConfiguration
parameter.
To create a delivery stream with server-side encryption (SSE) enabled, include DeliveryStreamEncryptionConfigurationInput in your request. This is optional. You can also invoke StartDeliveryStreamEncryption to turn on SSE for an existing delivery stream that doesn't have SSE enabled.
A delivery stream is configured with a single destination, such as Amazon Simple Storage Service (Amazon S3), Amazon Redshift, Amazon OpenSearch Service, Amazon OpenSearch Serverless, Splunk, and any custom HTTP endpoint or HTTP endpoints owned by or supported by third-party service providers, including Datadog, Dynatrace, LogicMonitor, MongoDB, New Relic, and Sumo Logic. You must specify only one of the following destination configuration parameters: ExtendedS3DestinationConfiguration
, S3DestinationConfiguration
, ElasticsearchDestinationConfiguration
, RedshiftDestinationConfiguration
, or SplunkDestinationConfiguration
.
When you specify S3DestinationConfiguration
, you can also provide the following optional values: BufferingHints, EncryptionConfiguration
, and CompressionFormat
. By default, if no BufferingHints
value is provided, Kinesis Data Firehose buffers data up to 5 MB or for 5 minutes, whichever condition is satisfied first. BufferingHints
is a hint, so there are some cases where the service cannot adhere to these conditions strictly. For example, record boundaries might be such that the size is a little over or under the configured buffering size. By default, no encryption is performed. We strongly recommend that you enable encryption to ensure secure data storage in Amazon S3.
A few notes about Amazon Redshift as a destination:
An Amazon Redshift destination requires an S3 bucket as intermediate location. Kinesis Data Firehose first delivers data to Amazon S3 and then uses COPY
syntax to load data into an Amazon Redshift table. This is specified in the RedshiftDestinationConfiguration.S3Configuration
parameter.
The compression formats SNAPPY
or ZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
We strongly recommend that you use the user name and password you provide exclusively with Kinesis Data Firehose, and that the permissions for the account are restricted for Amazon Redshift INSERT
permissions.
Kinesis Data Firehose assumes the IAM role that is configured as part of the destination. The role should allow the Kinesis Data Firehose principal to assume the role, and the role should have permissions that allow the service to deliver the data. For more information, see Grant Kinesis Data Firehose Access to an Amazon S3 Destination in the Amazon Kinesis Data Firehose Developer Guide.
\"\ },\ \"DeleteDeliveryStream\":{\ \"name\":\"DeleteDeliveryStream\",\ @@ -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.
Updates the specified destination of the specified delivery stream.
Use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination). The update might not occur immediately. The target delivery stream remains active while the configurations are updated, so data writes to the delivery stream can continue during this process. The updated configurations are usually effective within a few minutes.
Switching between Amazon ES and other services is not supported. For an Amazon ES destination, you can only update to another Amazon ES destination.
If the destination type is the same, Kinesis Data Firehose merges the configuration parameters specified with the destination configuration that already exists on the delivery stream. If any of the parameters are not specified in the call, the existing values are retained. For example, in the Amazon S3 destination, if EncryptionConfiguration is not specified, then the existing EncryptionConfiguration
is maintained on the destination.
If the destination type is not the same, for example, changing the destination from Amazon S3 to Amazon Redshift, Kinesis Data Firehose does not merge any parameters. In this case, all parameters must be specified.
Kinesis Data Firehose uses CurrentDeliveryStreamVersionId
to avoid race conditions and conflicting merges. This is a required field, and the service updates the configuration only if the existing configuration has a version ID that matches. After the update is applied successfully, the version ID is updated, and can be retrieved using DescribeDeliveryStream. Use the new version ID to set CurrentDeliveryStreamVersionId
in the next call.
Updates the specified destination of the specified delivery stream.
Use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination). The update might not occur immediately. The target delivery stream remains active while the configurations are updated, so data writes to the delivery stream can continue during this process. The updated configurations are usually effective within a few minutes.
Switching between Amazon OpenSearch Service and other services is not supported. For an Amazon OpenSearch Service destination, you can only update to another Amazon OpenSearch Service destination.
If the destination type is the same, Kinesis Data Firehose merges the configuration parameters specified with the destination configuration that already exists on the delivery stream. If any of the parameters are not specified in the call, the existing values are retained. For example, in the Amazon S3 destination, if EncryptionConfiguration is not specified, then the existing EncryptionConfiguration
is maintained on the destination.
If the destination type is not the same, for example, changing the destination from Amazon S3 to Amazon Redshift, Kinesis Data Firehose does not merge any parameters. In this case, all parameters must be specified.
Kinesis Data Firehose uses CurrentDeliveryStreamVersionId
to avoid race conditions and conflicting merges. This is a required field, and the service updates the configuration only if the existing configuration has a version ID that matches. After the update is applied successfully, the version ID is updated, and can be retrieved using DescribeDeliveryStream. Use the new version ID to set CurrentDeliveryStreamVersionId
in the next call.
The Amazon Resource Name (ARN) of the AWS credentials.
\"\ + \"documentation\":\"The Amazon Resource Name (ARN) of the Amazon Web Services credentials.
\"\ },\ \"CollectionEndpoint\":{\ \"shape\":\"AmazonOpenSearchServerlessCollectionEndpoint\",\ @@ -497,7 +497,11 @@ - (NSString *)definitionString { \"S3Configuration\":{\"shape\":\"S3DestinationConfiguration\"},\ \"ProcessingConfiguration\":{\"shape\":\"ProcessingConfiguration\"},\ \"CloudWatchLoggingOptions\":{\"shape\":\"CloudWatchLoggingOptions\"},\ - \"VpcConfiguration\":{\"shape\":\"VpcConfiguration\"}\ + \"VpcConfiguration\":{\"shape\":\"VpcConfiguration\"},\ + \"DocumentIdOptions\":{\ + \"shape\":\"DocumentIdOptions\",\ + \"documentation\":\"Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
\"\ + }\ },\ \"documentation\":\"Describes the configuration of a destination in Amazon OpenSearch Service
\"\ },\ @@ -543,7 +547,11 @@ - (NSString *)definitionString { \"S3DestinationDescription\":{\"shape\":\"S3DestinationDescription\"},\ \"ProcessingConfiguration\":{\"shape\":\"ProcessingConfiguration\"},\ \"CloudWatchLoggingOptions\":{\"shape\":\"CloudWatchLoggingOptions\"},\ - \"VpcConfigurationDescription\":{\"shape\":\"VpcConfigurationDescription\"}\ + \"VpcConfigurationDescription\":{\"shape\":\"VpcConfigurationDescription\"},\ + \"DocumentIdOptions\":{\ + \"shape\":\"DocumentIdOptions\",\ + \"documentation\":\"Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
\"\ + }\ },\ \"documentation\":\"The destination description in Amazon OpenSearch Service.
\"\ },\ @@ -584,7 +592,11 @@ - (NSString *)definitionString { },\ \"S3Update\":{\"shape\":\"S3DestinationUpdate\"},\ \"ProcessingConfiguration\":{\"shape\":\"ProcessingConfiguration\"},\ - \"CloudWatchLoggingOptions\":{\"shape\":\"CloudWatchLoggingOptions\"}\ + \"CloudWatchLoggingOptions\":{\"shape\":\"CloudWatchLoggingOptions\"},\ + \"DocumentIdOptions\":{\ + \"shape\":\"DocumentIdOptions\",\ + \"documentation\":\"Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
\"\ + }\ },\ \"documentation\":\"Describes an update for a destination in Amazon OpenSearch Service.
\"\ },\ @@ -638,6 +650,24 @@ - (NSString *)definitionString { \"min\":0,\ \"pattern\":\".*\"\ },\ + \"AuthenticationConfiguration\":{\ + \"type\":\"structure\",\ + \"required\":[\ + \"RoleARN\",\ + \"Connectivity\"\ + ],\ + \"members\":{\ + \"RoleARN\":{\ + \"shape\":\"RoleARN\",\ + \"documentation\":\"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\ @@ -685,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\":[\
@@ -801,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\":{\ @@ -852,6 +890,13 @@ - (NSString *)definitionString { \"min\":1,\ \"pattern\":\".*\"\ },\ + \"DefaultDocumentIdFormat\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"FIREHOSE_DEFAULT\",\ + \"NO_DOCUMENT_ID\"\ + ]\ + },\ \"DeleteDeliveryStreamInput\":{\ \"type\":\"structure\",\ \"required\":[\"DeliveryStreamName\"],\ @@ -1033,7 +1078,8 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"DirectPut\",\ - \"KinesisStreamAsSource\"\ + \"KinesisStreamAsSource\",\ + \"MSKAsSource\"\ ]\ },\ \"DeliveryStreamVersionId\":{\ @@ -1142,6 +1188,17 @@ - (NSString *)definitionString { \"min\":1,\ \"pattern\":\"[a-zA-Z0-9-]+\"\ },\ + \"DocumentIdOptions\":{\ + \"type\":\"structure\",\ + \"required\":[\"DefaultDocumentIdFormat\"],\ + \"members\":{\ + \"DefaultDocumentIdFormat\":{\ + \"shape\":\"DefaultDocumentIdFormat\",\ + \"documentation\":\"When the FIREHOSE_DEFAULT
option is chosen, Kinesis Data Firehose generates a unique document ID for each record based on a unique internal identifier. The generated document ID is stable across multiple delivery attempts, which helps prevent the same record from being indexed multiple times with different document IDs.
When the NO_DOCUMENT_ID
option is chosen, Kinesis Data Firehose does not include any document IDs in the requests it sends to the Amazon OpenSearch Service. This causes the Amazon OpenSearch Service domain to generate document IDs. In case of multiple delivery attempts, this may cause the same record to be indexed more than once with different document IDs. This option enables write-heavy operations, such as the ingestion of logs and observability data, to consume less resources in the Amazon OpenSearch Service domain, resulting in improved performance.
Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
\"\ + },\ \"DynamicPartitioningConfiguration\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -1244,7 +1301,11 @@ - (NSString *)definitionString { },\ \"VpcConfiguration\":{\ \"shape\":\"VpcConfiguration\",\ - \"documentation\":\"The details of the VPC of the Amazon ES destination.
\"\ + \"documentation\":\"The details of the VPC of the Amazon destination.
\"\ + },\ + \"DocumentIdOptions\":{\ + \"shape\":\"DocumentIdOptions\",\ + \"documentation\":\"Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
\"\ }\ },\ \"documentation\":\"Describes the configuration of a destination in Amazon ES.
\"\ @@ -1302,7 +1363,11 @@ - (NSString *)definitionString { },\ \"VpcConfigurationDescription\":{\ \"shape\":\"VpcConfigurationDescription\",\ - \"documentation\":\"The details of the VPC of the Amazon ES destination.
\"\ + \"documentation\":\"The details of the VPC of the Amazon OpenSearch or the Amazon OpenSearch Serverless destination.
\"\ + },\ + \"DocumentIdOptions\":{\ + \"shape\":\"DocumentIdOptions\",\ + \"documentation\":\"Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
\"\ }\ },\ \"documentation\":\"The destination description in Amazon ES.
\"\ @@ -1353,6 +1418,10 @@ - (NSString *)definitionString { \"CloudWatchLoggingOptions\":{\ \"shape\":\"CloudWatchLoggingOptions\",\ \"documentation\":\"The CloudWatch logging options for your delivery stream.
\"\ + },\ + \"DocumentIdOptions\":{\ + \"shape\":\"DocumentIdOptions\",\ + \"documentation\":\"Indicates the method for setting up document ID. The supported methods are Kinesis Data Firehose generated document ID and OpenSearch Service generated document ID.
\"\ }\ },\ \"documentation\":\"Describes an update for a destination in Amazon ES.
\"\ @@ -2131,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\"]\ @@ -2376,7 +2496,8 @@ - (NSString *)definitionString { \"BufferSizeInMBs\",\ \"BufferIntervalInSeconds\",\ \"SubRecordType\",\ - \"Delimiter\"\ + \"Delimiter\",\ + \"CompressionFormat\"\ ]\ },\ \"ProcessorParameterValue\":{\ @@ -2389,6 +2510,7 @@ - (NSString *)definitionString { \"type\":\"string\",\ \"enum\":[\ \"RecordDeAggregation\",\ + \"Decompression\",\ \"Lambda\",\ \"MetadataExtraction\",\ \"AppendDelimiterToRecord\"\ @@ -2944,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.
\"\ @@ -3204,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\":[\ @@ -3314,7 +3446,7 @@ - (NSString *)definitionString { \"documentation\":\"The IDs of the security groups that you want Kinesis Data Firehose to use when it creates ENIs in the VPC of the Amazon ES destination. You can use the same security group that the Amazon ES domain uses or different ones. If you specify different security groups here, ensure that they allow outbound HTTPS traffic to the Amazon ES domain's security group. Also ensure that the Amazon ES domain's security group allows HTTPS traffic from the security groups specified here. If you use the same security group for both your delivery stream and the Amazon ES domain, make sure the security group inbound rule allows HTTPS traffic. For more information about security group rules, see Security group rules in the Amazon VPC documentation.
\"\ }\ },\ - \"documentation\":\"The details of the VPC of the Amazon ES destination.
\"\ + \"documentation\":\"The details of the VPC of the Amazon OpenSearch or Amazon OpenSearch Serverless destination.
\"\ },\ \"VpcConfigurationDescription\":{\ \"type\":\"structure\",\ diff --git a/AWSKinesis/AWSFirehoseService.h b/AWSKinesis/AWSFirehoseService.h index 58902957f45..7b73487c82d 100644 --- a/AWSKinesis/AWSFirehoseService.h +++ b/AWSKinesis/AWSFirehoseService.h @@ -1,5 +1,5 @@ // -// Copyright 2010-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. +// Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. @@ -175,7 +175,7 @@ FOUNDATION_EXPORT NSString *const AWSFirehoseSDKVersion; + (void)removeFirehoseForKey:(NSString *)key; /** -Creates a Kinesis Data Firehose delivery stream.
By default, you can create up to 50 delivery streams per Amazon Web Services Region.
This is an asynchronous operation that immediately returns. The initial status of the delivery stream is CREATING
. After the delivery stream is created, its status is ACTIVE
and it now accepts data. If the delivery stream creation fails, the status transitions to CREATING_FAILED
. Attempts to send data to a delivery stream that is not in the ACTIVE
state cause an exception. To check the state of a delivery stream, use DescribeDeliveryStream.
If the status of a delivery stream is CREATING_FAILED
, this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream operation to delete it.
A Kinesis Data Firehose delivery stream can be configured to receive records directly from providers using PutRecord or PutRecordBatch, or it can be configured to use an existing Kinesis stream as its source. To specify a Kinesis data stream as input, set the DeliveryStreamType
parameter to KinesisStreamAsSource
, and provide the Kinesis stream Amazon Resource Name (ARN) and role ARN in the KinesisStreamSourceConfiguration
parameter.
To create a delivery stream with server-side encryption (SSE) enabled, include DeliveryStreamEncryptionConfigurationInput in your request. This is optional. You can also invoke StartDeliveryStreamEncryption to turn on SSE for an existing delivery stream that doesn't have SSE enabled.
A delivery stream is configured with a single destination: Amazon S3, Amazon ES, Amazon Redshift, or Splunk. You must specify only one of the following destination configuration parameters: ExtendedS3DestinationConfiguration
, S3DestinationConfiguration
, ElasticsearchDestinationConfiguration
, RedshiftDestinationConfiguration
, or SplunkDestinationConfiguration
.
When you specify S3DestinationConfiguration
, you can also provide the following optional values: BufferingHints, EncryptionConfiguration
, and CompressionFormat
. By default, if no BufferingHints
value is provided, Kinesis Data Firehose buffers data up to 5 MB or for 5 minutes, whichever condition is satisfied first. BufferingHints
is a hint, so there are some cases where the service cannot adhere to these conditions strictly. For example, record boundaries might be such that the size is a little over or under the configured buffering size. By default, no encryption is performed. We strongly recommend that you enable encryption to ensure secure data storage in Amazon S3.
A few notes about Amazon Redshift as a destination:
An Amazon Redshift destination requires an S3 bucket as intermediate location. Kinesis Data Firehose first delivers data to Amazon S3 and then uses COPY
syntax to load data into an Amazon Redshift table. This is specified in the RedshiftDestinationConfiguration.S3Configuration
parameter.
The compression formats SNAPPY
or ZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
We strongly recommend that you use the user name and password you provide exclusively with Kinesis Data Firehose, and that the permissions for the account are restricted for Amazon Redshift INSERT
permissions.
Kinesis Data Firehose assumes the IAM role that is configured as part of the destination. The role should allow the Kinesis Data Firehose principal to assume the role, and the role should have permissions that allow the service to deliver the data. For more information, see Grant Kinesis Data Firehose Access to an Amazon S3 Destination in the Amazon Kinesis Data Firehose Developer Guide.
+Creates a Kinesis Data Firehose delivery stream.
By default, you can create up to 50 delivery streams per Amazon Web Services Region.
This is an asynchronous operation that immediately returns. The initial status of the delivery stream is CREATING
. After the delivery stream is created, its status is ACTIVE
and it now accepts data. If the delivery stream creation fails, the status transitions to CREATING_FAILED
. Attempts to send data to a delivery stream that is not in the ACTIVE
state cause an exception. To check the state of a delivery stream, use DescribeDeliveryStream.
If the status of a delivery stream is CREATING_FAILED
, this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream operation to delete it.
A Kinesis Data Firehose delivery stream can be configured to receive records directly from providers using PutRecord or PutRecordBatch, or it can be configured to use an existing Kinesis stream as its source. To specify a Kinesis data stream as input, set the DeliveryStreamType
parameter to KinesisStreamAsSource
, and provide the Kinesis stream Amazon Resource Name (ARN) and role ARN in the KinesisStreamSourceConfiguration
parameter.
To create a delivery stream with server-side encryption (SSE) enabled, include DeliveryStreamEncryptionConfigurationInput in your request. This is optional. You can also invoke StartDeliveryStreamEncryption to turn on SSE for an existing delivery stream that doesn't have SSE enabled.
A delivery stream is configured with a single destination, such as Amazon Simple Storage Service (Amazon S3), Amazon Redshift, Amazon OpenSearch Service, Amazon OpenSearch Serverless, Splunk, and any custom HTTP endpoint or HTTP endpoints owned by or supported by third-party service providers, including Datadog, Dynatrace, LogicMonitor, MongoDB, New Relic, and Sumo Logic. You must specify only one of the following destination configuration parameters: ExtendedS3DestinationConfiguration
, S3DestinationConfiguration
, ElasticsearchDestinationConfiguration
, RedshiftDestinationConfiguration
, or SplunkDestinationConfiguration
.
When you specify S3DestinationConfiguration
, you can also provide the following optional values: BufferingHints, EncryptionConfiguration
, and CompressionFormat
. By default, if no BufferingHints
value is provided, Kinesis Data Firehose buffers data up to 5 MB or for 5 minutes, whichever condition is satisfied first. BufferingHints
is a hint, so there are some cases where the service cannot adhere to these conditions strictly. For example, record boundaries might be such that the size is a little over or under the configured buffering size. By default, no encryption is performed. We strongly recommend that you enable encryption to ensure secure data storage in Amazon S3.
A few notes about Amazon Redshift as a destination:
An Amazon Redshift destination requires an S3 bucket as intermediate location. Kinesis Data Firehose first delivers data to Amazon S3 and then uses COPY
syntax to load data into an Amazon Redshift table. This is specified in the RedshiftDestinationConfiguration.S3Configuration
parameter.
The compression formats SNAPPY
or ZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
We strongly recommend that you use the user name and password you provide exclusively with Kinesis Data Firehose, and that the permissions for the account are restricted for Amazon Redshift INSERT
permissions.
Kinesis Data Firehose assumes the IAM role that is configured as part of the destination. The role should allow the Kinesis Data Firehose principal to assume the role, and the role should have permissions that allow the service to deliver the data. For more information, see Grant Kinesis Data Firehose Access to an Amazon S3 Destination in the Amazon Kinesis Data Firehose Developer Guide.
@param request A container for the necessary parameters to execute the CreateDeliveryStream service method. @@ -187,7 +187,7 @@ FOUNDATION_EXPORT NSString *const AWSFirehoseSDKVersion; - (AWSTaskCreates a Kinesis Data Firehose delivery stream.
By default, you can create up to 50 delivery streams per Amazon Web Services Region.
This is an asynchronous operation that immediately returns. The initial status of the delivery stream is CREATING
. After the delivery stream is created, its status is ACTIVE
and it now accepts data. If the delivery stream creation fails, the status transitions to CREATING_FAILED
. Attempts to send data to a delivery stream that is not in the ACTIVE
state cause an exception. To check the state of a delivery stream, use DescribeDeliveryStream.
If the status of a delivery stream is CREATING_FAILED
, this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream operation to delete it.
A Kinesis Data Firehose delivery stream can be configured to receive records directly from providers using PutRecord or PutRecordBatch, or it can be configured to use an existing Kinesis stream as its source. To specify a Kinesis data stream as input, set the DeliveryStreamType
parameter to KinesisStreamAsSource
, and provide the Kinesis stream Amazon Resource Name (ARN) and role ARN in the KinesisStreamSourceConfiguration
parameter.
To create a delivery stream with server-side encryption (SSE) enabled, include DeliveryStreamEncryptionConfigurationInput in your request. This is optional. You can also invoke StartDeliveryStreamEncryption to turn on SSE for an existing delivery stream that doesn't have SSE enabled.
A delivery stream is configured with a single destination: Amazon S3, Amazon ES, Amazon Redshift, or Splunk. You must specify only one of the following destination configuration parameters: ExtendedS3DestinationConfiguration
, S3DestinationConfiguration
, ElasticsearchDestinationConfiguration
, RedshiftDestinationConfiguration
, or SplunkDestinationConfiguration
.
When you specify S3DestinationConfiguration
, you can also provide the following optional values: BufferingHints, EncryptionConfiguration
, and CompressionFormat
. By default, if no BufferingHints
value is provided, Kinesis Data Firehose buffers data up to 5 MB or for 5 minutes, whichever condition is satisfied first. BufferingHints
is a hint, so there are some cases where the service cannot adhere to these conditions strictly. For example, record boundaries might be such that the size is a little over or under the configured buffering size. By default, no encryption is performed. We strongly recommend that you enable encryption to ensure secure data storage in Amazon S3.
A few notes about Amazon Redshift as a destination:
An Amazon Redshift destination requires an S3 bucket as intermediate location. Kinesis Data Firehose first delivers data to Amazon S3 and then uses COPY
syntax to load data into an Amazon Redshift table. This is specified in the RedshiftDestinationConfiguration.S3Configuration
parameter.
The compression formats SNAPPY
or ZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
We strongly recommend that you use the user name and password you provide exclusively with Kinesis Data Firehose, and that the permissions for the account are restricted for Amazon Redshift INSERT
permissions.
Kinesis Data Firehose assumes the IAM role that is configured as part of the destination. The role should allow the Kinesis Data Firehose principal to assume the role, and the role should have permissions that allow the service to deliver the data. For more information, see Grant Kinesis Data Firehose Access to an Amazon S3 Destination in the Amazon Kinesis Data Firehose Developer Guide.
+Creates a Kinesis Data Firehose delivery stream.
By default, you can create up to 50 delivery streams per Amazon Web Services Region.
This is an asynchronous operation that immediately returns. The initial status of the delivery stream is CREATING
. After the delivery stream is created, its status is ACTIVE
and it now accepts data. If the delivery stream creation fails, the status transitions to CREATING_FAILED
. Attempts to send data to a delivery stream that is not in the ACTIVE
state cause an exception. To check the state of a delivery stream, use DescribeDeliveryStream.
If the status of a delivery stream is CREATING_FAILED
, this status doesn't change, and you can't invoke CreateDeliveryStream
again on it. However, you can invoke the DeleteDeliveryStream operation to delete it.
A Kinesis Data Firehose delivery stream can be configured to receive records directly from providers using PutRecord or PutRecordBatch, or it can be configured to use an existing Kinesis stream as its source. To specify a Kinesis data stream as input, set the DeliveryStreamType
parameter to KinesisStreamAsSource
, and provide the Kinesis stream Amazon Resource Name (ARN) and role ARN in the KinesisStreamSourceConfiguration
parameter.
To create a delivery stream with server-side encryption (SSE) enabled, include DeliveryStreamEncryptionConfigurationInput in your request. This is optional. You can also invoke StartDeliveryStreamEncryption to turn on SSE for an existing delivery stream that doesn't have SSE enabled.
A delivery stream is configured with a single destination, such as Amazon Simple Storage Service (Amazon S3), Amazon Redshift, Amazon OpenSearch Service, Amazon OpenSearch Serverless, Splunk, and any custom HTTP endpoint or HTTP endpoints owned by or supported by third-party service providers, including Datadog, Dynatrace, LogicMonitor, MongoDB, New Relic, and Sumo Logic. You must specify only one of the following destination configuration parameters: ExtendedS3DestinationConfiguration
, S3DestinationConfiguration
, ElasticsearchDestinationConfiguration
, RedshiftDestinationConfiguration
, or SplunkDestinationConfiguration
.
When you specify S3DestinationConfiguration
, you can also provide the following optional values: BufferingHints, EncryptionConfiguration
, and CompressionFormat
. By default, if no BufferingHints
value is provided, Kinesis Data Firehose buffers data up to 5 MB or for 5 minutes, whichever condition is satisfied first. BufferingHints
is a hint, so there are some cases where the service cannot adhere to these conditions strictly. For example, record boundaries might be such that the size is a little over or under the configured buffering size. By default, no encryption is performed. We strongly recommend that you enable encryption to ensure secure data storage in Amazon S3.
A few notes about Amazon Redshift as a destination:
An Amazon Redshift destination requires an S3 bucket as intermediate location. Kinesis Data Firehose first delivers data to Amazon S3 and then uses COPY
syntax to load data into an Amazon Redshift table. This is specified in the RedshiftDestinationConfiguration.S3Configuration
parameter.
The compression formats SNAPPY
or ZIP
cannot be specified in RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
We strongly recommend that you use the user name and password you provide exclusively with Kinesis Data Firehose, and that the permissions for the account are restricted for Amazon Redshift INSERT
permissions.
Kinesis Data Firehose assumes the IAM role that is configured as part of the destination. The role should allow the Kinesis Data Firehose principal to assume the role, and the role should have permissions that allow the service to deliver the data. For more information, see Grant Kinesis Data Firehose Access to an Amazon S3 Destination in the Amazon Kinesis Data Firehose Developer Guide.
@param request A container for the necessary parameters to execute the CreateDeliveryStream service method. @param completionHandler The completion handler to call when the load request is complete. @@ -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.
Updates the specified destination of the specified delivery stream.
Use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination). The update might not occur immediately. The target delivery stream remains active while the configurations are updated, so data writes to the delivery stream can continue during this process. The updated configurations are usually effective within a few minutes.
Switching between Amazon ES and other services is not supported. For an Amazon ES destination, you can only update to another Amazon ES destination.
If the destination type is the same, Kinesis Data Firehose merges the configuration parameters specified with the destination configuration that already exists on the delivery stream. If any of the parameters are not specified in the call, the existing values are retained. For example, in the Amazon S3 destination, if EncryptionConfiguration is not specified, then the existing EncryptionConfiguration
is maintained on the destination.
If the destination type is not the same, for example, changing the destination from Amazon S3 to Amazon Redshift, Kinesis Data Firehose does not merge any parameters. In this case, all parameters must be specified.
Kinesis Data Firehose uses CurrentDeliveryStreamVersionId
to avoid race conditions and conflicting merges. This is a required field, and the service updates the configuration only if the existing configuration has a version ID that matches. After the update is applied successfully, the version ID is updated, and can be retrieved using DescribeDeliveryStream. Use the new version ID to set CurrentDeliveryStreamVersionId
in the next call.
Updates the specified destination of the specified delivery stream.
Use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination). The update might not occur immediately. The target delivery stream remains active while the configurations are updated, so data writes to the delivery stream can continue during this process. The updated configurations are usually effective within a few minutes.
Switching between Amazon OpenSearch Service and other services is not supported. For an Amazon OpenSearch Service destination, you can only update to another Amazon OpenSearch Service destination.
If the destination type is the same, Kinesis Data Firehose merges the configuration parameters specified with the destination configuration that already exists on the delivery stream. If any of the parameters are not specified in the call, the existing values are retained. For example, in the Amazon S3 destination, if EncryptionConfiguration is not specified, then the existing EncryptionConfiguration
is maintained on the destination.
If the destination type is not the same, for example, changing the destination from Amazon S3 to Amazon Redshift, Kinesis Data Firehose does not merge any parameters. In this case, all parameters must be specified.
Kinesis Data Firehose uses CurrentDeliveryStreamVersionId
to avoid race conditions and conflicting merges. This is a required field, and the service updates the configuration only if the existing configuration has a version ID that matches. After the update is applied successfully, the version ID is updated, and can be retrieved using DescribeDeliveryStream. Use the new version ID to set CurrentDeliveryStreamVersionId
in the next call.
Updates the specified destination of the specified delivery stream.
Use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination). The update might not occur immediately. The target delivery stream remains active while the configurations are updated, so data writes to the delivery stream can continue during this process. The updated configurations are usually effective within a few minutes.
Switching between Amazon ES and other services is not supported. For an Amazon ES destination, you can only update to another Amazon ES destination.
If the destination type is the same, Kinesis Data Firehose merges the configuration parameters specified with the destination configuration that already exists on the delivery stream. If any of the parameters are not specified in the call, the existing values are retained. For example, in the Amazon S3 destination, if EncryptionConfiguration is not specified, then the existing EncryptionConfiguration
is maintained on the destination.
If the destination type is not the same, for example, changing the destination from Amazon S3 to Amazon Redshift, Kinesis Data Firehose does not merge any parameters. In this case, all parameters must be specified.
Kinesis Data Firehose uses CurrentDeliveryStreamVersionId
to avoid race conditions and conflicting merges. This is a required field, and the service updates the configuration only if the existing configuration has a version ID that matches. After the update is applied successfully, the version ID is updated, and can be retrieved using DescribeDeliveryStream. Use the new version ID to set CurrentDeliveryStreamVersionId
in the next call.
Updates the specified destination of the specified delivery stream.
Use this operation to change the destination type (for example, to replace the Amazon S3 destination with Amazon Redshift) or change the parameters associated with a destination (for example, to change the bucket name of the Amazon S3 destination). The update might not occur immediately. The target delivery stream remains active while the configurations are updated, so data writes to the delivery stream can continue during this process. The updated configurations are usually effective within a few minutes.
Switching between Amazon OpenSearch Service and other services is not supported. For an Amazon OpenSearch Service destination, you can only update to another Amazon OpenSearch Service destination.
If the destination type is the same, Kinesis Data Firehose merges the configuration parameters specified with the destination configuration that already exists on the delivery stream. If any of the parameters are not specified in the call, the existing values are retained. For example, in the Amazon S3 destination, if EncryptionConfiguration is not specified, then the existing EncryptionConfiguration
is maintained on the destination.
If the destination type is not the same, for example, changing the destination from Amazon S3 to Amazon Redshift, Kinesis Data Firehose does not merge any parameters. In this case, all parameters must be specified.
Kinesis Data Firehose uses CurrentDeliveryStreamVersionId
to avoid race conditions and conflicting merges. This is a required field, and the service updates the configuration only if the existing configuration has a version ID that matches. After the update is applied successfully, the version ID is updated, and can be retrieved using DescribeDeliveryStream. Use the new version ID to set CurrentDeliveryStreamVersionId
in the next call.
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.
The function's Amazon CloudWatch Logs configuration settings.
+ */ +@property (nonatomic, strong) AWSLambdaLoggingConfig * _Nullable loggingConfig; + /**The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.
*/ @@ -1839,6 +1872,11 @@ typedef NS_ENUM(NSInteger, AWSLambdaUpdateRuntimeOn) { */ @property (nonatomic, strong) NSArrayThe function's Amazon CloudWatch Logs configuration settings.
+ */ +@property (nonatomic, strong) AWSLambdaLoggingConfig * _Nullable loggingConfig; + /**For Lambda@Edge functions, the ARN of the main function.
*/ @@ -3477,6 +3515,34 @@ typedef NS_ENUM(NSInteger, AWSLambdaUpdateRuntimeOn) { @end +/** +The function's Amazon CloudWatch Logs configuration settings.
+ */ +@interface AWSLambdaLoggingConfig : AWSModel + + +/** +Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level and lower.
+ */ +@property (nonatomic, assign) AWSLambdaApplicationLogLevel applicationLogLevel; + +/** +The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
+ */ +@property (nonatomic, assign) AWSLambdaLogFormat logFormat; + +/** +The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named /aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name.
Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level and lower.
+ */ +@property (nonatomic, assign) AWSLambdaSystemLogLevel systemLogLevel; + +@end + /**A destination for events that failed processing.
*/ @@ -4387,6 +4453,11 @@ typedef NS_ENUM(NSInteger, AWSLambdaUpdateRuntimeOn) { */ @property (nonatomic, strong) NSArrayThe function's Amazon CloudWatch Logs configuration settings.
+ */ +@property (nonatomic, strong) AWSLambdaLoggingConfig * _Nullable loggingConfig; + /**The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.
*/ @@ -4544,6 +4615,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 +4638,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..b846e838f77 100644 --- a/AWSLambda/AWSLambdaModel.m +++ b/AWSLambda/AWSLambdaModel.m @@ -492,6 +492,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"imageConfig" : @"ImageConfig", @"KMSKeyArn" : @"KMSKeyArn", @"layers" : @"Layers", + @"loggingConfig" : @"LoggingConfig", @"memorySize" : @"MemorySize", @"packageType" : @"PackageType", @"publish" : @"Publish", @@ -529,6 +530,10 @@ + (NSValueTransformer *)imageConfigJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSLambdaImageConfig class]]; } ++ (NSValueTransformer *)loggingConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSLambdaLoggingConfig class]]; +} + + (NSValueTransformer *)packageTypeJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"Zip"] == NSOrderedSame) { @@ -648,6 +653,18 @@ + (NSValueTransformer *)runtimeJSONTransformer { if ([value caseInsensitiveCompare:@"python3.11"] == NSOrderedSame) { return @(AWSLambdaRuntimePython311); } + if ([value caseInsensitiveCompare:@"nodejs20.x"] == NSOrderedSame) { + return @(AWSLambdaRuntimeNodejs20X); + } + if ([value caseInsensitiveCompare:@"provided.al2023"] == NSOrderedSame) { + return @(AWSLambdaRuntimeProvidedAl2023); + } + if ([value caseInsensitiveCompare:@"python3.12"] == NSOrderedSame) { + return @(AWSLambdaRuntimePython312); + } + if ([value caseInsensitiveCompare:@"java21"] == NSOrderedSame) { + return @(AWSLambdaRuntimeJava21); + } return @(AWSLambdaRuntimeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -715,6 +732,14 @@ + (NSValueTransformer *)runtimeJSONTransformer { return @"ruby3.2"; case AWSLambdaRuntimePython311: return @"python3.11"; + case AWSLambdaRuntimeNodejs20X: + return @"nodejs20.x"; + case AWSLambdaRuntimeProvidedAl2023: + return @"provided.al2023"; + case AWSLambdaRuntimePython312: + return @"python3.12"; + case AWSLambdaRuntimeJava21: + return @"java21"; default: return nil; } @@ -1376,6 +1401,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"lastUpdateStatusReason" : @"LastUpdateStatusReason", @"lastUpdateStatusReasonCode" : @"LastUpdateStatusReasonCode", @"layers" : @"Layers", + @"loggingConfig" : @"LoggingConfig", @"masterArn" : @"MasterArn", @"memorySize" : @"MemorySize", @"packageType" : @"PackageType", @@ -1562,6 +1588,10 @@ + (NSValueTransformer *)layersJSONTransformer { return [NSValueTransformer awsmtl_JSONArrayTransformerWithModelClass:[AWSLambdaLayer class]]; } ++ (NSValueTransformer *)loggingConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSLambdaLoggingConfig class]]; +} + + (NSValueTransformer *)packageTypeJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"Zip"] == NSOrderedSame) { @@ -1681,6 +1711,18 @@ + (NSValueTransformer *)runtimeJSONTransformer { if ([value caseInsensitiveCompare:@"python3.11"] == NSOrderedSame) { return @(AWSLambdaRuntimePython311); } + if ([value caseInsensitiveCompare:@"nodejs20.x"] == NSOrderedSame) { + return @(AWSLambdaRuntimeNodejs20X); + } + if ([value caseInsensitiveCompare:@"provided.al2023"] == NSOrderedSame) { + return @(AWSLambdaRuntimeProvidedAl2023); + } + if ([value caseInsensitiveCompare:@"python3.12"] == NSOrderedSame) { + return @(AWSLambdaRuntimePython312); + } + if ([value caseInsensitiveCompare:@"java21"] == NSOrderedSame) { + return @(AWSLambdaRuntimeJava21); + } return @(AWSLambdaRuntimeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -1748,6 +1790,14 @@ + (NSValueTransformer *)runtimeJSONTransformer { return @"ruby3.2"; case AWSLambdaRuntimePython311: return @"python3.11"; + case AWSLambdaRuntimeNodejs20X: + return @"nodejs20.x"; + case AWSLambdaRuntimeProvidedAl2023: + return @"provided.al2023"; + case AWSLambdaRuntimePython312: + return @"python3.12"; + case AWSLambdaRuntimeJava21: + return @"java21"; default: return nil; } @@ -3354,6 +3404,18 @@ + (NSValueTransformer *)compatibleRuntimeJSONTransformer { if ([value caseInsensitiveCompare:@"python3.11"] == NSOrderedSame) { return @(AWSLambdaRuntimePython311); } + if ([value caseInsensitiveCompare:@"nodejs20.x"] == NSOrderedSame) { + return @(AWSLambdaRuntimeNodejs20X); + } + if ([value caseInsensitiveCompare:@"provided.al2023"] == NSOrderedSame) { + return @(AWSLambdaRuntimeProvidedAl2023); + } + if ([value caseInsensitiveCompare:@"python3.12"] == NSOrderedSame) { + return @(AWSLambdaRuntimePython312); + } + if ([value caseInsensitiveCompare:@"java21"] == NSOrderedSame) { + return @(AWSLambdaRuntimeJava21); + } return @(AWSLambdaRuntimeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -3421,6 +3483,14 @@ + (NSValueTransformer *)compatibleRuntimeJSONTransformer { return @"ruby3.2"; case AWSLambdaRuntimePython311: return @"python3.11"; + case AWSLambdaRuntimeNodejs20X: + return @"nodejs20.x"; + case AWSLambdaRuntimeProvidedAl2023: + return @"provided.al2023"; + case AWSLambdaRuntimePython312: + return @"python3.12"; + case AWSLambdaRuntimeJava21: + return @"java21"; default: return nil; } @@ -3582,6 +3652,18 @@ + (NSValueTransformer *)compatibleRuntimeJSONTransformer { if ([value caseInsensitiveCompare:@"python3.11"] == NSOrderedSame) { return @(AWSLambdaRuntimePython311); } + if ([value caseInsensitiveCompare:@"nodejs20.x"] == NSOrderedSame) { + return @(AWSLambdaRuntimeNodejs20X); + } + if ([value caseInsensitiveCompare:@"provided.al2023"] == NSOrderedSame) { + return @(AWSLambdaRuntimeProvidedAl2023); + } + if ([value caseInsensitiveCompare:@"python3.12"] == NSOrderedSame) { + return @(AWSLambdaRuntimePython312); + } + if ([value caseInsensitiveCompare:@"java21"] == NSOrderedSame) { + return @(AWSLambdaRuntimeJava21); + } return @(AWSLambdaRuntimeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -3649,6 +3731,14 @@ + (NSValueTransformer *)compatibleRuntimeJSONTransformer { return @"ruby3.2"; case AWSLambdaRuntimePython311: return @"python3.11"; + case AWSLambdaRuntimeNodejs20X: + return @"nodejs20.x"; + case AWSLambdaRuntimeProvidedAl2023: + return @"provided.al2023"; + case AWSLambdaRuntimePython312: + return @"python3.12"; + case AWSLambdaRuntimeJava21: + return @"java21"; default: return nil; } @@ -3774,6 +3864,111 @@ + (NSValueTransformer *)versionsJSONTransformer { @end +@implementation AWSLambdaLoggingConfig + ++ (BOOL)supportsSecureCoding { + return YES; +} + ++ (NSDictionary *)JSONKeyPathsByPropertyKey { + return @{ + @"applicationLogLevel" : @"ApplicationLogLevel", + @"logFormat" : @"LogFormat", + @"logGroup" : @"LogGroup", + @"systemLogLevel" : @"SystemLogLevel", + }; +} + ++ (NSValueTransformer *)applicationLogLevelJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"TRACE"] == NSOrderedSame) { + return @(AWSLambdaApplicationLogLevelTrace); + } + if ([value caseInsensitiveCompare:@"DEBUG"] == NSOrderedSame) { + return @(AWSLambdaApplicationLogLevelDebug); + } + if ([value caseInsensitiveCompare:@"INFO"] == NSOrderedSame) { + return @(AWSLambdaApplicationLogLevelInfo); + } + if ([value caseInsensitiveCompare:@"WARN"] == NSOrderedSame) { + return @(AWSLambdaApplicationLogLevelWarn); + } + if ([value caseInsensitiveCompare:@"ERROR"] == NSOrderedSame) { + return @(AWSLambdaApplicationLogLevelError); + } + if ([value caseInsensitiveCompare:@"FATAL"] == NSOrderedSame) { + return @(AWSLambdaApplicationLogLevelFatal); + } + return @(AWSLambdaApplicationLogLevelUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSLambdaApplicationLogLevelTrace: + return @"TRACE"; + case AWSLambdaApplicationLogLevelDebug: + return @"DEBUG"; + case AWSLambdaApplicationLogLevelInfo: + return @"INFO"; + case AWSLambdaApplicationLogLevelWarn: + return @"WARN"; + case AWSLambdaApplicationLogLevelError: + return @"ERROR"; + case AWSLambdaApplicationLogLevelFatal: + return @"FATAL"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)logFormatJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"JSON"] == NSOrderedSame) { + return @(AWSLambdaLogFormatJson); + } + if ([value caseInsensitiveCompare:@"Text"] == NSOrderedSame) { + return @(AWSLambdaLogFormatText); + } + return @(AWSLambdaLogFormatUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSLambdaLogFormatJson: + return @"JSON"; + case AWSLambdaLogFormatText: + return @"Text"; + default: + return nil; + } + }]; +} + ++ (NSValueTransformer *)systemLogLevelJSONTransformer { + return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { + if ([value caseInsensitiveCompare:@"DEBUG"] == NSOrderedSame) { + return @(AWSLambdaSystemLogLevelDebug); + } + if ([value caseInsensitiveCompare:@"INFO"] == NSOrderedSame) { + return @(AWSLambdaSystemLogLevelInfo); + } + if ([value caseInsensitiveCompare:@"WARN"] == NSOrderedSame) { + return @(AWSLambdaSystemLogLevelWarn); + } + return @(AWSLambdaSystemLogLevelUnknown); + } reverseBlock:^NSString *(NSNumber *value) { + switch ([value integerValue]) { + case AWSLambdaSystemLogLevelDebug: + return @"DEBUG"; + case AWSLambdaSystemLogLevelInfo: + return @"INFO"; + case AWSLambdaSystemLogLevelWarn: + return @"WARN"; + default: + return nil; + } + }]; +} + +@end + @implementation AWSLambdaOnFailure + (BOOL)supportsSecureCoding { @@ -4651,6 +4846,7 @@ + (NSDictionary *)JSONKeyPathsByPropertyKey { @"imageConfig" : @"ImageConfig", @"KMSKeyArn" : @"KMSKeyArn", @"layers" : @"Layers", + @"loggingConfig" : @"LoggingConfig", @"memorySize" : @"MemorySize", @"revisionId" : @"RevisionId", @"role" : @"Role", @@ -4682,6 +4878,10 @@ + (NSValueTransformer *)imageConfigJSONTransformer { return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSLambdaImageConfig class]]; } ++ (NSValueTransformer *)loggingConfigJSONTransformer { + return [NSValueTransformer awsmtl_JSONDictionaryTransformerWithModelClass:[AWSLambdaLoggingConfig class]]; +} + + (NSValueTransformer *)runtimeJSONTransformer { return [AWSMTLValueTransformer reversibleTransformerWithForwardBlock:^NSNumber *(NSString *value) { if ([value caseInsensitiveCompare:@"nodejs"] == NSOrderedSame) { @@ -4780,6 +4980,18 @@ + (NSValueTransformer *)runtimeJSONTransformer { if ([value caseInsensitiveCompare:@"python3.11"] == NSOrderedSame) { return @(AWSLambdaRuntimePython311); } + if ([value caseInsensitiveCompare:@"nodejs20.x"] == NSOrderedSame) { + return @(AWSLambdaRuntimeNodejs20X); + } + if ([value caseInsensitiveCompare:@"provided.al2023"] == NSOrderedSame) { + return @(AWSLambdaRuntimeProvidedAl2023); + } + if ([value caseInsensitiveCompare:@"python3.12"] == NSOrderedSame) { + return @(AWSLambdaRuntimePython312); + } + if ([value caseInsensitiveCompare:@"java21"] == NSOrderedSame) { + return @(AWSLambdaRuntimeJava21); + } return @(AWSLambdaRuntimeUnknown); } reverseBlock:^NSString *(NSNumber *value) { switch ([value integerValue]) { @@ -4847,6 +5059,14 @@ + (NSValueTransformer *)runtimeJSONTransformer { return @"ruby3.2"; case AWSLambdaRuntimePython311: return @"python3.11"; + case AWSLambdaRuntimeNodejs20X: + return @"nodejs20.x"; + case AWSLambdaRuntimeProvidedAl2023: + return @"provided.al2023"; + case AWSLambdaRuntimePython312: + return @"python3.12"; + case AWSLambdaRuntimeJava21: + return @"java21"; default: return nil; } @@ -5027,6 +5247,7 @@ + (BOOL)supportsSecureCoding { + (NSDictionary *)JSONKeyPathsByPropertyKey { return @{ + @"ipv6AllowedForDualStack" : @"Ipv6AllowedForDualStack", @"securityGroupIds" : @"SecurityGroupIds", @"subnetIds" : @"SubnetIds", }; @@ -5042,6 +5263,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..35cef818b00 100644 --- a/AWSLambda/AWSLambdaResources.m +++ b/AWSLambda/AWSLambdaResources.m @@ -677,7 +677,7 @@ - (NSString *)definitionString { {\"shape\":\"ResourceNotReadyException\"},\ {\"shape\":\"RecursiveInvocationException\"}\ ],\ - \"documentation\":\"Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType
to Event
.
For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.
When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda.
For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.
The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException
if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded
) or function level (ReservedFunctionConcurrentInvocationLimitExceeded
).
For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.
This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
\"\ + \"documentation\":\"Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType
is RequestResponse
). To invoke a function asynchronously, set InvocationType
to Event
. Lambda passes the ClientContext
object to your function for synchronous invocations only.
For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.
When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda.
For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.
The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException
if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded
) or function level (ReservedFunctionConcurrentInvocationLimitExceeded
).
For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.
This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
\"\ },\ \"InvokeAsync\":{\ \"name\":\"InvokeAsync\",\ @@ -1536,6 +1536,17 @@ - (NSString *)definitionString { },\ \"documentation\":\"Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
\"\ },\ + \"ApplicationLogLevel\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"TRACE\",\ + \"DEBUG\",\ + \"INFO\",\ + \"WARN\",\ + \"ERROR\",\ + \"FATAL\"\ + ]\ + },\ \"Architecture\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -1980,6 +1991,10 @@ - (NSString *)definitionString { \"SnapStart\":{\ \"shape\":\"SnapStart\",\ \"documentation\":\"The function's SnapStart setting.
\"\ + },\ + \"LoggingConfig\":{\ + \"shape\":\"LoggingConfig\",\ + \"documentation\":\"The function's Amazon CloudWatch Logs configuration settings.
\"\ }\ }\ },\ @@ -2844,6 +2859,10 @@ - (NSString *)definitionString { \"RuntimeVersionConfig\":{\ \"shape\":\"RuntimeVersionConfig\",\ \"documentation\":\"The ARN of the runtime and any errors that occured.
\"\ + },\ + \"LoggingConfig\":{\ + \"shape\":\"LoggingConfig\",\ + \"documentation\":\"The function's Amazon CloudWatch Logs configuration settings.
\"\ }\ },\ \"documentation\":\"Details about a function's configuration.
\"\ @@ -4535,6 +4554,19 @@ - (NSString *)definitionString { \"max\":160,\ \"pattern\":\"^/mnt/[a-zA-Z0-9-_.]+$\"\ },\ + \"LogFormat\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"JSON\",\ + \"Text\"\ + ]\ + },\ + \"LogGroup\":{\ + \"type\":\"string\",\ + \"max\":512,\ + \"min\":1,\ + \"pattern\":\"[\\\\.\\\\-_/#A-Za-z0-9]+\"\ + },\ \"LogType\":{\ \"type\":\"string\",\ \"enum\":[\ @@ -4542,6 +4574,28 @@ - (NSString *)definitionString { \"Tail\"\ ]\ },\ + \"LoggingConfig\":{\ + \"type\":\"structure\",\ + \"members\":{\ + \"LogFormat\":{\ + \"shape\":\"LogFormat\",\ + \"documentation\":\"The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
\"\ + },\ + \"ApplicationLogLevel\":{\ + \"shape\":\"ApplicationLogLevel\",\ + \"documentation\":\"Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level and lower.
\"\ + },\ + \"SystemLogLevel\":{\ + \"shape\":\"SystemLogLevel\",\ + \"documentation\":\"Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level and lower.
\"\ + },\ + \"LogGroup\":{\ + \"shape\":\"LogGroup\",\ + \"documentation\":\"The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default log group named /aws/lambda/<function name>
. To use a different log group, enter an existing log group or enter a new log group name.
The function's Amazon CloudWatch Logs configuration settings.
\"\ + },\ \"Long\":{\"type\":\"long\"},\ \"MasterRegion\":{\ \"type\":\"string\",\ @@ -4637,6 +4691,7 @@ - (NSString *)definitionString { \"type\":\"integer\",\ \"min\":0\ },\ + \"NullableBoolean\":{\"type\":\"boolean\"},\ \"OnFailure\":{\ \"type\":\"structure\",\ \"members\":{\ @@ -5288,7 +5343,11 @@ - (NSString *)definitionString { \"python3.10\",\ \"java17\",\ \"ruby3.2\",\ - \"python3.11\"\ + \"python3.11\",\ + \"nodejs20.x\",\ + \"provided.al2023\",\ + \"python3.12\",\ + \"java21\"\ ]\ },\ \"RuntimeVersionArn\":{\ @@ -5570,6 +5629,14 @@ - (NSString *)definitionString { \"member\":{\"shape\":\"SubnetId\"},\ \"max\":16\ },\ + \"SystemLogLevel\":{\ + \"type\":\"string\",\ + \"enum\":[\ + \"DEBUG\",\ + \"INFO\",\ + \"WARN\"\ + ]\ + },\ \"TagKey\":{\"type\":\"string\"},\ \"TagKeyList\":{\ \"type\":\"list\",\ @@ -5986,6 +6053,10 @@ - (NSString *)definitionString { \"SnapStart\":{\ \"shape\":\"SnapStart\",\ \"documentation\":\"The function's SnapStart setting.
\"\ + },\ + \"LoggingConfig\":{\ + \"shape\":\"LoggingConfig\",\ + \"documentation\":\"The function's Amazon CloudWatch Logs configuration settings.
\"\ }\ }\ },\ @@ -6113,6 +6184,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 +6206,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.
\"\ diff --git a/AWSLambda/AWSLambdaService.h b/AWSLambda/AWSLambdaService.h index a3939ebfe07..9af52dfd252 100644 --- a/AWSLambda/AWSLambdaService.h +++ b/AWSLambda/AWSLambdaService.h @@ -976,7 +976,7 @@ FOUNDATION_EXPORT NSString *const AWSLambdaSDKVersion; - (void)getRuntimeManagementConfig:(AWSLambdaGetRuntimeManagementConfigRequest *)request completionHandler:(void (^ _Nullable)(AWSLambdaGetRuntimeManagementConfigResponse * _Nullable response, NSError * _Nullable error))completionHandler; /** -Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType
to Event
.
For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.
When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda.
For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.
The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException
if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded
) or function level (ReservedFunctionConcurrentInvocationLimitExceeded
).
For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.
This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
+Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType
is RequestResponse
). To invoke a function asynchronously, set InvocationType
to Event
. Lambda passes the ClientContext
object to your function for synchronous invocations only.
For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.
When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda.
For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.
The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException
if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded
) or function level (ReservedFunctionConcurrentInvocationLimitExceeded
).
For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.
This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
@param request A container for the necessary parameters to execute the Invoke service method. @@ -988,7 +988,7 @@ FOUNDATION_EXPORT NSString *const AWSLambdaSDKVersion; - (AWSTaskInvokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType
to Event
.
For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.
When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda.
For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.
The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException
if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded
) or function level (ReservedFunctionConcurrentInvocationLimitExceeded
).
For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.
This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
+Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType
is RequestResponse
). To invoke a function asynchronously, set InvocationType
to Event
. Lambda passes the ClientContext
object to your function for synchronous invocations only.
For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.
When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda.
For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.
The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException
if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded
) or function level (ReservedFunctionConcurrentInvocationLimitExceeded
).
For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.
This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
@param request A container for the necessary parameters to execute the Invoke service method. @param completionHandler The completion handler to call when the load request is complete. diff --git a/AWSLambda/AWSLambdaService.m b/AWSLambda/AWSLambdaService.m index 435121c1d12..064277d5986 100644 --- a/AWSLambda/AWSLambdaService.m +++ b/AWSLambda/AWSLambdaService.m @@ -26,7 +26,7 @@ #import "AWSLambdaRequestRetryHandler.h" static NSString *const AWSInfoLambda = @"Lambda"; -NSString *const AWSLambdaSDKVersion = @"2.33.4"; +NSString *const AWSLambdaSDKVersion = @"2.33.5"; @interface AWSLambdaResponseSerializer : AWSJSONResponseSerializer diff --git a/AWSLambda/Info.plist b/AWSLambda/Info.plist index a2c2de79b02..e4fb6d14e33 100644 --- a/AWSLambda/Info.plist +++ b/AWSLambda/Info.plist @@ -15,7 +15,7 @@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.
*/ @@ -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.
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.
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. diff --git a/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingService.m b/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingService.m index 69aa7d27239..cadaf457a4b 100644 --- a/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingService.m +++ b/AWSPinpoint/AWSPinpointTargeting/AWSPinpointTargetingService.m @@ -25,7 +25,7 @@ #import "AWSPinpointTargetingResources.h" static NSString *const AWSInfoPinpointTargeting = @"PinpointTargeting"; -NSString *const AWSPinpointTargetingSDKVersion = @"2.33.4"; +NSString *const AWSPinpointTargetingSDKVersion = @"2.33.5"; @interface AWSPinpointTargetingResponseSerializer : AWSJSONResponseSerializer diff --git a/AWSPinpoint/Info.plist b/AWSPinpoint/Info.plist index a2c2de79b02..e4fb6d14e33 100644 --- a/AWSPinpoint/Info.plist +++ b/AWSPinpoint/Info.plist @@ -15,7 +15,7 @@Specifies the engine (standard
or neural
) used by Amazon Polly when processing input text for speech synthesis.
Specifies the engine (standard
, neural
or long-form
) used by Amazon Polly when processing input text for speech synthesis.
Specifies the engine (standard
or neural
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
+The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
*/ @property (nonatomic, strong) NSString * _Nullable sampleRate; @@ -616,7 +620,7 @@ typedef NS_ENUM(NSInteger, AWSPollyVoiceId) { @end /** - + */ @interface AWSPollyStartSpeechSynthesisTaskOutput : AWSModel @@ -640,7 +644,7 @@ typedef NS_ENUM(NSInteger, AWSPollyVoiceId) { @property (nonatomic, strong) NSDate * _Nullable creationTime; /** -Specifies the engine (standard
or neural
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
+The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
*/ @property (nonatomic, strong) NSString * _Nullable sampleRate; @@ -712,13 +716,13 @@ typedef NS_ENUM(NSInteger, AWSPollyVoiceId) { @end /** - + */ @interface AWSPollySynthesizeSpeechInput : AWSRequest /** -Specifies the engine (standard
or neural
) for Amazon Polly to use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available in standard-only, NTTS-only, and both standard and NTTS formats, see Available Voices.
NTTS-only voices
When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be set to neural
. If the engine is not specified, or is set to standard
, this will result in an error.
Type: String
Valid Values: standard
| neural
Required: Yes
Standard voices
For standard voices, this is not required; the engine parameter defaults to standard
. If the engine is not specified, or is set to standard
and an NTTS-only voice is selected, this will result in an error.
Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available for each engine, see Available Voices.
NTTS-only voices
When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be set to neural
. If the engine is not specified, or is set to standard
, this will result in an error.
long-form-only voices
When using long-form-only voices such as Danielle (en-US), this parameter is required and must be set to long-form
. If the engine is not specified, or is set to standard
or neural
, this will result in an error.
Type: String
Valid Values: standard
| neural
| long-form
Required: Yes
Standard voices
For standard voices, this is not required; the engine parameter defaults to standard
. If the engine is not specified, or is set to standard
and an NTTS-only voice is selected, this will result in an error.
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
+The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are "8000", "16000", "22050", and "24000". The default value for standard voices is "22050". The default value for neural voices is "24000". The default value for long-form voices is "24000".
Valid values for pcm are "8000" and "16000" The default value is "16000".
*/ @property (nonatomic, strong) NSString * _Nullable sampleRate; @@ -765,7 +769,7 @@ typedef NS_ENUM(NSInteger, AWSPollyVoiceId) { @end /** - + */ @interface AWSPollySynthesizeSpeechOutput : AWSModel @@ -824,7 +828,7 @@ typedef NS_ENUM(NSInteger, AWSPollyVoiceId) { @property (nonatomic, strong) NSString * _Nullable name; /** -Specifies which engines (standard
or neural
) that are supported by a given voice.
Specifies which engines (standard
, neural
or long-form
) are supported by a given voice.
Specifies the engine (standard
or neural
) used by Amazon Polly when processing input text for speech synthesis.
Specifies the engine (standard
, neural
or long-form
) used by Amazon Polly when processing input text for speech synthesis.
Specifies the engine (standard
or neural
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ + \"documentation\":\"The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\". The default value for long-form voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ },\ \"SnsTopicArn\":{\ \"shape\":\"SnsTopicArn\",\ @@ -847,7 +848,7 @@ - (NSString *)definitionString { \"members\":{\ \"Engine\":{\ \"shape\":\"Engine\",\ - \"documentation\":\"Specifies the engine (standard
or neural
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. Using a voice that is not supported for the engine selected will result in an error.
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ + \"documentation\":\"The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\". The default value for long-form voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ },\ \"SpeechMarkTypes\":{\ \"shape\":\"SpeechMarkTypeList\",\ @@ -931,7 +932,7 @@ - (NSString *)definitionString { \"members\":{\ \"Engine\":{\ \"shape\":\"Engine\",\ - \"documentation\":\"Specifies the engine (standard
or neural
) for Amazon Polly to use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available in standard-only, NTTS-only, and both standard and NTTS formats, see Available Voices.
NTTS-only voices
When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be set to neural
. If the engine is not specified, or is set to standard
, this will result in an error.
Type: String
Valid Values: standard
| neural
Required: Yes
Standard voices
For standard voices, this is not required; the engine parameter defaults to standard
. If the engine is not specified, or is set to standard
and an NTTS-only voice is selected, this will result in an error.
Specifies the engine (standard
, neural
or long-form
) for Amazon Polly to use when processing input text for speech synthesis. For information on Amazon Polly voices and which voices are available for each engine, see Available Voices.
NTTS-only voices
When using NTTS-only voices such as Kevin (en-US), this parameter is required and must be set to neural
. If the engine is not specified, or is set to standard
, this will result in an error.
long-form-only voices
When using long-form-only voices such as Danielle (en-US), this parameter is required and must be set to long-form
. If the engine is not specified, or is set to standard
or neural
, this will result in an error.
Type: String
Valid Values: standard
| neural
| long-form
Required: Yes
Standard voices
For standard voices, this is not required; the engine parameter defaults to standard
. If the engine is not specified, or is set to standard
and an NTTS-only voice is selected, this will result in an error.
The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ + \"documentation\":\"The audio frequency specified in Hz.
The valid values for mp3 and ogg_vorbis are \\\"8000\\\", \\\"16000\\\", \\\"22050\\\", and \\\"24000\\\". The default value for standard voices is \\\"22050\\\". The default value for neural voices is \\\"24000\\\". The default value for long-form voices is \\\"24000\\\".
Valid values for pcm are \\\"8000\\\" and \\\"16000\\\" The default value is \\\"16000\\\".
\"\ },\ \"SpeechMarkTypes\":{\ \"shape\":\"SpeechMarkTypeList\",\ @@ -1067,7 +1068,7 @@ - (NSString *)definitionString { },\ \"SupportedEngines\":{\ \"shape\":\"EngineList\",\ - \"documentation\":\"Specifies which engines (standard
or neural
) that are supported by a given voice.
Specifies which engines (standard
, neural
or long-form
) are supported by a given voice.
Description of the voice.
\"\ @@ -1166,7 +1167,10 @@ - (NSString *)definitionString { \"Niamh\",\ \"Sofie\",\ \"Lisa\",\ - \"Isabelle\"\ + \"Isabelle\",\ + \"Zayd\",\ + \"Danielle\",\ + \"Gregory\"\ ]\ },\ \"VoiceList\":{\ diff --git a/AWSPolly/AWSPollyService.m b/AWSPolly/AWSPollyService.m index 932ad1e0f4d..68aee1301ac 100644 --- a/AWSPolly/AWSPollyService.m +++ b/AWSPolly/AWSPollyService.m @@ -25,7 +25,7 @@ #import "AWSPollyResources.h" static NSString *const AWSInfoPolly = @"Polly"; -NSString *const AWSPollySDKVersion = @"2.33.4"; +NSString *const AWSPollySDKVersion = @"2.33.5"; @interface AWSPollyResponseSerializer : AWSJSONResponseSerializer diff --git a/AWSPolly/AWSPollySynthesizeSpeechURLBuilder.m b/AWSPolly/AWSPollySynthesizeSpeechURLBuilder.m index 7bf7b16b4d2..3294f877134 100644 --- a/AWSPolly/AWSPollySynthesizeSpeechURLBuilder.m +++ b/AWSPolly/AWSPollySynthesizeSpeechURLBuilder.m @@ -16,7 +16,7 @@ #import "AWSPollySynthesizeSpeechURLBuilder.h" static NSString *const AWSInfoPollySynthesizeSpeechURLBuilder = @"PollySynthesizeSpeechUrlBuilder"; -static NSString *const AWSPollySDKVersion = @"2.33.4"; +static NSString *const AWSPollySDKVersion = @"2.33.5"; NSString *const AWSPollySynthesizeSpeechURLBuilderErrorDomain = @"com.amazonaws.AWSPollySynthesizeSpeechURLBuilderErrorDomain"; NSString *const AWSPollyPresignedUrlPath = @"v1/speech"; diff --git a/AWSPolly/Info.plist b/AWSPolly/Info.plist index a2c2de79b02..e4fb6d14e33 100644 --- a/AWSPolly/Info.plist +++ b/AWSPolly/Info.plist @@ -15,7 +15,7 @@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