From 3a536864870e9d4edb6d753ed4882e1ce229d1c8 Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Fri, 15 Dec 2023 19:34:52 +0000 Subject: [PATCH] Documentation updates for AWS Key Management Service Increase number of fields that can be included in CaseEventIncludedData from 50 to 200 Adds relatedContactId field to StartOutboundVoiceContact API input. Introduces PauseContact API and ResumeContact API for Task contacts. Adds pause duration, number of pauses, timestamps for last paused and resumed events to DescribeContact API response. Adds new Rule type and new Rule action. This release 1) introduces a new API: DeleteCompilationJob , and 2) adds InfraCheckConfig for Create/Describe training job API Updates Amazon RDS documentation by adding code examples Updated Cloud9 API documentation for AL2023 release --- VERSION | 2 +- .../model/CreateEnvironmentEC2Request.h | 176 +++-- .../include/aws/connect/ConnectClient.h | 51 ++ .../include/aws/connect/ConnectErrors.h | 3 +- .../aws/connect/ConnectServiceClientModel.h | 10 + .../include/aws/connect/model/ActionType.h | 5 +- .../include/aws/connect/model/AgentInfo.h | 24 + .../include/aws/connect/model/Contact.h | 116 +++ .../model/CreateCaseActionDefinition.h | 142 ++++ .../aws/connect/model/EmptyFieldValue.h | 41 ++ .../EndAssociatedTasksActionDefinition.h | 41 ++ .../aws/connect/model/EventSourceName.h | 4 +- .../include/aws/connect/model/FieldValue.h | 123 ++++ .../aws/connect/model/FieldValueUnion.h | 171 +++++ .../connect/model/GetMetricDataV2Request.h | 48 +- .../aws/connect/model/PauseContactRequest.h | 179 +++++ .../aws/connect/model/PauseContactResult.h | 63 ++ .../aws/connect/model/ResumeContactRequest.h | 179 +++++ .../aws/connect/model/ResumeContactResult.h | 63 ++ .../include/aws/connect/model/RuleAction.h | 135 ++++ .../include/aws/connect/model/SourceType.h | 3 +- .../model/StartOutboundVoiceContactRequest.h | 301 ++++++++ .../model/UpdateCaseActionDefinition.h | 89 +++ .../source/ConnectClient1.cpp | 143 ++-- .../source/ConnectClient2.cpp | 87 +++ .../source/ConnectErrors.cpp | 39 +- .../source/model/ActionType.cpp | 21 + .../source/model/AgentInfo.cpp | 21 +- .../source/model/Contact.cpp | 62 ++ .../model/CreateCaseActionDefinition.cpp | 82 +++ .../source/model/EmptyFieldValue.cpp | 45 ++ .../EndAssociatedTasksActionDefinition.cpp | 45 ++ .../source/model/EventSourceName.cpp | 14 + .../source/model/FieldValue.cpp | 74 ++ .../source/model/FieldValueUnion.cpp | 108 +++ .../source/model/PauseContactRequest.cpp | 49 ++ .../source/model/PauseContactResult.cpp | 42 ++ .../source/model/ResumeContactRequest.cpp | 49 ++ .../source/model/ResumeContactResult.cpp | 42 ++ .../source/model/RuleAction.cpp | 49 +- .../source/model/SourceType.cpp | 7 + .../StartOutboundVoiceContactRequest.cpp | 33 + .../model/UpdateCaseActionDefinition.cpp | 67 ++ .../include/aws/kms/KMSClient.h | 366 ++++++--- .../include/aws/kms/model/CreateKeyRequest.h | 20 +- .../include/aws/kms/model/DecryptRequest.h | 12 +- .../kms/model/GetParametersForImportRequest.h | 36 +- .../aws/kms/model/PutKeyPolicyRequest.h | 20 +- .../aws/kms/model/ReplicateKeyRequest.h | 20 +- .../source/KMSEndpointRules.cpp | 180 ++--- .../aws/rds/model/CreateDBInstanceRequest.h | 16 +- .../include/aws/sagemaker/SageMakerClient.h | 37 +- .../sagemaker/SageMakerServiceClientModel.h | 4 + .../include/aws/sagemaker/model/AppDetails.h | 88 +-- .../include/aws/sagemaker/model/AppType.h | 12 +- .../aws/sagemaker/model/AssociationEdgeType.h | 3 +- .../aws/sagemaker/model/AutoMLJobConfig.h | 80 +- .../model/AutoMLJobSecondaryStatus.h | 8 +- .../aws/sagemaker/model/AutoMLMetricEnum.h | 8 +- .../sagemaker/model/AutoMLProblemTypeConfig.h | 80 +- .../model/AutoMLProblemTypeConfigName.h | 2 +- .../model/AwsManagedHumanLoopRequestSource.h | 5 +- .../aws/sagemaker/model/CanvasAppSettings.h | 56 +- .../include/aws/sagemaker/model/CaptureMode.h | 3 +- .../aws/sagemaker/model/ContainerDefinition.h | 106 +-- .../aws/sagemaker/model/CreateAppRequest.h | 104 +-- .../aws/sagemaker/model/CreateDomainRequest.h | 70 +- .../model/CreateModelPackageRequest.h | 254 +++---- .../model/CreatePresignedDomainUrlRequest.h | 48 +- .../aws/sagemaker/model/CreateSpaceRequest.h | 88 +-- .../aws/sagemaker/model/DeleteAppRequest.h | 104 +-- .../model/DeleteCompilationJobRequest.h | 85 +++ .../aws/sagemaker/model/DeploymentConfig.h | 80 +- .../aws/sagemaker/model/DescribeAppRequest.h | 88 +-- .../aws/sagemaker/model/DescribeAppResult.h | 90 +-- .../model/DescribeAutoMLJobV2Result.h | 164 ++--- .../sagemaker/model/DescribeDomainResult.h | 162 ++-- .../DescribeHyperParameterTuningJobResult.h | 68 +- .../model/DescribeModelPackageResult.h | 222 +++--- .../aws/sagemaker/model/DescribeSpaceResult.h | 208 +++--- .../model/DescribeTrainingJobResult.h | 90 +-- .../model/EndpointInputConfiguration.h | 46 +- .../HyperParameterTrainingJobDefinition.h | 130 ++-- .../HyperParameterTuningJobSearchEntity.h | 136 ++-- .../model/HyperParameterTuningJobStatus.h | 4 +- .../sagemaker/model/InferenceRecommendation.h | 90 +-- .../model/JupyterLabAppImageConfig.h | 23 + .../aws/sagemaker/model/OutputDataConfig.h | 160 ++-- .../aws/sagemaker/model/PipelineExecution.h | 62 +- .../sagemaker/model/PipelineExecutionStep.h | 64 +- .../model/PipelineExecutionStepMetadata.h | 70 +- .../aws/sagemaker/model/PipelineStatus.h | 3 +- .../model/ProductionVariantInstanceType.h | 31 +- .../model/RecommendationJobContainerConfig.h | 104 +-- .../RecommendationJobInferenceBenchmark.h | 46 +- .../model/RecommendationJobInputConfig.h | 88 +-- .../sagemaker/model/RecommendationJobStatus.h | 4 +- .../aws/sagemaker/model/ResourceConfig.h | 56 +- .../aws/sagemaker/model/ResourceSpec.h | 24 +- .../aws/sagemaker/model/ResourceType.h | 8 +- .../aws/sagemaker/model/SearchRecord.h | 102 +-- .../aws/sagemaker/model/SecondaryStatus.h | 3 +- .../aws/sagemaker/model/SpaceDetails.h | 88 +-- .../aws/sagemaker/model/SpaceSettings.h | 100 +-- .../model/StudioLifecycleConfigAppType.h | 6 +- .../include/aws/sagemaker/model/TableFormat.h | 1 + .../aws/sagemaker/model/TargetDevice.h | 3 + .../sagemaker/model/TextGenerationJobConfig.h | 23 + .../sagemaker/model/TrainingInstanceType.h | 20 +- .../aws/sagemaker/model/TransformJob.h | 46 +- .../aws/sagemaker/model/UpdateDomainRequest.h | 70 +- .../aws/sagemaker/model/UserSettings.h | 56 +- .../source/SageMakerClient.cpp | 54 +- .../source/SageMakerClient1.cpp | 54 +- .../source/SageMakerClient2.cpp | 54 +- .../source/SageMakerClient3.cpp | 27 + .../source/model/AppDetails.cpp | 30 +- .../source/model/AppType.cpp | 76 +- .../source/model/AssociationEdgeType.cpp | 7 + .../source/model/AutoMLJobConfig.cpp | 24 +- .../source/model/AutoMLJobSecondaryStatus.cpp | 56 +- .../source/model/AutoMLMetricEnum.cpp | 44 +- .../source/model/AutoMLProblemTypeConfig.cpp | 24 +- .../model/AutoMLProblemTypeConfigName.cpp | 14 +- .../AwsManagedHumanLoopRequestSource.cpp | 21 + .../source/model/CanvasAppSettings.cpp | 28 +- .../source/model/CaptureMode.cpp | 7 + .../source/model/ContainerDefinition.cpp | 34 +- .../source/model/CreateAppRequest.cpp | 16 +- .../source/model/CreateDomainRequest.cpp | 14 +- .../model/CreateModelPackageRequest.cpp | 34 +- .../source/model/CreateSpaceRequest.cpp | 16 +- .../source/model/DeleteAppRequest.cpp | 16 +- .../model/DeleteCompilationJobRequest.cpp | 43 ++ .../source/model/DeploymentConfig.cpp | 28 +- .../source/model/DescribeAppRequest.cpp | 16 +- .../source/model/DescribeAppResult.cpp | 12 +- .../model/DescribeAutoMLJobV2Result.cpp | 44 +- .../source/model/DescribeDomainResult.cpp | 24 +- .../DescribeHyperParameterTuningJobResult.cpp | 12 +- .../model/DescribeModelPackageResult.cpp | 30 +- .../source/model/DescribeSpaceResult.cpp | 16 +- .../model/DescribeTrainingJobResult.cpp | 16 +- .../model/EndpointInputConfiguration.cpp | 34 +- .../HyperParameterTrainingJobDefinition.cpp | 30 +- .../HyperParameterTuningJobSearchEntity.cpp | 50 +- .../model/HyperParameterTuningJobStatus.cpp | 14 + .../source/model/InferenceRecommendation.cpp | 30 +- .../source/model/JupyterLabAppImageConfig.cpp | 15 + .../source/model/PipelineExecution.cpp | 34 +- .../source/model/PipelineExecutionStep.cpp | 34 +- .../model/PipelineExecutionStepMetadata.cpp | 30 +- .../source/model/PipelineStatus.cpp | 7 + .../model/ProductionVariantInstanceType.cpp | 279 ++++++- .../RecommendationJobContainerConfig.cpp | 26 +- .../RecommendationJobInferenceBenchmark.cpp | 30 +- .../model/RecommendationJobInputConfig.cpp | 34 +- .../source/model/RecommendationJobStatus.cpp | 14 + .../source/model/ResourceConfig.cpp | 34 +- .../source/model/ResourceType.cpp | 42 +- .../source/model/SearchRecord.cpp | 52 +- .../source/model/SecondaryStatus.cpp | 7 + .../source/model/SpaceDetails.cpp | 34 +- .../source/model/SpaceSettings.cpp | 44 +- .../model/StudioLifecycleConfigAppType.cpp | 24 +- .../source/model/TableFormat.cpp | 9 +- .../source/model/TargetDevice.cpp | 21 + .../source/model/TextGenerationJobConfig.cpp | 19 +- .../source/model/TrainingInstanceType.cpp | 136 +++- .../source/model/TransformJob.cpp | 34 +- .../source/model/UpdateDomainRequest.cpp | 12 +- .../source/model/UserSettings.cpp | 24 +- .../include/aws/core/VersionConfig.h | 4 +- .../cloud9-2017-09-23.normal.json | 2 +- .../connect-2017-08-08.normal.json | 276 ++++++- .../connectcases-2022-10-03.normal.json | 2 +- .../kms-2014-11-01.normal.json | 112 +-- .../rds-2014-10-31.normal.json | 2 +- .../sagemaker-2017-07-24.normal.json | 696 +++++++++++------- .../kms-2014-11-01.endpoint-rule-set.json | 40 +- 180 files changed, 7593 insertions(+), 3387 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateCaseActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EmptyFieldValue.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/EndAssociatedTasksActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/FieldValue.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/FieldValueUnion.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/PauseContactRequest.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/PauseContactResult.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ResumeContactRequest.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ResumeContactResult.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateCaseActionDefinition.h create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/CreateCaseActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/EmptyFieldValue.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/EndAssociatedTasksActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/FieldValue.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/FieldValueUnion.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/PauseContactRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/PauseContactResult.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/ResumeContactRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/ResumeContactResult.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/UpdateCaseActionDefinition.cpp create mode 100644 generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeleteCompilationJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-sagemaker/source/model/DeleteCompilationJobRequest.cpp diff --git a/VERSION b/VERSION index d6d22f38bd0..ba6d697eb75 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.225 \ No newline at end of file +1.11.226 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-cloud9/include/aws/cloud9/model/CreateEnvironmentEC2Request.h b/generated/src/aws-cpp-sdk-cloud9/include/aws/cloud9/model/CreateEnvironmentEC2Request.h index 0b588443f36..56da34ed558 100644 --- a/generated/src/aws-cpp-sdk-cloud9/include/aws/cloud9/model/CreateEnvironmentEC2Request.h +++ b/generated/src/aws-cpp-sdk-cloud9/include/aws/cloud9/model/CreateEnvironmentEC2Request.h @@ -302,18 +302,22 @@ namespace Model * January 22, 2024, Amazon Linux (AL1) will be removed from the list of available * image IDs for Cloud9. This is necessary as AL1 will reach the end of maintenance * support in December 2023, and as a result will no longer receive security - * updates. We recommend using Amazon Linux 2 as the AMI to create your environment - * as it is fully supported. This change will only affect direct API consumers, and - * not Cloud9 console users.

Since Ubuntu 18.04 has ended standard support - * as of May 31, 2023, we recommend you choose Ubuntu 22.04.

AMI aliases - *

SSM paths - *

Eventual consistency: The KMS API follows an eventual + * consistency model. For more information, see KMS + * eventual consistency.

See Also:

AWS * API Reference

*/ @@ -1346,7 +1398,10 @@ namespace KMS * href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:Encrypt * (key policy)

Related operations:

See Also:

GenerateDataKeyPair

Eventual consistency: The + * KMS API follows an eventual consistency model. For more information, see KMS + * eventual consistency.

See Also:

AWS API * Reference

*/ @@ -1445,8 +1500,11 @@ namespace KMS * Decrypt

  • Encrypt

  • * GenerateDataKeyPair

  • * GenerateDataKeyPairWithoutPlaintext

  • - * GenerateDataKeyWithoutPlaintext

  • See Also:

    - * GenerateDataKeyWithoutPlaintext

    Eventual + * consistency: The KMS API follows an eventual consistency model. For more + * information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -1476,7 +1534,7 @@ namespace KMS * the private key that is encrypted under the symmetric encryption KMS key you * specify. You can use the data key pair to perform asymmetric cryptography and * implement digital signatures outside of KMS. The bytes in the keys are random; - * they not related to the caller or to the KMS key that is used to encrypt the + * they are not related to the caller or to the KMS key that is used to encrypt the * private key.

    You can use the public key that * GenerateDataKeyPair returns to encrypt data or verify a signature * outside of KMS. Then, store the encrypted private key with the data. When you @@ -1543,8 +1601,11 @@ namespace KMS * Decrypt

  • Encrypt

  • * GenerateDataKey

  • * GenerateDataKeyPairWithoutPlaintext

  • - * GenerateDataKeyWithoutPlaintext

  • See Also:

    - * GenerateDataKeyWithoutPlaintext

    Eventual + * consistency: The KMS API follows an eventual consistency model. For more + * information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -1612,8 +1673,11 @@ namespace KMS * (key policy)

    Related operations:

    See - * Also:

    GenerateDataKeyWithoutPlaintext

    Eventual + * consistency: The KMS API follows an eventual consistency model. For more + * information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -1687,8 +1751,11 @@ namespace KMS * (key policy)

    Related operations:

    See - * Also:

    GenerateDataKeyPairWithoutPlaintext

    + * Eventual consistency: The KMS API follows an eventual consistency model. + * For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -1739,8 +1806,11 @@ namespace KMS * value of the KeyId parameter.

    Required permissions: * kms:GenerateMac - * (key policy)

    Related operations: VerifyMac

    See - * Also:

    Related operations: VerifyMac

    + * Eventual consistency: The KMS API follows an eventual consistency model. + * For more information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ @@ -1792,7 +1862,10 @@ namespace KMS * Not applicable. GenerateRandom does not use any account-specific * resources, such as KMS keys.

    Required permissions: kms:GenerateRandom - * (IAM policy)

    See Also:

    Eventual consistency: The KMS API follows an + * eventual consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -1821,8 +1894,12 @@ namespace KMS * use: No. You cannot perform this operation on a KMS key in a different * Amazon Web Services account.

    Required permissions: kms:GetKeyPolicy - * (key policy)

    Related operations: PutKeyPolicy - *

    See Also:

    Related operations: PutKeyPolicy + *

    Eventual consistency: The KMS API follows an eventual + * consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -1897,7 +1974,10 @@ namespace KMS * href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:GetKeyRotationStatus * (key policy)

    Related operations:

    See Also:

    Eventual consistency: The KMS API follows an eventual + * consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -1936,13 +2016,13 @@ namespace KMS * KMS key with no key material. You can import key material for a symmetric * encryption KMS key, HMAC KMS key, asymmetric encryption KMS key, or asymmetric * signing KMS key. You can also import key material into a multi-Region + * href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html">multi-Region * key of any supported type. However, you can't import key material into a KMS * key in a custom key - * store. You can also use GetParametersForImport to get a public - * key and import token to reimport + * href="https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html">custom + * key store. You can also use GetParametersForImport to get a + * public key and import token to reimport * the original key material into a KMS key whose key material expired or was * deleted.

    GetParametersForImport returns the items that you * need to import your key material.

    Eventual consistency: The KMS API follows an + * eventual consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -2044,8 +2127,11 @@ namespace KMS * value of the KeyId parameter.

    Required permissions: * kms:GetPublicKey - * (key policy)

    Related operations: CreateKey

    See - * Also:

    Related operations: CreateKey

    + * Eventual consistency: The KMS API follows an eventual consistency model. + * For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -2157,7 +2243,10 @@ namespace KMS * href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ImportKeyMaterial * (key policy)

    Related operations:

    See Also:

    GetParametersForImport

    Eventual consistency: + * The KMS API follows an eventual consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -2206,7 +2295,10 @@ namespace KMS * access to aliases in the Key Management Service Developer Guide.

    *

    Related operations:

    See Also:

    Eventual consistency: The KMS API follows an eventual + * consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ @@ -2253,7 +2345,10 @@ namespace KMS * (key policy)

    Related operations:

    See Also:

    Eventual consistency: The KMS API follows an eventual + * consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ @@ -2286,8 +2381,12 @@ namespace KMS * Required permissions: kms:ListKeyPolicies * (key policy)

    Related operations:

    See Also:

    GetKeyPolicy

  • PutKeyPolicy + *

  • Eventual consistency: The KMS API follows an + * eventual consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -2319,8 +2418,11 @@ namespace KMS * href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ListKeys * (IAM policy)

    Related operations:

    See Also:

    ListAliases

  • ListResourceTags

  • + *

    Eventual consistency: The KMS API follows an eventual consistency + * model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ @@ -2357,8 +2459,11 @@ namespace KMS * href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:ListResourceTags * (key policy)

    Related operations:

    See Also:

    TagResource

  • UntagResource

  • + * Eventual consistency: The KMS API follows an eventual consistency model. + * For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -2395,16 +2500,27 @@ namespace KMS * examples of working with grants in several programming languages, see Programming * grants.

    Cross-account use: You must specify a principal in - * your Amazon Web Services account. However, this operation can return grants in - * any Amazon Web Services account. You do not need + * your Amazon Web Services account. This operation returns a list of grants where + * the retiring principal specified in the ListRetirableGrants request + * is the same retiring principal on the grant. This can include grants on KMS keys + * owned by other Amazon Web Services accounts, but you do not need * kms:ListRetirableGrants permission (or any other additional * permission) in any Amazon Web Services account other than your own.

    * Required permissions: kms:ListRetirableGrants - * (IAM policy) in your Amazon Web Services account.

    Related + * (IAM policy) in your Amazon Web Services account.

    KMS authorizes + * ListRetirableGrants requests by evaluating the caller account's + * kms:ListRetirableGrants permissions. The authorized resource in + * ListRetirableGrants calls is the retiring principal specified in + * the request. KMS does not evaluate the caller's permissions to verify their + * access to any KMS keys or grants that might be returned by the + * ListRetirableGrants call.

    Related * operations:

    See Also:

    RevokeGrant

    Eventual consistency: The KMS API + * follows an eventual consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -2443,8 +2559,11 @@ namespace KMS * Cross-account use: No. You cannot perform this operation on a KMS key in * a different Amazon Web Services account.

    Required permissions: kms:PutKeyPolicy - * (key policy)

    Related operations: GetKeyPolicy - *

    See Also:

    Related operations: GetKeyPolicy

    + * Eventual consistency: The KMS API follows an eventual consistency model. + * For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -2540,7 +2659,10 @@ namespace KMS * operation to set a key policy.

    Related operations:

    See Also:

    Eventual consistency: The KMS API follows an eventual + * consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ @@ -2627,9 +2749,9 @@ namespace KMS * imported key material, the replica key is created with no key material. You must * import the same key material that you imported into the primary key. For * details, see Importing key - * material into multi-Region keys in the Key Management Service Developer - * Guide.

    To convert a replica key to a primary key, use the + * href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-import.html">Importing + * key material into multi-Region keys in the Key Management Service + * Developer Guide.

    To convert a replica key to a primary key, use the * UpdatePrimaryRegion operation.

    ReplicateKey * uses different default values for the KeyPolicy and * Tags parameters than those used in the KMS console. For details, @@ -2642,7 +2764,10 @@ namespace KMS *

  • To use the Tags parameter, kms:TagResource in * an IAM policy in the replica Region.

  • Related * operations

    See Also:

    UpdatePrimaryRegion

    Eventual consistency: The + * KMS API follows an eventual consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -2687,14 +2812,17 @@ namespace KMS * href="https://docs.aws.amazon.com/kms/latest/developerguide/programming-grants.html">Programming * grants.

    Cross-account use: Yes. You can retire a grant on a * KMS key in a different Amazon Web Services account.

    Required - * permissions::Permission to retire a grant is determined primarily by the + * permissions: Permission to retire a grant is determined primarily by the * grant. For details, see Retiring * and revoking grants in the Key Management Service Developer * Guide.

    Related operations:

    See Also:

    Eventual consistency: The KMS API follows an eventual + * consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ @@ -2742,7 +2870,10 @@ namespace KMS * (key policy).

    Related operations:

    See Also:

    Eventual consistency: The KMS API follows an eventual + * consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ @@ -2778,7 +2909,7 @@ namespace KMS * aliases that refer to it.

    Deleting a KMS key is a destructive * and potentially dangerous operation. When a KMS key is deleted, all data that * was encrypted under the KMS key is unrecoverable. (The only exception is a multi-Region + * href="https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-delete.html">multi-Region * replica key, or an asymmetric * or HMAC KMS key with imported key material.) To prevent the use of a KMS key @@ -2819,7 +2950,10 @@ namespace KMS * in a different Amazon Web Services account.

    Required permissions: * kms:ScheduleKeyDeletion (key policy)

    Related operations

    See Also:

    Eventual consistency: The KMS API follows an eventual + * consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -2886,8 +3020,11 @@ namespace KMS * value of the KeyId parameter.

    Required permissions: * kms:Sign - * (key policy)

    Related operations: Verify

    See - * Also:

    Related operations: Verify

    + * Eventual consistency: The KMS API follows an eventual consistency model. + * For more information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ @@ -2949,8 +3086,11 @@ namespace KMS * href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:TagResource * (key policy)

    Related operations

    See Also:

    ReplicateKey

  • UntagResource

  • + *

    Eventual consistency: The KMS API follows an eventual consistency + * model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ @@ -3002,8 +3142,11 @@ namespace KMS * href="https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html">kms:UntagResource * (key policy)

    Related operations

    See Also:

    ReplicateKey

  • TagResource

  • + * Eventual consistency: The KMS API follows an eventual consistency model. + * For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -3063,7 +3206,10 @@ namespace KMS * access to aliases in the Key Management Service Developer Guide.

    *

    Related operations:

    See Also:

    Eventual consistency: The KMS API follows an eventual + * consistency model. For more information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ @@ -3154,7 +3300,11 @@ namespace KMS * ConnectCustomKeyStore

  • CreateCustomKeyStore *

  • DeleteCustomKeyStore

  • * DescribeCustomKeyStores

  • - * DisconnectCustomKeyStore

  • See Also:

    DisconnectCustomKeyStore

    Eventual + * consistency: The KMS API follows an eventual consistency model. For more + * information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -3189,8 +3339,11 @@ namespace KMS * permissions: kms:UpdateKeyDescription * (key policy)

    Related operations

    See Also:

    CreateKey

  • DescribeKey

  • + * Eventual consistency: The KMS API follows an eventual consistency model. + * For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -3276,8 +3429,11 @@ namespace KMS *

    kms:UpdatePrimaryRegion on the current replica key (in the * replica key's Region). Include this permission in the replica key's key * policy.

    Related operations

    See Also:

    CreateKey

  • ReplicateKey

  • + * Eventual consistency: The KMS API follows an eventual consistency model. + * For more information, see KMS + * eventual consistency.

    See Also:

    AWS * API Reference

    */ @@ -3340,8 +3496,11 @@ namespace KMS * value of the KeyId parameter.

    Required permissions: * kms:Verify - * (key policy)

    Related operations: Sign

    See - * Also:

    Related operations: Sign

    Eventual + * consistency: The KMS API follows an eventual consistency model. For more + * information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ @@ -3388,8 +3547,11 @@ namespace KMS * value of the KeyId parameter.

    Required permissions: * kms:VerifyMac - * (key policy)

    Related operations: GenerateMac - *

    See Also:

    Related operations: GenerateMac

    + * Eventual consistency: The KMS API follows an eventual consistency model. + * For more information, see KMS + * eventual consistency.

    See Also:

    AWS API * Reference

    */ diff --git a/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/CreateKeyRequest.h b/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/CreateKeyRequest.h index 937e6ad8579..9877b44ab13 100644 --- a/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/CreateKeyRequest.h +++ b/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/CreateKeyRequest.h @@ -1027,8 +1027,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline bool GetBypassPolicyLockoutSafetyCheck() const{ return m_bypassPolicyLockoutSafetyCheck; } @@ -1040,8 +1041,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline bool BypassPolicyLockoutSafetyCheckHasBeenSet() const { return m_bypassPolicyLockoutSafetyCheckHasBeenSet; } @@ -1053,8 +1055,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline void SetBypassPolicyLockoutSafetyCheck(bool value) { m_bypassPolicyLockoutSafetyCheckHasBeenSet = true; m_bypassPolicyLockoutSafetyCheck = value; } @@ -1066,8 +1069,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline CreateKeyRequest& WithBypassPolicyLockoutSafetyCheck(bool value) { SetBypassPolicyLockoutSafetyCheck(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/DecryptRequest.h b/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/DecryptRequest.h index 18138024d48..aeee3fbea41 100644 --- a/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/DecryptRequest.h +++ b/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/DecryptRequest.h @@ -659,7 +659,7 @@ namespace Model /** *

    A signed attestation + * href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-concepts.html#term-attestdoc">attestation * document from an Amazon Web Services Nitro enclave and the encryption * algorithm to use with the enclave's public key. The only valid encryption * algorithm is RSAES_OAEP_SHA_256.

    This parameter only @@ -682,7 +682,7 @@ namespace Model /** *

    A signed attestation + * href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-concepts.html#term-attestdoc">attestation * document from an Amazon Web Services Nitro enclave and the encryption * algorithm to use with the enclave's public key. The only valid encryption * algorithm is RSAES_OAEP_SHA_256.

    This parameter only @@ -705,7 +705,7 @@ namespace Model /** *

    A signed attestation + * href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-concepts.html#term-attestdoc">attestation * document from an Amazon Web Services Nitro enclave and the encryption * algorithm to use with the enclave's public key. The only valid encryption * algorithm is RSAES_OAEP_SHA_256.

    This parameter only @@ -728,7 +728,7 @@ namespace Model /** *

    A signed attestation + * href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-concepts.html#term-attestdoc">attestation * document from an Amazon Web Services Nitro enclave and the encryption * algorithm to use with the enclave's public key. The only valid encryption * algorithm is RSAES_OAEP_SHA_256.

    This parameter only @@ -751,7 +751,7 @@ namespace Model /** *

    A signed attestation + * href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-concepts.html#term-attestdoc">attestation * document from an Amazon Web Services Nitro enclave and the encryption * algorithm to use with the enclave's public key. The only valid encryption * algorithm is RSAES_OAEP_SHA_256.

    This parameter only @@ -774,7 +774,7 @@ namespace Model /** *

    A signed attestation + * href="https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-concepts.html#term-attestdoc">attestation * document from an Amazon Web Services Nitro enclave and the encryption * algorithm to use with the enclave's public key. The only valid encryption * algorithm is RSAES_OAEP_SHA_256.

    This parameter only diff --git a/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/GetParametersForImportRequest.h b/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/GetParametersForImportRequest.h index ccb61e373ff..16c451fe3b3 100644 --- a/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/GetParametersForImportRequest.h +++ b/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/GetParametersForImportRequest.h @@ -170,9 +170,9 @@ namespace Model *

    RSAES_OAEP_SHA_1 — Supported for all types of key material, except * RSA key material (private key).

    You cannot use the RSAES_OAEP_SHA_1 * wrapping algorithm with the RSA_2048 wrapping key spec to wrap ECC_NIST_P521 key - * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — Supported - * only for symmetric encryption key material (and only in legacy mode).

  • - * + * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — As of + * October 10, 2023, KMS does not support the RSAES_PKCS1_V1_5 wrapping + * algorithm.

  • */ inline const AlgorithmSpec& GetWrappingAlgorithm() const{ return m_wrappingAlgorithm; } @@ -197,9 +197,9 @@ namespace Model *

    RSAES_OAEP_SHA_1 — Supported for all types of key material, except * RSA key material (private key).

    You cannot use the RSAES_OAEP_SHA_1 * wrapping algorithm with the RSA_2048 wrapping key spec to wrap ECC_NIST_P521 key - * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — Supported - * only for symmetric encryption key material (and only in legacy mode).

  • - * + * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — As of + * October 10, 2023, KMS does not support the RSAES_PKCS1_V1_5 wrapping + * algorithm.

  • */ inline bool WrappingAlgorithmHasBeenSet() const { return m_wrappingAlgorithmHasBeenSet; } @@ -224,9 +224,9 @@ namespace Model *

    RSAES_OAEP_SHA_1 — Supported for all types of key material, except * RSA key material (private key).

    You cannot use the RSAES_OAEP_SHA_1 * wrapping algorithm with the RSA_2048 wrapping key spec to wrap ECC_NIST_P521 key - * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — Supported - * only for symmetric encryption key material (and only in legacy mode).

  • - * + * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — As of + * October 10, 2023, KMS does not support the RSAES_PKCS1_V1_5 wrapping + * algorithm.

  • */ inline void SetWrappingAlgorithm(const AlgorithmSpec& value) { m_wrappingAlgorithmHasBeenSet = true; m_wrappingAlgorithm = value; } @@ -251,9 +251,9 @@ namespace Model *

    RSAES_OAEP_SHA_1 — Supported for all types of key material, except * RSA key material (private key).

    You cannot use the RSAES_OAEP_SHA_1 * wrapping algorithm with the RSA_2048 wrapping key spec to wrap ECC_NIST_P521 key - * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — Supported - * only for symmetric encryption key material (and only in legacy mode).

  • - * + * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — As of + * October 10, 2023, KMS does not support the RSAES_PKCS1_V1_5 wrapping + * algorithm.

  • */ inline void SetWrappingAlgorithm(AlgorithmSpec&& value) { m_wrappingAlgorithmHasBeenSet = true; m_wrappingAlgorithm = std::move(value); } @@ -278,9 +278,9 @@ namespace Model *

    RSAES_OAEP_SHA_1 — Supported for all types of key material, except * RSA key material (private key).

    You cannot use the RSAES_OAEP_SHA_1 * wrapping algorithm with the RSA_2048 wrapping key spec to wrap ECC_NIST_P521 key - * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — Supported - * only for symmetric encryption key material (and only in legacy mode).

  • - * + * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — As of + * October 10, 2023, KMS does not support the RSAES_PKCS1_V1_5 wrapping + * algorithm.

  • */ inline GetParametersForImportRequest& WithWrappingAlgorithm(const AlgorithmSpec& value) { SetWrappingAlgorithm(value); return *this;} @@ -305,9 +305,9 @@ namespace Model *

    RSAES_OAEP_SHA_1 — Supported for all types of key material, except * RSA key material (private key).

    You cannot use the RSAES_OAEP_SHA_1 * wrapping algorithm with the RSA_2048 wrapping key spec to wrap ECC_NIST_P521 key - * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — Supported - * only for symmetric encryption key material (and only in legacy mode).

  • - * + * material.

  • RSAES_PKCS1_V1_5 (Deprecated) — As of + * October 10, 2023, KMS does not support the RSAES_PKCS1_V1_5 wrapping + * algorithm.

  • */ inline GetParametersForImportRequest& WithWrappingAlgorithm(AlgorithmSpec&& value) { SetWrappingAlgorithm(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/PutKeyPolicyRequest.h b/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/PutKeyPolicyRequest.h index 4ecfd665dac..0a65edc6b49 100644 --- a/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/PutKeyPolicyRequest.h +++ b/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/PutKeyPolicyRequest.h @@ -429,8 +429,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline bool GetBypassPolicyLockoutSafetyCheck() const{ return m_bypassPolicyLockoutSafetyCheck; } @@ -442,8 +443,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline bool BypassPolicyLockoutSafetyCheckHasBeenSet() const { return m_bypassPolicyLockoutSafetyCheckHasBeenSet; } @@ -455,8 +457,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline void SetBypassPolicyLockoutSafetyCheck(bool value) { m_bypassPolicyLockoutSafetyCheckHasBeenSet = true; m_bypassPolicyLockoutSafetyCheck = value; } @@ -468,8 +471,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline PutKeyPolicyRequest& WithBypassPolicyLockoutSafetyCheck(bool value) { SetBypassPolicyLockoutSafetyCheck(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/ReplicateKeyRequest.h b/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/ReplicateKeyRequest.h index b5e2588ef68..f50f083ebd5 100644 --- a/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/ReplicateKeyRequest.h +++ b/generated/src/aws-cpp-sdk-kms/include/aws/kms/model/ReplicateKeyRequest.h @@ -687,8 +687,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline bool GetBypassPolicyLockoutSafetyCheck() const{ return m_bypassPolicyLockoutSafetyCheck; } @@ -700,8 +701,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline bool BypassPolicyLockoutSafetyCheckHasBeenSet() const { return m_bypassPolicyLockoutSafetyCheckHasBeenSet; } @@ -713,8 +715,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline void SetBypassPolicyLockoutSafetyCheck(bool value) { m_bypassPolicyLockoutSafetyCheckHasBeenSet = true; m_bypassPolicyLockoutSafetyCheck = value; } @@ -726,8 +729,9 @@ namespace Model * href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key">Default * key policy in the Key Management Service Developer Guide.

    *

    Use this parameter only when you intend to prevent the principal - * that is making the request from making a subsequent PutKeyPolicy request - * on the KMS key.

    + * that is making the request from making a subsequent PutKeyPolicy + * request on the KMS key.

    */ inline ReplicateKeyRequest& WithBypassPolicyLockoutSafetyCheck(bool value) { SetBypassPolicyLockoutSafetyCheck(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-kms/source/KMSEndpointRules.cpp b/generated/src/aws-cpp-sdk-kms/source/KMSEndpointRules.cpp index 44e81e2e5c6..fc1d5762335 100644 --- a/generated/src/aws-cpp-sdk-kms/source/KMSEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-kms/source/KMSEndpointRules.cpp @@ -51,106 +51,106 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', 'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','k','m','s','-', -'f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', -'e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}', -'"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r', -'s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}', -']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o', -'r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r', -'e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i', -'t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e', -' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}', -']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"', -'t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c', -'o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a', -'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f', -'n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u', -'p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"', -'t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', -'"','h','t','t','p','s',':','/','/','k','m','s','-','f','i','p','s','.','{','R','e','g','i','o','n', -'}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f', -'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', -'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', -'n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', -'e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b', -'u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o', -'t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e', -'r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', '"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', 'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', -'}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', +'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', +'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', 'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', 'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', '"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', 'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', -'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c', -'k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', -'k','m','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"', -',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', -'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']', -'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r', -'"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b', -'u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o', -'t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p', -'e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n', -'s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"', -'h','t','t','p','s',':','/','/','k','m','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','k','m','s','-','f','i','p','s','.','{', +'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', +'d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o', +'p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}', +',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l', +'S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h', +'i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p', +'p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',', +'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', +'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', +'"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l', +'e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"', +':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', +'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', +'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', +'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']','}',']',',', +'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', +',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s', +':','/','/','k','m','s','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r', 't','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',', '"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o', +':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e', +'n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n', +' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"', +'t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', +'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', +'[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t', +'r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', +'o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e', +'t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a', +'r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s', +'D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[', +'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n', +'t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','k','m','s','.','{','R', +'e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d', +'u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p', +'e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',', +'"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e', +'"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e', +'n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n', +' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a', +'c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t', +'p','s',':','/','/','k','m','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r', +'o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}', +'}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o', 'r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n', ':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"',':', '"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBInstanceRequest.h b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBInstanceRequest.h index 018c6c9f725..d740f32b4fd 100644 --- a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBInstanceRequest.h +++ b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBInstanceRequest.h @@ -577,8 +577,8 @@ namespace Model * Custom for Oracle, 16384 for RDS Custom for SQL Server.

    *
    RDS for Db2

    Constraints to the amount of storage for each * storage type are the following:

    + * (gp3): Must be an integer from 20 to 64000.

  • Provisioned IOPS + * storage (io1): Must be an integer from 100 to 64000.

  • *
    RDS for MariaDB

    Constraints to the amount of storage for each * storage type are the following:

    *
    RDS for Db2

    Constraints to the amount of storage for each * storage type are the following:

    + * (gp3): Must be an integer from 20 to 64000.

  • Provisioned IOPS + * storage (io1): Must be an integer from 100 to 64000.

  • *
    RDS for MariaDB

    Constraints to the amount of storage for each * storage type are the following:

    *
    RDS for Db2

    Constraints to the amount of storage for each * storage type are the following:

    + * (gp3): Must be an integer from 20 to 64000.

  • Provisioned IOPS + * storage (io1): Must be an integer from 100 to 64000.

  • *
    RDS for MariaDB

    Constraints to the amount of storage for each * storage type are the following:

    *
    RDS for Db2

    Constraints to the amount of storage for each * storage type are the following:

    + * (gp3): Must be an integer from 20 to 64000.

  • Provisioned IOPS + * storage (io1): Must be an integer from 100 to 64000.

  • *
    RDS for MariaDB

    Constraints to the amount of storage for each * storage type are the following:

    + * app:CodeEditor:relative/path: Directs users to the relative path in + * the Code Editor, based on Code-OSS, Visual Studio Code - Open Source + * application.

  • app:Canvas:relative/path: Directs + * users to the relative path in the Canvas application.

  • */ inline const Aws::String& GetLandingUri() const{ return m_landingUri; } @@ -230,8 +232,10 @@ namespace Model * relative path in the JupyterLab application.

  • * app:RStudioServerPro:relative/path: Directs users to the relative * path in the RStudio application.

  • - * app:Canvas:relative/path: Directs users to the relative path in the - * Canvas application.

  • + * app:CodeEditor:relative/path: Directs users to the relative path in + * the Code Editor, based on Code-OSS, Visual Studio Code - Open Source + * application.

  • app:Canvas:relative/path: Directs + * users to the relative path in the Canvas application.

  • */ inline bool LandingUriHasBeenSet() const { return m_landingUriHasBeenSet; } @@ -246,8 +250,10 @@ namespace Model * relative path in the JupyterLab application.

  • * app:RStudioServerPro:relative/path: Directs users to the relative * path in the RStudio application.

  • - * app:Canvas:relative/path: Directs users to the relative path in the - * Canvas application.

  • + * app:CodeEditor:relative/path: Directs users to the relative path in + * the Code Editor, based on Code-OSS, Visual Studio Code - Open Source + * application.

  • app:Canvas:relative/path: Directs + * users to the relative path in the Canvas application.

  • */ inline void SetLandingUri(const Aws::String& value) { m_landingUriHasBeenSet = true; m_landingUri = value; } @@ -262,8 +268,10 @@ namespace Model * relative path in the JupyterLab application.

  • * app:RStudioServerPro:relative/path: Directs users to the relative * path in the RStudio application.

  • - * app:Canvas:relative/path: Directs users to the relative path in the - * Canvas application.

  • + * app:CodeEditor:relative/path: Directs users to the relative path in + * the Code Editor, based on Code-OSS, Visual Studio Code - Open Source + * application.

  • app:Canvas:relative/path: Directs + * users to the relative path in the Canvas application.

  • */ inline void SetLandingUri(Aws::String&& value) { m_landingUriHasBeenSet = true; m_landingUri = std::move(value); } @@ -278,8 +286,10 @@ namespace Model * relative path in the JupyterLab application.

  • * app:RStudioServerPro:relative/path: Directs users to the relative * path in the RStudio application.

  • - * app:Canvas:relative/path: Directs users to the relative path in the - * Canvas application.

  • + * app:CodeEditor:relative/path: Directs users to the relative path in + * the Code Editor, based on Code-OSS, Visual Studio Code - Open Source + * application.

  • app:Canvas:relative/path: Directs + * users to the relative path in the Canvas application.

  • */ inline void SetLandingUri(const char* value) { m_landingUriHasBeenSet = true; m_landingUri.assign(value); } @@ -294,8 +304,10 @@ namespace Model * relative path in the JupyterLab application.

  • * app:RStudioServerPro:relative/path: Directs users to the relative * path in the RStudio application.

  • - * app:Canvas:relative/path: Directs users to the relative path in the - * Canvas application.

  • + * app:CodeEditor:relative/path: Directs users to the relative path in + * the Code Editor, based on Code-OSS, Visual Studio Code - Open Source + * application.

  • app:Canvas:relative/path: Directs + * users to the relative path in the Canvas application.

  • */ inline CreatePresignedDomainUrlRequest& WithLandingUri(const Aws::String& value) { SetLandingUri(value); return *this;} @@ -310,8 +322,10 @@ namespace Model * relative path in the JupyterLab application.

  • * app:RStudioServerPro:relative/path: Directs users to the relative * path in the RStudio application.

  • - * app:Canvas:relative/path: Directs users to the relative path in the - * Canvas application.

  • + * app:CodeEditor:relative/path: Directs users to the relative path in + * the Code Editor, based on Code-OSS, Visual Studio Code - Open Source + * application.

  • app:Canvas:relative/path: Directs + * users to the relative path in the Canvas application.

  • */ inline CreatePresignedDomainUrlRequest& WithLandingUri(Aws::String&& value) { SetLandingUri(std::move(value)); return *this;} @@ -326,8 +340,10 @@ namespace Model * relative path in the JupyterLab application.

  • * app:RStudioServerPro:relative/path: Directs users to the relative * path in the RStudio application.

  • - * app:Canvas:relative/path: Directs users to the relative path in the - * Canvas application.

  • + * app:CodeEditor:relative/path: Directs users to the relative path in + * the Code Editor, based on Code-OSS, Visual Studio Code - Open Source + * application.

  • app:Canvas:relative/path: Directs + * users to the relative path in the Canvas application.

  • */ inline CreatePresignedDomainUrlRequest& WithLandingUri(const char* value) { SetLandingUri(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateSpaceRequest.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateSpaceRequest.h index bd7f73b2712..d8e55e1a51e 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateSpaceRequest.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/CreateSpaceRequest.h @@ -209,47 +209,6 @@ namespace Model inline CreateSpaceRequest& WithSpaceSettings(SpaceSettings&& value) { SetSpaceSettings(std::move(value)); return *this;} - /** - *

    The name of the space that appears in the SageMaker Studio UI.

    - */ - inline const Aws::String& GetSpaceDisplayName() const{ return m_spaceDisplayName; } - - /** - *

    The name of the space that appears in the SageMaker Studio UI.

    - */ - inline bool SpaceDisplayNameHasBeenSet() const { return m_spaceDisplayNameHasBeenSet; } - - /** - *

    The name of the space that appears in the SageMaker Studio UI.

    - */ - inline void SetSpaceDisplayName(const Aws::String& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = value; } - - /** - *

    The name of the space that appears in the SageMaker Studio UI.

    - */ - inline void SetSpaceDisplayName(Aws::String&& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = std::move(value); } - - /** - *

    The name of the space that appears in the SageMaker Studio UI.

    - */ - inline void SetSpaceDisplayName(const char* value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName.assign(value); } - - /** - *

    The name of the space that appears in the SageMaker Studio UI.

    - */ - inline CreateSpaceRequest& WithSpaceDisplayName(const Aws::String& value) { SetSpaceDisplayName(value); return *this;} - - /** - *

    The name of the space that appears in the SageMaker Studio UI.

    - */ - inline CreateSpaceRequest& WithSpaceDisplayName(Aws::String&& value) { SetSpaceDisplayName(std::move(value)); return *this;} - - /** - *

    The name of the space that appears in the SageMaker Studio UI.

    - */ - inline CreateSpaceRequest& WithSpaceDisplayName(const char* value) { SetSpaceDisplayName(value); return *this;} - - /** *

    A collection of ownership settings.

    */ @@ -311,6 +270,47 @@ namespace Model */ inline CreateSpaceRequest& WithSpaceSharingSettings(SpaceSharingSettings&& value) { SetSpaceSharingSettings(std::move(value)); return *this;} + + /** + *

    The name of the space that appears in the SageMaker Studio UI.

    + */ + inline const Aws::String& GetSpaceDisplayName() const{ return m_spaceDisplayName; } + + /** + *

    The name of the space that appears in the SageMaker Studio UI.

    + */ + inline bool SpaceDisplayNameHasBeenSet() const { return m_spaceDisplayNameHasBeenSet; } + + /** + *

    The name of the space that appears in the SageMaker Studio UI.

    + */ + inline void SetSpaceDisplayName(const Aws::String& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = value; } + + /** + *

    The name of the space that appears in the SageMaker Studio UI.

    + */ + inline void SetSpaceDisplayName(Aws::String&& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = std::move(value); } + + /** + *

    The name of the space that appears in the SageMaker Studio UI.

    + */ + inline void SetSpaceDisplayName(const char* value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName.assign(value); } + + /** + *

    The name of the space that appears in the SageMaker Studio UI.

    + */ + inline CreateSpaceRequest& WithSpaceDisplayName(const Aws::String& value) { SetSpaceDisplayName(value); return *this;} + + /** + *

    The name of the space that appears in the SageMaker Studio UI.

    + */ + inline CreateSpaceRequest& WithSpaceDisplayName(Aws::String&& value) { SetSpaceDisplayName(std::move(value)); return *this;} + + /** + *

    The name of the space that appears in the SageMaker Studio UI.

    + */ + inline CreateSpaceRequest& WithSpaceDisplayName(const char* value) { SetSpaceDisplayName(value); return *this;} + private: Aws::String m_domainId; @@ -325,14 +325,14 @@ namespace Model SpaceSettings m_spaceSettings; bool m_spaceSettingsHasBeenSet = false; - Aws::String m_spaceDisplayName; - bool m_spaceDisplayNameHasBeenSet = false; - OwnershipSettings m_ownershipSettings; bool m_ownershipSettingsHasBeenSet = false; SpaceSharingSettings m_spaceSharingSettings; bool m_spaceSharingSettingsHasBeenSet = false; + + Aws::String m_spaceDisplayName; + bool m_spaceDisplayNameHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeleteAppRequest.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeleteAppRequest.h index f22c67875ae..af7365ef9d0 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeleteAppRequest.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeleteAppRequest.h @@ -125,6 +125,55 @@ namespace Model inline DeleteAppRequest& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;} + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline const Aws::String& GetSpaceName() const{ return m_spaceName; } + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; } + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; } + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); } + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); } + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline DeleteAppRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;} + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline DeleteAppRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;} + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline DeleteAppRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;} + + /** *

    The type of app.

    */ @@ -196,55 +245,6 @@ namespace Model */ inline DeleteAppRequest& WithAppName(const char* value) { SetAppName(value); return *this;} - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline const Aws::String& GetSpaceName() const{ return m_spaceName; } - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; } - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; } - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); } - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); } - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline DeleteAppRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;} - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline DeleteAppRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;} - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline DeleteAppRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;} - private: Aws::String m_domainId; @@ -253,14 +253,14 @@ namespace Model Aws::String m_userProfileName; bool m_userProfileNameHasBeenSet = false; + Aws::String m_spaceName; + bool m_spaceNameHasBeenSet = false; + AppType m_appType; bool m_appTypeHasBeenSet = false; Aws::String m_appName; bool m_appNameHasBeenSet = false; - - Aws::String m_spaceName; - bool m_spaceNameHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeleteCompilationJobRequest.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeleteCompilationJobRequest.h new file mode 100644 index 00000000000..8af936d9741 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeleteCompilationJobRequest.h @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace SageMaker +{ +namespace Model +{ + + /** + */ + class DeleteCompilationJobRequest : public SageMakerRequest + { + public: + AWS_SAGEMAKER_API DeleteCompilationJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteCompilationJob"; } + + AWS_SAGEMAKER_API Aws::String SerializePayload() const override; + + AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; + + + /** + *

    The name of the compilation job to delete.

    + */ + inline const Aws::String& GetCompilationJobName() const{ return m_compilationJobName; } + + /** + *

    The name of the compilation job to delete.

    + */ + inline bool CompilationJobNameHasBeenSet() const { return m_compilationJobNameHasBeenSet; } + + /** + *

    The name of the compilation job to delete.

    + */ + inline void SetCompilationJobName(const Aws::String& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = value; } + + /** + *

    The name of the compilation job to delete.

    + */ + inline void SetCompilationJobName(Aws::String&& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = std::move(value); } + + /** + *

    The name of the compilation job to delete.

    + */ + inline void SetCompilationJobName(const char* value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName.assign(value); } + + /** + *

    The name of the compilation job to delete.

    + */ + inline DeleteCompilationJobRequest& WithCompilationJobName(const Aws::String& value) { SetCompilationJobName(value); return *this;} + + /** + *

    The name of the compilation job to delete.

    + */ + inline DeleteCompilationJobRequest& WithCompilationJobName(Aws::String&& value) { SetCompilationJobName(std::move(value)); return *this;} + + /** + *

    The name of the compilation job to delete.

    + */ + inline DeleteCompilationJobRequest& WithCompilationJobName(const char* value) { SetCompilationJobName(value); return *this;} + + private: + + Aws::String m_compilationJobName; + bool m_compilationJobNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace SageMaker +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeploymentConfig.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeploymentConfig.h index 50383703ce5..188e8cc2ccf 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeploymentConfig.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DeploymentConfig.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -108,88 +108,88 @@ namespace Model /** - *

    Automatic rollback configuration for handling endpoint deployment failures - * and recovery.

    + *

    Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

    */ - inline const AutoRollbackConfig& GetAutoRollbackConfiguration() const{ return m_autoRollbackConfiguration; } + inline const RollingUpdatePolicy& GetRollingUpdatePolicy() const{ return m_rollingUpdatePolicy; } /** - *

    Automatic rollback configuration for handling endpoint deployment failures - * and recovery.

    + *

    Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

    */ - inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; } + inline bool RollingUpdatePolicyHasBeenSet() const { return m_rollingUpdatePolicyHasBeenSet; } /** - *

    Automatic rollback configuration for handling endpoint deployment failures - * and recovery.

    + *

    Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

    */ - inline void SetAutoRollbackConfiguration(const AutoRollbackConfig& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = value; } + inline void SetRollingUpdatePolicy(const RollingUpdatePolicy& value) { m_rollingUpdatePolicyHasBeenSet = true; m_rollingUpdatePolicy = value; } /** - *

    Automatic rollback configuration for handling endpoint deployment failures - * and recovery.

    + *

    Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

    */ - inline void SetAutoRollbackConfiguration(AutoRollbackConfig&& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = std::move(value); } + inline void SetRollingUpdatePolicy(RollingUpdatePolicy&& value) { m_rollingUpdatePolicyHasBeenSet = true; m_rollingUpdatePolicy = std::move(value); } /** - *

    Automatic rollback configuration for handling endpoint deployment failures - * and recovery.

    + *

    Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

    */ - inline DeploymentConfig& WithAutoRollbackConfiguration(const AutoRollbackConfig& value) { SetAutoRollbackConfiguration(value); return *this;} + inline DeploymentConfig& WithRollingUpdatePolicy(const RollingUpdatePolicy& value) { SetRollingUpdatePolicy(value); return *this;} /** - *

    Automatic rollback configuration for handling endpoint deployment failures - * and recovery.

    + *

    Specifies a rolling deployment strategy for updating a SageMaker + * endpoint.

    */ - inline DeploymentConfig& WithAutoRollbackConfiguration(AutoRollbackConfig&& value) { SetAutoRollbackConfiguration(std::move(value)); return *this;} + inline DeploymentConfig& WithRollingUpdatePolicy(RollingUpdatePolicy&& value) { SetRollingUpdatePolicy(std::move(value)); return *this;} /** - *

    Specifies a rolling deployment strategy for updating a SageMaker - * endpoint.

    + *

    Automatic rollback configuration for handling endpoint deployment failures + * and recovery.

    */ - inline const RollingUpdatePolicy& GetRollingUpdatePolicy() const{ return m_rollingUpdatePolicy; } + inline const AutoRollbackConfig& GetAutoRollbackConfiguration() const{ return m_autoRollbackConfiguration; } /** - *

    Specifies a rolling deployment strategy for updating a SageMaker - * endpoint.

    + *

    Automatic rollback configuration for handling endpoint deployment failures + * and recovery.

    */ - inline bool RollingUpdatePolicyHasBeenSet() const { return m_rollingUpdatePolicyHasBeenSet; } + inline bool AutoRollbackConfigurationHasBeenSet() const { return m_autoRollbackConfigurationHasBeenSet; } /** - *

    Specifies a rolling deployment strategy for updating a SageMaker - * endpoint.

    + *

    Automatic rollback configuration for handling endpoint deployment failures + * and recovery.

    */ - inline void SetRollingUpdatePolicy(const RollingUpdatePolicy& value) { m_rollingUpdatePolicyHasBeenSet = true; m_rollingUpdatePolicy = value; } + inline void SetAutoRollbackConfiguration(const AutoRollbackConfig& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = value; } /** - *

    Specifies a rolling deployment strategy for updating a SageMaker - * endpoint.

    + *

    Automatic rollback configuration for handling endpoint deployment failures + * and recovery.

    */ - inline void SetRollingUpdatePolicy(RollingUpdatePolicy&& value) { m_rollingUpdatePolicyHasBeenSet = true; m_rollingUpdatePolicy = std::move(value); } + inline void SetAutoRollbackConfiguration(AutoRollbackConfig&& value) { m_autoRollbackConfigurationHasBeenSet = true; m_autoRollbackConfiguration = std::move(value); } /** - *

    Specifies a rolling deployment strategy for updating a SageMaker - * endpoint.

    + *

    Automatic rollback configuration for handling endpoint deployment failures + * and recovery.

    */ - inline DeploymentConfig& WithRollingUpdatePolicy(const RollingUpdatePolicy& value) { SetRollingUpdatePolicy(value); return *this;} + inline DeploymentConfig& WithAutoRollbackConfiguration(const AutoRollbackConfig& value) { SetAutoRollbackConfiguration(value); return *this;} /** - *

    Specifies a rolling deployment strategy for updating a SageMaker - * endpoint.

    + *

    Automatic rollback configuration for handling endpoint deployment failures + * and recovery.

    */ - inline DeploymentConfig& WithRollingUpdatePolicy(RollingUpdatePolicy&& value) { SetRollingUpdatePolicy(std::move(value)); return *this;} + inline DeploymentConfig& WithAutoRollbackConfiguration(AutoRollbackConfig&& value) { SetAutoRollbackConfiguration(std::move(value)); return *this;} private: BlueGreenUpdatePolicy m_blueGreenUpdatePolicy; bool m_blueGreenUpdatePolicyHasBeenSet = false; - AutoRollbackConfig m_autoRollbackConfiguration; - bool m_autoRollbackConfigurationHasBeenSet = false; - RollingUpdatePolicy m_rollingUpdatePolicy; bool m_rollingUpdatePolicyHasBeenSet = false; + + AutoRollbackConfig m_autoRollbackConfiguration; + bool m_autoRollbackConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppRequest.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppRequest.h index e0ad5b3f9f6..090d80d2f7a 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppRequest.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppRequest.h @@ -125,6 +125,47 @@ namespace Model inline DescribeAppRequest& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;} + /** + *

    The name of the space.

    + */ + inline const Aws::String& GetSpaceName() const{ return m_spaceName; } + + /** + *

    The name of the space.

    + */ + inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; } + + /** + *

    The name of the space.

    + */ + inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; } + + /** + *

    The name of the space.

    + */ + inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); } + + /** + *

    The name of the space.

    + */ + inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); } + + /** + *

    The name of the space.

    + */ + inline DescribeAppRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;} + + /** + *

    The name of the space.

    + */ + inline DescribeAppRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;} + + /** + *

    The name of the space.

    + */ + inline DescribeAppRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;} + + /** *

    The type of app.

    */ @@ -196,47 +237,6 @@ namespace Model */ inline DescribeAppRequest& WithAppName(const char* value) { SetAppName(value); return *this;} - - /** - *

    The name of the space.

    - */ - inline const Aws::String& GetSpaceName() const{ return m_spaceName; } - - /** - *

    The name of the space.

    - */ - inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; } - - /** - *

    The name of the space.

    - */ - inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; } - - /** - *

    The name of the space.

    - */ - inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); } - - /** - *

    The name of the space.

    - */ - inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); } - - /** - *

    The name of the space.

    - */ - inline DescribeAppRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;} - - /** - *

    The name of the space.

    - */ - inline DescribeAppRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;} - - /** - *

    The name of the space.

    - */ - inline DescribeAppRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;} - private: Aws::String m_domainId; @@ -245,14 +245,14 @@ namespace Model Aws::String m_userProfileName; bool m_userProfileNameHasBeenSet = false; + Aws::String m_spaceName; + bool m_spaceNameHasBeenSet = false; + AppType m_appType; bool m_appTypeHasBeenSet = false; Aws::String m_appName; bool m_appNameHasBeenSet = false; - - Aws::String m_spaceName; - bool m_spaceNameHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppResult.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppResult.h index 7916e7d8f01..dc106cce4f5 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppResult.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAppResult.h @@ -206,6 +206,49 @@ namespace Model inline DescribeAppResult& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;} + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline const Aws::String& GetSpaceName() const{ return m_spaceName; } + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; } + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); } + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline void SetSpaceName(const char* value) { m_spaceName.assign(value); } + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline DescribeAppResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;} + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline DescribeAppResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;} + + /** + *

    The name of the space. If this value is not set, then + * UserProfileName must be set.

    + */ + inline DescribeAppResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;} + + /** *

    The status.

    */ @@ -392,49 +435,6 @@ namespace Model inline DescribeAppResult& WithResourceSpec(ResourceSpec&& value) { SetResourceSpec(std::move(value)); return *this;} - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline const Aws::String& GetSpaceName() const{ return m_spaceName; } - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; } - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); } - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline void SetSpaceName(const char* value) { m_spaceName.assign(value); } - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline DescribeAppResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;} - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline DescribeAppResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;} - - /** - *

    The name of the space. If this value is not set, then - * UserProfileName must be set.

    - */ - inline DescribeAppResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;} - - inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -468,6 +468,8 @@ namespace Model Aws::String m_userProfileName; + Aws::String m_spaceName; + AppStatus m_status; Aws::Utils::DateTime m_lastHealthCheckTimestamp; @@ -480,8 +482,6 @@ namespace Model ResourceSpec m_resourceSpec; - Aws::String m_spaceName; - Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAutoMLJobV2Result.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAutoMLJobV2Result.h index 7a13e711e29..696f7196cdf 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAutoMLJobV2Result.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeAutoMLJobV2Result.h @@ -10,17 +10,17 @@ #include #include #include +#include #include #include #include #include +#include +#include #include #include #include #include -#include -#include -#include #include #include #include @@ -297,6 +297,37 @@ namespace Model inline DescribeAutoMLJobV2Result& WithAutoMLProblemTypeConfig(AutoMLProblemTypeConfig&& value) { SetAutoMLProblemTypeConfig(std::move(value)); return *this;} + /** + *

    Returns the name of the problem type configuration set for the AutoML job + * V2.

    + */ + inline const AutoMLProblemTypeConfigName& GetAutoMLProblemTypeConfigName() const{ return m_autoMLProblemTypeConfigName; } + + /** + *

    Returns the name of the problem type configuration set for the AutoML job + * V2.

    + */ + inline void SetAutoMLProblemTypeConfigName(const AutoMLProblemTypeConfigName& value) { m_autoMLProblemTypeConfigName = value; } + + /** + *

    Returns the name of the problem type configuration set for the AutoML job + * V2.

    + */ + inline void SetAutoMLProblemTypeConfigName(AutoMLProblemTypeConfigName&& value) { m_autoMLProblemTypeConfigName = std::move(value); } + + /** + *

    Returns the name of the problem type configuration set for the AutoML job + * V2.

    + */ + inline DescribeAutoMLJobV2Result& WithAutoMLProblemTypeConfigName(const AutoMLProblemTypeConfigName& value) { SetAutoMLProblemTypeConfigName(value); return *this;} + + /** + *

    Returns the name of the problem type configuration set for the AutoML job + * V2.

    + */ + inline DescribeAutoMLJobV2Result& WithAutoMLProblemTypeConfigName(AutoMLProblemTypeConfigName&& value) { SetAutoMLProblemTypeConfigName(std::move(value)); return *this;} + + /** *

    Returns the creation time of the AutoML job V2.

    */ @@ -530,6 +561,48 @@ namespace Model inline DescribeAutoMLJobV2Result& WithAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus&& value) { SetAutoMLJobSecondaryStatus(std::move(value)); return *this;} + + inline const AutoMLJobArtifacts& GetAutoMLJobArtifacts() const{ return m_autoMLJobArtifacts; } + + + inline void SetAutoMLJobArtifacts(const AutoMLJobArtifacts& value) { m_autoMLJobArtifacts = value; } + + + inline void SetAutoMLJobArtifacts(AutoMLJobArtifacts&& value) { m_autoMLJobArtifacts = std::move(value); } + + + inline DescribeAutoMLJobV2Result& WithAutoMLJobArtifacts(const AutoMLJobArtifacts& value) { SetAutoMLJobArtifacts(value); return *this;} + + + inline DescribeAutoMLJobV2Result& WithAutoMLJobArtifacts(AutoMLJobArtifacts&& value) { SetAutoMLJobArtifacts(std::move(value)); return *this;} + + + /** + *

    Returns the resolved attributes used by the AutoML job V2.

    + */ + inline const AutoMLResolvedAttributes& GetResolvedAttributes() const{ return m_resolvedAttributes; } + + /** + *

    Returns the resolved attributes used by the AutoML job V2.

    + */ + inline void SetResolvedAttributes(const AutoMLResolvedAttributes& value) { m_resolvedAttributes = value; } + + /** + *

    Returns the resolved attributes used by the AutoML job V2.

    + */ + inline void SetResolvedAttributes(AutoMLResolvedAttributes&& value) { m_resolvedAttributes = std::move(value); } + + /** + *

    Returns the resolved attributes used by the AutoML job V2.

    + */ + inline DescribeAutoMLJobV2Result& WithResolvedAttributes(const AutoMLResolvedAttributes& value) { SetResolvedAttributes(value); return *this;} + + /** + *

    Returns the resolved attributes used by the AutoML job V2.

    + */ + inline DescribeAutoMLJobV2Result& WithResolvedAttributes(AutoMLResolvedAttributes&& value) { SetResolvedAttributes(std::move(value)); return *this;} + + /** *

    Indicates whether the model was deployed automatically to an endpoint and the * name of that endpoint if deployed automatically.

    @@ -650,79 +723,6 @@ namespace Model - inline const AutoMLJobArtifacts& GetAutoMLJobArtifacts() const{ return m_autoMLJobArtifacts; } - - - inline void SetAutoMLJobArtifacts(const AutoMLJobArtifacts& value) { m_autoMLJobArtifacts = value; } - - - inline void SetAutoMLJobArtifacts(AutoMLJobArtifacts&& value) { m_autoMLJobArtifacts = std::move(value); } - - - inline DescribeAutoMLJobV2Result& WithAutoMLJobArtifacts(const AutoMLJobArtifacts& value) { SetAutoMLJobArtifacts(value); return *this;} - - - inline DescribeAutoMLJobV2Result& WithAutoMLJobArtifacts(AutoMLJobArtifacts&& value) { SetAutoMLJobArtifacts(std::move(value)); return *this;} - - - /** - *

    Returns the resolved attributes used by the AutoML job V2.

    - */ - inline const AutoMLResolvedAttributes& GetResolvedAttributes() const{ return m_resolvedAttributes; } - - /** - *

    Returns the resolved attributes used by the AutoML job V2.

    - */ - inline void SetResolvedAttributes(const AutoMLResolvedAttributes& value) { m_resolvedAttributes = value; } - - /** - *

    Returns the resolved attributes used by the AutoML job V2.

    - */ - inline void SetResolvedAttributes(AutoMLResolvedAttributes&& value) { m_resolvedAttributes = std::move(value); } - - /** - *

    Returns the resolved attributes used by the AutoML job V2.

    - */ - inline DescribeAutoMLJobV2Result& WithResolvedAttributes(const AutoMLResolvedAttributes& value) { SetResolvedAttributes(value); return *this;} - - /** - *

    Returns the resolved attributes used by the AutoML job V2.

    - */ - inline DescribeAutoMLJobV2Result& WithResolvedAttributes(AutoMLResolvedAttributes&& value) { SetResolvedAttributes(std::move(value)); return *this;} - - - /** - *

    Returns the name of the problem type configuration set for the AutoML job - * V2.

    - */ - inline const AutoMLProblemTypeConfigName& GetAutoMLProblemTypeConfigName() const{ return m_autoMLProblemTypeConfigName; } - - /** - *

    Returns the name of the problem type configuration set for the AutoML job - * V2.

    - */ - inline void SetAutoMLProblemTypeConfigName(const AutoMLProblemTypeConfigName& value) { m_autoMLProblemTypeConfigName = value; } - - /** - *

    Returns the name of the problem type configuration set for the AutoML job - * V2.

    - */ - inline void SetAutoMLProblemTypeConfigName(AutoMLProblemTypeConfigName&& value) { m_autoMLProblemTypeConfigName = std::move(value); } - - /** - *

    Returns the name of the problem type configuration set for the AutoML job - * V2.

    - */ - inline DescribeAutoMLJobV2Result& WithAutoMLProblemTypeConfigName(const AutoMLProblemTypeConfigName& value) { SetAutoMLProblemTypeConfigName(value); return *this;} - - /** - *

    Returns the name of the problem type configuration set for the AutoML job - * V2.

    - */ - inline DescribeAutoMLJobV2Result& WithAutoMLProblemTypeConfigName(AutoMLProblemTypeConfigName&& value) { SetAutoMLProblemTypeConfigName(std::move(value)); return *this;} - - - inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -759,6 +759,8 @@ namespace Model AutoMLProblemTypeConfig m_autoMLProblemTypeConfig; + AutoMLProblemTypeConfigName m_autoMLProblemTypeConfigName; + Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_endTime; @@ -775,6 +777,10 @@ namespace Model AutoMLJobSecondaryStatus m_autoMLJobSecondaryStatus; + AutoMLJobArtifacts m_autoMLJobArtifacts; + + AutoMLResolvedAttributes m_resolvedAttributes; + ModelDeployConfig m_modelDeployConfig; ModelDeployResult m_modelDeployResult; @@ -783,12 +789,6 @@ namespace Model AutoMLSecurityConfig m_securityConfig; - AutoMLJobArtifacts m_autoMLJobArtifacts; - - AutoMLResolvedAttributes m_resolvedAttributes; - - AutoMLProblemTypeConfigName m_autoMLProblemTypeConfigName; - Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeDomainResult.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeDomainResult.h index 4453ab21ca2..83503e08054 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeDomainResult.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeDomainResult.h @@ -10,9 +10,9 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -223,43 +223,43 @@ namespace Model /** *

    The ARN of the application managed by SageMaker in IAM Identity Center. This - * value is only returned for domains created after September 19, 2023.

    + * value is only returned for domains created after October 1, 2023.

    */ inline const Aws::String& GetSingleSignOnApplicationArn() const{ return m_singleSignOnApplicationArn; } /** *

    The ARN of the application managed by SageMaker in IAM Identity Center. This - * value is only returned for domains created after September 19, 2023.

    + * value is only returned for domains created after October 1, 2023.

    */ inline void SetSingleSignOnApplicationArn(const Aws::String& value) { m_singleSignOnApplicationArn = value; } /** *

    The ARN of the application managed by SageMaker in IAM Identity Center. This - * value is only returned for domains created after September 19, 2023.

    + * value is only returned for domains created after October 1, 2023.

    */ inline void SetSingleSignOnApplicationArn(Aws::String&& value) { m_singleSignOnApplicationArn = std::move(value); } /** *

    The ARN of the application managed by SageMaker in IAM Identity Center. This - * value is only returned for domains created after September 19, 2023.

    + * value is only returned for domains created after October 1, 2023.

    */ inline void SetSingleSignOnApplicationArn(const char* value) { m_singleSignOnApplicationArn.assign(value); } /** *

    The ARN of the application managed by SageMaker in IAM Identity Center. This - * value is only returned for domains created after September 19, 2023.

    + * value is only returned for domains created after October 1, 2023.

    */ inline DescribeDomainResult& WithSingleSignOnApplicationArn(const Aws::String& value) { SetSingleSignOnApplicationArn(value); return *this;} /** *

    The ARN of the application managed by SageMaker in IAM Identity Center. This - * value is only returned for domains created after September 19, 2023.

    + * value is only returned for domains created after October 1, 2023.

    */ inline DescribeDomainResult& WithSingleSignOnApplicationArn(Aws::String&& value) { SetSingleSignOnApplicationArn(std::move(value)); return *this;} /** *

    The ARN of the application managed by SageMaker in IAM Identity Center. This - * value is only returned for domains created after September 19, 2023.

    + * value is only returned for domains created after October 1, 2023.

    */ inline DescribeDomainResult& WithSingleSignOnApplicationArn(const char* value) { SetSingleSignOnApplicationArn(value); return *this;} @@ -378,6 +378,49 @@ namespace Model inline DescribeDomainResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} + /** + *

    The ID of the security group that authorizes traffic between the + * RSessionGateway apps and the RStudioServerPro app.

    + */ + inline const Aws::String& GetSecurityGroupIdForDomainBoundary() const{ return m_securityGroupIdForDomainBoundary; } + + /** + *

    The ID of the security group that authorizes traffic between the + * RSessionGateway apps and the RStudioServerPro app.

    + */ + inline void SetSecurityGroupIdForDomainBoundary(const Aws::String& value) { m_securityGroupIdForDomainBoundary = value; } + + /** + *

    The ID of the security group that authorizes traffic between the + * RSessionGateway apps and the RStudioServerPro app.

    + */ + inline void SetSecurityGroupIdForDomainBoundary(Aws::String&& value) { m_securityGroupIdForDomainBoundary = std::move(value); } + + /** + *

    The ID of the security group that authorizes traffic between the + * RSessionGateway apps and the RStudioServerPro app.

    + */ + inline void SetSecurityGroupIdForDomainBoundary(const char* value) { m_securityGroupIdForDomainBoundary.assign(value); } + + /** + *

    The ID of the security group that authorizes traffic between the + * RSessionGateway apps and the RStudioServerPro app.

    + */ + inline DescribeDomainResult& WithSecurityGroupIdForDomainBoundary(const Aws::String& value) { SetSecurityGroupIdForDomainBoundary(value); return *this;} + + /** + *

    The ID of the security group that authorizes traffic between the + * RSessionGateway apps and the RStudioServerPro app.

    + */ + inline DescribeDomainResult& WithSecurityGroupIdForDomainBoundary(Aws::String&& value) { SetSecurityGroupIdForDomainBoundary(std::move(value)); return *this;} + + /** + *

    The ID of the security group that authorizes traffic between the + * RSessionGateway apps and the RStudioServerPro app.

    + */ + inline DescribeDomainResult& WithSecurityGroupIdForDomainBoundary(const char* value) { SetSecurityGroupIdForDomainBoundary(value); return *this;} + + /** *

    The domain's authentication mode.

    */ @@ -435,6 +478,32 @@ namespace Model inline DescribeDomainResult& WithDefaultUserSettings(UserSettings&& value) { SetDefaultUserSettings(std::move(value)); return *this;} + /** + *

    A collection of Domain settings.

    + */ + inline const DomainSettings& GetDomainSettings() const{ return m_domainSettings; } + + /** + *

    A collection of Domain settings.

    + */ + inline void SetDomainSettings(const DomainSettings& value) { m_domainSettings = value; } + + /** + *

    A collection of Domain settings.

    + */ + inline void SetDomainSettings(DomainSettings&& value) { m_domainSettings = std::move(value); } + + /** + *

    A collection of Domain settings.

    + */ + inline DescribeDomainResult& WithDomainSettings(const DomainSettings& value) { SetDomainSettings(value); return *this;} + + /** + *

    A collection of Domain settings.

    + */ + inline DescribeDomainResult& WithDomainSettings(DomainSettings&& value) { SetDomainSettings(std::move(value)); return *this;} + + /** *

    Specifies the VPC used for non-EFS traffic. The default value is * PublicInternetOnly.

    • @@ -649,32 +718,6 @@ namespace Model inline DescribeDomainResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} - /** - *

      A collection of Domain settings.

      - */ - inline const DomainSettings& GetDomainSettings() const{ return m_domainSettings; } - - /** - *

      A collection of Domain settings.

      - */ - inline void SetDomainSettings(const DomainSettings& value) { m_domainSettings = value; } - - /** - *

      A collection of Domain settings.

      - */ - inline void SetDomainSettings(DomainSettings&& value) { m_domainSettings = std::move(value); } - - /** - *

      A collection of Domain settings.

      - */ - inline DescribeDomainResult& WithDomainSettings(const DomainSettings& value) { SetDomainSettings(value); return *this;} - - /** - *

      A collection of Domain settings.

      - */ - inline DescribeDomainResult& WithDomainSettings(DomainSettings&& value) { SetDomainSettings(std::move(value)); return *this;} - - /** *

      The entity that creates and manages the required security groups for * inter-app communication in VPCOnly mode. Required when @@ -721,49 +764,6 @@ namespace Model inline DescribeDomainResult& WithAppSecurityGroupManagement(AppSecurityGroupManagement&& value) { SetAppSecurityGroupManagement(std::move(value)); return *this;} - /** - *

      The ID of the security group that authorizes traffic between the - * RSessionGateway apps and the RStudioServerPro app.

      - */ - inline const Aws::String& GetSecurityGroupIdForDomainBoundary() const{ return m_securityGroupIdForDomainBoundary; } - - /** - *

      The ID of the security group that authorizes traffic between the - * RSessionGateway apps and the RStudioServerPro app.

      - */ - inline void SetSecurityGroupIdForDomainBoundary(const Aws::String& value) { m_securityGroupIdForDomainBoundary = value; } - - /** - *

      The ID of the security group that authorizes traffic between the - * RSessionGateway apps and the RStudioServerPro app.

      - */ - inline void SetSecurityGroupIdForDomainBoundary(Aws::String&& value) { m_securityGroupIdForDomainBoundary = std::move(value); } - - /** - *

      The ID of the security group that authorizes traffic between the - * RSessionGateway apps and the RStudioServerPro app.

      - */ - inline void SetSecurityGroupIdForDomainBoundary(const char* value) { m_securityGroupIdForDomainBoundary.assign(value); } - - /** - *

      The ID of the security group that authorizes traffic between the - * RSessionGateway apps and the RStudioServerPro app.

      - */ - inline DescribeDomainResult& WithSecurityGroupIdForDomainBoundary(const Aws::String& value) { SetSecurityGroupIdForDomainBoundary(value); return *this;} - - /** - *

      The ID of the security group that authorizes traffic between the - * RSessionGateway apps and the RStudioServerPro app.

      - */ - inline DescribeDomainResult& WithSecurityGroupIdForDomainBoundary(Aws::String&& value) { SetSecurityGroupIdForDomainBoundary(std::move(value)); return *this;} - - /** - *

      The ID of the security group that authorizes traffic between the - * RSessionGateway apps and the RStudioServerPro app.

      - */ - inline DescribeDomainResult& WithSecurityGroupIdForDomainBoundary(const char* value) { SetSecurityGroupIdForDomainBoundary(value); return *this;} - - /** *

      The default settings used to create a space.

      */ @@ -833,10 +833,14 @@ namespace Model Aws::String m_failureReason; + Aws::String m_securityGroupIdForDomainBoundary; + AuthMode m_authMode; UserSettings m_defaultUserSettings; + DomainSettings m_domainSettings; + AppNetworkAccessType m_appNetworkAccessType; Aws::Vector m_subnetIds; @@ -847,12 +851,8 @@ namespace Model Aws::String m_kmsKeyId; - DomainSettings m_domainSettings; - AppSecurityGroupManagement m_appSecurityGroupManagement; - Aws::String m_securityGroupIdForDomainBoundary; - DefaultSpaceSettings m_defaultSpaceSettings; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeHyperParameterTuningJobResult.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeHyperParameterTuningJobResult.h index b2b82772f5b..19e642d84f2 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeHyperParameterTuningJobResult.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeHyperParameterTuningJobResult.h @@ -15,9 +15,9 @@ #include #include #include +#include #include #include -#include #include namespace Aws @@ -572,6 +572,37 @@ namespace Model inline DescribeHyperParameterTuningJobResult& WithWarmStartConfig(HyperParameterTuningJobWarmStartConfig&& value) { SetWarmStartConfig(std::move(value)); return *this;} + /** + *

      A flag to indicate if autotune is enabled for the hyperparameter tuning + * job.

      + */ + inline const Autotune& GetAutotune() const{ return m_autotune; } + + /** + *

      A flag to indicate if autotune is enabled for the hyperparameter tuning + * job.

      + */ + inline void SetAutotune(const Autotune& value) { m_autotune = value; } + + /** + *

      A flag to indicate if autotune is enabled for the hyperparameter tuning + * job.

      + */ + inline void SetAutotune(Autotune&& value) { m_autotune = std::move(value); } + + /** + *

      A flag to indicate if autotune is enabled for the hyperparameter tuning + * job.

      + */ + inline DescribeHyperParameterTuningJobResult& WithAutotune(const Autotune& value) { SetAutotune(value); return *this;} + + /** + *

      A flag to indicate if autotune is enabled for the hyperparameter tuning + * job.

      + */ + inline DescribeHyperParameterTuningJobResult& WithAutotune(Autotune&& value) { SetAutotune(std::move(value)); return *this;} + + /** *

      If the tuning job failed, the reason it failed.

      */ @@ -665,37 +696,6 @@ namespace Model inline DescribeHyperParameterTuningJobResult& WithConsumedResources(HyperParameterTuningJobConsumedResources&& value) { SetConsumedResources(std::move(value)); return *this;} - /** - *

      A flag to indicate if autotune is enabled for the hyperparameter tuning - * job.

      - */ - inline const Autotune& GetAutotune() const{ return m_autotune; } - - /** - *

      A flag to indicate if autotune is enabled for the hyperparameter tuning - * job.

      - */ - inline void SetAutotune(const Autotune& value) { m_autotune = value; } - - /** - *

      A flag to indicate if autotune is enabled for the hyperparameter tuning - * job.

      - */ - inline void SetAutotune(Autotune&& value) { m_autotune = std::move(value); } - - /** - *

      A flag to indicate if autotune is enabled for the hyperparameter tuning - * job.

      - */ - inline DescribeHyperParameterTuningJobResult& WithAutotune(const Autotune& value) { SetAutotune(value); return *this;} - - /** - *

      A flag to indicate if autotune is enabled for the hyperparameter tuning - * job.

      - */ - inline DescribeHyperParameterTuningJobResult& WithAutotune(Autotune&& value) { SetAutotune(std::move(value)); return *this;} - - inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -747,14 +747,14 @@ namespace Model HyperParameterTuningJobWarmStartConfig m_warmStartConfig; + Autotune m_autotune; + Aws::String m_failureReason; HyperParameterTuningJobCompletionDetails m_tuningJobCompletionDetails; HyperParameterTuningJobConsumedResources m_consumedResources; - Autotune m_autotune; - Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeModelPackageResult.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeModelPackageResult.h index c737ecec870..1e15a2d6f94 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeModelPackageResult.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeModelPackageResult.h @@ -561,113 +561,6 @@ namespace Model inline DescribeModelPackageResult& WithApprovalDescription(const char* value) { SetApprovalDescription(value); return *this;} - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline const Aws::Map& GetCustomerMetadataProperties() const{ return m_customerMetadataProperties; } - - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline void SetCustomerMetadataProperties(const Aws::Map& value) { m_customerMetadataProperties = value; } - - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline void SetCustomerMetadataProperties(Aws::Map&& value) { m_customerMetadataProperties = std::move(value); } - - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline DescribeModelPackageResult& WithCustomerMetadataProperties(const Aws::Map& value) { SetCustomerMetadataProperties(value); return *this;} - - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline DescribeModelPackageResult& WithCustomerMetadataProperties(Aws::Map&& value) { SetCustomerMetadataProperties(std::move(value)); return *this;} - - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline DescribeModelPackageResult& AddCustomerMetadataProperties(const Aws::String& key, const Aws::String& value) { m_customerMetadataProperties.emplace(key, value); return *this; } - - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline DescribeModelPackageResult& AddCustomerMetadataProperties(Aws::String&& key, const Aws::String& value) { m_customerMetadataProperties.emplace(std::move(key), value); return *this; } - - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline DescribeModelPackageResult& AddCustomerMetadataProperties(const Aws::String& key, Aws::String&& value) { m_customerMetadataProperties.emplace(key, std::move(value)); return *this; } - - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline DescribeModelPackageResult& AddCustomerMetadataProperties(Aws::String&& key, Aws::String&& value) { m_customerMetadataProperties.emplace(std::move(key), std::move(value)); return *this; } - - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline DescribeModelPackageResult& AddCustomerMetadataProperties(const char* key, Aws::String&& value) { m_customerMetadataProperties.emplace(key, std::move(value)); return *this; } - - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline DescribeModelPackageResult& AddCustomerMetadataProperties(Aws::String&& key, const char* value) { m_customerMetadataProperties.emplace(std::move(key), value); return *this; } - - /** - *

      The metadata properties associated with the model package versions.

      - */ - inline DescribeModelPackageResult& AddCustomerMetadataProperties(const char* key, const char* value) { m_customerMetadataProperties.emplace(key, value); return *this; } - - - /** - *

      Represents the drift check baselines that can be used when the model monitor - * is set using the model package. For more information, see the topic on Drift - * Detection against Previous Baselines in SageMaker Pipelines in the Amazon - * SageMaker Developer Guide.

      - */ - inline const DriftCheckBaselines& GetDriftCheckBaselines() const{ return m_driftCheckBaselines; } - - /** - *

      Represents the drift check baselines that can be used when the model monitor - * is set using the model package. For more information, see the topic on Drift - * Detection against Previous Baselines in SageMaker Pipelines in the Amazon - * SageMaker Developer Guide.

      - */ - inline void SetDriftCheckBaselines(const DriftCheckBaselines& value) { m_driftCheckBaselines = value; } - - /** - *

      Represents the drift check baselines that can be used when the model monitor - * is set using the model package. For more information, see the topic on Drift - * Detection against Previous Baselines in SageMaker Pipelines in the Amazon - * SageMaker Developer Guide.

      - */ - inline void SetDriftCheckBaselines(DriftCheckBaselines&& value) { m_driftCheckBaselines = std::move(value); } - - /** - *

      Represents the drift check baselines that can be used when the model monitor - * is set using the model package. For more information, see the topic on Drift - * Detection against Previous Baselines in SageMaker Pipelines in the Amazon - * SageMaker Developer Guide.

      - */ - inline DescribeModelPackageResult& WithDriftCheckBaselines(const DriftCheckBaselines& value) { SetDriftCheckBaselines(value); return *this;} - - /** - *

      Represents the drift check baselines that can be used when the model monitor - * is set using the model package. For more information, see the topic on Drift - * Detection against Previous Baselines in SageMaker Pipelines in the Amazon - * SageMaker Developer Guide.

      - */ - inline DescribeModelPackageResult& WithDriftCheckBaselines(DriftCheckBaselines&& value) { SetDriftCheckBaselines(std::move(value)); return *this;} - - /** *

      The machine learning domain of the model package you specified. Common * machine learning domains include computer vision and natural language @@ -818,6 +711,113 @@ namespace Model inline DescribeModelPackageResult& WithSamplePayloadUrl(const char* value) { SetSamplePayloadUrl(value); return *this;} + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline const Aws::Map& GetCustomerMetadataProperties() const{ return m_customerMetadataProperties; } + + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline void SetCustomerMetadataProperties(const Aws::Map& value) { m_customerMetadataProperties = value; } + + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline void SetCustomerMetadataProperties(Aws::Map&& value) { m_customerMetadataProperties = std::move(value); } + + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline DescribeModelPackageResult& WithCustomerMetadataProperties(const Aws::Map& value) { SetCustomerMetadataProperties(value); return *this;} + + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline DescribeModelPackageResult& WithCustomerMetadataProperties(Aws::Map&& value) { SetCustomerMetadataProperties(std::move(value)); return *this;} + + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline DescribeModelPackageResult& AddCustomerMetadataProperties(const Aws::String& key, const Aws::String& value) { m_customerMetadataProperties.emplace(key, value); return *this; } + + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline DescribeModelPackageResult& AddCustomerMetadataProperties(Aws::String&& key, const Aws::String& value) { m_customerMetadataProperties.emplace(std::move(key), value); return *this; } + + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline DescribeModelPackageResult& AddCustomerMetadataProperties(const Aws::String& key, Aws::String&& value) { m_customerMetadataProperties.emplace(key, std::move(value)); return *this; } + + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline DescribeModelPackageResult& AddCustomerMetadataProperties(Aws::String&& key, Aws::String&& value) { m_customerMetadataProperties.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline DescribeModelPackageResult& AddCustomerMetadataProperties(const char* key, Aws::String&& value) { m_customerMetadataProperties.emplace(key, std::move(value)); return *this; } + + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline DescribeModelPackageResult& AddCustomerMetadataProperties(Aws::String&& key, const char* value) { m_customerMetadataProperties.emplace(std::move(key), value); return *this; } + + /** + *

      The metadata properties associated with the model package versions.

      + */ + inline DescribeModelPackageResult& AddCustomerMetadataProperties(const char* key, const char* value) { m_customerMetadataProperties.emplace(key, value); return *this; } + + + /** + *

      Represents the drift check baselines that can be used when the model monitor + * is set using the model package. For more information, see the topic on Drift + * Detection against Previous Baselines in SageMaker Pipelines in the Amazon + * SageMaker Developer Guide.

      + */ + inline const DriftCheckBaselines& GetDriftCheckBaselines() const{ return m_driftCheckBaselines; } + + /** + *

      Represents the drift check baselines that can be used when the model monitor + * is set using the model package. For more information, see the topic on Drift + * Detection against Previous Baselines in SageMaker Pipelines in the Amazon + * SageMaker Developer Guide.

      + */ + inline void SetDriftCheckBaselines(const DriftCheckBaselines& value) { m_driftCheckBaselines = value; } + + /** + *

      Represents the drift check baselines that can be used when the model monitor + * is set using the model package. For more information, see the topic on Drift + * Detection against Previous Baselines in SageMaker Pipelines in the Amazon + * SageMaker Developer Guide.

      + */ + inline void SetDriftCheckBaselines(DriftCheckBaselines&& value) { m_driftCheckBaselines = std::move(value); } + + /** + *

      Represents the drift check baselines that can be used when the model monitor + * is set using the model package. For more information, see the topic on Drift + * Detection against Previous Baselines in SageMaker Pipelines in the Amazon + * SageMaker Developer Guide.

      + */ + inline DescribeModelPackageResult& WithDriftCheckBaselines(const DriftCheckBaselines& value) { SetDriftCheckBaselines(value); return *this;} + + /** + *

      Represents the drift check baselines that can be used when the model monitor + * is set using the model package. For more information, see the topic on Drift + * Detection against Previous Baselines in SageMaker Pipelines in the Amazon + * SageMaker Developer Guide.

      + */ + inline DescribeModelPackageResult& WithDriftCheckBaselines(DriftCheckBaselines&& value) { SetDriftCheckBaselines(std::move(value)); return *this;} + + /** *

      An array of additional Inference Specification objects. Each additional * Inference Specification specifies artifacts based on this model package that can @@ -962,16 +962,16 @@ namespace Model Aws::String m_approvalDescription; - Aws::Map m_customerMetadataProperties; - - DriftCheckBaselines m_driftCheckBaselines; - Aws::String m_domain; Aws::String m_task; Aws::String m_samplePayloadUrl; + Aws::Map m_customerMetadataProperties; + + DriftCheckBaselines m_driftCheckBaselines; + Aws::Vector m_additionalInferenceSpecifications; SkipModelValidation m_skipModelValidation; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeSpaceResult.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeSpaceResult.h index efb6d2a6aa8..803986a44de 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeSpaceResult.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeSpaceResult.h @@ -322,88 +322,55 @@ namespace Model /** - *

      Returns the URL of the space. If the space is created with Amazon Web - * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) - * authentication, users can navigate to the URL after appending the respective - * redirect parameter for the application type to be federated through Amazon Web - * Services IAM Identity Center.

      The following application types are - * supported:

      • Studio Classic: - * &redirect=JupyterServer

      • JupyterLab: - * &redirect=JupyterLab

      + *

      The collection of ownership settings for a space.

      */ - inline const Aws::String& GetUrl() const{ return m_url; } + inline const OwnershipSettings& GetOwnershipSettings() const{ return m_ownershipSettings; } /** - *

      Returns the URL of the space. If the space is created with Amazon Web - * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) - * authentication, users can navigate to the URL after appending the respective - * redirect parameter for the application type to be federated through Amazon Web - * Services IAM Identity Center.

      The following application types are - * supported:

      • Studio Classic: - * &redirect=JupyterServer

      • JupyterLab: - * &redirect=JupyterLab

      + *

      The collection of ownership settings for a space.

      */ - inline void SetUrl(const Aws::String& value) { m_url = value; } + inline void SetOwnershipSettings(const OwnershipSettings& value) { m_ownershipSettings = value; } /** - *

      Returns the URL of the space. If the space is created with Amazon Web - * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) - * authentication, users can navigate to the URL after appending the respective - * redirect parameter for the application type to be federated through Amazon Web - * Services IAM Identity Center.

      The following application types are - * supported:

      • Studio Classic: - * &redirect=JupyterServer

      • JupyterLab: - * &redirect=JupyterLab

      + *

      The collection of ownership settings for a space.

      */ - inline void SetUrl(Aws::String&& value) { m_url = std::move(value); } + inline void SetOwnershipSettings(OwnershipSettings&& value) { m_ownershipSettings = std::move(value); } /** - *

      Returns the URL of the space. If the space is created with Amazon Web - * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) - * authentication, users can navigate to the URL after appending the respective - * redirect parameter for the application type to be federated through Amazon Web - * Services IAM Identity Center.

      The following application types are - * supported:

      • Studio Classic: - * &redirect=JupyterServer

      • JupyterLab: - * &redirect=JupyterLab

      + *

      The collection of ownership settings for a space.

      */ - inline void SetUrl(const char* value) { m_url.assign(value); } + inline DescribeSpaceResult& WithOwnershipSettings(const OwnershipSettings& value) { SetOwnershipSettings(value); return *this;} /** - *

      Returns the URL of the space. If the space is created with Amazon Web - * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) - * authentication, users can navigate to the URL after appending the respective - * redirect parameter for the application type to be federated through Amazon Web - * Services IAM Identity Center.

      The following application types are - * supported:

      • Studio Classic: - * &redirect=JupyterServer

      • JupyterLab: - * &redirect=JupyterLab

      + *

      The collection of ownership settings for a space.

      */ - inline DescribeSpaceResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} + inline DescribeSpaceResult& WithOwnershipSettings(OwnershipSettings&& value) { SetOwnershipSettings(std::move(value)); return *this;} + /** - *

      Returns the URL of the space. If the space is created with Amazon Web - * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) - * authentication, users can navigate to the URL after appending the respective - * redirect parameter for the application type to be federated through Amazon Web - * Services IAM Identity Center.

      The following application types are - * supported:

      • Studio Classic: - * &redirect=JupyterServer

      • JupyterLab: - * &redirect=JupyterLab

      + *

      The collection of space sharing settings for a space.

      */ - inline DescribeSpaceResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} + inline const SpaceSharingSettings& GetSpaceSharingSettings() const{ return m_spaceSharingSettings; } /** - *

      Returns the URL of the space. If the space is created with Amazon Web - * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) - * authentication, users can navigate to the URL after appending the respective - * redirect parameter for the application type to be federated through Amazon Web - * Services IAM Identity Center.

      The following application types are - * supported:

      • Studio Classic: - * &redirect=JupyterServer

      • JupyterLab: - * &redirect=JupyterLab

      + *

      The collection of space sharing settings for a space.

      */ - inline DescribeSpaceResult& WithUrl(const char* value) { SetUrl(value); return *this;} + inline void SetSpaceSharingSettings(const SpaceSharingSettings& value) { m_spaceSharingSettings = value; } + + /** + *

      The collection of space sharing settings for a space.

      + */ + inline void SetSpaceSharingSettings(SpaceSharingSettings&& value) { m_spaceSharingSettings = std::move(value); } + + /** + *

      The collection of space sharing settings for a space.

      + */ + inline DescribeSpaceResult& WithSpaceSharingSettings(const SpaceSharingSettings& value) { SetSpaceSharingSettings(value); return *this;} + + /** + *

      The collection of space sharing settings for a space.

      + */ + inline DescribeSpaceResult& WithSpaceSharingSettings(SpaceSharingSettings&& value) { SetSpaceSharingSettings(std::move(value)); return *this;} /** @@ -443,55 +410,102 @@ namespace Model /** - *

      The collection of ownership settings for a space.

      - */ - inline const OwnershipSettings& GetOwnershipSettings() const{ return m_ownershipSettings; } - - /** - *

      The collection of ownership settings for a space.

      - */ - inline void SetOwnershipSettings(const OwnershipSettings& value) { m_ownershipSettings = value; } - - /** - *

      The collection of ownership settings for a space.

      - */ - inline void SetOwnershipSettings(OwnershipSettings&& value) { m_ownershipSettings = std::move(value); } - - /** - *

      The collection of ownership settings for a space.

      + *

      Returns the URL of the space. If the space is created with Amazon Web + * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) + * authentication, users can navigate to the URL after appending the respective + * redirect parameter for the application type to be federated through Amazon Web + * Services IAM Identity Center.

      The following application types are + * supported:

      • Studio Classic: + * &redirect=JupyterServer

      • JupyterLab: + * &redirect=JupyterLab

      • Code Editor, based on + * Code-OSS, Visual Studio Code - Open Source: + * &redirect=CodeEditor

      */ - inline DescribeSpaceResult& WithOwnershipSettings(const OwnershipSettings& value) { SetOwnershipSettings(value); return *this;} + inline const Aws::String& GetUrl() const{ return m_url; } /** - *

      The collection of ownership settings for a space.

      + *

      Returns the URL of the space. If the space is created with Amazon Web + * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) + * authentication, users can navigate to the URL after appending the respective + * redirect parameter for the application type to be federated through Amazon Web + * Services IAM Identity Center.

      The following application types are + * supported:

      • Studio Classic: + * &redirect=JupyterServer

      • JupyterLab: + * &redirect=JupyterLab

      • Code Editor, based on + * Code-OSS, Visual Studio Code - Open Source: + * &redirect=CodeEditor

      */ - inline DescribeSpaceResult& WithOwnershipSettings(OwnershipSettings&& value) { SetOwnershipSettings(std::move(value)); return *this;} - + inline void SetUrl(const Aws::String& value) { m_url = value; } /** - *

      The collection of space sharing settings for a space.

      + *

      Returns the URL of the space. If the space is created with Amazon Web + * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) + * authentication, users can navigate to the URL after appending the respective + * redirect parameter for the application type to be federated through Amazon Web + * Services IAM Identity Center.

      The following application types are + * supported:

      • Studio Classic: + * &redirect=JupyterServer

      • JupyterLab: + * &redirect=JupyterLab

      • Code Editor, based on + * Code-OSS, Visual Studio Code - Open Source: + * &redirect=CodeEditor

      */ - inline const SpaceSharingSettings& GetSpaceSharingSettings() const{ return m_spaceSharingSettings; } + inline void SetUrl(Aws::String&& value) { m_url = std::move(value); } /** - *

      The collection of space sharing settings for a space.

      + *

      Returns the URL of the space. If the space is created with Amazon Web + * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) + * authentication, users can navigate to the URL after appending the respective + * redirect parameter for the application type to be federated through Amazon Web + * Services IAM Identity Center.

      The following application types are + * supported:

      • Studio Classic: + * &redirect=JupyterServer

      • JupyterLab: + * &redirect=JupyterLab

      • Code Editor, based on + * Code-OSS, Visual Studio Code - Open Source: + * &redirect=CodeEditor

      */ - inline void SetSpaceSharingSettings(const SpaceSharingSettings& value) { m_spaceSharingSettings = value; } + inline void SetUrl(const char* value) { m_url.assign(value); } /** - *

      The collection of space sharing settings for a space.

      + *

      Returns the URL of the space. If the space is created with Amazon Web + * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) + * authentication, users can navigate to the URL after appending the respective + * redirect parameter for the application type to be federated through Amazon Web + * Services IAM Identity Center.

      The following application types are + * supported:

      • Studio Classic: + * &redirect=JupyterServer

      • JupyterLab: + * &redirect=JupyterLab

      • Code Editor, based on + * Code-OSS, Visual Studio Code - Open Source: + * &redirect=CodeEditor

      */ - inline void SetSpaceSharingSettings(SpaceSharingSettings&& value) { m_spaceSharingSettings = std::move(value); } + inline DescribeSpaceResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** - *

      The collection of space sharing settings for a space.

      + *

      Returns the URL of the space. If the space is created with Amazon Web + * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) + * authentication, users can navigate to the URL after appending the respective + * redirect parameter for the application type to be federated through Amazon Web + * Services IAM Identity Center.

      The following application types are + * supported:

      • Studio Classic: + * &redirect=JupyterServer

      • JupyterLab: + * &redirect=JupyterLab

      • Code Editor, based on + * Code-OSS, Visual Studio Code - Open Source: + * &redirect=CodeEditor

      */ - inline DescribeSpaceResult& WithSpaceSharingSettings(const SpaceSharingSettings& value) { SetSpaceSharingSettings(value); return *this;} + inline DescribeSpaceResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** - *

      The collection of space sharing settings for a space.

      + *

      Returns the URL of the space. If the space is created with Amazon Web + * Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) + * authentication, users can navigate to the URL after appending the respective + * redirect parameter for the application type to be federated through Amazon Web + * Services IAM Identity Center.

      The following application types are + * supported:

      • Studio Classic: + * &redirect=JupyterServer

      • JupyterLab: + * &redirect=JupyterLab

      • Code Editor, based on + * Code-OSS, Visual Studio Code - Open Source: + * &redirect=CodeEditor

      */ - inline DescribeSpaceResult& WithSpaceSharingSettings(SpaceSharingSettings&& value) { SetSpaceSharingSettings(std::move(value)); return *this;} + inline DescribeSpaceResult& WithUrl(const char* value) { SetUrl(value); return *this;} @@ -535,14 +549,14 @@ namespace Model SpaceSettings m_spaceSettings; - Aws::String m_url; - - Aws::String m_spaceDisplayName; - OwnershipSettings m_ownershipSettings; SpaceSharingSettings m_spaceSharingSettings; + Aws::String m_spaceDisplayName; + + Aws::String m_url; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeTrainingJobResult.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeTrainingJobResult.h index 2153cab4f6f..d3df7f263e8 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeTrainingJobResult.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/DescribeTrainingJobResult.h @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -24,7 +25,6 @@ #include #include #include -#include #include #include #include @@ -792,6 +792,32 @@ namespace Model inline DescribeTrainingJobResult& WithResourceConfig(ResourceConfig&& value) { SetResourceConfig(std::move(value)); return *this;} + /** + *

      The status of the warm pool associated with the training job.

      + */ + inline const WarmPoolStatus& GetWarmPoolStatus() const{ return m_warmPoolStatus; } + + /** + *

      The status of the warm pool associated with the training job.

      + */ + inline void SetWarmPoolStatus(const WarmPoolStatus& value) { m_warmPoolStatus = value; } + + /** + *

      The status of the warm pool associated with the training job.

      + */ + inline void SetWarmPoolStatus(WarmPoolStatus&& value) { m_warmPoolStatus = std::move(value); } + + /** + *

      The status of the warm pool associated with the training job.

      + */ + inline DescribeTrainingJobResult& WithWarmPoolStatus(const WarmPoolStatus& value) { SetWarmPoolStatus(value); return *this;} + + /** + *

      The status of the warm pool associated with the training job.

      + */ + inline DescribeTrainingJobResult& WithWarmPoolStatus(WarmPoolStatus&& value) { SetWarmPoolStatus(std::move(value)); return *this;} + + /** *

      A VpcConfig @@ -1553,37 +1579,6 @@ namespace Model inline DescribeTrainingJobResult& WithProfilingStatus(ProfilingStatus&& value) { SetProfilingStatus(std::move(value)); return *this;} - /** - *

      The number of times to retry the job when the job fails due to an - * InternalServerError.

      - */ - inline const RetryStrategy& GetRetryStrategy() const{ return m_retryStrategy; } - - /** - *

      The number of times to retry the job when the job fails due to an - * InternalServerError.

      - */ - inline void SetRetryStrategy(const RetryStrategy& value) { m_retryStrategy = value; } - - /** - *

      The number of times to retry the job when the job fails due to an - * InternalServerError.

      - */ - inline void SetRetryStrategy(RetryStrategy&& value) { m_retryStrategy = std::move(value); } - - /** - *

      The number of times to retry the job when the job fails due to an - * InternalServerError.

      - */ - inline DescribeTrainingJobResult& WithRetryStrategy(const RetryStrategy& value) { SetRetryStrategy(value); return *this;} - - /** - *

      The number of times to retry the job when the job fails due to an - * InternalServerError.

      - */ - inline DescribeTrainingJobResult& WithRetryStrategy(RetryStrategy&& value) { SetRetryStrategy(std::move(value)); return *this;} - - /** *

      The environment variables to set in the Docker container.

      */ @@ -1646,29 +1641,34 @@ namespace Model /** - *

      The status of the warm pool associated with the training job.

      + *

      The number of times to retry the job when the job fails due to an + * InternalServerError.

      */ - inline const WarmPoolStatus& GetWarmPoolStatus() const{ return m_warmPoolStatus; } + inline const RetryStrategy& GetRetryStrategy() const{ return m_retryStrategy; } /** - *

      The status of the warm pool associated with the training job.

      + *

      The number of times to retry the job when the job fails due to an + * InternalServerError.

      */ - inline void SetWarmPoolStatus(const WarmPoolStatus& value) { m_warmPoolStatus = value; } + inline void SetRetryStrategy(const RetryStrategy& value) { m_retryStrategy = value; } /** - *

      The status of the warm pool associated with the training job.

      + *

      The number of times to retry the job when the job fails due to an + * InternalServerError.

      */ - inline void SetWarmPoolStatus(WarmPoolStatus&& value) { m_warmPoolStatus = std::move(value); } + inline void SetRetryStrategy(RetryStrategy&& value) { m_retryStrategy = std::move(value); } /** - *

      The status of the warm pool associated with the training job.

      + *

      The number of times to retry the job when the job fails due to an + * InternalServerError.

      */ - inline DescribeTrainingJobResult& WithWarmPoolStatus(const WarmPoolStatus& value) { SetWarmPoolStatus(value); return *this;} + inline DescribeTrainingJobResult& WithRetryStrategy(const RetryStrategy& value) { SetRetryStrategy(value); return *this;} /** - *

      The status of the warm pool associated with the training job.

      + *

      The number of times to retry the job when the job fails due to an + * InternalServerError.

      */ - inline DescribeTrainingJobResult& WithWarmPoolStatus(WarmPoolStatus&& value) { SetWarmPoolStatus(std::move(value)); return *this;} + inline DescribeTrainingJobResult& WithRetryStrategy(RetryStrategy&& value) { SetRetryStrategy(std::move(value)); return *this;} /** @@ -1755,6 +1755,8 @@ namespace Model ResourceConfig m_resourceConfig; + WarmPoolStatus m_warmPoolStatus; + VpcConfig m_vpcConfig; StoppingCondition m_stoppingCondition; @@ -1801,11 +1803,9 @@ namespace Model ProfilingStatus m_profilingStatus; - RetryStrategy m_retryStrategy; - Aws::Map m_environment; - WarmPoolStatus m_warmPoolStatus; + RetryStrategy m_retryStrategy; InfraCheckConfig m_infraCheckConfig; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointInputConfiguration.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointInputConfiguration.h index 9a177813bcd..115e66b7c4c 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointInputConfiguration.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/EndpointInputConfiguration.h @@ -6,9 +6,9 @@ #pragma once #include #include +#include #include #include -#include #include namespace Aws @@ -71,6 +71,25 @@ namespace Model inline EndpointInputConfiguration& WithInstanceType(ProductionVariantInstanceType&& value) { SetInstanceType(std::move(value)); return *this;} + + inline const ProductionVariantServerlessConfig& GetServerlessConfig() const{ return m_serverlessConfig; } + + + inline bool ServerlessConfigHasBeenSet() const { return m_serverlessConfigHasBeenSet; } + + + inline void SetServerlessConfig(const ProductionVariantServerlessConfig& value) { m_serverlessConfigHasBeenSet = true; m_serverlessConfig = value; } + + + inline void SetServerlessConfig(ProductionVariantServerlessConfig&& value) { m_serverlessConfigHasBeenSet = true; m_serverlessConfig = std::move(value); } + + + inline EndpointInputConfiguration& WithServerlessConfig(const ProductionVariantServerlessConfig& value) { SetServerlessConfig(value); return *this;} + + + inline EndpointInputConfiguration& WithServerlessConfig(ProductionVariantServerlessConfig&& value) { SetServerlessConfig(std::move(value)); return *this;} + + /** *

      The inference specification name in the model package version.

      */ @@ -142,38 +161,19 @@ namespace Model */ inline EndpointInputConfiguration& WithEnvironmentParameterRanges(EnvironmentParameterRanges&& value) { SetEnvironmentParameterRanges(std::move(value)); return *this;} - - - inline const ProductionVariantServerlessConfig& GetServerlessConfig() const{ return m_serverlessConfig; } - - - inline bool ServerlessConfigHasBeenSet() const { return m_serverlessConfigHasBeenSet; } - - - inline void SetServerlessConfig(const ProductionVariantServerlessConfig& value) { m_serverlessConfigHasBeenSet = true; m_serverlessConfig = value; } - - - inline void SetServerlessConfig(ProductionVariantServerlessConfig&& value) { m_serverlessConfigHasBeenSet = true; m_serverlessConfig = std::move(value); } - - - inline EndpointInputConfiguration& WithServerlessConfig(const ProductionVariantServerlessConfig& value) { SetServerlessConfig(value); return *this;} - - - inline EndpointInputConfiguration& WithServerlessConfig(ProductionVariantServerlessConfig&& value) { SetServerlessConfig(std::move(value)); return *this;} - private: ProductionVariantInstanceType m_instanceType; bool m_instanceTypeHasBeenSet = false; + ProductionVariantServerlessConfig m_serverlessConfig; + bool m_serverlessConfigHasBeenSet = false; + Aws::String m_inferenceSpecificationName; bool m_inferenceSpecificationNameHasBeenSet = false; EnvironmentParameterRanges m_environmentParameterRanges; bool m_environmentParameterRangesHasBeenSet = false; - - ProductionVariantServerlessConfig m_serverlessConfig; - bool m_serverlessConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTrainingJobDefinition.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTrainingJobDefinition.h index e88de5594e5..d9a011f1fc4 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTrainingJobDefinition.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTrainingJobDefinition.h @@ -14,10 +14,10 @@ #include #include #include +#include #include #include #include -#include #include #include @@ -555,6 +555,67 @@ namespace Model inline HyperParameterTrainingJobDefinition& WithResourceConfig(ResourceConfig&& value) { SetResourceConfig(std::move(value)); return *this;} + /** + *

      The configuration for the hyperparameter tuning resources, including the + * compute instances and storage volumes, used for training jobs launched by the + * tuning job. By default, storage volumes hold model artifacts and incremental + * states. Choose File for TrainingInputMode in the + * AlgorithmSpecification parameter to additionally store training + * data in the storage volume (optional).

      + */ + inline const HyperParameterTuningResourceConfig& GetHyperParameterTuningResourceConfig() const{ return m_hyperParameterTuningResourceConfig; } + + /** + *

      The configuration for the hyperparameter tuning resources, including the + * compute instances and storage volumes, used for training jobs launched by the + * tuning job. By default, storage volumes hold model artifacts and incremental + * states. Choose File for TrainingInputMode in the + * AlgorithmSpecification parameter to additionally store training + * data in the storage volume (optional).

      + */ + inline bool HyperParameterTuningResourceConfigHasBeenSet() const { return m_hyperParameterTuningResourceConfigHasBeenSet; } + + /** + *

      The configuration for the hyperparameter tuning resources, including the + * compute instances and storage volumes, used for training jobs launched by the + * tuning job. By default, storage volumes hold model artifacts and incremental + * states. Choose File for TrainingInputMode in the + * AlgorithmSpecification parameter to additionally store training + * data in the storage volume (optional).

      + */ + inline void SetHyperParameterTuningResourceConfig(const HyperParameterTuningResourceConfig& value) { m_hyperParameterTuningResourceConfigHasBeenSet = true; m_hyperParameterTuningResourceConfig = value; } + + /** + *

      The configuration for the hyperparameter tuning resources, including the + * compute instances and storage volumes, used for training jobs launched by the + * tuning job. By default, storage volumes hold model artifacts and incremental + * states. Choose File for TrainingInputMode in the + * AlgorithmSpecification parameter to additionally store training + * data in the storage volume (optional).

      + */ + inline void SetHyperParameterTuningResourceConfig(HyperParameterTuningResourceConfig&& value) { m_hyperParameterTuningResourceConfigHasBeenSet = true; m_hyperParameterTuningResourceConfig = std::move(value); } + + /** + *

      The configuration for the hyperparameter tuning resources, including the + * compute instances and storage volumes, used for training jobs launched by the + * tuning job. By default, storage volumes hold model artifacts and incremental + * states. Choose File for TrainingInputMode in the + * AlgorithmSpecification parameter to additionally store training + * data in the storage volume (optional).

      + */ + inline HyperParameterTrainingJobDefinition& WithHyperParameterTuningResourceConfig(const HyperParameterTuningResourceConfig& value) { SetHyperParameterTuningResourceConfig(value); return *this;} + + /** + *

      The configuration for the hyperparameter tuning resources, including the + * compute instances and storage volumes, used for training jobs launched by the + * tuning job. By default, storage volumes hold model artifacts and incremental + * states. Choose File for TrainingInputMode in the + * AlgorithmSpecification parameter to additionally store training + * data in the storage volume (optional).

      + */ + inline HyperParameterTrainingJobDefinition& WithHyperParameterTuningResourceConfig(HyperParameterTuningResourceConfig&& value) { SetHyperParameterTuningResourceConfig(std::move(value)); return *this;} + + /** *

      Specifies a limit to how long a model hyperparameter training job can run. It * also specifies how long a managed spot training job has to complete. When the @@ -763,67 +824,6 @@ namespace Model inline HyperParameterTrainingJobDefinition& WithRetryStrategy(RetryStrategy&& value) { SetRetryStrategy(std::move(value)); return *this;} - /** - *

      The configuration for the hyperparameter tuning resources, including the - * compute instances and storage volumes, used for training jobs launched by the - * tuning job. By default, storage volumes hold model artifacts and incremental - * states. Choose File for TrainingInputMode in the - * AlgorithmSpecification parameter to additionally store training - * data in the storage volume (optional).

      - */ - inline const HyperParameterTuningResourceConfig& GetHyperParameterTuningResourceConfig() const{ return m_hyperParameterTuningResourceConfig; } - - /** - *

      The configuration for the hyperparameter tuning resources, including the - * compute instances and storage volumes, used for training jobs launched by the - * tuning job. By default, storage volumes hold model artifacts and incremental - * states. Choose File for TrainingInputMode in the - * AlgorithmSpecification parameter to additionally store training - * data in the storage volume (optional).

      - */ - inline bool HyperParameterTuningResourceConfigHasBeenSet() const { return m_hyperParameterTuningResourceConfigHasBeenSet; } - - /** - *

      The configuration for the hyperparameter tuning resources, including the - * compute instances and storage volumes, used for training jobs launched by the - * tuning job. By default, storage volumes hold model artifacts and incremental - * states. Choose File for TrainingInputMode in the - * AlgorithmSpecification parameter to additionally store training - * data in the storage volume (optional).

      - */ - inline void SetHyperParameterTuningResourceConfig(const HyperParameterTuningResourceConfig& value) { m_hyperParameterTuningResourceConfigHasBeenSet = true; m_hyperParameterTuningResourceConfig = value; } - - /** - *

      The configuration for the hyperparameter tuning resources, including the - * compute instances and storage volumes, used for training jobs launched by the - * tuning job. By default, storage volumes hold model artifacts and incremental - * states. Choose File for TrainingInputMode in the - * AlgorithmSpecification parameter to additionally store training - * data in the storage volume (optional).

      - */ - inline void SetHyperParameterTuningResourceConfig(HyperParameterTuningResourceConfig&& value) { m_hyperParameterTuningResourceConfigHasBeenSet = true; m_hyperParameterTuningResourceConfig = std::move(value); } - - /** - *

      The configuration for the hyperparameter tuning resources, including the - * compute instances and storage volumes, used for training jobs launched by the - * tuning job. By default, storage volumes hold model artifacts and incremental - * states. Choose File for TrainingInputMode in the - * AlgorithmSpecification parameter to additionally store training - * data in the storage volume (optional).

      - */ - inline HyperParameterTrainingJobDefinition& WithHyperParameterTuningResourceConfig(const HyperParameterTuningResourceConfig& value) { SetHyperParameterTuningResourceConfig(value); return *this;} - - /** - *

      The configuration for the hyperparameter tuning resources, including the - * compute instances and storage volumes, used for training jobs launched by the - * tuning job. By default, storage volumes hold model artifacts and incremental - * states. Choose File for TrainingInputMode in the - * AlgorithmSpecification parameter to additionally store training - * data in the storage volume (optional).

      - */ - inline HyperParameterTrainingJobDefinition& WithHyperParameterTuningResourceConfig(HyperParameterTuningResourceConfig&& value) { SetHyperParameterTuningResourceConfig(std::move(value)); return *this;} - - /** *

      An environment variable that you can pass into the SageMaker CreateTrainingJob @@ -1064,6 +1064,9 @@ namespace Model ResourceConfig m_resourceConfig; bool m_resourceConfigHasBeenSet = false; + HyperParameterTuningResourceConfig m_hyperParameterTuningResourceConfig; + bool m_hyperParameterTuningResourceConfigHasBeenSet = false; + StoppingCondition m_stoppingCondition; bool m_stoppingConditionHasBeenSet = false; @@ -1082,9 +1085,6 @@ namespace Model RetryStrategy m_retryStrategy; bool m_retryStrategyHasBeenSet = false; - HyperParameterTuningResourceConfig m_hyperParameterTuningResourceConfig; - bool m_hyperParameterTuningResourceConfigHasBeenSet = false; - Aws::Map m_environment; bool m_environmentHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTuningJobSearchEntity.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTuningJobSearchEntity.h index d58eb877f4d..1ceeb719ab2 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTuningJobSearchEntity.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTuningJobSearchEntity.h @@ -473,71 +473,6 @@ namespace Model inline HyperParameterTuningJobSearchEntity& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} - /** - *

      The tags associated with a hyperparameter tuning job. For more information - * see Tagging - * Amazon Web Services resources.

      - */ - inline const Aws::Vector& GetTags() const{ return m_tags; } - - /** - *

      The tags associated with a hyperparameter tuning job. For more information - * see Tagging - * Amazon Web Services resources.

      - */ - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - - /** - *

      The tags associated with a hyperparameter tuning job. For more information - * see Tagging - * Amazon Web Services resources.

      - */ - inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } - - /** - *

      The tags associated with a hyperparameter tuning job. For more information - * see Tagging - * Amazon Web Services resources.

      - */ - inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } - - /** - *

      The tags associated with a hyperparameter tuning job. For more information - * see Tagging - * Amazon Web Services resources.

      - */ - inline HyperParameterTuningJobSearchEntity& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} - - /** - *

      The tags associated with a hyperparameter tuning job. For more information - * see Tagging - * Amazon Web Services resources.

      - */ - inline HyperParameterTuningJobSearchEntity& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} - - /** - *

      The tags associated with a hyperparameter tuning job. For more information - * see Tagging - * Amazon Web Services resources.

      - */ - inline HyperParameterTuningJobSearchEntity& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } - - /** - *

      The tags associated with a hyperparameter tuning job. For more information - * see Tagging - * Amazon Web Services resources.

      - */ - inline HyperParameterTuningJobSearchEntity& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } - - /** *

      Information about either a current or completed hyperparameter tuning * job.

      @@ -605,6 +540,71 @@ namespace Model */ inline HyperParameterTuningJobSearchEntity& WithConsumedResources(HyperParameterTuningJobConsumedResources&& value) { SetConsumedResources(std::move(value)); return *this;} + + /** + *

      The tags associated with a hyperparameter tuning job. For more information + * see Tagging + * Amazon Web Services resources.

      + */ + inline const Aws::Vector& GetTags() const{ return m_tags; } + + /** + *

      The tags associated with a hyperparameter tuning job. For more information + * see Tagging + * Amazon Web Services resources.

      + */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *

      The tags associated with a hyperparameter tuning job. For more information + * see Tagging + * Amazon Web Services resources.

      + */ + inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } + + /** + *

      The tags associated with a hyperparameter tuning job. For more information + * see Tagging + * Amazon Web Services resources.

      + */ + inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + + /** + *

      The tags associated with a hyperparameter tuning job. For more information + * see Tagging + * Amazon Web Services resources.

      + */ + inline HyperParameterTuningJobSearchEntity& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} + + /** + *

      The tags associated with a hyperparameter tuning job. For more information + * see Tagging + * Amazon Web Services resources.

      + */ + inline HyperParameterTuningJobSearchEntity& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} + + /** + *

      The tags associated with a hyperparameter tuning job. For more information + * see Tagging + * Amazon Web Services resources.

      + */ + inline HyperParameterTuningJobSearchEntity& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } + + /** + *

      The tags associated with a hyperparameter tuning job. For more information + * see Tagging + * Amazon Web Services resources.

      + */ + inline HyperParameterTuningJobSearchEntity& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + private: Aws::String m_hyperParameterTuningJobName; @@ -652,14 +652,14 @@ namespace Model Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; - Aws::Vector m_tags; - bool m_tagsHasBeenSet = false; - HyperParameterTuningJobCompletionDetails m_tuningJobCompletionDetails; bool m_tuningJobCompletionDetailsHasBeenSet = false; HyperParameterTuningJobConsumedResources m_consumedResources; bool m_consumedResourcesHasBeenSet = false; + + Aws::Vector m_tags; + bool m_tagsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTuningJobStatus.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTuningJobStatus.h index 390bec75326..4f0403b4fad 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTuningJobStatus.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/HyperParameterTuningJobStatus.h @@ -20,7 +20,9 @@ namespace Model InProgress, Failed, Stopped, - Stopping + Stopping, + Deleting, + DeleteFailed }; namespace HyperParameterTuningJobStatusMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/InferenceRecommendation.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/InferenceRecommendation.h index b741892a423..685bea800a6 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/InferenceRecommendation.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/InferenceRecommendation.h @@ -5,10 +5,10 @@ #pragma once #include +#include #include #include #include -#include #include #include @@ -42,6 +42,47 @@ namespace Model AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; + /** + *

      The recommendation ID which uniquely identifies each recommendation.

      + */ + inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; } + + /** + *

      The recommendation ID which uniquely identifies each recommendation.

      + */ + inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; } + + /** + *

      The recommendation ID which uniquely identifies each recommendation.

      + */ + inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; } + + /** + *

      The recommendation ID which uniquely identifies each recommendation.

      + */ + inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); } + + /** + *

      The recommendation ID which uniquely identifies each recommendation.

      + */ + inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); } + + /** + *

      The recommendation ID which uniquely identifies each recommendation.

      + */ + inline InferenceRecommendation& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;} + + /** + *

      The recommendation ID which uniquely identifies each recommendation.

      + */ + inline InferenceRecommendation& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;} + + /** + *

      The recommendation ID which uniquely identifies each recommendation.

      + */ + inline InferenceRecommendation& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;} + + /** *

      The metrics used to decide what recommendation to make.

      */ @@ -135,47 +176,6 @@ namespace Model inline InferenceRecommendation& WithModelConfiguration(ModelConfiguration&& value) { SetModelConfiguration(std::move(value)); return *this;} - /** - *

      The recommendation ID which uniquely identifies each recommendation.

      - */ - inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; } - - /** - *

      The recommendation ID which uniquely identifies each recommendation.

      - */ - inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; } - - /** - *

      The recommendation ID which uniquely identifies each recommendation.

      - */ - inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; } - - /** - *

      The recommendation ID which uniquely identifies each recommendation.

      - */ - inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); } - - /** - *

      The recommendation ID which uniquely identifies each recommendation.

      - */ - inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); } - - /** - *

      The recommendation ID which uniquely identifies each recommendation.

      - */ - inline InferenceRecommendation& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;} - - /** - *

      The recommendation ID which uniquely identifies each recommendation.

      - */ - inline InferenceRecommendation& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;} - - /** - *

      The recommendation ID which uniquely identifies each recommendation.

      - */ - inline InferenceRecommendation& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;} - - /** *

      A timestamp that shows when the benchmark completed.

      */ @@ -239,6 +239,9 @@ namespace Model private: + Aws::String m_recommendationId; + bool m_recommendationIdHasBeenSet = false; + RecommendationMetrics m_metrics; bool m_metricsHasBeenSet = false; @@ -248,9 +251,6 @@ namespace Model ModelConfiguration m_modelConfiguration; bool m_modelConfigurationHasBeenSet = false; - Aws::String m_recommendationId; - bool m_recommendationIdHasBeenSet = false; - Aws::Utils::DateTime m_invocationEndTime; bool m_invocationEndTimeHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/JupyterLabAppImageConfig.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/JupyterLabAppImageConfig.h index 7907c70b428..97e4886483a 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/JupyterLabAppImageConfig.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/JupyterLabAppImageConfig.h @@ -5,6 +5,7 @@ #pragma once #include +#include #include #include @@ -39,6 +40,25 @@ namespace Model + inline const FileSystemConfig& GetFileSystemConfig() const{ return m_fileSystemConfig; } + + + inline bool FileSystemConfigHasBeenSet() const { return m_fileSystemConfigHasBeenSet; } + + + inline void SetFileSystemConfig(const FileSystemConfig& value) { m_fileSystemConfigHasBeenSet = true; m_fileSystemConfig = value; } + + + inline void SetFileSystemConfig(FileSystemConfig&& value) { m_fileSystemConfigHasBeenSet = true; m_fileSystemConfig = std::move(value); } + + + inline JupyterLabAppImageConfig& WithFileSystemConfig(const FileSystemConfig& value) { SetFileSystemConfig(value); return *this;} + + + inline JupyterLabAppImageConfig& WithFileSystemConfig(FileSystemConfig&& value) { SetFileSystemConfig(std::move(value)); return *this;} + + + inline const ContainerConfig& GetContainerConfig() const{ return m_containerConfig; } @@ -58,6 +78,9 @@ namespace Model private: + FileSystemConfig m_fileSystemConfig; + bool m_fileSystemConfigHasBeenSet = false; + ContainerConfig m_containerConfig; bool m_containerConfigHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/OutputDataConfig.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/OutputDataConfig.h index b8208bdcf69..52e9c62f3cf 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/OutputDataConfig.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/OutputDataConfig.h @@ -53,18 +53,16 @@ namespace Model *

    If you use a KMS key ID or an alias of your KMS key, the SageMaker * execution role must include permissions to call kms:Encrypt. If you * don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for - * your role's account. SageMaker uses server-side encryption with KMS-managed keys - * for OutputDataConfig. If you use a bucket policy with an - * s3:PutObject permission that only allows objects with server-side - * encryption, set the condition key of - * s3:x-amz-server-side-encryption to "aws:kms". For more - * information, see KMS-Managed - * Encryption Keys in the Amazon Simple Storage Service Developer Guide. - *

    The KMS key policy must grant permission to the IAM role that you - * specify in your CreateTrainingJob, CreateTransformJob, - * or CreateHyperParameterTuningJob requests. For more information, - * see in the Amazon Simple Storage Service Developer Guide. + * If the output data is stored in Amazon S3 Express One Zone, it is encrypted with + * server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not + * supported for Amazon S3 Express One Zone

    The KMS key policy must grant + * permission to the IAM role that you specify in your + * CreateTrainingJob, CreateTransformJob, or + * CreateHyperParameterTuningJob requests. For more information, see + * Using * Key Policies in Amazon Web Services KMS in the Amazon Web Services Key * Management Service Developer Guide.

    @@ -85,18 +83,16 @@ namespace Model *

    If you use a KMS key ID or an alias of your KMS key, the SageMaker * execution role must include permissions to call kms:Encrypt. If you * don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for - * your role's account. SageMaker uses server-side encryption with KMS-managed keys - * for OutputDataConfig. If you use a bucket policy with an - * s3:PutObject permission that only allows objects with server-side - * encryption, set the condition key of - * s3:x-amz-server-side-encryption to "aws:kms". For more - * information, see KMS-Managed - * Encryption Keys in the Amazon Simple Storage Service Developer Guide. - *

    The KMS key policy must grant permission to the IAM role that you - * specify in your CreateTrainingJob, CreateTransformJob, - * or CreateHyperParameterTuningJob requests. For more information, - * see in the Amazon Simple Storage Service Developer Guide. + * If the output data is stored in Amazon S3 Express One Zone, it is encrypted with + * server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not + * supported for Amazon S3 Express One Zone

    The KMS key policy must grant + * permission to the IAM role that you specify in your + * CreateTrainingJob, CreateTransformJob, or + * CreateHyperParameterTuningJob requests. For more information, see + * Using * Key Policies in Amazon Web Services KMS in the Amazon Web Services Key * Management Service Developer Guide.

    @@ -117,18 +113,16 @@ namespace Model *

    If you use a KMS key ID or an alias of your KMS key, the SageMaker * execution role must include permissions to call kms:Encrypt. If you * don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for - * your role's account. SageMaker uses server-side encryption with KMS-managed keys - * for OutputDataConfig. If you use a bucket policy with an - * s3:PutObject permission that only allows objects with server-side - * encryption, set the condition key of - * s3:x-amz-server-side-encryption to "aws:kms". For more - * information, see KMS-Managed - * Encryption Keys in the Amazon Simple Storage Service Developer Guide. - *

    The KMS key policy must grant permission to the IAM role that you - * specify in your CreateTrainingJob, CreateTransformJob, - * or CreateHyperParameterTuningJob requests. For more information, - * see in the Amazon Simple Storage Service Developer Guide. + * If the output data is stored in Amazon S3 Express One Zone, it is encrypted with + * server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not + * supported for Amazon S3 Express One Zone

    The KMS key policy must grant + * permission to the IAM role that you specify in your + * CreateTrainingJob, CreateTransformJob, or + * CreateHyperParameterTuningJob requests. For more information, see + * Using * Key Policies in Amazon Web Services KMS in the Amazon Web Services Key * Management Service Developer Guide.

    @@ -149,18 +143,16 @@ namespace Model *

    If you use a KMS key ID or an alias of your KMS key, the SageMaker * execution role must include permissions to call kms:Encrypt. If you * don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for - * your role's account. SageMaker uses server-side encryption with KMS-managed keys - * for OutputDataConfig. If you use a bucket policy with an - * s3:PutObject permission that only allows objects with server-side - * encryption, set the condition key of - * s3:x-amz-server-side-encryption to "aws:kms". For more - * information, see KMS-Managed - * Encryption Keys in the Amazon Simple Storage Service Developer Guide. - *

    The KMS key policy must grant permission to the IAM role that you - * specify in your CreateTrainingJob, CreateTransformJob, - * or CreateHyperParameterTuningJob requests. For more information, - * see in the Amazon Simple Storage Service Developer Guide. + * If the output data is stored in Amazon S3 Express One Zone, it is encrypted with + * server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not + * supported for Amazon S3 Express One Zone

    The KMS key policy must grant + * permission to the IAM role that you specify in your + * CreateTrainingJob, CreateTransformJob, or + * CreateHyperParameterTuningJob requests. For more information, see + * Using * Key Policies in Amazon Web Services KMS in the Amazon Web Services Key * Management Service Developer Guide.

    @@ -181,18 +173,16 @@ namespace Model *

    If you use a KMS key ID or an alias of your KMS key, the SageMaker * execution role must include permissions to call kms:Encrypt. If you * don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for - * your role's account. SageMaker uses server-side encryption with KMS-managed keys - * for OutputDataConfig. If you use a bucket policy with an - * s3:PutObject permission that only allows objects with server-side - * encryption, set the condition key of - * s3:x-amz-server-side-encryption to "aws:kms". For more - * information, see KMS-Managed - * Encryption Keys in the Amazon Simple Storage Service Developer Guide. - *

    The KMS key policy must grant permission to the IAM role that you - * specify in your CreateTrainingJob, CreateTransformJob, - * or CreateHyperParameterTuningJob requests. For more information, - * see in the Amazon Simple Storage Service Developer Guide. + * If the output data is stored in Amazon S3 Express One Zone, it is encrypted with + * server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not + * supported for Amazon S3 Express One Zone

    The KMS key policy must grant + * permission to the IAM role that you specify in your + * CreateTrainingJob, CreateTransformJob, or + * CreateHyperParameterTuningJob requests. For more information, see + * Using * Key Policies in Amazon Web Services KMS in the Amazon Web Services Key * Management Service Developer Guide.

    @@ -213,18 +203,16 @@ namespace Model *

    If you use a KMS key ID or an alias of your KMS key, the SageMaker * execution role must include permissions to call kms:Encrypt. If you * don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for - * your role's account. SageMaker uses server-side encryption with KMS-managed keys - * for OutputDataConfig. If you use a bucket policy with an - * s3:PutObject permission that only allows objects with server-side - * encryption, set the condition key of - * s3:x-amz-server-side-encryption to "aws:kms". For more - * information, see KMS-Managed - * Encryption Keys in the Amazon Simple Storage Service Developer Guide. - *

    The KMS key policy must grant permission to the IAM role that you - * specify in your CreateTrainingJob, CreateTransformJob, - * or CreateHyperParameterTuningJob requests. For more information, - * see in the Amazon Simple Storage Service Developer Guide. + * If the output data is stored in Amazon S3 Express One Zone, it is encrypted with + * server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not + * supported for Amazon S3 Express One Zone

    The KMS key policy must grant + * permission to the IAM role that you specify in your + * CreateTrainingJob, CreateTransformJob, or + * CreateHyperParameterTuningJob requests. For more information, see + * Using * Key Policies in Amazon Web Services KMS in the Amazon Web Services Key * Management Service Developer Guide.

    @@ -245,18 +233,16 @@ namespace Model *

    If you use a KMS key ID or an alias of your KMS key, the SageMaker * execution role must include permissions to call kms:Encrypt. If you * don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for - * your role's account. SageMaker uses server-side encryption with KMS-managed keys - * for OutputDataConfig. If you use a bucket policy with an - * s3:PutObject permission that only allows objects with server-side - * encryption, set the condition key of - * s3:x-amz-server-side-encryption to "aws:kms". For more - * information, see KMS-Managed - * Encryption Keys in the Amazon Simple Storage Service Developer Guide. - *

    The KMS key policy must grant permission to the IAM role that you - * specify in your CreateTrainingJob, CreateTransformJob, - * or CreateHyperParameterTuningJob requests. For more information, - * see in the Amazon Simple Storage Service Developer Guide. + * If the output data is stored in Amazon S3 Express One Zone, it is encrypted with + * server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not + * supported for Amazon S3 Express One Zone

    The KMS key policy must grant + * permission to the IAM role that you specify in your + * CreateTrainingJob, CreateTransformJob, or + * CreateHyperParameterTuningJob requests. For more information, see + * Using * Key Policies in Amazon Web Services KMS in the Amazon Web Services Key * Management Service Developer Guide.

    @@ -277,18 +263,16 @@ namespace Model *

    If you use a KMS key ID or an alias of your KMS key, the SageMaker * execution role must include permissions to call kms:Encrypt. If you * don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for - * your role's account. SageMaker uses server-side encryption with KMS-managed keys - * for OutputDataConfig. If you use a bucket policy with an - * s3:PutObject permission that only allows objects with server-side - * encryption, set the condition key of - * s3:x-amz-server-side-encryption to "aws:kms". For more - * information, see KMS-Managed - * Encryption Keys in the Amazon Simple Storage Service Developer Guide. - *

    The KMS key policy must grant permission to the IAM role that you - * specify in your CreateTrainingJob, CreateTransformJob, - * or CreateHyperParameterTuningJob requests. For more information, - * see in the Amazon Simple Storage Service Developer Guide. + * If the output data is stored in Amazon S3 Express One Zone, it is encrypted with + * server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not + * supported for Amazon S3 Express One Zone

    The KMS key policy must grant + * permission to the IAM role that you specify in your + * CreateTrainingJob, CreateTransformJob, or + * CreateHyperParameterTuningJob requests. For more information, see + * Using * Key Policies in Amazon Web Services KMS in the Amazon Web Services Key * Management Service Developer Guide.

    diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecution.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecution.h index bfaeeec7aa2..d089dc4bb82 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecution.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecution.h @@ -11,8 +11,8 @@ #include #include #include -#include #include +#include #include #include @@ -432,75 +432,75 @@ namespace Model /** - *

    Contains a list of pipeline parameters. This list can be empty.

    + *

    The selective execution configuration applied to the pipeline run.

    */ - inline const Aws::Vector& GetPipelineParameters() const{ return m_pipelineParameters; } + inline const SelectiveExecutionConfig& GetSelectiveExecutionConfig() const{ return m_selectiveExecutionConfig; } /** - *

    Contains a list of pipeline parameters. This list can be empty.

    + *

    The selective execution configuration applied to the pipeline run.

    */ - inline bool PipelineParametersHasBeenSet() const { return m_pipelineParametersHasBeenSet; } + inline bool SelectiveExecutionConfigHasBeenSet() const { return m_selectiveExecutionConfigHasBeenSet; } /** - *

    Contains a list of pipeline parameters. This list can be empty.

    + *

    The selective execution configuration applied to the pipeline run.

    */ - inline void SetPipelineParameters(const Aws::Vector& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters = value; } + inline void SetSelectiveExecutionConfig(const SelectiveExecutionConfig& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = value; } /** - *

    Contains a list of pipeline parameters. This list can be empty.

    + *

    The selective execution configuration applied to the pipeline run.

    */ - inline void SetPipelineParameters(Aws::Vector&& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters = std::move(value); } + inline void SetSelectiveExecutionConfig(SelectiveExecutionConfig&& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = std::move(value); } /** - *

    Contains a list of pipeline parameters. This list can be empty.

    + *

    The selective execution configuration applied to the pipeline run.

    */ - inline PipelineExecution& WithPipelineParameters(const Aws::Vector& value) { SetPipelineParameters(value); return *this;} + inline PipelineExecution& WithSelectiveExecutionConfig(const SelectiveExecutionConfig& value) { SetSelectiveExecutionConfig(value); return *this;} /** - *

    Contains a list of pipeline parameters. This list can be empty.

    + *

    The selective execution configuration applied to the pipeline run.

    */ - inline PipelineExecution& WithPipelineParameters(Aws::Vector&& value) { SetPipelineParameters(std::move(value)); return *this;} + inline PipelineExecution& WithSelectiveExecutionConfig(SelectiveExecutionConfig&& value) { SetSelectiveExecutionConfig(std::move(value)); return *this;} + /** *

    Contains a list of pipeline parameters. This list can be empty.

    */ - inline PipelineExecution& AddPipelineParameters(const Parameter& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(value); return *this; } + inline const Aws::Vector& GetPipelineParameters() const{ return m_pipelineParameters; } /** *

    Contains a list of pipeline parameters. This list can be empty.

    */ - inline PipelineExecution& AddPipelineParameters(Parameter&& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(std::move(value)); return *this; } - + inline bool PipelineParametersHasBeenSet() const { return m_pipelineParametersHasBeenSet; } /** - *

    The selective execution configuration applied to the pipeline run.

    + *

    Contains a list of pipeline parameters. This list can be empty.

    */ - inline const SelectiveExecutionConfig& GetSelectiveExecutionConfig() const{ return m_selectiveExecutionConfig; } + inline void SetPipelineParameters(const Aws::Vector& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters = value; } /** - *

    The selective execution configuration applied to the pipeline run.

    + *

    Contains a list of pipeline parameters. This list can be empty.

    */ - inline bool SelectiveExecutionConfigHasBeenSet() const { return m_selectiveExecutionConfigHasBeenSet; } + inline void SetPipelineParameters(Aws::Vector&& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters = std::move(value); } /** - *

    The selective execution configuration applied to the pipeline run.

    + *

    Contains a list of pipeline parameters. This list can be empty.

    */ - inline void SetSelectiveExecutionConfig(const SelectiveExecutionConfig& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = value; } + inline PipelineExecution& WithPipelineParameters(const Aws::Vector& value) { SetPipelineParameters(value); return *this;} /** - *

    The selective execution configuration applied to the pipeline run.

    + *

    Contains a list of pipeline parameters. This list can be empty.

    */ - inline void SetSelectiveExecutionConfig(SelectiveExecutionConfig&& value) { m_selectiveExecutionConfigHasBeenSet = true; m_selectiveExecutionConfig = std::move(value); } + inline PipelineExecution& WithPipelineParameters(Aws::Vector&& value) { SetPipelineParameters(std::move(value)); return *this;} /** - *

    The selective execution configuration applied to the pipeline run.

    + *

    Contains a list of pipeline parameters. This list can be empty.

    */ - inline PipelineExecution& WithSelectiveExecutionConfig(const SelectiveExecutionConfig& value) { SetSelectiveExecutionConfig(value); return *this;} + inline PipelineExecution& AddPipelineParameters(const Parameter& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(value); return *this; } /** - *

    The selective execution configuration applied to the pipeline run.

    + *

    Contains a list of pipeline parameters. This list can be empty.

    */ - inline PipelineExecution& WithSelectiveExecutionConfig(SelectiveExecutionConfig&& value) { SetSelectiveExecutionConfig(std::move(value)); return *this;} + inline PipelineExecution& AddPipelineParameters(Parameter&& value) { m_pipelineParametersHasBeenSet = true; m_pipelineParameters.push_back(std::move(value)); return *this; } private: @@ -540,11 +540,11 @@ namespace Model ParallelismConfiguration m_parallelismConfiguration; bool m_parallelismConfigurationHasBeenSet = false; - Aws::Vector m_pipelineParameters; - bool m_pipelineParametersHasBeenSet = false; - SelectiveExecutionConfig m_selectiveExecutionConfig; bool m_selectiveExecutionConfigHasBeenSet = false; + + Aws::Vector m_pipelineParameters; + bool m_pipelineParametersHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStep.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStep.h index 106933f548d..af9df84a6f7 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStep.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStep.h @@ -289,35 +289,6 @@ namespace Model inline PipelineExecutionStep& WithCacheHitResult(CacheHitResult&& value) { SetCacheHitResult(std::move(value)); return *this;} - /** - *

    The current attempt of the execution step. For more information, see Retry - * Policy for SageMaker Pipelines steps.

    - */ - inline int GetAttemptCount() const{ return m_attemptCount; } - - /** - *

    The current attempt of the execution step. For more information, see Retry - * Policy for SageMaker Pipelines steps.

    - */ - inline bool AttemptCountHasBeenSet() const { return m_attemptCountHasBeenSet; } - - /** - *

    The current attempt of the execution step. For more information, see Retry - * Policy for SageMaker Pipelines steps.

    - */ - inline void SetAttemptCount(int value) { m_attemptCountHasBeenSet = true; m_attemptCount = value; } - - /** - *

    The current attempt of the execution step. For more information, see Retry - * Policy for SageMaker Pipelines steps.

    - */ - inline PipelineExecutionStep& WithAttemptCount(int value) { SetAttemptCount(value); return *this;} - - /** *

    The reason why the step failed execution. This is only returned if the step * failed its execution.

    @@ -398,6 +369,35 @@ namespace Model inline PipelineExecutionStep& WithMetadata(PipelineExecutionStepMetadata&& value) { SetMetadata(std::move(value)); return *this;} + /** + *

    The current attempt of the execution step. For more information, see Retry + * Policy for SageMaker Pipelines steps.

    + */ + inline int GetAttemptCount() const{ return m_attemptCount; } + + /** + *

    The current attempt of the execution step. For more information, see Retry + * Policy for SageMaker Pipelines steps.

    + */ + inline bool AttemptCountHasBeenSet() const { return m_attemptCountHasBeenSet; } + + /** + *

    The current attempt of the execution step. For more information, see Retry + * Policy for SageMaker Pipelines steps.

    + */ + inline void SetAttemptCount(int value) { m_attemptCountHasBeenSet = true; m_attemptCount = value; } + + /** + *

    The current attempt of the execution step. For more information, see Retry + * Policy for SageMaker Pipelines steps.

    + */ + inline PipelineExecutionStep& WithAttemptCount(int value) { SetAttemptCount(value); return *this;} + + /** *

    The ARN from an execution of the current pipeline from which results are * reused for this step.

    @@ -457,15 +457,15 @@ namespace Model CacheHitResult m_cacheHitResult; bool m_cacheHitResultHasBeenSet = false; - int m_attemptCount; - bool m_attemptCountHasBeenSet = false; - Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; PipelineExecutionStepMetadata m_metadata; bool m_metadataHasBeenSet = false; + int m_attemptCount; + bool m_attemptCountHasBeenSet = false; + SelectiveExecutionResult m_selectiveExecutionResult; bool m_selectiveExecutionResultHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStepMetadata.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStepMetadata.h index de4f46b65e1..8740bc3a32f 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStepMetadata.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineExecutionStepMetadata.h @@ -14,9 +14,9 @@ #include #include #include +#include #include #include -#include #include #include #include @@ -383,6 +383,37 @@ namespace Model inline PipelineExecutionStepMetadata& WithLambda(LambdaStepMetadata&& value) { SetLambda(std::move(value)); return *this;} + /** + *

    The configurations and outcomes of an Amazon EMR step execution.

    + */ + inline const EMRStepMetadata& GetEMR() const{ return m_eMR; } + + /** + *

    The configurations and outcomes of an Amazon EMR step execution.

    + */ + inline bool EMRHasBeenSet() const { return m_eMRHasBeenSet; } + + /** + *

    The configurations and outcomes of an Amazon EMR step execution.

    + */ + inline void SetEMR(const EMRStepMetadata& value) { m_eMRHasBeenSet = true; m_eMR = value; } + + /** + *

    The configurations and outcomes of an Amazon EMR step execution.

    + */ + inline void SetEMR(EMRStepMetadata&& value) { m_eMRHasBeenSet = true; m_eMR = std::move(value); } + + /** + *

    The configurations and outcomes of an Amazon EMR step execution.

    + */ + inline PipelineExecutionStepMetadata& WithEMR(const EMRStepMetadata& value) { SetEMR(value); return *this;} + + /** + *

    The configurations and outcomes of an Amazon EMR step execution.

    + */ + inline PipelineExecutionStepMetadata& WithEMR(EMRStepMetadata&& value) { SetEMR(std::move(value)); return *this;} + + /** *

    The configurations and outcomes of the check step execution. This includes: *

    • The type of the check conducted.

    • The Amazon @@ -571,37 +602,6 @@ namespace Model inline PipelineExecutionStepMetadata& WithClarifyCheck(ClarifyCheckStepMetadata&& value) { SetClarifyCheck(std::move(value)); return *this;} - /** - *

      The configurations and outcomes of an Amazon EMR step execution.

      - */ - inline const EMRStepMetadata& GetEMR() const{ return m_eMR; } - - /** - *

      The configurations and outcomes of an Amazon EMR step execution.

      - */ - inline bool EMRHasBeenSet() const { return m_eMRHasBeenSet; } - - /** - *

      The configurations and outcomes of an Amazon EMR step execution.

      - */ - inline void SetEMR(const EMRStepMetadata& value) { m_eMRHasBeenSet = true; m_eMR = value; } - - /** - *

      The configurations and outcomes of an Amazon EMR step execution.

      - */ - inline void SetEMR(EMRStepMetadata&& value) { m_eMRHasBeenSet = true; m_eMR = std::move(value); } - - /** - *

      The configurations and outcomes of an Amazon EMR step execution.

      - */ - inline PipelineExecutionStepMetadata& WithEMR(const EMRStepMetadata& value) { SetEMR(value); return *this;} - - /** - *

      The configurations and outcomes of an Amazon EMR step execution.

      - */ - inline PipelineExecutionStepMetadata& WithEMR(EMRStepMetadata&& value) { SetEMR(std::move(value)); return *this;} - - /** *

      The configurations and outcomes of a Fail step execution.

      */ @@ -698,15 +698,15 @@ namespace Model LambdaStepMetadata m_lambda; bool m_lambdaHasBeenSet = false; + EMRStepMetadata m_eMR; + bool m_eMRHasBeenSet = false; + QualityCheckStepMetadata m_qualityCheck; bool m_qualityCheckHasBeenSet = false; ClarifyCheckStepMetadata m_clarifyCheck; bool m_clarifyCheckHasBeenSet = false; - EMRStepMetadata m_eMR; - bool m_eMRHasBeenSet = false; - FailStepMetadata m_fail; bool m_failHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineStatus.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineStatus.h index 0e88aa8b8a8..fd2dfde2712 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineStatus.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/PipelineStatus.h @@ -16,7 +16,8 @@ namespace Model enum class PipelineStatus { NOT_SET, - Active + Active, + Deleting }; namespace PipelineStatusMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ProductionVariantInstanceType.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ProductionVariantInstanceType.h index 84710ba3628..71912666891 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ProductionVariantInstanceType.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ProductionVariantInstanceType.h @@ -82,6 +82,7 @@ namespace Model ml_inf1_2xlarge, ml_inf1_6xlarge, ml_inf1_24xlarge, + ml_dl1_24xlarge, ml_c6i_large, ml_c6i_xlarge, ml_c6i_2xlarge, @@ -159,11 +160,39 @@ namespace Model ml_p4de_24xlarge, ml_trn1_2xlarge, ml_trn1_32xlarge, + ml_trn1n_32xlarge, ml_inf2_xlarge, ml_inf2_8xlarge, ml_inf2_24xlarge, ml_inf2_48xlarge, - ml_p5_48xlarge + ml_p5_48xlarge, + ml_m7i_large, + ml_m7i_xlarge, + ml_m7i_2xlarge, + ml_m7i_4xlarge, + ml_m7i_8xlarge, + ml_m7i_12xlarge, + ml_m7i_16xlarge, + ml_m7i_24xlarge, + ml_m7i_48xlarge, + ml_c7i_large, + ml_c7i_xlarge, + ml_c7i_2xlarge, + ml_c7i_4xlarge, + ml_c7i_8xlarge, + ml_c7i_12xlarge, + ml_c7i_16xlarge, + ml_c7i_24xlarge, + ml_c7i_48xlarge, + ml_r7i_large, + ml_r7i_xlarge, + ml_r7i_2xlarge, + ml_r7i_4xlarge, + ml_r7i_8xlarge, + ml_r7i_12xlarge, + ml_r7i_16xlarge, + ml_r7i_24xlarge, + ml_r7i_48xlarge }; namespace ProductionVariantInstanceTypeMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobContainerConfig.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobContainerConfig.h index 6410572554b..33212218f47 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobContainerConfig.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobContainerConfig.h @@ -423,6 +423,55 @@ namespace Model inline RecommendationJobContainerConfig& AddSupportedInstanceTypes(const char* value) { m_supportedInstanceTypesHasBeenSet = true; m_supportedInstanceTypes.push_back(value); return *this; } + /** + *

      The endpoint type to receive recommendations for. By default this is null, + * and the results of the inference recommendation job return a combined list of + * both real-time and serverless benchmarks. By specifying a value for this field, + * you can receive a longer list of benchmarks for the desired endpoint type.

      + */ + inline const RecommendationJobSupportedEndpointType& GetSupportedEndpointType() const{ return m_supportedEndpointType; } + + /** + *

      The endpoint type to receive recommendations for. By default this is null, + * and the results of the inference recommendation job return a combined list of + * both real-time and serverless benchmarks. By specifying a value for this field, + * you can receive a longer list of benchmarks for the desired endpoint type.

      + */ + inline bool SupportedEndpointTypeHasBeenSet() const { return m_supportedEndpointTypeHasBeenSet; } + + /** + *

      The endpoint type to receive recommendations for. By default this is null, + * and the results of the inference recommendation job return a combined list of + * both real-time and serverless benchmarks. By specifying a value for this field, + * you can receive a longer list of benchmarks for the desired endpoint type.

      + */ + inline void SetSupportedEndpointType(const RecommendationJobSupportedEndpointType& value) { m_supportedEndpointTypeHasBeenSet = true; m_supportedEndpointType = value; } + + /** + *

      The endpoint type to receive recommendations for. By default this is null, + * and the results of the inference recommendation job return a combined list of + * both real-time and serverless benchmarks. By specifying a value for this field, + * you can receive a longer list of benchmarks for the desired endpoint type.

      + */ + inline void SetSupportedEndpointType(RecommendationJobSupportedEndpointType&& value) { m_supportedEndpointTypeHasBeenSet = true; m_supportedEndpointType = std::move(value); } + + /** + *

      The endpoint type to receive recommendations for. By default this is null, + * and the results of the inference recommendation job return a combined list of + * both real-time and serverless benchmarks. By specifying a value for this field, + * you can receive a longer list of benchmarks for the desired endpoint type.

      + */ + inline RecommendationJobContainerConfig& WithSupportedEndpointType(const RecommendationJobSupportedEndpointType& value) { SetSupportedEndpointType(value); return *this;} + + /** + *

      The endpoint type to receive recommendations for. By default this is null, + * and the results of the inference recommendation job return a combined list of + * both real-time and serverless benchmarks. By specifying a value for this field, + * you can receive a longer list of benchmarks for the desired endpoint type.

      + */ + inline RecommendationJobContainerConfig& WithSupportedEndpointType(RecommendationJobSupportedEndpointType&& value) { SetSupportedEndpointType(std::move(value)); return *this;} + + /** *

      Specifies the name and shape of the expected data inputs for your trained * model with a JSON dictionary form. This field is used for optimizing your model @@ -488,55 +537,6 @@ namespace Model inline RecommendationJobContainerConfig& WithDataInputConfig(const char* value) { SetDataInputConfig(value); return *this;} - /** - *

      The endpoint type to receive recommendations for. By default this is null, - * and the results of the inference recommendation job return a combined list of - * both real-time and serverless benchmarks. By specifying a value for this field, - * you can receive a longer list of benchmarks for the desired endpoint type.

      - */ - inline const RecommendationJobSupportedEndpointType& GetSupportedEndpointType() const{ return m_supportedEndpointType; } - - /** - *

      The endpoint type to receive recommendations for. By default this is null, - * and the results of the inference recommendation job return a combined list of - * both real-time and serverless benchmarks. By specifying a value for this field, - * you can receive a longer list of benchmarks for the desired endpoint type.

      - */ - inline bool SupportedEndpointTypeHasBeenSet() const { return m_supportedEndpointTypeHasBeenSet; } - - /** - *

      The endpoint type to receive recommendations for. By default this is null, - * and the results of the inference recommendation job return a combined list of - * both real-time and serverless benchmarks. By specifying a value for this field, - * you can receive a longer list of benchmarks for the desired endpoint type.

      - */ - inline void SetSupportedEndpointType(const RecommendationJobSupportedEndpointType& value) { m_supportedEndpointTypeHasBeenSet = true; m_supportedEndpointType = value; } - - /** - *

      The endpoint type to receive recommendations for. By default this is null, - * and the results of the inference recommendation job return a combined list of - * both real-time and serverless benchmarks. By specifying a value for this field, - * you can receive a longer list of benchmarks for the desired endpoint type.

      - */ - inline void SetSupportedEndpointType(RecommendationJobSupportedEndpointType&& value) { m_supportedEndpointTypeHasBeenSet = true; m_supportedEndpointType = std::move(value); } - - /** - *

      The endpoint type to receive recommendations for. By default this is null, - * and the results of the inference recommendation job return a combined list of - * both real-time and serverless benchmarks. By specifying a value for this field, - * you can receive a longer list of benchmarks for the desired endpoint type.

      - */ - inline RecommendationJobContainerConfig& WithSupportedEndpointType(const RecommendationJobSupportedEndpointType& value) { SetSupportedEndpointType(value); return *this;} - - /** - *

      The endpoint type to receive recommendations for. By default this is null, - * and the results of the inference recommendation job return a combined list of - * both real-time and serverless benchmarks. By specifying a value for this field, - * you can receive a longer list of benchmarks for the desired endpoint type.

      - */ - inline RecommendationJobContainerConfig& WithSupportedEndpointType(RecommendationJobSupportedEndpointType&& value) { SetSupportedEndpointType(std::move(value)); return *this;} - - /** *

      The supported MIME types for the output data.

      */ @@ -605,12 +605,12 @@ namespace Model Aws::Vector m_supportedInstanceTypes; bool m_supportedInstanceTypesHasBeenSet = false; - Aws::String m_dataInputConfig; - bool m_dataInputConfigHasBeenSet = false; - RecommendationJobSupportedEndpointType m_supportedEndpointType; bool m_supportedEndpointTypeHasBeenSet = false; + Aws::String m_dataInputConfig; + bool m_dataInputConfigHasBeenSet = false; + Aws::Vector m_supportedResponseMIMETypes; bool m_supportedResponseMIMETypesHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobInferenceBenchmark.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobInferenceBenchmark.h index 7144d784a8b..ea526894159 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobInferenceBenchmark.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobInferenceBenchmark.h @@ -6,10 +6,10 @@ #pragma once #include #include +#include #include #include #include -#include #include #include @@ -63,6 +63,25 @@ namespace Model + inline const InferenceMetrics& GetEndpointMetrics() const{ return m_endpointMetrics; } + + + inline bool EndpointMetricsHasBeenSet() const { return m_endpointMetricsHasBeenSet; } + + + inline void SetEndpointMetrics(const InferenceMetrics& value) { m_endpointMetricsHasBeenSet = true; m_endpointMetrics = value; } + + + inline void SetEndpointMetrics(InferenceMetrics&& value) { m_endpointMetricsHasBeenSet = true; m_endpointMetrics = std::move(value); } + + + inline RecommendationJobInferenceBenchmark& WithEndpointMetrics(const InferenceMetrics& value) { SetEndpointMetrics(value); return *this;} + + + inline RecommendationJobInferenceBenchmark& WithEndpointMetrics(InferenceMetrics&& value) { SetEndpointMetrics(std::move(value)); return *this;} + + + inline const EndpointOutputConfiguration& GetEndpointConfiguration() const{ return m_endpointConfiguration; } @@ -141,25 +160,6 @@ namespace Model inline RecommendationJobInferenceBenchmark& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} - - inline const InferenceMetrics& GetEndpointMetrics() const{ return m_endpointMetrics; } - - - inline bool EndpointMetricsHasBeenSet() const { return m_endpointMetricsHasBeenSet; } - - - inline void SetEndpointMetrics(const InferenceMetrics& value) { m_endpointMetricsHasBeenSet = true; m_endpointMetrics = value; } - - - inline void SetEndpointMetrics(InferenceMetrics&& value) { m_endpointMetricsHasBeenSet = true; m_endpointMetrics = std::move(value); } - - - inline RecommendationJobInferenceBenchmark& WithEndpointMetrics(const InferenceMetrics& value) { SetEndpointMetrics(value); return *this;} - - - inline RecommendationJobInferenceBenchmark& WithEndpointMetrics(InferenceMetrics&& value) { SetEndpointMetrics(std::move(value)); return *this;} - - /** *

      A timestamp that shows when the benchmark completed.

      */ @@ -226,6 +226,9 @@ namespace Model RecommendationMetrics m_metrics; bool m_metricsHasBeenSet = false; + InferenceMetrics m_endpointMetrics; + bool m_endpointMetricsHasBeenSet = false; + EndpointOutputConfiguration m_endpointConfiguration; bool m_endpointConfigurationHasBeenSet = false; @@ -235,9 +238,6 @@ namespace Model Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; - InferenceMetrics m_endpointMetrics; - bool m_endpointMetricsHasBeenSet = false; - Aws::Utils::DateTime m_invocationEndTime; bool m_invocationEndTimeHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobInputConfig.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobInputConfig.h index 64031c74852..da469a74289 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobInputConfig.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobInputConfig.h @@ -86,6 +86,47 @@ namespace Model inline RecommendationJobInputConfig& WithModelPackageVersionArn(const char* value) { SetModelPackageVersionArn(value); return *this;} + /** + *

      The name of the created model.

      + */ + inline const Aws::String& GetModelName() const{ return m_modelName; } + + /** + *

      The name of the created model.

      + */ + inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; } + + /** + *

      The name of the created model.

      + */ + inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; } + + /** + *

      The name of the created model.

      + */ + inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); } + + /** + *

      The name of the created model.

      + */ + inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); } + + /** + *

      The name of the created model.

      + */ + inline RecommendationJobInputConfig& WithModelName(const Aws::String& value) { SetModelName(value); return *this;} + + /** + *

      The name of the created model.

      + */ + inline RecommendationJobInputConfig& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;} + + /** + *

      The name of the created model.

      + */ + inline RecommendationJobInputConfig& WithModelName(const char* value) { SetModelName(value); return *this;} + + /** *

      Specifies the maximum duration of the job, in seconds. The maximum value is * 18,000 seconds.

      @@ -527,52 +568,14 @@ namespace Model */ inline RecommendationJobInputConfig& WithVpcConfig(RecommendationJobVpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} - - /** - *

      The name of the created model.

      - */ - inline const Aws::String& GetModelName() const{ return m_modelName; } - - /** - *

      The name of the created model.

      - */ - inline bool ModelNameHasBeenSet() const { return m_modelNameHasBeenSet; } - - /** - *

      The name of the created model.

      - */ - inline void SetModelName(const Aws::String& value) { m_modelNameHasBeenSet = true; m_modelName = value; } - - /** - *

      The name of the created model.

      - */ - inline void SetModelName(Aws::String&& value) { m_modelNameHasBeenSet = true; m_modelName = std::move(value); } - - /** - *

      The name of the created model.

      - */ - inline void SetModelName(const char* value) { m_modelNameHasBeenSet = true; m_modelName.assign(value); } - - /** - *

      The name of the created model.

      - */ - inline RecommendationJobInputConfig& WithModelName(const Aws::String& value) { SetModelName(value); return *this;} - - /** - *

      The name of the created model.

      - */ - inline RecommendationJobInputConfig& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;} - - /** - *

      The name of the created model.

      - */ - inline RecommendationJobInputConfig& WithModelName(const char* value) { SetModelName(value); return *this;} - private: Aws::String m_modelPackageVersionArn; bool m_modelPackageVersionArnHasBeenSet = false; + Aws::String m_modelName; + bool m_modelNameHasBeenSet = false; + int m_jobDurationInSeconds; bool m_jobDurationInSecondsHasBeenSet = false; @@ -596,9 +599,6 @@ namespace Model RecommendationJobVpcConfig m_vpcConfig; bool m_vpcConfigHasBeenSet = false; - - Aws::String m_modelName; - bool m_modelNameHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobStatus.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobStatus.h index 72485717243..924acdfdef2 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobStatus.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/RecommendationJobStatus.h @@ -21,7 +21,9 @@ namespace Model COMPLETED, FAILED, STOPPING, - STOPPED + STOPPED, + DELETING, + DELETED }; namespace RecommendationJobStatusMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceConfig.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceConfig.h index 0b9a64cd3b3..c667806ea02 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceConfig.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceConfig.h @@ -463,69 +463,69 @@ namespace Model /** - *

      The configuration of a heterogeneous cluster in JSON format.

      + *

      The duration of time in seconds to retain configured resources in a warm pool + * for subsequent training jobs.

      */ - inline const Aws::Vector& GetInstanceGroups() const{ return m_instanceGroups; } + inline int GetKeepAlivePeriodInSeconds() const{ return m_keepAlivePeriodInSeconds; } /** - *

      The configuration of a heterogeneous cluster in JSON format.

      + *

      The duration of time in seconds to retain configured resources in a warm pool + * for subsequent training jobs.

      */ - inline bool InstanceGroupsHasBeenSet() const { return m_instanceGroupsHasBeenSet; } + inline bool KeepAlivePeriodInSecondsHasBeenSet() const { return m_keepAlivePeriodInSecondsHasBeenSet; } /** - *

      The configuration of a heterogeneous cluster in JSON format.

      + *

      The duration of time in seconds to retain configured resources in a warm pool + * for subsequent training jobs.

      */ - inline void SetInstanceGroups(const Aws::Vector& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups = value; } + inline void SetKeepAlivePeriodInSeconds(int value) { m_keepAlivePeriodInSecondsHasBeenSet = true; m_keepAlivePeriodInSeconds = value; } /** - *

      The configuration of a heterogeneous cluster in JSON format.

      + *

      The duration of time in seconds to retain configured resources in a warm pool + * for subsequent training jobs.

      */ - inline void SetInstanceGroups(Aws::Vector&& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups = std::move(value); } + inline ResourceConfig& WithKeepAlivePeriodInSeconds(int value) { SetKeepAlivePeriodInSeconds(value); return *this;} + /** *

      The configuration of a heterogeneous cluster in JSON format.

      */ - inline ResourceConfig& WithInstanceGroups(const Aws::Vector& value) { SetInstanceGroups(value); return *this;} + inline const Aws::Vector& GetInstanceGroups() const{ return m_instanceGroups; } /** *

      The configuration of a heterogeneous cluster in JSON format.

      */ - inline ResourceConfig& WithInstanceGroups(Aws::Vector&& value) { SetInstanceGroups(std::move(value)); return *this;} + inline bool InstanceGroupsHasBeenSet() const { return m_instanceGroupsHasBeenSet; } /** *

      The configuration of a heterogeneous cluster in JSON format.

      */ - inline ResourceConfig& AddInstanceGroups(const InstanceGroup& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups.push_back(value); return *this; } + inline void SetInstanceGroups(const Aws::Vector& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups = value; } /** *

      The configuration of a heterogeneous cluster in JSON format.

      */ - inline ResourceConfig& AddInstanceGroups(InstanceGroup&& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups.push_back(std::move(value)); return *this; } - + inline void SetInstanceGroups(Aws::Vector&& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups = std::move(value); } /** - *

      The duration of time in seconds to retain configured resources in a warm pool - * for subsequent training jobs.

      + *

      The configuration of a heterogeneous cluster in JSON format.

      */ - inline int GetKeepAlivePeriodInSeconds() const{ return m_keepAlivePeriodInSeconds; } + inline ResourceConfig& WithInstanceGroups(const Aws::Vector& value) { SetInstanceGroups(value); return *this;} /** - *

      The duration of time in seconds to retain configured resources in a warm pool - * for subsequent training jobs.

      + *

      The configuration of a heterogeneous cluster in JSON format.

      */ - inline bool KeepAlivePeriodInSecondsHasBeenSet() const { return m_keepAlivePeriodInSecondsHasBeenSet; } + inline ResourceConfig& WithInstanceGroups(Aws::Vector&& value) { SetInstanceGroups(std::move(value)); return *this;} /** - *

      The duration of time in seconds to retain configured resources in a warm pool - * for subsequent training jobs.

      + *

      The configuration of a heterogeneous cluster in JSON format.

      */ - inline void SetKeepAlivePeriodInSeconds(int value) { m_keepAlivePeriodInSecondsHasBeenSet = true; m_keepAlivePeriodInSeconds = value; } + inline ResourceConfig& AddInstanceGroups(const InstanceGroup& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups.push_back(value); return *this; } /** - *

      The duration of time in seconds to retain configured resources in a warm pool - * for subsequent training jobs.

      + *

      The configuration of a heterogeneous cluster in JSON format.

      */ - inline ResourceConfig& WithKeepAlivePeriodInSeconds(int value) { SetKeepAlivePeriodInSeconds(value); return *this;} + inline ResourceConfig& AddInstanceGroups(InstanceGroup&& value) { m_instanceGroupsHasBeenSet = true; m_instanceGroups.push_back(std::move(value)); return *this; } private: @@ -541,11 +541,11 @@ namespace Model Aws::String m_volumeKmsKeyId; bool m_volumeKmsKeyIdHasBeenSet = false; - Aws::Vector m_instanceGroups; - bool m_instanceGroupsHasBeenSet = false; - int m_keepAlivePeriodInSeconds; bool m_keepAlivePeriodInSecondsHasBeenSet = false; + + Aws::Vector m_instanceGroups; + bool m_instanceGroupsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceSpec.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceSpec.h index 30342cc0b47..a3c6bc3aa31 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceSpec.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceSpec.h @@ -122,42 +122,50 @@ namespace Model /** - *

      The SageMakerImageVersionAlias.

      + *

      The SageMakerImageVersionAlias of the image to launch with. This value is in + * SemVer 2.0.0 versioning format.

      */ inline const Aws::String& GetSageMakerImageVersionAlias() const{ return m_sageMakerImageVersionAlias; } /** - *

      The SageMakerImageVersionAlias.

      + *

      The SageMakerImageVersionAlias of the image to launch with. This value is in + * SemVer 2.0.0 versioning format.

      */ inline bool SageMakerImageVersionAliasHasBeenSet() const { return m_sageMakerImageVersionAliasHasBeenSet; } /** - *

      The SageMakerImageVersionAlias.

      + *

      The SageMakerImageVersionAlias of the image to launch with. This value is in + * SemVer 2.0.0 versioning format.

      */ inline void SetSageMakerImageVersionAlias(const Aws::String& value) { m_sageMakerImageVersionAliasHasBeenSet = true; m_sageMakerImageVersionAlias = value; } /** - *

      The SageMakerImageVersionAlias.

      + *

      The SageMakerImageVersionAlias of the image to launch with. This value is in + * SemVer 2.0.0 versioning format.

      */ inline void SetSageMakerImageVersionAlias(Aws::String&& value) { m_sageMakerImageVersionAliasHasBeenSet = true; m_sageMakerImageVersionAlias = std::move(value); } /** - *

      The SageMakerImageVersionAlias.

      + *

      The SageMakerImageVersionAlias of the image to launch with. This value is in + * SemVer 2.0.0 versioning format.

      */ inline void SetSageMakerImageVersionAlias(const char* value) { m_sageMakerImageVersionAliasHasBeenSet = true; m_sageMakerImageVersionAlias.assign(value); } /** - *

      The SageMakerImageVersionAlias.

      + *

      The SageMakerImageVersionAlias of the image to launch with. This value is in + * SemVer 2.0.0 versioning format.

      */ inline ResourceSpec& WithSageMakerImageVersionAlias(const Aws::String& value) { SetSageMakerImageVersionAlias(value); return *this;} /** - *

      The SageMakerImageVersionAlias.

      + *

      The SageMakerImageVersionAlias of the image to launch with. This value is in + * SemVer 2.0.0 versioning format.

      */ inline ResourceSpec& WithSageMakerImageVersionAlias(Aws::String&& value) { SetSageMakerImageVersionAlias(std::move(value)); return *this;} /** - *

      The SageMakerImageVersionAlias.

      + *

      The SageMakerImageVersionAlias of the image to launch with. This value is in + * SemVer 2.0.0 versioning format.

      */ inline ResourceSpec& WithSageMakerImageVersionAlias(const char* value) { SetSageMakerImageVersionAlias(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceType.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceType.h index c51807b0949..bdc0b221b3b 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceType.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ResourceType.h @@ -21,16 +21,18 @@ namespace Model ExperimentTrial, ExperimentTrialComponent, Endpoint, + Model, ModelPackage, ModelPackageGroup, Pipeline, PipelineExecution, FeatureGroup, - Project, FeatureMetadata, + Image, + ImageVersion, + Project, HyperParameterTuningJob, - ModelCard, - Model + ModelCard }; namespace ResourceTypeMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SearchRecord.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SearchRecord.h index b840ef2132d..cd5c29b0ff7 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SearchRecord.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SearchRecord.h @@ -15,11 +15,11 @@ #include #include #include -#include #include +#include #include -#include #include +#include #include namespace Aws @@ -292,65 +292,65 @@ namespace Model /** - *

      The properties of a project.

      + *

      The feature metadata used to search through the features.

      */ - inline const Project& GetProject() const{ return m_project; } + inline const FeatureMetadata& GetFeatureMetadata() const{ return m_featureMetadata; } /** - *

      The properties of a project.

      + *

      The feature metadata used to search through the features.

      */ - inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; } + inline bool FeatureMetadataHasBeenSet() const { return m_featureMetadataHasBeenSet; } /** - *

      The properties of a project.

      + *

      The feature metadata used to search through the features.

      */ - inline void SetProject(const Project& value) { m_projectHasBeenSet = true; m_project = value; } + inline void SetFeatureMetadata(const FeatureMetadata& value) { m_featureMetadataHasBeenSet = true; m_featureMetadata = value; } /** - *

      The properties of a project.

      + *

      The feature metadata used to search through the features.

      */ - inline void SetProject(Project&& value) { m_projectHasBeenSet = true; m_project = std::move(value); } + inline void SetFeatureMetadata(FeatureMetadata&& value) { m_featureMetadataHasBeenSet = true; m_featureMetadata = std::move(value); } /** - *

      The properties of a project.

      + *

      The feature metadata used to search through the features.

      */ - inline SearchRecord& WithProject(const Project& value) { SetProject(value); return *this;} + inline SearchRecord& WithFeatureMetadata(const FeatureMetadata& value) { SetFeatureMetadata(value); return *this;} /** - *

      The properties of a project.

      + *

      The feature metadata used to search through the features.

      */ - inline SearchRecord& WithProject(Project&& value) { SetProject(std::move(value)); return *this;} + inline SearchRecord& WithFeatureMetadata(FeatureMetadata&& value) { SetFeatureMetadata(std::move(value)); return *this;} /** - *

      The feature metadata used to search through the features.

      + *

      The properties of a project.

      */ - inline const FeatureMetadata& GetFeatureMetadata() const{ return m_featureMetadata; } + inline const Project& GetProject() const{ return m_project; } /** - *

      The feature metadata used to search through the features.

      + *

      The properties of a project.

      */ - inline bool FeatureMetadataHasBeenSet() const { return m_featureMetadataHasBeenSet; } + inline bool ProjectHasBeenSet() const { return m_projectHasBeenSet; } /** - *

      The feature metadata used to search through the features.

      + *

      The properties of a project.

      */ - inline void SetFeatureMetadata(const FeatureMetadata& value) { m_featureMetadataHasBeenSet = true; m_featureMetadata = value; } + inline void SetProject(const Project& value) { m_projectHasBeenSet = true; m_project = value; } /** - *

      The feature metadata used to search through the features.

      + *

      The properties of a project.

      */ - inline void SetFeatureMetadata(FeatureMetadata&& value) { m_featureMetadataHasBeenSet = true; m_featureMetadata = std::move(value); } + inline void SetProject(Project&& value) { m_projectHasBeenSet = true; m_project = std::move(value); } /** - *

      The feature metadata used to search through the features.

      + *

      The properties of a project.

      */ - inline SearchRecord& WithFeatureMetadata(const FeatureMetadata& value) { SetFeatureMetadata(value); return *this;} + inline SearchRecord& WithProject(const Project& value) { SetProject(value); return *this;} /** - *

      The feature metadata used to search through the features.

      + *

      The properties of a project.

      */ - inline SearchRecord& WithFeatureMetadata(FeatureMetadata&& value) { SetFeatureMetadata(std::move(value)); return *this;} + inline SearchRecord& WithProject(Project&& value) { SetProject(std::move(value)); return *this;} /** @@ -384,25 +384,6 @@ namespace Model inline SearchRecord& WithHyperParameterTuningJob(HyperParameterTuningJobSearchEntity&& value) { SetHyperParameterTuningJob(std::move(value)); return *this;} - - inline const ModelDashboardModel& GetModel() const{ return m_model; } - - - inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; } - - - inline void SetModel(const ModelDashboardModel& value) { m_modelHasBeenSet = true; m_model = value; } - - - inline void SetModel(ModelDashboardModel&& value) { m_modelHasBeenSet = true; m_model = std::move(value); } - - - inline SearchRecord& WithModel(const ModelDashboardModel& value) { SetModel(value); return *this;} - - - inline SearchRecord& WithModel(ModelDashboardModel&& value) { SetModel(std::move(value)); return *this;} - - /** *

      An Amazon SageMaker Model Card that documents details about a machine * learning model.

      @@ -439,6 +420,25 @@ namespace Model */ inline SearchRecord& WithModelCard(ModelCard&& value) { SetModelCard(std::move(value)); return *this;} + + + inline const ModelDashboardModel& GetModel() const{ return m_model; } + + + inline bool ModelHasBeenSet() const { return m_modelHasBeenSet; } + + + inline void SetModel(const ModelDashboardModel& value) { m_modelHasBeenSet = true; m_model = value; } + + + inline void SetModel(ModelDashboardModel&& value) { m_modelHasBeenSet = true; m_model = std::move(value); } + + + inline SearchRecord& WithModel(const ModelDashboardModel& value) { SetModel(value); return *this;} + + + inline SearchRecord& WithModel(ModelDashboardModel&& value) { SetModel(std::move(value)); return *this;} + private: TrainingJob m_trainingJob; @@ -471,20 +471,20 @@ namespace Model FeatureGroup m_featureGroup; bool m_featureGroupHasBeenSet = false; - Project m_project; - bool m_projectHasBeenSet = false; - FeatureMetadata m_featureMetadata; bool m_featureMetadataHasBeenSet = false; + Project m_project; + bool m_projectHasBeenSet = false; + HyperParameterTuningJobSearchEntity m_hyperParameterTuningJob; bool m_hyperParameterTuningJobHasBeenSet = false; - ModelDashboardModel m_model; - bool m_modelHasBeenSet = false; - ModelCard m_modelCard; bool m_modelCardHasBeenSet = false; + + ModelDashboardModel m_model; + bool m_modelHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SecondaryStatus.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SecondaryStatus.h index f304dd22e88..41b012da8b6 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SecondaryStatus.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SecondaryStatus.h @@ -31,7 +31,8 @@ namespace Model Interrupted, MaxWaitTimeExceeded, Updating, - Restarting + Restarting, + Pending }; namespace SecondaryStatusMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SpaceDetails.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SpaceDetails.h index f57c5c2fc80..c04277280ab 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SpaceDetails.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SpaceDetails.h @@ -217,47 +217,6 @@ namespace Model inline SpaceDetails& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} - /** - *

      The name of the space that appears in the Studio UI.

      - */ - inline const Aws::String& GetSpaceDisplayName() const{ return m_spaceDisplayName; } - - /** - *

      The name of the space that appears in the Studio UI.

      - */ - inline bool SpaceDisplayNameHasBeenSet() const { return m_spaceDisplayNameHasBeenSet; } - - /** - *

      The name of the space that appears in the Studio UI.

      - */ - inline void SetSpaceDisplayName(const Aws::String& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = value; } - - /** - *

      The name of the space that appears in the Studio UI.

      - */ - inline void SetSpaceDisplayName(Aws::String&& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = std::move(value); } - - /** - *

      The name of the space that appears in the Studio UI.

      - */ - inline void SetSpaceDisplayName(const char* value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName.assign(value); } - - /** - *

      The name of the space that appears in the Studio UI.

      - */ - inline SpaceDetails& WithSpaceDisplayName(const Aws::String& value) { SetSpaceDisplayName(value); return *this;} - - /** - *

      The name of the space that appears in the Studio UI.

      - */ - inline SpaceDetails& WithSpaceDisplayName(Aws::String&& value) { SetSpaceDisplayName(std::move(value)); return *this;} - - /** - *

      The name of the space that appears in the Studio UI.

      - */ - inline SpaceDetails& WithSpaceDisplayName(const char* value) { SetSpaceDisplayName(value); return *this;} - - /** *

      Specifies summary information about the space settings.

      */ @@ -350,6 +309,47 @@ namespace Model */ inline SpaceDetails& WithOwnershipSettingsSummary(OwnershipSettingsSummary&& value) { SetOwnershipSettingsSummary(std::move(value)); return *this;} + + /** + *

      The name of the space that appears in the Studio UI.

      + */ + inline const Aws::String& GetSpaceDisplayName() const{ return m_spaceDisplayName; } + + /** + *

      The name of the space that appears in the Studio UI.

      + */ + inline bool SpaceDisplayNameHasBeenSet() const { return m_spaceDisplayNameHasBeenSet; } + + /** + *

      The name of the space that appears in the Studio UI.

      + */ + inline void SetSpaceDisplayName(const Aws::String& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = value; } + + /** + *

      The name of the space that appears in the Studio UI.

      + */ + inline void SetSpaceDisplayName(Aws::String&& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = std::move(value); } + + /** + *

      The name of the space that appears in the Studio UI.

      + */ + inline void SetSpaceDisplayName(const char* value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName.assign(value); } + + /** + *

      The name of the space that appears in the Studio UI.

      + */ + inline SpaceDetails& WithSpaceDisplayName(const Aws::String& value) { SetSpaceDisplayName(value); return *this;} + + /** + *

      The name of the space that appears in the Studio UI.

      + */ + inline SpaceDetails& WithSpaceDisplayName(Aws::String&& value) { SetSpaceDisplayName(std::move(value)); return *this;} + + /** + *

      The name of the space that appears in the Studio UI.

      + */ + inline SpaceDetails& WithSpaceDisplayName(const char* value) { SetSpaceDisplayName(value); return *this;} + private: Aws::String m_domainId; @@ -367,9 +367,6 @@ namespace Model Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; - Aws::String m_spaceDisplayName; - bool m_spaceDisplayNameHasBeenSet = false; - SpaceSettingsSummary m_spaceSettingsSummary; bool m_spaceSettingsSummaryHasBeenSet = false; @@ -378,6 +375,9 @@ namespace Model OwnershipSettingsSummary m_ownershipSettingsSummary; bool m_ownershipSettingsSummaryHasBeenSet = false; + + Aws::String m_spaceDisplayName; + bool m_spaceDisplayNameHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SpaceSettings.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SpaceSettings.h index ad1e10d08ba..bc2cc9bcfd8 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SpaceSettings.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/SpaceSettings.h @@ -7,10 +7,10 @@ #include #include #include -#include #include -#include +#include #include +#include #include #include #include @@ -82,37 +82,6 @@ namespace Model inline SpaceSettings& WithKernelGatewayAppSettings(KernelGatewayAppSettings&& value) { SetKernelGatewayAppSettings(std::move(value)); return *this;} - /** - *

      The settings for the JupyterLab application.

      - */ - inline const SpaceJupyterLabAppSettings& GetJupyterLabAppSettings() const{ return m_jupyterLabAppSettings; } - - /** - *

      The settings for the JupyterLab application.

      - */ - inline bool JupyterLabAppSettingsHasBeenSet() const { return m_jupyterLabAppSettingsHasBeenSet; } - - /** - *

      The settings for the JupyterLab application.

      - */ - inline void SetJupyterLabAppSettings(const SpaceJupyterLabAppSettings& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = value; } - - /** - *

      The settings for the JupyterLab application.

      - */ - inline void SetJupyterLabAppSettings(SpaceJupyterLabAppSettings&& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = std::move(value); } - - /** - *

      The settings for the JupyterLab application.

      - */ - inline SpaceSettings& WithJupyterLabAppSettings(const SpaceJupyterLabAppSettings& value) { SetJupyterLabAppSettings(value); return *this;} - - /** - *

      The settings for the JupyterLab application.

      - */ - inline SpaceSettings& WithJupyterLabAppSettings(SpaceJupyterLabAppSettings&& value) { SetJupyterLabAppSettings(std::move(value)); return *this;} - - /** *

      The Code Editor application settings.

      */ @@ -145,34 +114,34 @@ namespace Model /** - *

      The storage settings for a private space.

      + *

      The settings for the JupyterLab application.

      */ - inline const SpaceStorageSettings& GetSpaceStorageSettings() const{ return m_spaceStorageSettings; } + inline const SpaceJupyterLabAppSettings& GetJupyterLabAppSettings() const{ return m_jupyterLabAppSettings; } /** - *

      The storage settings for a private space.

      + *

      The settings for the JupyterLab application.

      */ - inline bool SpaceStorageSettingsHasBeenSet() const { return m_spaceStorageSettingsHasBeenSet; } + inline bool JupyterLabAppSettingsHasBeenSet() const { return m_jupyterLabAppSettingsHasBeenSet; } /** - *

      The storage settings for a private space.

      + *

      The settings for the JupyterLab application.

      */ - inline void SetSpaceStorageSettings(const SpaceStorageSettings& value) { m_spaceStorageSettingsHasBeenSet = true; m_spaceStorageSettings = value; } + inline void SetJupyterLabAppSettings(const SpaceJupyterLabAppSettings& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = value; } /** - *

      The storage settings for a private space.

      + *

      The settings for the JupyterLab application.

      */ - inline void SetSpaceStorageSettings(SpaceStorageSettings&& value) { m_spaceStorageSettingsHasBeenSet = true; m_spaceStorageSettings = std::move(value); } + inline void SetJupyterLabAppSettings(SpaceJupyterLabAppSettings&& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = std::move(value); } /** - *

      The storage settings for a private space.

      + *

      The settings for the JupyterLab application.

      */ - inline SpaceSettings& WithSpaceStorageSettings(const SpaceStorageSettings& value) { SetSpaceStorageSettings(value); return *this;} + inline SpaceSettings& WithJupyterLabAppSettings(const SpaceJupyterLabAppSettings& value) { SetJupyterLabAppSettings(value); return *this;} /** - *

      The storage settings for a private space.

      + *

      The settings for the JupyterLab application.

      */ - inline SpaceSettings& WithSpaceStorageSettings(SpaceStorageSettings&& value) { SetSpaceStorageSettings(std::move(value)); return *this;} + inline SpaceSettings& WithJupyterLabAppSettings(SpaceJupyterLabAppSettings&& value) { SetJupyterLabAppSettings(std::move(value)); return *this;} /** @@ -206,6 +175,37 @@ namespace Model inline SpaceSettings& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;} + /** + *

      The storage settings for a private space.

      + */ + inline const SpaceStorageSettings& GetSpaceStorageSettings() const{ return m_spaceStorageSettings; } + + /** + *

      The storage settings for a private space.

      + */ + inline bool SpaceStorageSettingsHasBeenSet() const { return m_spaceStorageSettingsHasBeenSet; } + + /** + *

      The storage settings for a private space.

      + */ + inline void SetSpaceStorageSettings(const SpaceStorageSettings& value) { m_spaceStorageSettingsHasBeenSet = true; m_spaceStorageSettings = value; } + + /** + *

      The storage settings for a private space.

      + */ + inline void SetSpaceStorageSettings(SpaceStorageSettings&& value) { m_spaceStorageSettingsHasBeenSet = true; m_spaceStorageSettings = std::move(value); } + + /** + *

      The storage settings for a private space.

      + */ + inline SpaceSettings& WithSpaceStorageSettings(const SpaceStorageSettings& value) { SetSpaceStorageSettings(value); return *this;} + + /** + *

      The storage settings for a private space.

      + */ + inline SpaceSettings& WithSpaceStorageSettings(SpaceStorageSettings&& value) { SetSpaceStorageSettings(std::move(value)); return *this;} + + /** *

      A file system, created by you, that you assign to a space for an Amazon * SageMaker Domain. Permitted users can access this file system in Amazon @@ -270,18 +270,18 @@ namespace Model KernelGatewayAppSettings m_kernelGatewayAppSettings; bool m_kernelGatewayAppSettingsHasBeenSet = false; - SpaceJupyterLabAppSettings m_jupyterLabAppSettings; - bool m_jupyterLabAppSettingsHasBeenSet = false; - SpaceCodeEditorAppSettings m_codeEditorAppSettings; bool m_codeEditorAppSettingsHasBeenSet = false; - SpaceStorageSettings m_spaceStorageSettings; - bool m_spaceStorageSettingsHasBeenSet = false; + SpaceJupyterLabAppSettings m_jupyterLabAppSettings; + bool m_jupyterLabAppSettingsHasBeenSet = false; AppType m_appType; bool m_appTypeHasBeenSet = false; + SpaceStorageSettings m_spaceStorageSettings; + bool m_spaceStorageSettingsHasBeenSet = false; + Aws::Vector m_customFileSystems; bool m_customFileSystemsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/StudioLifecycleConfigAppType.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/StudioLifecycleConfigAppType.h index a0df11f25eb..775f95835ba 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/StudioLifecycleConfigAppType.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/StudioLifecycleConfigAppType.h @@ -18,8 +18,10 @@ namespace Model NOT_SET, JupyterServer, KernelGateway, - JupyterLab, - CodeEditor + VSCode, + Savitur, + CodeEditor, + JupyterLab }; namespace StudioLifecycleConfigAppTypeMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TableFormat.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TableFormat.h index e7a223d5183..8e46e86d095 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TableFormat.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TableFormat.h @@ -16,6 +16,7 @@ namespace Model enum class TableFormat { NOT_SET, + Default, Glue, Iceberg }; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TargetDevice.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TargetDevice.h index 53051d17c5e..f54c6b68e6c 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TargetDevice.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TargetDevice.h @@ -19,8 +19,10 @@ namespace Model lambda, ml_m4, ml_m5, + ml_m6g, ml_c4, ml_c5, + ml_c6g, ml_p2, ml_p3, ml_g4dn, @@ -33,6 +35,7 @@ namespace Model jetson_nano, jetson_xavier, rasp3b, + rasp4b, imx8qm, deeplens, rk3399, diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TextGenerationJobConfig.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TextGenerationJobConfig.h index 23b8382e795..5373a2dc821 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TextGenerationJobConfig.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TextGenerationJobConfig.h @@ -8,6 +8,7 @@ #include #include #include +#include #include namespace Aws @@ -494,6 +495,25 @@ namespace Model */ inline TextGenerationJobConfig& AddTextGenerationHyperParameters(const char* key, const char* value) { m_textGenerationHyperParametersHasBeenSet = true; m_textGenerationHyperParameters.emplace(key, value); return *this; } + + + inline const ModelAccessConfig& GetModelAccessConfig() const{ return m_modelAccessConfig; } + + + inline bool ModelAccessConfigHasBeenSet() const { return m_modelAccessConfigHasBeenSet; } + + + inline void SetModelAccessConfig(const ModelAccessConfig& value) { m_modelAccessConfigHasBeenSet = true; m_modelAccessConfig = value; } + + + inline void SetModelAccessConfig(ModelAccessConfig&& value) { m_modelAccessConfigHasBeenSet = true; m_modelAccessConfig = std::move(value); } + + + inline TextGenerationJobConfig& WithModelAccessConfig(const ModelAccessConfig& value) { SetModelAccessConfig(value); return *this;} + + + inline TextGenerationJobConfig& WithModelAccessConfig(ModelAccessConfig&& value) { SetModelAccessConfig(std::move(value)); return *this;} + private: AutoMLJobCompletionCriteria m_completionCriteria; @@ -504,6 +524,9 @@ namespace Model Aws::Map m_textGenerationHyperParameters; bool m_textGenerationHyperParametersHasBeenSet = false; + + ModelAccessConfig m_modelAccessConfig; + bool m_modelAccessConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TrainingInstanceType.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TrainingInstanceType.h index fbd14ec1773..39bacc212df 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TrainingInstanceType.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TrainingInstanceType.h @@ -45,6 +45,8 @@ namespace Model ml_p3_16xlarge, ml_p3dn_24xlarge, ml_p4d_24xlarge, + ml_p4de_24xlarge, + ml_p5_48xlarge, ml_c5_xlarge, ml_c5_2xlarge, ml_c5_4xlarge, @@ -66,7 +68,23 @@ namespace Model ml_trn1_2xlarge, ml_trn1_32xlarge, ml_trn1n_32xlarge, - ml_p5_48xlarge + ml_m6i_large, + ml_m6i_xlarge, + ml_m6i_2xlarge, + ml_m6i_4xlarge, + ml_m6i_8xlarge, + ml_m6i_12xlarge, + ml_m6i_16xlarge, + ml_m6i_24xlarge, + ml_m6i_32xlarge, + ml_c6i_xlarge, + ml_c6i_2xlarge, + ml_c6i_8xlarge, + ml_c6i_4xlarge, + ml_c6i_12xlarge, + ml_c6i_16xlarge, + ml_c6i_24xlarge, + ml_c6i_32xlarge }; namespace TrainingInstanceTypeMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TransformJob.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TransformJob.h index 0aa7f6b9b40..aba9ff6cef6 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TransformJob.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TransformJob.h @@ -12,12 +12,12 @@ #include #include #include +#include #include #include #include #include #include -#include #include #include @@ -564,6 +564,25 @@ namespace Model + inline const BatchDataCaptureConfig& GetDataCaptureConfig() const{ return m_dataCaptureConfig; } + + + inline bool DataCaptureConfigHasBeenSet() const { return m_dataCaptureConfigHasBeenSet; } + + + inline void SetDataCaptureConfig(const BatchDataCaptureConfig& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = value; } + + + inline void SetDataCaptureConfig(BatchDataCaptureConfig&& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = std::move(value); } + + + inline TransformJob& WithDataCaptureConfig(const BatchDataCaptureConfig& value) { SetDataCaptureConfig(value); return *this;} + + + inline TransformJob& WithDataCaptureConfig(BatchDataCaptureConfig&& value) { SetDataCaptureConfig(std::move(value)); return *this;} + + + inline const TransformResources& GetTransformResources() const{ return m_transformResources; } @@ -875,25 +894,6 @@ namespace Model */ inline TransformJob& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } - - - inline const BatchDataCaptureConfig& GetDataCaptureConfig() const{ return m_dataCaptureConfig; } - - - inline bool DataCaptureConfigHasBeenSet() const { return m_dataCaptureConfigHasBeenSet; } - - - inline void SetDataCaptureConfig(const BatchDataCaptureConfig& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = value; } - - - inline void SetDataCaptureConfig(BatchDataCaptureConfig&& value) { m_dataCaptureConfigHasBeenSet = true; m_dataCaptureConfig = std::move(value); } - - - inline TransformJob& WithDataCaptureConfig(const BatchDataCaptureConfig& value) { SetDataCaptureConfig(value); return *this;} - - - inline TransformJob& WithDataCaptureConfig(BatchDataCaptureConfig&& value) { SetDataCaptureConfig(std::move(value)); return *this;} - private: Aws::String m_transformJobName; @@ -932,6 +932,9 @@ namespace Model TransformOutput m_transformOutput; bool m_transformOutputHasBeenSet = false; + BatchDataCaptureConfig m_dataCaptureConfig; + bool m_dataCaptureConfigHasBeenSet = false; + TransformResources m_transformResources; bool m_transformResourcesHasBeenSet = false; @@ -958,9 +961,6 @@ namespace Model Aws::Vector m_tags; bool m_tagsHasBeenSet = false; - - BatchDataCaptureConfig m_dataCaptureConfig; - bool m_dataCaptureConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateDomainRequest.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateDomainRequest.h index dc6907eee97..a99e52f08f5 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateDomainRequest.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UpdateDomainRequest.h @@ -9,8 +9,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -149,37 +149,6 @@ namespace Model inline UpdateDomainRequest& WithDomainSettingsForUpdate(DomainSettingsForUpdate&& value) { SetDomainSettingsForUpdate(std::move(value)); return *this;} - /** - *

      The default settings used to create a space within the Domain.

      - */ - inline const DefaultSpaceSettings& GetDefaultSpaceSettings() const{ return m_defaultSpaceSettings; } - - /** - *

      The default settings used to create a space within the Domain.

      - */ - inline bool DefaultSpaceSettingsHasBeenSet() const { return m_defaultSpaceSettingsHasBeenSet; } - - /** - *

      The default settings used to create a space within the Domain.

      - */ - inline void SetDefaultSpaceSettings(const DefaultSpaceSettings& value) { m_defaultSpaceSettingsHasBeenSet = true; m_defaultSpaceSettings = value; } - - /** - *

      The default settings used to create a space within the Domain.

      - */ - inline void SetDefaultSpaceSettings(DefaultSpaceSettings&& value) { m_defaultSpaceSettingsHasBeenSet = true; m_defaultSpaceSettings = std::move(value); } - - /** - *

      The default settings used to create a space within the Domain.

      - */ - inline UpdateDomainRequest& WithDefaultSpaceSettings(const DefaultSpaceSettings& value) { SetDefaultSpaceSettings(value); return *this;} - - /** - *

      The default settings used to create a space within the Domain.

      - */ - inline UpdateDomainRequest& WithDefaultSpaceSettings(DefaultSpaceSettings&& value) { SetDefaultSpaceSettings(std::move(value)); return *this;} - - /** *

      The entity that creates and manages the required security groups for * inter-app communication in VPCOnly mode. Required when @@ -241,6 +210,37 @@ namespace Model inline UpdateDomainRequest& WithAppSecurityGroupManagement(AppSecurityGroupManagement&& value) { SetAppSecurityGroupManagement(std::move(value)); return *this;} + /** + *

      The default settings used to create a space within the Domain.

      + */ + inline const DefaultSpaceSettings& GetDefaultSpaceSettings() const{ return m_defaultSpaceSettings; } + + /** + *

      The default settings used to create a space within the Domain.

      + */ + inline bool DefaultSpaceSettingsHasBeenSet() const { return m_defaultSpaceSettingsHasBeenSet; } + + /** + *

      The default settings used to create a space within the Domain.

      + */ + inline void SetDefaultSpaceSettings(const DefaultSpaceSettings& value) { m_defaultSpaceSettingsHasBeenSet = true; m_defaultSpaceSettings = value; } + + /** + *

      The default settings used to create a space within the Domain.

      + */ + inline void SetDefaultSpaceSettings(DefaultSpaceSettings&& value) { m_defaultSpaceSettingsHasBeenSet = true; m_defaultSpaceSettings = std::move(value); } + + /** + *

      The default settings used to create a space within the Domain.

      + */ + inline UpdateDomainRequest& WithDefaultSpaceSettings(const DefaultSpaceSettings& value) { SetDefaultSpaceSettings(value); return *this;} + + /** + *

      The default settings used to create a space within the Domain.

      + */ + inline UpdateDomainRequest& WithDefaultSpaceSettings(DefaultSpaceSettings&& value) { SetDefaultSpaceSettings(std::move(value)); return *this;} + + /** *

      The VPC subnets that Studio uses for communication.

      If removing * subnets, ensure there are no apps in the InService, @@ -406,12 +406,12 @@ namespace Model DomainSettingsForUpdate m_domainSettingsForUpdate; bool m_domainSettingsForUpdateHasBeenSet = false; - DefaultSpaceSettings m_defaultSpaceSettings; - bool m_defaultSpaceSettingsHasBeenSet = false; - AppSecurityGroupManagement m_appSecurityGroupManagement; bool m_appSecurityGroupManagementHasBeenSet = false; + DefaultSpaceSettings m_defaultSpaceSettings; + bool m_defaultSpaceSettingsHasBeenSet = false; + Aws::Vector m_subnetIds; bool m_subnetIdsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UserSettings.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UserSettings.h index 212e85dbcdf..e41a96f835e 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UserSettings.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/UserSettings.h @@ -14,8 +14,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -455,65 +455,65 @@ namespace Model /** - *

      The settings for the JupyterLab application.

      + *

      The Code Editor application settings.

      */ - inline const JupyterLabAppSettings& GetJupyterLabAppSettings() const{ return m_jupyterLabAppSettings; } + inline const CodeEditorAppSettings& GetCodeEditorAppSettings() const{ return m_codeEditorAppSettings; } /** - *

      The settings for the JupyterLab application.

      + *

      The Code Editor application settings.

      */ - inline bool JupyterLabAppSettingsHasBeenSet() const { return m_jupyterLabAppSettingsHasBeenSet; } + inline bool CodeEditorAppSettingsHasBeenSet() const { return m_codeEditorAppSettingsHasBeenSet; } /** - *

      The settings for the JupyterLab application.

      + *

      The Code Editor application settings.

      */ - inline void SetJupyterLabAppSettings(const JupyterLabAppSettings& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = value; } + inline void SetCodeEditorAppSettings(const CodeEditorAppSettings& value) { m_codeEditorAppSettingsHasBeenSet = true; m_codeEditorAppSettings = value; } /** - *

      The settings for the JupyterLab application.

      + *

      The Code Editor application settings.

      */ - inline void SetJupyterLabAppSettings(JupyterLabAppSettings&& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = std::move(value); } + inline void SetCodeEditorAppSettings(CodeEditorAppSettings&& value) { m_codeEditorAppSettingsHasBeenSet = true; m_codeEditorAppSettings = std::move(value); } /** - *

      The settings for the JupyterLab application.

      + *

      The Code Editor application settings.

      */ - inline UserSettings& WithJupyterLabAppSettings(const JupyterLabAppSettings& value) { SetJupyterLabAppSettings(value); return *this;} + inline UserSettings& WithCodeEditorAppSettings(const CodeEditorAppSettings& value) { SetCodeEditorAppSettings(value); return *this;} /** - *

      The settings for the JupyterLab application.

      + *

      The Code Editor application settings.

      */ - inline UserSettings& WithJupyterLabAppSettings(JupyterLabAppSettings&& value) { SetJupyterLabAppSettings(std::move(value)); return *this;} + inline UserSettings& WithCodeEditorAppSettings(CodeEditorAppSettings&& value) { SetCodeEditorAppSettings(std::move(value)); return *this;} /** - *

      The Code Editor application settings.

      + *

      The settings for the JupyterLab application.

      */ - inline const CodeEditorAppSettings& GetCodeEditorAppSettings() const{ return m_codeEditorAppSettings; } + inline const JupyterLabAppSettings& GetJupyterLabAppSettings() const{ return m_jupyterLabAppSettings; } /** - *

      The Code Editor application settings.

      + *

      The settings for the JupyterLab application.

      */ - inline bool CodeEditorAppSettingsHasBeenSet() const { return m_codeEditorAppSettingsHasBeenSet; } + inline bool JupyterLabAppSettingsHasBeenSet() const { return m_jupyterLabAppSettingsHasBeenSet; } /** - *

      The Code Editor application settings.

      + *

      The settings for the JupyterLab application.

      */ - inline void SetCodeEditorAppSettings(const CodeEditorAppSettings& value) { m_codeEditorAppSettingsHasBeenSet = true; m_codeEditorAppSettings = value; } + inline void SetJupyterLabAppSettings(const JupyterLabAppSettings& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = value; } /** - *

      The Code Editor application settings.

      + *

      The settings for the JupyterLab application.

      */ - inline void SetCodeEditorAppSettings(CodeEditorAppSettings&& value) { m_codeEditorAppSettingsHasBeenSet = true; m_codeEditorAppSettings = std::move(value); } + inline void SetJupyterLabAppSettings(JupyterLabAppSettings&& value) { m_jupyterLabAppSettingsHasBeenSet = true; m_jupyterLabAppSettings = std::move(value); } /** - *

      The Code Editor application settings.

      + *

      The settings for the JupyterLab application.

      */ - inline UserSettings& WithCodeEditorAppSettings(const CodeEditorAppSettings& value) { SetCodeEditorAppSettings(value); return *this;} + inline UserSettings& WithJupyterLabAppSettings(const JupyterLabAppSettings& value) { SetJupyterLabAppSettings(value); return *this;} /** - *

      The Code Editor application settings.

      + *

      The settings for the JupyterLab application.

      */ - inline UserSettings& WithCodeEditorAppSettings(CodeEditorAppSettings&& value) { SetCodeEditorAppSettings(std::move(value)); return *this;} + inline UserSettings& WithJupyterLabAppSettings(JupyterLabAppSettings&& value) { SetJupyterLabAppSettings(std::move(value)); return *this;} /** @@ -779,12 +779,12 @@ namespace Model CanvasAppSettings m_canvasAppSettings; bool m_canvasAppSettingsHasBeenSet = false; - JupyterLabAppSettings m_jupyterLabAppSettings; - bool m_jupyterLabAppSettingsHasBeenSet = false; - CodeEditorAppSettings m_codeEditorAppSettings; bool m_codeEditorAppSettingsHasBeenSet = false; + JupyterLabAppSettings m_jupyterLabAppSettings; + bool m_jupyterLabAppSettingsHasBeenSet = false; + DefaultSpaceStorageSettings m_spaceStorageSettings; bool m_spaceStorageSettingsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient.cpp index ae5aef4df1f..2233fe992c3 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient.cpp @@ -35,7 +35,6 @@ #include #include #include -#include #include #include #include @@ -97,6 +96,7 @@ #include #include #include +#include #include #include #include @@ -618,32 +618,6 @@ CreatePresignedNotebookInstanceUrlOutcome SageMakerClient::CreatePresignedNotebo {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DeleteSpaceOutcome SageMakerClient::DeleteSpace(const DeleteSpaceRequest& request) const -{ - AWS_OPERATION_GUARD(DeleteSpace); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteSpace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteSpace, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteSpace, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteSpace", - {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, - smithy::components::tracing::SpanKind::CLIENT); - return TracingUtils::MakeCallWithTiming( - [&]()-> DeleteSpaceOutcome { - auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( - [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, - TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); - AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteSpace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return DeleteSpaceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - DeleteModelCardOutcome SageMakerClient::DeleteModelCard(const DeleteModelCardRequest& request) const { AWS_OPERATION_GUARD(DeleteModelCard); @@ -2230,6 +2204,32 @@ CreateNotebookInstanceLifecycleConfigOutcome SageMakerClient::CreateNotebookInst {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteCompilationJobOutcome SageMakerClient::DeleteCompilationJob(const DeleteCompilationJobRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteCompilationJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteCompilationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteCompilationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteCompilationJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteCompilationJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteCompilationJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteCompilationJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeleteCompilationJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateClusterOutcome SageMakerClient::CreateCluster(const CreateClusterRequest& request) const { AWS_OPERATION_GUARD(CreateCluster); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient1.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient1.cpp index 601b54e4cc9..1d8216c3b4b 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient1.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient1.cpp @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -89,7 +90,6 @@ #include #include #include -#include #include #include #include @@ -448,6 +448,32 @@ ListDomainsOutcome SageMakerClient::ListDomains(const ListDomainsRequest& reques {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteSpaceOutcome SageMakerClient::DeleteSpace(const DeleteSpaceRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteSpace); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteSpace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteSpace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteSpace, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteSpace", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteSpaceOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteSpace, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeleteSpaceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DescribeSubscribedWorkteamOutcome SageMakerClient::DescribeSubscribedWorkteam(const DescribeSubscribedWorkteamRequest& request) const { AWS_OPERATION_GUARD(DescribeSubscribedWorkteam); @@ -1904,32 +1930,6 @@ DescribeInferenceComponentOutcome SageMakerClient::DescribeInferenceComponent(co {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -ListEndpointConfigsOutcome SageMakerClient::ListEndpointConfigs(const ListEndpointConfigsRequest& request) const -{ - AWS_OPERATION_GUARD(ListEndpointConfigs); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListEndpointConfigs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListEndpointConfigs, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ListEndpointConfigs, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListEndpointConfigs", - {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, - smithy::components::tracing::SpanKind::CLIENT); - return TracingUtils::MakeCallWithTiming( - [&]()-> ListEndpointConfigsOutcome { - auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( - [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, - TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); - AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListEndpointConfigs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return ListEndpointConfigsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - DescribeImageOutcome SageMakerClient::DescribeImage(const DescribeImageRequest& request) const { AWS_OPERATION_GUARD(DescribeImage); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient2.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient2.cpp index f2f90565cef..9cb5dfc87ee 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient2.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient2.cpp @@ -65,7 +65,6 @@ #include #include #include -#include #include #include #include @@ -88,6 +87,7 @@ #include #include #include +#include #include #include #include @@ -1280,32 +1280,6 @@ UpdateEndpointOutcome SageMakerClient::UpdateEndpoint(const UpdateEndpointReques {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -UpdateInferenceComponentRuntimeConfigOutcome SageMakerClient::UpdateInferenceComponentRuntimeConfig(const UpdateInferenceComponentRuntimeConfigRequest& request) const -{ - AWS_OPERATION_GUARD(UpdateInferenceComponentRuntimeConfig); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateInferenceComponentRuntimeConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateInferenceComponentRuntimeConfig, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, UpdateInferenceComponentRuntimeConfig, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateInferenceComponentRuntimeConfig", - {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, - smithy::components::tracing::SpanKind::CLIENT); - return TracingUtils::MakeCallWithTiming( - [&]()-> UpdateInferenceComponentRuntimeConfigOutcome { - auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( - [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, - TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); - AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateInferenceComponentRuntimeConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return UpdateInferenceComponentRuntimeConfigOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - ListLabelingJobsOutcome SageMakerClient::ListLabelingJobs(const ListLabelingJobsRequest& request) const { AWS_OPERATION_GUARD(ListLabelingJobs); @@ -1878,6 +1852,32 @@ ListModelMetadataOutcome SageMakerClient::ListModelMetadata(const ListModelMetad {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListEndpointConfigsOutcome SageMakerClient::ListEndpointConfigs(const ListEndpointConfigsRequest& request) const +{ + AWS_OPERATION_GUARD(ListEndpointConfigs); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListEndpointConfigs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListEndpointConfigs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListEndpointConfigs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListEndpointConfigs", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListEndpointConfigsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListEndpointConfigs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ListEndpointConfigsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + RenderUiTemplateOutcome SageMakerClient::RenderUiTemplate(const RenderUiTemplateRequest& request) const { AWS_OPERATION_GUARD(RenderUiTemplate); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient3.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient3.cpp index 68e38337c22..d77112c4071 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient3.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/SageMakerClient3.cpp @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -391,6 +392,32 @@ UpdateTrainingJobOutcome SageMakerClient::UpdateTrainingJob(const UpdateTraining {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateInferenceComponentRuntimeConfigOutcome SageMakerClient::UpdateInferenceComponentRuntimeConfig(const UpdateInferenceComponentRuntimeConfigRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateInferenceComponentRuntimeConfig); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateInferenceComponentRuntimeConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateInferenceComponentRuntimeConfig, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateInferenceComponentRuntimeConfig, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateInferenceComponentRuntimeConfig", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateInferenceComponentRuntimeConfigOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateInferenceComponentRuntimeConfig, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return UpdateInferenceComponentRuntimeConfigOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateTrialComponentOutcome SageMakerClient::UpdateTrialComponent(const UpdateTrialComponentRequest& request) const { AWS_OPERATION_GUARD(UpdateTrialComponent); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/AppDetails.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/AppDetails.cpp index d46a0d3c12c..1bc358c2e97 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/AppDetails.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/AppDetails.cpp @@ -21,13 +21,13 @@ namespace Model AppDetails::AppDetails() : m_domainIdHasBeenSet(false), m_userProfileNameHasBeenSet(false), + m_spaceNameHasBeenSet(false), m_appType(AppType::NOT_SET), m_appTypeHasBeenSet(false), m_appNameHasBeenSet(false), m_status(AppStatus::NOT_SET), m_statusHasBeenSet(false), m_creationTimeHasBeenSet(false), - m_spaceNameHasBeenSet(false), m_resourceSpecHasBeenSet(false) { } @@ -35,13 +35,13 @@ AppDetails::AppDetails() : AppDetails::AppDetails(JsonView jsonValue) : m_domainIdHasBeenSet(false), m_userProfileNameHasBeenSet(false), + m_spaceNameHasBeenSet(false), m_appType(AppType::NOT_SET), m_appTypeHasBeenSet(false), m_appNameHasBeenSet(false), m_status(AppStatus::NOT_SET), m_statusHasBeenSet(false), m_creationTimeHasBeenSet(false), - m_spaceNameHasBeenSet(false), m_resourceSpecHasBeenSet(false) { *this = jsonValue; @@ -63,6 +63,13 @@ AppDetails& AppDetails::operator =(JsonView jsonValue) m_userProfileNameHasBeenSet = true; } + if(jsonValue.ValueExists("SpaceName")) + { + m_spaceName = jsonValue.GetString("SpaceName"); + + m_spaceNameHasBeenSet = true; + } + if(jsonValue.ValueExists("AppType")) { m_appType = AppTypeMapper::GetAppTypeForName(jsonValue.GetString("AppType")); @@ -91,13 +98,6 @@ AppDetails& AppDetails::operator =(JsonView jsonValue) m_creationTimeHasBeenSet = true; } - if(jsonValue.ValueExists("SpaceName")) - { - m_spaceName = jsonValue.GetString("SpaceName"); - - m_spaceNameHasBeenSet = true; - } - if(jsonValue.ValueExists("ResourceSpec")) { m_resourceSpec = jsonValue.GetObject("ResourceSpec"); @@ -124,6 +124,12 @@ JsonValue AppDetails::Jsonize() const } + if(m_spaceNameHasBeenSet) + { + payload.WithString("SpaceName", m_spaceName); + + } + if(m_appTypeHasBeenSet) { payload.WithString("AppType", AppTypeMapper::GetNameForAppType(m_appType)); @@ -145,12 +151,6 @@ JsonValue AppDetails::Jsonize() const payload.WithDouble("CreationTime", m_creationTime.SecondsWithMSPrecision()); } - if(m_spaceNameHasBeenSet) - { - payload.WithString("SpaceName", m_spaceName); - - } - if(m_resourceSpecHasBeenSet) { payload.WithObject("ResourceSpec", m_resourceSpec.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/AppType.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/AppType.cpp index e19f416ad88..e8944064aac 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/AppType.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/AppType.cpp @@ -22,11 +22,19 @@ namespace Aws static const int JupyterServer_HASH = HashingUtils::HashString("JupyterServer"); static const int KernelGateway_HASH = HashingUtils::HashString("KernelGateway"); + static const int DetailedProfiler_HASH = HashingUtils::HashString("DetailedProfiler"); static const int TensorBoard_HASH = HashingUtils::HashString("TensorBoard"); + static const int VSCode_HASH = HashingUtils::HashString("VSCode"); + static const int Savitur_HASH = HashingUtils::HashString("Savitur"); + static const int CodeEditor_HASH = HashingUtils::HashString("CodeEditor"); + static const int JupyterLab_HASH = HashingUtils::HashString("JupyterLab"); static const int RStudioServerPro_HASH = HashingUtils::HashString("RStudioServerPro"); + static const int RSession_HASH = HashingUtils::HashString("RSession"); static const int RSessionGateway_HASH = HashingUtils::HashString("RSessionGateway"); - static const int JupyterLab_HASH = HashingUtils::HashString("JupyterLab"); - static const int CodeEditor_HASH = HashingUtils::HashString("CodeEditor"); + static const int Canvas_HASH = HashingUtils::HashString("Canvas"); + static const int DatasetManager_HASH = HashingUtils::HashString("DatasetManager"); + static const int SageMakerLite_HASH = HashingUtils::HashString("SageMakerLite"); + static const int Local_HASH = HashingUtils::HashString("Local"); AppType GetAppTypeForName(const Aws::String& name) @@ -40,25 +48,57 @@ namespace Aws { return AppType::KernelGateway; } + else if (hashCode == DetailedProfiler_HASH) + { + return AppType::DetailedProfiler; + } else if (hashCode == TensorBoard_HASH) { return AppType::TensorBoard; } + else if (hashCode == VSCode_HASH) + { + return AppType::VSCode; + } + else if (hashCode == Savitur_HASH) + { + return AppType::Savitur; + } + else if (hashCode == CodeEditor_HASH) + { + return AppType::CodeEditor; + } + else if (hashCode == JupyterLab_HASH) + { + return AppType::JupyterLab; + } else if (hashCode == RStudioServerPro_HASH) { return AppType::RStudioServerPro; } + else if (hashCode == RSession_HASH) + { + return AppType::RSession; + } else if (hashCode == RSessionGateway_HASH) { return AppType::RSessionGateway; } - else if (hashCode == JupyterLab_HASH) + else if (hashCode == Canvas_HASH) { - return AppType::JupyterLab; + return AppType::Canvas; } - else if (hashCode == CodeEditor_HASH) + else if (hashCode == DatasetManager_HASH) { - return AppType::CodeEditor; + return AppType::DatasetManager; + } + else if (hashCode == SageMakerLite_HASH) + { + return AppType::SageMakerLite; + } + else if (hashCode == Local_HASH) + { + return AppType::Local; } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) @@ -80,16 +120,32 @@ namespace Aws return "JupyterServer"; case AppType::KernelGateway: return "KernelGateway"; + case AppType::DetailedProfiler: + return "DetailedProfiler"; case AppType::TensorBoard: return "TensorBoard"; + case AppType::VSCode: + return "VSCode"; + case AppType::Savitur: + return "Savitur"; + case AppType::CodeEditor: + return "CodeEditor"; + case AppType::JupyterLab: + return "JupyterLab"; case AppType::RStudioServerPro: return "RStudioServerPro"; + case AppType::RSession: + return "RSession"; case AppType::RSessionGateway: return "RSessionGateway"; - case AppType::JupyterLab: - return "JupyterLab"; - case AppType::CodeEditor: - return "CodeEditor"; + case AppType::Canvas: + return "Canvas"; + case AppType::DatasetManager: + return "DatasetManager"; + case AppType::SageMakerLite: + return "SageMakerLite"; + case AppType::Local: + return "Local"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/AssociationEdgeType.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/AssociationEdgeType.cpp index afe73332858..6797166712b 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/AssociationEdgeType.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/AssociationEdgeType.cpp @@ -24,6 +24,7 @@ namespace Aws static const int AssociatedWith_HASH = HashingUtils::HashString("AssociatedWith"); static const int DerivedFrom_HASH = HashingUtils::HashString("DerivedFrom"); static const int Produced_HASH = HashingUtils::HashString("Produced"); + static const int SameAs_HASH = HashingUtils::HashString("SameAs"); AssociationEdgeType GetAssociationEdgeTypeForName(const Aws::String& name) @@ -45,6 +46,10 @@ namespace Aws { return AssociationEdgeType::Produced; } + else if (hashCode == SameAs_HASH) + { + return AssociationEdgeType::SameAs; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -69,6 +74,8 @@ namespace Aws return "DerivedFrom"; case AssociationEdgeType::Produced: return "Produced"; + case AssociationEdgeType::SameAs: + return "SameAs"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLJobConfig.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLJobConfig.cpp index 54d86fb76e2..11ec1ebb332 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLJobConfig.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLJobConfig.cpp @@ -21,8 +21,8 @@ namespace Model AutoMLJobConfig::AutoMLJobConfig() : m_completionCriteriaHasBeenSet(false), m_securityConfigHasBeenSet(false), - m_dataSplitConfigHasBeenSet(false), m_candidateGenerationConfigHasBeenSet(false), + m_dataSplitConfigHasBeenSet(false), m_mode(AutoMLMode::NOT_SET), m_modeHasBeenSet(false) { @@ -31,8 +31,8 @@ AutoMLJobConfig::AutoMLJobConfig() : AutoMLJobConfig::AutoMLJobConfig(JsonView jsonValue) : m_completionCriteriaHasBeenSet(false), m_securityConfigHasBeenSet(false), - m_dataSplitConfigHasBeenSet(false), m_candidateGenerationConfigHasBeenSet(false), + m_dataSplitConfigHasBeenSet(false), m_mode(AutoMLMode::NOT_SET), m_modeHasBeenSet(false) { @@ -55,18 +55,18 @@ AutoMLJobConfig& AutoMLJobConfig::operator =(JsonView jsonValue) m_securityConfigHasBeenSet = true; } - if(jsonValue.ValueExists("DataSplitConfig")) + if(jsonValue.ValueExists("CandidateGenerationConfig")) { - m_dataSplitConfig = jsonValue.GetObject("DataSplitConfig"); + m_candidateGenerationConfig = jsonValue.GetObject("CandidateGenerationConfig"); - m_dataSplitConfigHasBeenSet = true; + m_candidateGenerationConfigHasBeenSet = true; } - if(jsonValue.ValueExists("CandidateGenerationConfig")) + if(jsonValue.ValueExists("DataSplitConfig")) { - m_candidateGenerationConfig = jsonValue.GetObject("CandidateGenerationConfig"); + m_dataSplitConfig = jsonValue.GetObject("DataSplitConfig"); - m_candidateGenerationConfigHasBeenSet = true; + m_dataSplitConfigHasBeenSet = true; } if(jsonValue.ValueExists("Mode")) @@ -95,15 +95,15 @@ JsonValue AutoMLJobConfig::Jsonize() const } - if(m_dataSplitConfigHasBeenSet) + if(m_candidateGenerationConfigHasBeenSet) { - payload.WithObject("DataSplitConfig", m_dataSplitConfig.Jsonize()); + payload.WithObject("CandidateGenerationConfig", m_candidateGenerationConfig.Jsonize()); } - if(m_candidateGenerationConfigHasBeenSet) + if(m_dataSplitConfigHasBeenSet) { - payload.WithObject("CandidateGenerationConfig", m_candidateGenerationConfig.Jsonize()); + payload.WithObject("DataSplitConfig", m_dataSplitConfig.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLJobSecondaryStatus.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLJobSecondaryStatus.cpp index ac4944112c2..9c481bb6d78 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLJobSecondaryStatus.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLJobSecondaryStatus.cpp @@ -21,22 +21,22 @@ namespace Aws { static const int Starting_HASH = HashingUtils::HashString("Starting"); - static const int AnalyzingData_HASH = HashingUtils::HashString("AnalyzingData"); - static const int FeatureEngineering_HASH = HashingUtils::HashString("FeatureEngineering"); - static const int ModelTuning_HASH = HashingUtils::HashString("ModelTuning"); static const int MaxCandidatesReached_HASH = HashingUtils::HashString("MaxCandidatesReached"); static const int Failed_HASH = HashingUtils::HashString("Failed"); static const int Stopped_HASH = HashingUtils::HashString("Stopped"); static const int MaxAutoMLJobRuntimeReached_HASH = HashingUtils::HashString("MaxAutoMLJobRuntimeReached"); static const int Stopping_HASH = HashingUtils::HashString("Stopping"); static const int CandidateDefinitionsGenerated_HASH = HashingUtils::HashString("CandidateDefinitionsGenerated"); - static const int GeneratingExplainabilityReport_HASH = HashingUtils::HashString("GeneratingExplainabilityReport"); static const int Completed_HASH = HashingUtils::HashString("Completed"); static const int ExplainabilityError_HASH = HashingUtils::HashString("ExplainabilityError"); static const int DeployingModel_HASH = HashingUtils::HashString("DeployingModel"); static const int ModelDeploymentError_HASH = HashingUtils::HashString("ModelDeploymentError"); static const int GeneratingModelInsightsReport_HASH = HashingUtils::HashString("GeneratingModelInsightsReport"); static const int ModelInsightsError_HASH = HashingUtils::HashString("ModelInsightsError"); + static const int AnalyzingData_HASH = HashingUtils::HashString("AnalyzingData"); + static const int FeatureEngineering_HASH = HashingUtils::HashString("FeatureEngineering"); + static const int ModelTuning_HASH = HashingUtils::HashString("ModelTuning"); + static const int GeneratingExplainabilityReport_HASH = HashingUtils::HashString("GeneratingExplainabilityReport"); static const int TrainingModels_HASH = HashingUtils::HashString("TrainingModels"); static const int PreTraining_HASH = HashingUtils::HashString("PreTraining"); @@ -48,18 +48,6 @@ namespace Aws { return AutoMLJobSecondaryStatus::Starting; } - else if (hashCode == AnalyzingData_HASH) - { - return AutoMLJobSecondaryStatus::AnalyzingData; - } - else if (hashCode == FeatureEngineering_HASH) - { - return AutoMLJobSecondaryStatus::FeatureEngineering; - } - else if (hashCode == ModelTuning_HASH) - { - return AutoMLJobSecondaryStatus::ModelTuning; - } else if (hashCode == MaxCandidatesReached_HASH) { return AutoMLJobSecondaryStatus::MaxCandidatesReached; @@ -84,10 +72,6 @@ namespace Aws { return AutoMLJobSecondaryStatus::CandidateDefinitionsGenerated; } - else if (hashCode == GeneratingExplainabilityReport_HASH) - { - return AutoMLJobSecondaryStatus::GeneratingExplainabilityReport; - } else if (hashCode == Completed_HASH) { return AutoMLJobSecondaryStatus::Completed; @@ -112,6 +96,22 @@ namespace Aws { return AutoMLJobSecondaryStatus::ModelInsightsError; } + else if (hashCode == AnalyzingData_HASH) + { + return AutoMLJobSecondaryStatus::AnalyzingData; + } + else if (hashCode == FeatureEngineering_HASH) + { + return AutoMLJobSecondaryStatus::FeatureEngineering; + } + else if (hashCode == ModelTuning_HASH) + { + return AutoMLJobSecondaryStatus::ModelTuning; + } + else if (hashCode == GeneratingExplainabilityReport_HASH) + { + return AutoMLJobSecondaryStatus::GeneratingExplainabilityReport; + } else if (hashCode == TrainingModels_HASH) { return AutoMLJobSecondaryStatus::TrainingModels; @@ -138,12 +138,6 @@ namespace Aws return {}; case AutoMLJobSecondaryStatus::Starting: return "Starting"; - case AutoMLJobSecondaryStatus::AnalyzingData: - return "AnalyzingData"; - case AutoMLJobSecondaryStatus::FeatureEngineering: - return "FeatureEngineering"; - case AutoMLJobSecondaryStatus::ModelTuning: - return "ModelTuning"; case AutoMLJobSecondaryStatus::MaxCandidatesReached: return "MaxCandidatesReached"; case AutoMLJobSecondaryStatus::Failed: @@ -156,8 +150,6 @@ namespace Aws return "Stopping"; case AutoMLJobSecondaryStatus::CandidateDefinitionsGenerated: return "CandidateDefinitionsGenerated"; - case AutoMLJobSecondaryStatus::GeneratingExplainabilityReport: - return "GeneratingExplainabilityReport"; case AutoMLJobSecondaryStatus::Completed: return "Completed"; case AutoMLJobSecondaryStatus::ExplainabilityError: @@ -170,6 +162,14 @@ namespace Aws return "GeneratingModelInsightsReport"; case AutoMLJobSecondaryStatus::ModelInsightsError: return "ModelInsightsError"; + case AutoMLJobSecondaryStatus::AnalyzingData: + return "AnalyzingData"; + case AutoMLJobSecondaryStatus::FeatureEngineering: + return "FeatureEngineering"; + case AutoMLJobSecondaryStatus::ModelTuning: + return "ModelTuning"; + case AutoMLJobSecondaryStatus::GeneratingExplainabilityReport: + return "GeneratingExplainabilityReport"; case AutoMLJobSecondaryStatus::TrainingModels: return "TrainingModels"; case AutoMLJobSecondaryStatus::PreTraining: diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLMetricEnum.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLMetricEnum.cpp index 0e78f161c08..534ccde8b99 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLMetricEnum.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLMetricEnum.cpp @@ -26,13 +26,13 @@ namespace Aws static const int F1macro_HASH = HashingUtils::HashString("F1macro"); static const int AUC_HASH = HashingUtils::HashString("AUC"); static const int RMSE_HASH = HashingUtils::HashString("RMSE"); - static const int MAE_HASH = HashingUtils::HashString("MAE"); - static const int R2_HASH = HashingUtils::HashString("R2"); static const int BalancedAccuracy_HASH = HashingUtils::HashString("BalancedAccuracy"); - static const int Precision_HASH = HashingUtils::HashString("Precision"); - static const int PrecisionMacro_HASH = HashingUtils::HashString("PrecisionMacro"); + static const int R2_HASH = HashingUtils::HashString("R2"); static const int Recall_HASH = HashingUtils::HashString("Recall"); static const int RecallMacro_HASH = HashingUtils::HashString("RecallMacro"); + static const int Precision_HASH = HashingUtils::HashString("Precision"); + static const int PrecisionMacro_HASH = HashingUtils::HashString("PrecisionMacro"); + static const int MAE_HASH = HashingUtils::HashString("MAE"); static const int MAPE_HASH = HashingUtils::HashString("MAPE"); static const int MASE_HASH = HashingUtils::HashString("MASE"); static const int WAPE_HASH = HashingUtils::HashString("WAPE"); @@ -66,17 +66,21 @@ namespace Aws { return AutoMLMetricEnum::RMSE; } - else if (hashCode == MAE_HASH) + else if (hashCode == BalancedAccuracy_HASH) { - return AutoMLMetricEnum::MAE; + return AutoMLMetricEnum::BalancedAccuracy; } else if (hashCode == R2_HASH) { return AutoMLMetricEnum::R2; } - else if (hashCode == BalancedAccuracy_HASH) + else if (hashCode == Recall_HASH) { - return AutoMLMetricEnum::BalancedAccuracy; + return AutoMLMetricEnum::Recall; + } + else if (hashCode == RecallMacro_HASH) + { + return AutoMLMetricEnum::RecallMacro; } else if (hashCode == Precision_HASH) { @@ -86,13 +90,9 @@ namespace Aws { return AutoMLMetricEnum::PrecisionMacro; } - else if (hashCode == Recall_HASH) - { - return AutoMLMetricEnum::Recall; - } - else if (hashCode == RecallMacro_HASH) + else if (hashCode == MAE_HASH) { - return AutoMLMetricEnum::RecallMacro; + return AutoMLMetricEnum::MAE; } else if (hashCode == MAPE_HASH) { @@ -138,20 +138,20 @@ namespace Aws return "AUC"; case AutoMLMetricEnum::RMSE: return "RMSE"; - case AutoMLMetricEnum::MAE: - return "MAE"; - case AutoMLMetricEnum::R2: - return "R2"; case AutoMLMetricEnum::BalancedAccuracy: return "BalancedAccuracy"; - case AutoMLMetricEnum::Precision: - return "Precision"; - case AutoMLMetricEnum::PrecisionMacro: - return "PrecisionMacro"; + case AutoMLMetricEnum::R2: + return "R2"; case AutoMLMetricEnum::Recall: return "Recall"; case AutoMLMetricEnum::RecallMacro: return "RecallMacro"; + case AutoMLMetricEnum::Precision: + return "Precision"; + case AutoMLMetricEnum::PrecisionMacro: + return "PrecisionMacro"; + case AutoMLMetricEnum::MAE: + return "MAE"; case AutoMLMetricEnum::MAPE: return "MAPE"; case AutoMLMetricEnum::MASE: diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLProblemTypeConfig.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLProblemTypeConfig.cpp index d6aa9eaab69..f55572fcc63 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLProblemTypeConfig.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLProblemTypeConfig.cpp @@ -21,8 +21,8 @@ namespace Model AutoMLProblemTypeConfig::AutoMLProblemTypeConfig() : m_imageClassificationJobConfigHasBeenSet(false), m_textClassificationJobConfigHasBeenSet(false), - m_tabularJobConfigHasBeenSet(false), m_timeSeriesForecastingJobConfigHasBeenSet(false), + m_tabularJobConfigHasBeenSet(false), m_textGenerationJobConfigHasBeenSet(false) { } @@ -30,8 +30,8 @@ AutoMLProblemTypeConfig::AutoMLProblemTypeConfig() : AutoMLProblemTypeConfig::AutoMLProblemTypeConfig(JsonView jsonValue) : m_imageClassificationJobConfigHasBeenSet(false), m_textClassificationJobConfigHasBeenSet(false), - m_tabularJobConfigHasBeenSet(false), m_timeSeriesForecastingJobConfigHasBeenSet(false), + m_tabularJobConfigHasBeenSet(false), m_textGenerationJobConfigHasBeenSet(false) { *this = jsonValue; @@ -53,18 +53,18 @@ AutoMLProblemTypeConfig& AutoMLProblemTypeConfig::operator =(JsonView jsonValue) m_textClassificationJobConfigHasBeenSet = true; } - if(jsonValue.ValueExists("TabularJobConfig")) + if(jsonValue.ValueExists("TimeSeriesForecastingJobConfig")) { - m_tabularJobConfig = jsonValue.GetObject("TabularJobConfig"); + m_timeSeriesForecastingJobConfig = jsonValue.GetObject("TimeSeriesForecastingJobConfig"); - m_tabularJobConfigHasBeenSet = true; + m_timeSeriesForecastingJobConfigHasBeenSet = true; } - if(jsonValue.ValueExists("TimeSeriesForecastingJobConfig")) + if(jsonValue.ValueExists("TabularJobConfig")) { - m_timeSeriesForecastingJobConfig = jsonValue.GetObject("TimeSeriesForecastingJobConfig"); + m_tabularJobConfig = jsonValue.GetObject("TabularJobConfig"); - m_timeSeriesForecastingJobConfigHasBeenSet = true; + m_tabularJobConfigHasBeenSet = true; } if(jsonValue.ValueExists("TextGenerationJobConfig")) @@ -93,15 +93,15 @@ JsonValue AutoMLProblemTypeConfig::Jsonize() const } - if(m_tabularJobConfigHasBeenSet) + if(m_timeSeriesForecastingJobConfigHasBeenSet) { - payload.WithObject("TabularJobConfig", m_tabularJobConfig.Jsonize()); + payload.WithObject("TimeSeriesForecastingJobConfig", m_timeSeriesForecastingJobConfig.Jsonize()); } - if(m_timeSeriesForecastingJobConfigHasBeenSet) + if(m_tabularJobConfigHasBeenSet) { - payload.WithObject("TimeSeriesForecastingJobConfig", m_timeSeriesForecastingJobConfig.Jsonize()); + payload.WithObject("TabularJobConfig", m_tabularJobConfig.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLProblemTypeConfigName.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLProblemTypeConfigName.cpp index 77292d161c2..bdd95d22bc0 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLProblemTypeConfigName.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/AutoMLProblemTypeConfigName.cpp @@ -22,8 +22,8 @@ namespace Aws static const int ImageClassification_HASH = HashingUtils::HashString("ImageClassification"); static const int TextClassification_HASH = HashingUtils::HashString("TextClassification"); - static const int Tabular_HASH = HashingUtils::HashString("Tabular"); static const int TimeSeriesForecasting_HASH = HashingUtils::HashString("TimeSeriesForecasting"); + static const int Tabular_HASH = HashingUtils::HashString("Tabular"); static const int TextGeneration_HASH = HashingUtils::HashString("TextGeneration"); @@ -38,14 +38,14 @@ namespace Aws { return AutoMLProblemTypeConfigName::TextClassification; } - else if (hashCode == Tabular_HASH) - { - return AutoMLProblemTypeConfigName::Tabular; - } else if (hashCode == TimeSeriesForecasting_HASH) { return AutoMLProblemTypeConfigName::TimeSeriesForecasting; } + else if (hashCode == Tabular_HASH) + { + return AutoMLProblemTypeConfigName::Tabular; + } else if (hashCode == TextGeneration_HASH) { return AutoMLProblemTypeConfigName::TextGeneration; @@ -70,10 +70,10 @@ namespace Aws return "ImageClassification"; case AutoMLProblemTypeConfigName::TextClassification: return "TextClassification"; - case AutoMLProblemTypeConfigName::Tabular: - return "Tabular"; case AutoMLProblemTypeConfigName::TimeSeriesForecasting: return "TimeSeriesForecasting"; + case AutoMLProblemTypeConfigName::Tabular: + return "Tabular"; case AutoMLProblemTypeConfigName::TextGeneration: return "TextGeneration"; default: diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/AwsManagedHumanLoopRequestSource.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/AwsManagedHumanLoopRequestSource.cpp index 61eba743541..f7c9d7186c7 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/AwsManagedHumanLoopRequestSource.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/AwsManagedHumanLoopRequestSource.cpp @@ -22,6 +22,9 @@ namespace Aws static const int AWS_Rekognition_DetectModerationLabels_Image_V3_HASH = HashingUtils::HashString("AWS/Rekognition/DetectModerationLabels/Image/V3"); static const int AWS_Textract_AnalyzeDocument_Forms_V1_HASH = HashingUtils::HashString("AWS/Textract/AnalyzeDocument/Forms/V1"); + static const int AWS_Textract_AnalyzeExpense_HASH = HashingUtils::HashString("AWS/Textract/AnalyzeExpense"); + static const int AWS_Handshake_VerifyIdentity_HASH = HashingUtils::HashString("AWS/Handshake/VerifyIdentity"); + static const int AWS_Bedrock_ModelEvaluation_HASH = HashingUtils::HashString("AWS/Bedrock/ModelEvaluation"); AwsManagedHumanLoopRequestSource GetAwsManagedHumanLoopRequestSourceForName(const Aws::String& name) @@ -35,6 +38,18 @@ namespace Aws { return AwsManagedHumanLoopRequestSource::AWS_Textract_AnalyzeDocument_Forms_V1; } + else if (hashCode == AWS_Textract_AnalyzeExpense_HASH) + { + return AwsManagedHumanLoopRequestSource::AWS_Textract_AnalyzeExpense; + } + else if (hashCode == AWS_Handshake_VerifyIdentity_HASH) + { + return AwsManagedHumanLoopRequestSource::AWS_Handshake_VerifyIdentity; + } + else if (hashCode == AWS_Bedrock_ModelEvaluation_HASH) + { + return AwsManagedHumanLoopRequestSource::AWS_Bedrock_ModelEvaluation; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -55,6 +70,12 @@ namespace Aws return "AWS/Rekognition/DetectModerationLabels/Image/V3"; case AwsManagedHumanLoopRequestSource::AWS_Textract_AnalyzeDocument_Forms_V1: return "AWS/Textract/AnalyzeDocument/Forms/V1"; + case AwsManagedHumanLoopRequestSource::AWS_Textract_AnalyzeExpense: + return "AWS/Textract/AnalyzeExpense"; + case AwsManagedHumanLoopRequestSource::AWS_Handshake_VerifyIdentity: + return "AWS/Handshake/VerifyIdentity"; + case AwsManagedHumanLoopRequestSource::AWS_Bedrock_ModelEvaluation: + return "AWS/Bedrock/ModelEvaluation"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/CanvasAppSettings.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/CanvasAppSettings.cpp index f58a6b8c492..99fa3a169f5 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/CanvasAppSettings.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/CanvasAppSettings.cpp @@ -23,8 +23,8 @@ CanvasAppSettings::CanvasAppSettings() : m_modelRegisterSettingsHasBeenSet(false), m_workspaceSettingsHasBeenSet(false), m_identityProviderOAuthSettingsHasBeenSet(false), - m_kendraSettingsHasBeenSet(false), - m_directDeploySettingsHasBeenSet(false) + m_directDeploySettingsHasBeenSet(false), + m_kendraSettingsHasBeenSet(false) { } @@ -33,8 +33,8 @@ CanvasAppSettings::CanvasAppSettings(JsonView jsonValue) : m_modelRegisterSettingsHasBeenSet(false), m_workspaceSettingsHasBeenSet(false), m_identityProviderOAuthSettingsHasBeenSet(false), - m_kendraSettingsHasBeenSet(false), - m_directDeploySettingsHasBeenSet(false) + m_directDeploySettingsHasBeenSet(false), + m_kendraSettingsHasBeenSet(false) { *this = jsonValue; } @@ -72,18 +72,18 @@ CanvasAppSettings& CanvasAppSettings::operator =(JsonView jsonValue) m_identityProviderOAuthSettingsHasBeenSet = true; } - if(jsonValue.ValueExists("KendraSettings")) + if(jsonValue.ValueExists("DirectDeploySettings")) { - m_kendraSettings = jsonValue.GetObject("KendraSettings"); + m_directDeploySettings = jsonValue.GetObject("DirectDeploySettings"); - m_kendraSettingsHasBeenSet = true; + m_directDeploySettingsHasBeenSet = true; } - if(jsonValue.ValueExists("DirectDeploySettings")) + if(jsonValue.ValueExists("KendraSettings")) { - m_directDeploySettings = jsonValue.GetObject("DirectDeploySettings"); + m_kendraSettings = jsonValue.GetObject("KendraSettings"); - m_directDeploySettingsHasBeenSet = true; + m_kendraSettingsHasBeenSet = true; } return *this; @@ -122,15 +122,15 @@ JsonValue CanvasAppSettings::Jsonize() const } - if(m_kendraSettingsHasBeenSet) + if(m_directDeploySettingsHasBeenSet) { - payload.WithObject("KendraSettings", m_kendraSettings.Jsonize()); + payload.WithObject("DirectDeploySettings", m_directDeploySettings.Jsonize()); } - if(m_directDeploySettingsHasBeenSet) + if(m_kendraSettingsHasBeenSet) { - payload.WithObject("DirectDeploySettings", m_directDeploySettings.Jsonize()); + payload.WithObject("KendraSettings", m_kendraSettings.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/CaptureMode.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/CaptureMode.cpp index 1a5b43156ff..36b4d8678ef 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/CaptureMode.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/CaptureMode.cpp @@ -22,6 +22,7 @@ namespace Aws static const int Input_HASH = HashingUtils::HashString("Input"); static const int Output_HASH = HashingUtils::HashString("Output"); + static const int InputAndOutput_HASH = HashingUtils::HashString("InputAndOutput"); CaptureMode GetCaptureModeForName(const Aws::String& name) @@ -35,6 +36,10 @@ namespace Aws { return CaptureMode::Output; } + else if (hashCode == InputAndOutput_HASH) + { + return CaptureMode::InputAndOutput; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -55,6 +60,8 @@ namespace Aws return "Input"; case CaptureMode::Output: return "Output"; + case CaptureMode::InputAndOutput: + return "InputAndOutput"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ContainerDefinition.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ContainerDefinition.cpp index 58a0f5d8c3b..3e832b1c5ac 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/ContainerDefinition.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ContainerDefinition.cpp @@ -25,11 +25,11 @@ ContainerDefinition::ContainerDefinition() : m_mode(ContainerMode::NOT_SET), m_modeHasBeenSet(false), m_modelDataUrlHasBeenSet(false), + m_modelDataSourceHasBeenSet(false), m_environmentHasBeenSet(false), m_modelPackageNameHasBeenSet(false), m_inferenceSpecificationNameHasBeenSet(false), - m_multiModelConfigHasBeenSet(false), - m_modelDataSourceHasBeenSet(false) + m_multiModelConfigHasBeenSet(false) { } @@ -40,11 +40,11 @@ ContainerDefinition::ContainerDefinition(JsonView jsonValue) : m_mode(ContainerMode::NOT_SET), m_modeHasBeenSet(false), m_modelDataUrlHasBeenSet(false), + m_modelDataSourceHasBeenSet(false), m_environmentHasBeenSet(false), m_modelPackageNameHasBeenSet(false), m_inferenceSpecificationNameHasBeenSet(false), - m_multiModelConfigHasBeenSet(false), - m_modelDataSourceHasBeenSet(false) + m_multiModelConfigHasBeenSet(false) { *this = jsonValue; } @@ -86,6 +86,13 @@ ContainerDefinition& ContainerDefinition::operator =(JsonView jsonValue) m_modelDataUrlHasBeenSet = true; } + if(jsonValue.ValueExists("ModelDataSource")) + { + m_modelDataSource = jsonValue.GetObject("ModelDataSource"); + + m_modelDataSourceHasBeenSet = true; + } + if(jsonValue.ValueExists("Environment")) { Aws::Map environmentJsonMap = jsonValue.GetObject("Environment").GetAllObjects(); @@ -117,13 +124,6 @@ ContainerDefinition& ContainerDefinition::operator =(JsonView jsonValue) m_multiModelConfigHasBeenSet = true; } - if(jsonValue.ValueExists("ModelDataSource")) - { - m_modelDataSource = jsonValue.GetObject("ModelDataSource"); - - m_modelDataSourceHasBeenSet = true; - } - return *this; } @@ -160,6 +160,12 @@ JsonValue ContainerDefinition::Jsonize() const } + if(m_modelDataSourceHasBeenSet) + { + payload.WithObject("ModelDataSource", m_modelDataSource.Jsonize()); + + } + if(m_environmentHasBeenSet) { JsonValue environmentJsonMap; @@ -189,12 +195,6 @@ JsonValue ContainerDefinition::Jsonize() const } - if(m_modelDataSourceHasBeenSet) - { - payload.WithObject("ModelDataSource", m_modelDataSource.Jsonize()); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateAppRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateAppRequest.cpp index 88c9723d344..251785ef4f7 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateAppRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateAppRequest.cpp @@ -15,12 +15,12 @@ using namespace Aws::Utils; CreateAppRequest::CreateAppRequest() : m_domainIdHasBeenSet(false), m_userProfileNameHasBeenSet(false), + m_spaceNameHasBeenSet(false), m_appType(AppType::NOT_SET), m_appTypeHasBeenSet(false), m_appNameHasBeenSet(false), m_tagsHasBeenSet(false), - m_resourceSpecHasBeenSet(false), - m_spaceNameHasBeenSet(false) + m_resourceSpecHasBeenSet(false) { } @@ -40,6 +40,12 @@ Aws::String CreateAppRequest::SerializePayload() const } + if(m_spaceNameHasBeenSet) + { + payload.WithString("SpaceName", m_spaceName); + + } + if(m_appTypeHasBeenSet) { payload.WithString("AppType", AppTypeMapper::GetNameForAppType(m_appType)); @@ -68,12 +74,6 @@ Aws::String CreateAppRequest::SerializePayload() const } - if(m_spaceNameHasBeenSet) - { - payload.WithString("SpaceName", m_spaceName); - - } - return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateDomainRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateDomainRequest.cpp index cf989e0db7d..abd6757edc6 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateDomainRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateDomainRequest.cpp @@ -17,6 +17,7 @@ CreateDomainRequest::CreateDomainRequest() : m_authMode(AuthMode::NOT_SET), m_authModeHasBeenSet(false), m_defaultUserSettingsHasBeenSet(false), + m_domainSettingsHasBeenSet(false), m_subnetIdsHasBeenSet(false), m_vpcIdHasBeenSet(false), m_tagsHasBeenSet(false), @@ -25,7 +26,6 @@ CreateDomainRequest::CreateDomainRequest() : m_kmsKeyIdHasBeenSet(false), m_appSecurityGroupManagement(AppSecurityGroupManagement::NOT_SET), m_appSecurityGroupManagementHasBeenSet(false), - m_domainSettingsHasBeenSet(false), m_defaultSpaceSettingsHasBeenSet(false) { } @@ -51,6 +51,12 @@ Aws::String CreateDomainRequest::SerializePayload() const } + if(m_domainSettingsHasBeenSet) + { + payload.WithObject("DomainSettings", m_domainSettings.Jsonize()); + + } + if(m_subnetIdsHasBeenSet) { Aws::Utils::Array subnetIdsJsonList(m_subnetIds.size()); @@ -95,12 +101,6 @@ Aws::String CreateDomainRequest::SerializePayload() const payload.WithString("AppSecurityGroupManagement", AppSecurityGroupManagementMapper::GetNameForAppSecurityGroupManagement(m_appSecurityGroupManagement)); } - if(m_domainSettingsHasBeenSet) - { - payload.WithObject("DomainSettings", m_domainSettings.Jsonize()); - - } - if(m_defaultSpaceSettingsHasBeenSet) { payload.WithObject("DefaultSpaceSettings", m_defaultSpaceSettings.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateModelPackageRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateModelPackageRequest.cpp index c224b4ed90f..fd0e1ad8d30 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateModelPackageRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateModelPackageRequest.cpp @@ -28,11 +28,11 @@ CreateModelPackageRequest::CreateModelPackageRequest() : m_modelMetricsHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), - m_customerMetadataPropertiesHasBeenSet(false), - m_driftCheckBaselinesHasBeenSet(false), m_domainHasBeenSet(false), m_taskHasBeenSet(false), m_samplePayloadUrlHasBeenSet(false), + m_customerMetadataPropertiesHasBeenSet(false), + m_driftCheckBaselinesHasBeenSet(false), m_additionalInferenceSpecificationsHasBeenSet(false), m_skipModelValidation(SkipModelValidation::NOT_SET), m_skipModelValidationHasBeenSet(false) @@ -119,38 +119,38 @@ Aws::String CreateModelPackageRequest::SerializePayload() const } - if(m_customerMetadataPropertiesHasBeenSet) + if(m_domainHasBeenSet) { - JsonValue customerMetadataPropertiesJsonMap; - for(auto& customerMetadataPropertiesItem : m_customerMetadataProperties) - { - customerMetadataPropertiesJsonMap.WithString(customerMetadataPropertiesItem.first, customerMetadataPropertiesItem.second); - } - payload.WithObject("CustomerMetadataProperties", std::move(customerMetadataPropertiesJsonMap)); + payload.WithString("Domain", m_domain); } - if(m_driftCheckBaselinesHasBeenSet) + if(m_taskHasBeenSet) { - payload.WithObject("DriftCheckBaselines", m_driftCheckBaselines.Jsonize()); + payload.WithString("Task", m_task); } - if(m_domainHasBeenSet) + if(m_samplePayloadUrlHasBeenSet) { - payload.WithString("Domain", m_domain); + payload.WithString("SamplePayloadUrl", m_samplePayloadUrl); } - if(m_taskHasBeenSet) + if(m_customerMetadataPropertiesHasBeenSet) { - payload.WithString("Task", m_task); + JsonValue customerMetadataPropertiesJsonMap; + for(auto& customerMetadataPropertiesItem : m_customerMetadataProperties) + { + customerMetadataPropertiesJsonMap.WithString(customerMetadataPropertiesItem.first, customerMetadataPropertiesItem.second); + } + payload.WithObject("CustomerMetadataProperties", std::move(customerMetadataPropertiesJsonMap)); } - if(m_samplePayloadUrlHasBeenSet) + if(m_driftCheckBaselinesHasBeenSet) { - payload.WithString("SamplePayloadUrl", m_samplePayloadUrl); + payload.WithObject("DriftCheckBaselines", m_driftCheckBaselines.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateSpaceRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateSpaceRequest.cpp index 64832d63c42..f9c917bc6da 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateSpaceRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/CreateSpaceRequest.cpp @@ -17,9 +17,9 @@ CreateSpaceRequest::CreateSpaceRequest() : m_spaceNameHasBeenSet(false), m_tagsHasBeenSet(false), m_spaceSettingsHasBeenSet(false), - m_spaceDisplayNameHasBeenSet(false), m_ownershipSettingsHasBeenSet(false), - m_spaceSharingSettingsHasBeenSet(false) + m_spaceSharingSettingsHasBeenSet(false), + m_spaceDisplayNameHasBeenSet(false) { } @@ -56,12 +56,6 @@ Aws::String CreateSpaceRequest::SerializePayload() const } - if(m_spaceDisplayNameHasBeenSet) - { - payload.WithString("SpaceDisplayName", m_spaceDisplayName); - - } - if(m_ownershipSettingsHasBeenSet) { payload.WithObject("OwnershipSettings", m_ownershipSettings.Jsonize()); @@ -74,6 +68,12 @@ Aws::String CreateSpaceRequest::SerializePayload() const } + if(m_spaceDisplayNameHasBeenSet) + { + payload.WithString("SpaceDisplayName", m_spaceDisplayName); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DeleteAppRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DeleteAppRequest.cpp index 74de170f7a3..7e0433c7720 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DeleteAppRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DeleteAppRequest.cpp @@ -15,10 +15,10 @@ using namespace Aws::Utils; DeleteAppRequest::DeleteAppRequest() : m_domainIdHasBeenSet(false), m_userProfileNameHasBeenSet(false), + m_spaceNameHasBeenSet(false), m_appType(AppType::NOT_SET), m_appTypeHasBeenSet(false), - m_appNameHasBeenSet(false), - m_spaceNameHasBeenSet(false) + m_appNameHasBeenSet(false) { } @@ -38,6 +38,12 @@ Aws::String DeleteAppRequest::SerializePayload() const } + if(m_spaceNameHasBeenSet) + { + payload.WithString("SpaceName", m_spaceName); + + } + if(m_appTypeHasBeenSet) { payload.WithString("AppType", AppTypeMapper::GetNameForAppType(m_appType)); @@ -49,12 +55,6 @@ Aws::String DeleteAppRequest::SerializePayload() const } - if(m_spaceNameHasBeenSet) - { - payload.WithString("SpaceName", m_spaceName); - - } - return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DeleteCompilationJobRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DeleteCompilationJobRequest.cpp new file mode 100644 index 00000000000..9ec12023466 --- /dev/null +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DeleteCompilationJobRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::SageMaker::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteCompilationJobRequest::DeleteCompilationJobRequest() : + m_compilationJobNameHasBeenSet(false) +{ +} + +Aws::String DeleteCompilationJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_compilationJobNameHasBeenSet) + { + payload.WithString("CompilationJobName", m_compilationJobName); + + } + + return payload.View().WriteReadable(); +} + +Aws::Http::HeaderValueCollection DeleteCompilationJobRequest::GetRequestSpecificHeaders() const +{ + Aws::Http::HeaderValueCollection headers; + headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "SageMaker.DeleteCompilationJob")); + return headers; + +} + + + + diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DeploymentConfig.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DeploymentConfig.cpp index 14c020239f1..64b6bfdd272 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DeploymentConfig.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DeploymentConfig.cpp @@ -20,15 +20,15 @@ namespace Model DeploymentConfig::DeploymentConfig() : m_blueGreenUpdatePolicyHasBeenSet(false), - m_autoRollbackConfigurationHasBeenSet(false), - m_rollingUpdatePolicyHasBeenSet(false) + m_rollingUpdatePolicyHasBeenSet(false), + m_autoRollbackConfigurationHasBeenSet(false) { } DeploymentConfig::DeploymentConfig(JsonView jsonValue) : m_blueGreenUpdatePolicyHasBeenSet(false), - m_autoRollbackConfigurationHasBeenSet(false), - m_rollingUpdatePolicyHasBeenSet(false) + m_rollingUpdatePolicyHasBeenSet(false), + m_autoRollbackConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -42,18 +42,18 @@ DeploymentConfig& DeploymentConfig::operator =(JsonView jsonValue) m_blueGreenUpdatePolicyHasBeenSet = true; } - if(jsonValue.ValueExists("AutoRollbackConfiguration")) + if(jsonValue.ValueExists("RollingUpdatePolicy")) { - m_autoRollbackConfiguration = jsonValue.GetObject("AutoRollbackConfiguration"); + m_rollingUpdatePolicy = jsonValue.GetObject("RollingUpdatePolicy"); - m_autoRollbackConfigurationHasBeenSet = true; + m_rollingUpdatePolicyHasBeenSet = true; } - if(jsonValue.ValueExists("RollingUpdatePolicy")) + if(jsonValue.ValueExists("AutoRollbackConfiguration")) { - m_rollingUpdatePolicy = jsonValue.GetObject("RollingUpdatePolicy"); + m_autoRollbackConfiguration = jsonValue.GetObject("AutoRollbackConfiguration"); - m_rollingUpdatePolicyHasBeenSet = true; + m_autoRollbackConfigurationHasBeenSet = true; } return *this; @@ -69,15 +69,15 @@ JsonValue DeploymentConfig::Jsonize() const } - if(m_autoRollbackConfigurationHasBeenSet) + if(m_rollingUpdatePolicyHasBeenSet) { - payload.WithObject("AutoRollbackConfiguration", m_autoRollbackConfiguration.Jsonize()); + payload.WithObject("RollingUpdatePolicy", m_rollingUpdatePolicy.Jsonize()); } - if(m_rollingUpdatePolicyHasBeenSet) + if(m_autoRollbackConfigurationHasBeenSet) { - payload.WithObject("RollingUpdatePolicy", m_rollingUpdatePolicy.Jsonize()); + payload.WithObject("AutoRollbackConfiguration", m_autoRollbackConfiguration.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAppRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAppRequest.cpp index 92c70da8e92..169f1a49343 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAppRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAppRequest.cpp @@ -15,10 +15,10 @@ using namespace Aws::Utils; DescribeAppRequest::DescribeAppRequest() : m_domainIdHasBeenSet(false), m_userProfileNameHasBeenSet(false), + m_spaceNameHasBeenSet(false), m_appType(AppType::NOT_SET), m_appTypeHasBeenSet(false), - m_appNameHasBeenSet(false), - m_spaceNameHasBeenSet(false) + m_appNameHasBeenSet(false) { } @@ -38,6 +38,12 @@ Aws::String DescribeAppRequest::SerializePayload() const } + if(m_spaceNameHasBeenSet) + { + payload.WithString("SpaceName", m_spaceName); + + } + if(m_appTypeHasBeenSet) { payload.WithString("AppType", AppTypeMapper::GetNameForAppType(m_appType)); @@ -49,12 +55,6 @@ Aws::String DescribeAppRequest::SerializePayload() const } - if(m_spaceNameHasBeenSet) - { - payload.WithString("SpaceName", m_spaceName); - - } - return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAppResult.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAppResult.cpp index 2e056f8544f..af3b4c27e8f 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAppResult.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAppResult.cpp @@ -63,6 +63,12 @@ DescribeAppResult& DescribeAppResult::operator =(const Aws::AmazonWebServiceResu } + if(jsonValue.ValueExists("SpaceName")) + { + m_spaceName = jsonValue.GetString("SpaceName"); + + } + if(jsonValue.ValueExists("Status")) { m_status = AppStatusMapper::GetAppStatusForName(jsonValue.GetString("Status")); @@ -99,12 +105,6 @@ DescribeAppResult& DescribeAppResult::operator =(const Aws::AmazonWebServiceResu } - if(jsonValue.ValueExists("SpaceName")) - { - m_spaceName = jsonValue.GetString("SpaceName"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAutoMLJobV2Result.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAutoMLJobV2Result.cpp index a2c0c2f966c..a4118267e14 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAutoMLJobV2Result.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeAutoMLJobV2Result.cpp @@ -18,16 +18,16 @@ using namespace Aws::Utils; using namespace Aws; DescribeAutoMLJobV2Result::DescribeAutoMLJobV2Result() : + m_autoMLProblemTypeConfigName(AutoMLProblemTypeConfigName::NOT_SET), m_autoMLJobStatus(AutoMLJobStatus::NOT_SET), - m_autoMLJobSecondaryStatus(AutoMLJobSecondaryStatus::NOT_SET), - m_autoMLProblemTypeConfigName(AutoMLProblemTypeConfigName::NOT_SET) + m_autoMLJobSecondaryStatus(AutoMLJobSecondaryStatus::NOT_SET) { } DescribeAutoMLJobV2Result::DescribeAutoMLJobV2Result(const Aws::AmazonWebServiceResult& result) : + m_autoMLProblemTypeConfigName(AutoMLProblemTypeConfigName::NOT_SET), m_autoMLJobStatus(AutoMLJobStatus::NOT_SET), - m_autoMLJobSecondaryStatus(AutoMLJobSecondaryStatus::NOT_SET), - m_autoMLProblemTypeConfigName(AutoMLProblemTypeConfigName::NOT_SET) + m_autoMLJobSecondaryStatus(AutoMLJobSecondaryStatus::NOT_SET) { *this = result; } @@ -80,6 +80,12 @@ DescribeAutoMLJobV2Result& DescribeAutoMLJobV2Result::operator =(const Aws::Amaz } + if(jsonValue.ValueExists("AutoMLProblemTypeConfigName")) + { + m_autoMLProblemTypeConfigName = AutoMLProblemTypeConfigNameMapper::GetAutoMLProblemTypeConfigNameForName(jsonValue.GetString("AutoMLProblemTypeConfigName")); + + } + if(jsonValue.ValueExists("CreationTime")) { m_creationTime = jsonValue.GetDouble("CreationTime"); @@ -131,45 +137,39 @@ DescribeAutoMLJobV2Result& DescribeAutoMLJobV2Result::operator =(const Aws::Amaz } - if(jsonValue.ValueExists("ModelDeployConfig")) - { - m_modelDeployConfig = jsonValue.GetObject("ModelDeployConfig"); - - } - - if(jsonValue.ValueExists("ModelDeployResult")) + if(jsonValue.ValueExists("AutoMLJobArtifacts")) { - m_modelDeployResult = jsonValue.GetObject("ModelDeployResult"); + m_autoMLJobArtifacts = jsonValue.GetObject("AutoMLJobArtifacts"); } - if(jsonValue.ValueExists("DataSplitConfig")) + if(jsonValue.ValueExists("ResolvedAttributes")) { - m_dataSplitConfig = jsonValue.GetObject("DataSplitConfig"); + m_resolvedAttributes = jsonValue.GetObject("ResolvedAttributes"); } - if(jsonValue.ValueExists("SecurityConfig")) + if(jsonValue.ValueExists("ModelDeployConfig")) { - m_securityConfig = jsonValue.GetObject("SecurityConfig"); + m_modelDeployConfig = jsonValue.GetObject("ModelDeployConfig"); } - if(jsonValue.ValueExists("AutoMLJobArtifacts")) + if(jsonValue.ValueExists("ModelDeployResult")) { - m_autoMLJobArtifacts = jsonValue.GetObject("AutoMLJobArtifacts"); + m_modelDeployResult = jsonValue.GetObject("ModelDeployResult"); } - if(jsonValue.ValueExists("ResolvedAttributes")) + if(jsonValue.ValueExists("DataSplitConfig")) { - m_resolvedAttributes = jsonValue.GetObject("ResolvedAttributes"); + m_dataSplitConfig = jsonValue.GetObject("DataSplitConfig"); } - if(jsonValue.ValueExists("AutoMLProblemTypeConfigName")) + if(jsonValue.ValueExists("SecurityConfig")) { - m_autoMLProblemTypeConfigName = AutoMLProblemTypeConfigNameMapper::GetAutoMLProblemTypeConfigNameForName(jsonValue.GetString("AutoMLProblemTypeConfigName")); + m_securityConfig = jsonValue.GetObject("SecurityConfig"); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeDomainResult.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeDomainResult.cpp index da1532b5ceb..cef201e317e 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeDomainResult.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeDomainResult.cpp @@ -97,6 +97,12 @@ DescribeDomainResult& DescribeDomainResult::operator =(const Aws::AmazonWebServi } + if(jsonValue.ValueExists("SecurityGroupIdForDomainBoundary")) + { + m_securityGroupIdForDomainBoundary = jsonValue.GetString("SecurityGroupIdForDomainBoundary"); + + } + if(jsonValue.ValueExists("AuthMode")) { m_authMode = AuthModeMapper::GetAuthModeForName(jsonValue.GetString("AuthMode")); @@ -109,6 +115,12 @@ DescribeDomainResult& DescribeDomainResult::operator =(const Aws::AmazonWebServi } + if(jsonValue.ValueExists("DomainSettings")) + { + m_domainSettings = jsonValue.GetObject("DomainSettings"); + + } + if(jsonValue.ValueExists("AppNetworkAccessType")) { m_appNetworkAccessType = AppNetworkAccessTypeMapper::GetAppNetworkAccessTypeForName(jsonValue.GetString("AppNetworkAccessType")); @@ -142,24 +154,12 @@ DescribeDomainResult& DescribeDomainResult::operator =(const Aws::AmazonWebServi } - if(jsonValue.ValueExists("DomainSettings")) - { - m_domainSettings = jsonValue.GetObject("DomainSettings"); - - } - if(jsonValue.ValueExists("AppSecurityGroupManagement")) { m_appSecurityGroupManagement = AppSecurityGroupManagementMapper::GetAppSecurityGroupManagementForName(jsonValue.GetString("AppSecurityGroupManagement")); } - if(jsonValue.ValueExists("SecurityGroupIdForDomainBoundary")) - { - m_securityGroupIdForDomainBoundary = jsonValue.GetString("SecurityGroupIdForDomainBoundary"); - - } - if(jsonValue.ValueExists("DefaultSpaceSettings")) { m_defaultSpaceSettings = jsonValue.GetObject("DefaultSpaceSettings"); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeHyperParameterTuningJobResult.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeHyperParameterTuningJobResult.cpp index e1340a4bc64..7ab879a158f 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeHyperParameterTuningJobResult.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeHyperParameterTuningJobResult.cpp @@ -118,6 +118,12 @@ DescribeHyperParameterTuningJobResult& DescribeHyperParameterTuningJobResult::op } + if(jsonValue.ValueExists("Autotune")) + { + m_autotune = jsonValue.GetObject("Autotune"); + + } + if(jsonValue.ValueExists("FailureReason")) { m_failureReason = jsonValue.GetString("FailureReason"); @@ -136,12 +142,6 @@ DescribeHyperParameterTuningJobResult& DescribeHyperParameterTuningJobResult::op } - if(jsonValue.ValueExists("Autotune")) - { - m_autotune = jsonValue.GetObject("Autotune"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeModelPackageResult.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeModelPackageResult.cpp index aaa5d3ad556..65e7043a05b 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeModelPackageResult.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeModelPackageResult.cpp @@ -153,21 +153,6 @@ DescribeModelPackageResult& DescribeModelPackageResult::operator =(const Aws::Am } - if(jsonValue.ValueExists("CustomerMetadataProperties")) - { - Aws::Map customerMetadataPropertiesJsonMap = jsonValue.GetObject("CustomerMetadataProperties").GetAllObjects(); - for(auto& customerMetadataPropertiesItem : customerMetadataPropertiesJsonMap) - { - m_customerMetadataProperties[customerMetadataPropertiesItem.first] = customerMetadataPropertiesItem.second.AsString(); - } - } - - if(jsonValue.ValueExists("DriftCheckBaselines")) - { - m_driftCheckBaselines = jsonValue.GetObject("DriftCheckBaselines"); - - } - if(jsonValue.ValueExists("Domain")) { m_domain = jsonValue.GetString("Domain"); @@ -186,6 +171,21 @@ DescribeModelPackageResult& DescribeModelPackageResult::operator =(const Aws::Am } + if(jsonValue.ValueExists("CustomerMetadataProperties")) + { + Aws::Map customerMetadataPropertiesJsonMap = jsonValue.GetObject("CustomerMetadataProperties").GetAllObjects(); + for(auto& customerMetadataPropertiesItem : customerMetadataPropertiesJsonMap) + { + m_customerMetadataProperties[customerMetadataPropertiesItem.first] = customerMetadataPropertiesItem.second.AsString(); + } + } + + if(jsonValue.ValueExists("DriftCheckBaselines")) + { + m_driftCheckBaselines = jsonValue.GetObject("DriftCheckBaselines"); + + } + if(jsonValue.ValueExists("AdditionalInferenceSpecifications")) { Aws::Utils::Array additionalInferenceSpecificationsJsonList = jsonValue.GetArray("AdditionalInferenceSpecifications"); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeSpaceResult.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeSpaceResult.cpp index 15291b14089..1bc0733360b 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeSpaceResult.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeSpaceResult.cpp @@ -85,27 +85,27 @@ DescribeSpaceResult& DescribeSpaceResult::operator =(const Aws::AmazonWebService } - if(jsonValue.ValueExists("Url")) + if(jsonValue.ValueExists("OwnershipSettings")) { - m_url = jsonValue.GetString("Url"); + m_ownershipSettings = jsonValue.GetObject("OwnershipSettings"); } - if(jsonValue.ValueExists("SpaceDisplayName")) + if(jsonValue.ValueExists("SpaceSharingSettings")) { - m_spaceDisplayName = jsonValue.GetString("SpaceDisplayName"); + m_spaceSharingSettings = jsonValue.GetObject("SpaceSharingSettings"); } - if(jsonValue.ValueExists("OwnershipSettings")) + if(jsonValue.ValueExists("SpaceDisplayName")) { - m_ownershipSettings = jsonValue.GetObject("OwnershipSettings"); + m_spaceDisplayName = jsonValue.GetString("SpaceDisplayName"); } - if(jsonValue.ValueExists("SpaceSharingSettings")) + if(jsonValue.ValueExists("Url")) { - m_spaceSharingSettings = jsonValue.GetObject("SpaceSharingSettings"); + m_url = jsonValue.GetString("Url"); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeTrainingJobResult.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeTrainingJobResult.cpp index 5dffde47659..e9350658067 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeTrainingJobResult.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/DescribeTrainingJobResult.cpp @@ -141,6 +141,12 @@ DescribeTrainingJobResult& DescribeTrainingJobResult::operator =(const Aws::Amaz } + if(jsonValue.ValueExists("WarmPoolStatus")) + { + m_warmPoolStatus = jsonValue.GetObject("WarmPoolStatus"); + + } + if(jsonValue.ValueExists("VpcConfig")) { m_vpcConfig = jsonValue.GetObject("VpcConfig"); @@ -297,12 +303,6 @@ DescribeTrainingJobResult& DescribeTrainingJobResult::operator =(const Aws::Amaz } - if(jsonValue.ValueExists("RetryStrategy")) - { - m_retryStrategy = jsonValue.GetObject("RetryStrategy"); - - } - if(jsonValue.ValueExists("Environment")) { Aws::Map environmentJsonMap = jsonValue.GetObject("Environment").GetAllObjects(); @@ -312,9 +312,9 @@ DescribeTrainingJobResult& DescribeTrainingJobResult::operator =(const Aws::Amaz } } - if(jsonValue.ValueExists("WarmPoolStatus")) + if(jsonValue.ValueExists("RetryStrategy")) { - m_warmPoolStatus = jsonValue.GetObject("WarmPoolStatus"); + m_retryStrategy = jsonValue.GetObject("RetryStrategy"); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointInputConfiguration.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointInputConfiguration.cpp index 4dbe8531610..ccf54a55092 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointInputConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/EndpointInputConfiguration.cpp @@ -21,18 +21,18 @@ namespace Model EndpointInputConfiguration::EndpointInputConfiguration() : m_instanceType(ProductionVariantInstanceType::NOT_SET), m_instanceTypeHasBeenSet(false), + m_serverlessConfigHasBeenSet(false), m_inferenceSpecificationNameHasBeenSet(false), - m_environmentParameterRangesHasBeenSet(false), - m_serverlessConfigHasBeenSet(false) + m_environmentParameterRangesHasBeenSet(false) { } EndpointInputConfiguration::EndpointInputConfiguration(JsonView jsonValue) : m_instanceType(ProductionVariantInstanceType::NOT_SET), m_instanceTypeHasBeenSet(false), + m_serverlessConfigHasBeenSet(false), m_inferenceSpecificationNameHasBeenSet(false), - m_environmentParameterRangesHasBeenSet(false), - m_serverlessConfigHasBeenSet(false) + m_environmentParameterRangesHasBeenSet(false) { *this = jsonValue; } @@ -46,6 +46,13 @@ EndpointInputConfiguration& EndpointInputConfiguration::operator =(JsonView json m_instanceTypeHasBeenSet = true; } + if(jsonValue.ValueExists("ServerlessConfig")) + { + m_serverlessConfig = jsonValue.GetObject("ServerlessConfig"); + + m_serverlessConfigHasBeenSet = true; + } + if(jsonValue.ValueExists("InferenceSpecificationName")) { m_inferenceSpecificationName = jsonValue.GetString("InferenceSpecificationName"); @@ -60,13 +67,6 @@ EndpointInputConfiguration& EndpointInputConfiguration::operator =(JsonView json m_environmentParameterRangesHasBeenSet = true; } - if(jsonValue.ValueExists("ServerlessConfig")) - { - m_serverlessConfig = jsonValue.GetObject("ServerlessConfig"); - - m_serverlessConfigHasBeenSet = true; - } - return *this; } @@ -79,21 +79,21 @@ JsonValue EndpointInputConfiguration::Jsonize() const payload.WithString("InstanceType", ProductionVariantInstanceTypeMapper::GetNameForProductionVariantInstanceType(m_instanceType)); } - if(m_inferenceSpecificationNameHasBeenSet) + if(m_serverlessConfigHasBeenSet) { - payload.WithString("InferenceSpecificationName", m_inferenceSpecificationName); + payload.WithObject("ServerlessConfig", m_serverlessConfig.Jsonize()); } - if(m_environmentParameterRangesHasBeenSet) + if(m_inferenceSpecificationNameHasBeenSet) { - payload.WithObject("EnvironmentParameterRanges", m_environmentParameterRanges.Jsonize()); + payload.WithString("InferenceSpecificationName", m_inferenceSpecificationName); } - if(m_serverlessConfigHasBeenSet) + if(m_environmentParameterRangesHasBeenSet) { - payload.WithObject("ServerlessConfig", m_serverlessConfig.Jsonize()); + payload.WithObject("EnvironmentParameterRanges", m_environmentParameterRanges.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTrainingJobDefinition.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTrainingJobDefinition.cpp index 889b2536ebf..501c8140cfa 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTrainingJobDefinition.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTrainingJobDefinition.cpp @@ -29,6 +29,7 @@ HyperParameterTrainingJobDefinition::HyperParameterTrainingJobDefinition() : m_vpcConfigHasBeenSet(false), m_outputDataConfigHasBeenSet(false), m_resourceConfigHasBeenSet(false), + m_hyperParameterTuningResourceConfigHasBeenSet(false), m_stoppingConditionHasBeenSet(false), m_enableNetworkIsolation(false), m_enableNetworkIsolationHasBeenSet(false), @@ -38,7 +39,6 @@ HyperParameterTrainingJobDefinition::HyperParameterTrainingJobDefinition() : m_enableManagedSpotTrainingHasBeenSet(false), m_checkpointConfigHasBeenSet(false), m_retryStrategyHasBeenSet(false), - m_hyperParameterTuningResourceConfigHasBeenSet(false), m_environmentHasBeenSet(false) { } @@ -54,6 +54,7 @@ HyperParameterTrainingJobDefinition::HyperParameterTrainingJobDefinition(JsonVie m_vpcConfigHasBeenSet(false), m_outputDataConfigHasBeenSet(false), m_resourceConfigHasBeenSet(false), + m_hyperParameterTuningResourceConfigHasBeenSet(false), m_stoppingConditionHasBeenSet(false), m_enableNetworkIsolation(false), m_enableNetworkIsolationHasBeenSet(false), @@ -63,7 +64,6 @@ HyperParameterTrainingJobDefinition::HyperParameterTrainingJobDefinition(JsonVie m_enableManagedSpotTrainingHasBeenSet(false), m_checkpointConfigHasBeenSet(false), m_retryStrategyHasBeenSet(false), - m_hyperParameterTuningResourceConfigHasBeenSet(false), m_environmentHasBeenSet(false) { *this = jsonValue; @@ -147,6 +147,13 @@ HyperParameterTrainingJobDefinition& HyperParameterTrainingJobDefinition::operat m_resourceConfigHasBeenSet = true; } + if(jsonValue.ValueExists("HyperParameterTuningResourceConfig")) + { + m_hyperParameterTuningResourceConfig = jsonValue.GetObject("HyperParameterTuningResourceConfig"); + + m_hyperParameterTuningResourceConfigHasBeenSet = true; + } + if(jsonValue.ValueExists("StoppingCondition")) { m_stoppingCondition = jsonValue.GetObject("StoppingCondition"); @@ -189,13 +196,6 @@ HyperParameterTrainingJobDefinition& HyperParameterTrainingJobDefinition::operat m_retryStrategyHasBeenSet = true; } - if(jsonValue.ValueExists("HyperParameterTuningResourceConfig")) - { - m_hyperParameterTuningResourceConfig = jsonValue.GetObject("HyperParameterTuningResourceConfig"); - - m_hyperParameterTuningResourceConfigHasBeenSet = true; - } - if(jsonValue.ValueExists("Environment")) { Aws::Map environmentJsonMap = jsonValue.GetObject("Environment").GetAllObjects(); @@ -283,6 +283,12 @@ JsonValue HyperParameterTrainingJobDefinition::Jsonize() const } + if(m_hyperParameterTuningResourceConfigHasBeenSet) + { + payload.WithObject("HyperParameterTuningResourceConfig", m_hyperParameterTuningResourceConfig.Jsonize()); + + } + if(m_stoppingConditionHasBeenSet) { payload.WithObject("StoppingCondition", m_stoppingCondition.Jsonize()); @@ -319,12 +325,6 @@ JsonValue HyperParameterTrainingJobDefinition::Jsonize() const } - if(m_hyperParameterTuningResourceConfigHasBeenSet) - { - payload.WithObject("HyperParameterTuningResourceConfig", m_hyperParameterTuningResourceConfig.Jsonize()); - - } - if(m_environmentHasBeenSet) { JsonValue environmentJsonMap; diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTuningJobSearchEntity.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTuningJobSearchEntity.cpp index d583c47bd2a..781c2fc609e 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTuningJobSearchEntity.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTuningJobSearchEntity.cpp @@ -35,9 +35,9 @@ HyperParameterTuningJobSearchEntity::HyperParameterTuningJobSearchEntity() : m_overallBestTrainingJobHasBeenSet(false), m_warmStartConfigHasBeenSet(false), m_failureReasonHasBeenSet(false), - m_tagsHasBeenSet(false), m_tuningJobCompletionDetailsHasBeenSet(false), - m_consumedResourcesHasBeenSet(false) + m_consumedResourcesHasBeenSet(false), + m_tagsHasBeenSet(false) { } @@ -58,9 +58,9 @@ HyperParameterTuningJobSearchEntity::HyperParameterTuningJobSearchEntity(JsonVie m_overallBestTrainingJobHasBeenSet(false), m_warmStartConfigHasBeenSet(false), m_failureReasonHasBeenSet(false), - m_tagsHasBeenSet(false), m_tuningJobCompletionDetailsHasBeenSet(false), - m_consumedResourcesHasBeenSet(false) + m_consumedResourcesHasBeenSet(false), + m_tagsHasBeenSet(false) { *this = jsonValue; } @@ -175,16 +175,6 @@ HyperParameterTuningJobSearchEntity& HyperParameterTuningJobSearchEntity::operat m_failureReasonHasBeenSet = true; } - if(jsonValue.ValueExists("Tags")) - { - Aws::Utils::Array tagsJsonList = jsonValue.GetArray("Tags"); - for(unsigned tagsIndex = 0; tagsIndex < tagsJsonList.GetLength(); ++tagsIndex) - { - m_tags.push_back(tagsJsonList[tagsIndex].AsObject()); - } - m_tagsHasBeenSet = true; - } - if(jsonValue.ValueExists("TuningJobCompletionDetails")) { m_tuningJobCompletionDetails = jsonValue.GetObject("TuningJobCompletionDetails"); @@ -199,6 +189,16 @@ HyperParameterTuningJobSearchEntity& HyperParameterTuningJobSearchEntity::operat m_consumedResourcesHasBeenSet = true; } + if(jsonValue.ValueExists("Tags")) + { + Aws::Utils::Array tagsJsonList = jsonValue.GetArray("Tags"); + for(unsigned tagsIndex = 0; tagsIndex < tagsJsonList.GetLength(); ++tagsIndex) + { + m_tags.push_back(tagsJsonList[tagsIndex].AsObject()); + } + m_tagsHasBeenSet = true; + } + return *this; } @@ -297,17 +297,6 @@ JsonValue HyperParameterTuningJobSearchEntity::Jsonize() const } - if(m_tagsHasBeenSet) - { - Aws::Utils::Array tagsJsonList(m_tags.size()); - for(unsigned tagsIndex = 0; tagsIndex < tagsJsonList.GetLength(); ++tagsIndex) - { - tagsJsonList[tagsIndex].AsObject(m_tags[tagsIndex].Jsonize()); - } - payload.WithArray("Tags", std::move(tagsJsonList)); - - } - if(m_tuningJobCompletionDetailsHasBeenSet) { payload.WithObject("TuningJobCompletionDetails", m_tuningJobCompletionDetails.Jsonize()); @@ -320,6 +309,17 @@ JsonValue HyperParameterTuningJobSearchEntity::Jsonize() const } + if(m_tagsHasBeenSet) + { + Aws::Utils::Array tagsJsonList(m_tags.size()); + for(unsigned tagsIndex = 0; tagsIndex < tagsJsonList.GetLength(); ++tagsIndex) + { + tagsJsonList[tagsIndex].AsObject(m_tags[tagsIndex].Jsonize()); + } + payload.WithArray("Tags", std::move(tagsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTuningJobStatus.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTuningJobStatus.cpp index 6fff503da1d..d202b6e2882 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTuningJobStatus.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/HyperParameterTuningJobStatus.cpp @@ -25,6 +25,8 @@ namespace Aws static const int Failed_HASH = HashingUtils::HashString("Failed"); static const int Stopped_HASH = HashingUtils::HashString("Stopped"); static const int Stopping_HASH = HashingUtils::HashString("Stopping"); + static const int Deleting_HASH = HashingUtils::HashString("Deleting"); + static const int DeleteFailed_HASH = HashingUtils::HashString("DeleteFailed"); HyperParameterTuningJobStatus GetHyperParameterTuningJobStatusForName(const Aws::String& name) @@ -50,6 +52,14 @@ namespace Aws { return HyperParameterTuningJobStatus::Stopping; } + else if (hashCode == Deleting_HASH) + { + return HyperParameterTuningJobStatus::Deleting; + } + else if (hashCode == DeleteFailed_HASH) + { + return HyperParameterTuningJobStatus::DeleteFailed; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -76,6 +86,10 @@ namespace Aws return "Stopped"; case HyperParameterTuningJobStatus::Stopping: return "Stopping"; + case HyperParameterTuningJobStatus::Deleting: + return "Deleting"; + case HyperParameterTuningJobStatus::DeleteFailed: + return "DeleteFailed"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/InferenceRecommendation.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/InferenceRecommendation.cpp index 4e6252ef304..64027da009b 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/InferenceRecommendation.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/InferenceRecommendation.cpp @@ -19,20 +19,20 @@ namespace Model { InferenceRecommendation::InferenceRecommendation() : + m_recommendationIdHasBeenSet(false), m_metricsHasBeenSet(false), m_endpointConfigurationHasBeenSet(false), m_modelConfigurationHasBeenSet(false), - m_recommendationIdHasBeenSet(false), m_invocationEndTimeHasBeenSet(false), m_invocationStartTimeHasBeenSet(false) { } InferenceRecommendation::InferenceRecommendation(JsonView jsonValue) : + m_recommendationIdHasBeenSet(false), m_metricsHasBeenSet(false), m_endpointConfigurationHasBeenSet(false), m_modelConfigurationHasBeenSet(false), - m_recommendationIdHasBeenSet(false), m_invocationEndTimeHasBeenSet(false), m_invocationStartTimeHasBeenSet(false) { @@ -41,6 +41,13 @@ InferenceRecommendation::InferenceRecommendation(JsonView jsonValue) : InferenceRecommendation& InferenceRecommendation::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("RecommendationId")) + { + m_recommendationId = jsonValue.GetString("RecommendationId"); + + m_recommendationIdHasBeenSet = true; + } + if(jsonValue.ValueExists("Metrics")) { m_metrics = jsonValue.GetObject("Metrics"); @@ -62,13 +69,6 @@ InferenceRecommendation& InferenceRecommendation::operator =(JsonView jsonValue) m_modelConfigurationHasBeenSet = true; } - if(jsonValue.ValueExists("RecommendationId")) - { - m_recommendationId = jsonValue.GetString("RecommendationId"); - - m_recommendationIdHasBeenSet = true; - } - if(jsonValue.ValueExists("InvocationEndTime")) { m_invocationEndTime = jsonValue.GetDouble("InvocationEndTime"); @@ -90,6 +90,12 @@ JsonValue InferenceRecommendation::Jsonize() const { JsonValue payload; + if(m_recommendationIdHasBeenSet) + { + payload.WithString("RecommendationId", m_recommendationId); + + } + if(m_metricsHasBeenSet) { payload.WithObject("Metrics", m_metrics.Jsonize()); @@ -108,12 +114,6 @@ JsonValue InferenceRecommendation::Jsonize() const } - if(m_recommendationIdHasBeenSet) - { - payload.WithString("RecommendationId", m_recommendationId); - - } - if(m_invocationEndTimeHasBeenSet) { payload.WithDouble("InvocationEndTime", m_invocationEndTime.SecondsWithMSPrecision()); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/JupyterLabAppImageConfig.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/JupyterLabAppImageConfig.cpp index bedb5a11445..243e11d724d 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/JupyterLabAppImageConfig.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/JupyterLabAppImageConfig.cpp @@ -19,11 +19,13 @@ namespace Model { JupyterLabAppImageConfig::JupyterLabAppImageConfig() : + m_fileSystemConfigHasBeenSet(false), m_containerConfigHasBeenSet(false) { } JupyterLabAppImageConfig::JupyterLabAppImageConfig(JsonView jsonValue) : + m_fileSystemConfigHasBeenSet(false), m_containerConfigHasBeenSet(false) { *this = jsonValue; @@ -31,6 +33,13 @@ JupyterLabAppImageConfig::JupyterLabAppImageConfig(JsonView jsonValue) : JupyterLabAppImageConfig& JupyterLabAppImageConfig::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("FileSystemConfig")) + { + m_fileSystemConfig = jsonValue.GetObject("FileSystemConfig"); + + m_fileSystemConfigHasBeenSet = true; + } + if(jsonValue.ValueExists("ContainerConfig")) { m_containerConfig = jsonValue.GetObject("ContainerConfig"); @@ -45,6 +54,12 @@ JsonValue JupyterLabAppImageConfig::Jsonize() const { JsonValue payload; + if(m_fileSystemConfigHasBeenSet) + { + payload.WithObject("FileSystemConfig", m_fileSystemConfig.Jsonize()); + + } + if(m_containerConfigHasBeenSet) { payload.WithObject("ContainerConfig", m_containerConfig.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecution.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecution.cpp index 71678cd6804..b61a91586d8 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecution.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecution.cpp @@ -32,8 +32,8 @@ PipelineExecution::PipelineExecution() : m_createdByHasBeenSet(false), m_lastModifiedByHasBeenSet(false), m_parallelismConfigurationHasBeenSet(false), - m_pipelineParametersHasBeenSet(false), - m_selectiveExecutionConfigHasBeenSet(false) + m_selectiveExecutionConfigHasBeenSet(false), + m_pipelineParametersHasBeenSet(false) { } @@ -51,8 +51,8 @@ PipelineExecution::PipelineExecution(JsonView jsonValue) : m_createdByHasBeenSet(false), m_lastModifiedByHasBeenSet(false), m_parallelismConfigurationHasBeenSet(false), - m_pipelineParametersHasBeenSet(false), - m_selectiveExecutionConfigHasBeenSet(false) + m_selectiveExecutionConfigHasBeenSet(false), + m_pipelineParametersHasBeenSet(false) { *this = jsonValue; } @@ -143,6 +143,13 @@ PipelineExecution& PipelineExecution::operator =(JsonView jsonValue) m_parallelismConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("SelectiveExecutionConfig")) + { + m_selectiveExecutionConfig = jsonValue.GetObject("SelectiveExecutionConfig"); + + m_selectiveExecutionConfigHasBeenSet = true; + } + if(jsonValue.ValueExists("PipelineParameters")) { Aws::Utils::Array pipelineParametersJsonList = jsonValue.GetArray("PipelineParameters"); @@ -153,13 +160,6 @@ PipelineExecution& PipelineExecution::operator =(JsonView jsonValue) m_pipelineParametersHasBeenSet = true; } - if(jsonValue.ValueExists("SelectiveExecutionConfig")) - { - m_selectiveExecutionConfig = jsonValue.GetObject("SelectiveExecutionConfig"); - - m_selectiveExecutionConfigHasBeenSet = true; - } - return *this; } @@ -236,6 +236,12 @@ JsonValue PipelineExecution::Jsonize() const } + if(m_selectiveExecutionConfigHasBeenSet) + { + payload.WithObject("SelectiveExecutionConfig", m_selectiveExecutionConfig.Jsonize()); + + } + if(m_pipelineParametersHasBeenSet) { Aws::Utils::Array pipelineParametersJsonList(m_pipelineParameters.size()); @@ -247,12 +253,6 @@ JsonValue PipelineExecution::Jsonize() const } - if(m_selectiveExecutionConfigHasBeenSet) - { - payload.WithObject("SelectiveExecutionConfig", m_selectiveExecutionConfig.Jsonize()); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStep.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStep.cpp index 0904149d847..f09dce0e9f7 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStep.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStep.cpp @@ -27,10 +27,10 @@ PipelineExecutionStep::PipelineExecutionStep() : m_stepStatus(StepStatus::NOT_SET), m_stepStatusHasBeenSet(false), m_cacheHitResultHasBeenSet(false), - m_attemptCount(0), - m_attemptCountHasBeenSet(false), m_failureReasonHasBeenSet(false), m_metadataHasBeenSet(false), + m_attemptCount(0), + m_attemptCountHasBeenSet(false), m_selectiveExecutionResultHasBeenSet(false) { } @@ -44,10 +44,10 @@ PipelineExecutionStep::PipelineExecutionStep(JsonView jsonValue) : m_stepStatus(StepStatus::NOT_SET), m_stepStatusHasBeenSet(false), m_cacheHitResultHasBeenSet(false), - m_attemptCount(0), - m_attemptCountHasBeenSet(false), m_failureReasonHasBeenSet(false), m_metadataHasBeenSet(false), + m_attemptCount(0), + m_attemptCountHasBeenSet(false), m_selectiveExecutionResultHasBeenSet(false) { *this = jsonValue; @@ -104,13 +104,6 @@ PipelineExecutionStep& PipelineExecutionStep::operator =(JsonView jsonValue) m_cacheHitResultHasBeenSet = true; } - if(jsonValue.ValueExists("AttemptCount")) - { - m_attemptCount = jsonValue.GetInteger("AttemptCount"); - - m_attemptCountHasBeenSet = true; - } - if(jsonValue.ValueExists("FailureReason")) { m_failureReason = jsonValue.GetString("FailureReason"); @@ -125,6 +118,13 @@ PipelineExecutionStep& PipelineExecutionStep::operator =(JsonView jsonValue) m_metadataHasBeenSet = true; } + if(jsonValue.ValueExists("AttemptCount")) + { + m_attemptCount = jsonValue.GetInteger("AttemptCount"); + + m_attemptCountHasBeenSet = true; + } + if(jsonValue.ValueExists("SelectiveExecutionResult")) { m_selectiveExecutionResult = jsonValue.GetObject("SelectiveExecutionResult"); @@ -178,12 +178,6 @@ JsonValue PipelineExecutionStep::Jsonize() const } - if(m_attemptCountHasBeenSet) - { - payload.WithInteger("AttemptCount", m_attemptCount); - - } - if(m_failureReasonHasBeenSet) { payload.WithString("FailureReason", m_failureReason); @@ -196,6 +190,12 @@ JsonValue PipelineExecutionStep::Jsonize() const } + if(m_attemptCountHasBeenSet) + { + payload.WithInteger("AttemptCount", m_attemptCount); + + } + if(m_selectiveExecutionResultHasBeenSet) { payload.WithObject("SelectiveExecutionResult", m_selectiveExecutionResult.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStepMetadata.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStepMetadata.cpp index cbd16e1de33..8ad412dc83b 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStepMetadata.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineExecutionStepMetadata.cpp @@ -28,9 +28,9 @@ PipelineExecutionStepMetadata::PipelineExecutionStepMetadata() : m_conditionHasBeenSet(false), m_callbackHasBeenSet(false), m_lambdaHasBeenSet(false), + m_eMRHasBeenSet(false), m_qualityCheckHasBeenSet(false), m_clarifyCheckHasBeenSet(false), - m_eMRHasBeenSet(false), m_failHasBeenSet(false), m_autoMLJobHasBeenSet(false) { @@ -46,9 +46,9 @@ PipelineExecutionStepMetadata::PipelineExecutionStepMetadata(JsonView jsonValue) m_conditionHasBeenSet(false), m_callbackHasBeenSet(false), m_lambdaHasBeenSet(false), + m_eMRHasBeenSet(false), m_qualityCheckHasBeenSet(false), m_clarifyCheckHasBeenSet(false), - m_eMRHasBeenSet(false), m_failHasBeenSet(false), m_autoMLJobHasBeenSet(false) { @@ -120,6 +120,13 @@ PipelineExecutionStepMetadata& PipelineExecutionStepMetadata::operator =(JsonVie m_lambdaHasBeenSet = true; } + if(jsonValue.ValueExists("EMR")) + { + m_eMR = jsonValue.GetObject("EMR"); + + m_eMRHasBeenSet = true; + } + if(jsonValue.ValueExists("QualityCheck")) { m_qualityCheck = jsonValue.GetObject("QualityCheck"); @@ -134,13 +141,6 @@ PipelineExecutionStepMetadata& PipelineExecutionStepMetadata::operator =(JsonVie m_clarifyCheckHasBeenSet = true; } - if(jsonValue.ValueExists("EMR")) - { - m_eMR = jsonValue.GetObject("EMR"); - - m_eMRHasBeenSet = true; - } - if(jsonValue.ValueExists("Fail")) { m_fail = jsonValue.GetObject("Fail"); @@ -216,21 +216,21 @@ JsonValue PipelineExecutionStepMetadata::Jsonize() const } - if(m_qualityCheckHasBeenSet) + if(m_eMRHasBeenSet) { - payload.WithObject("QualityCheck", m_qualityCheck.Jsonize()); + payload.WithObject("EMR", m_eMR.Jsonize()); } - if(m_clarifyCheckHasBeenSet) + if(m_qualityCheckHasBeenSet) { - payload.WithObject("ClarifyCheck", m_clarifyCheck.Jsonize()); + payload.WithObject("QualityCheck", m_qualityCheck.Jsonize()); } - if(m_eMRHasBeenSet) + if(m_clarifyCheckHasBeenSet) { - payload.WithObject("EMR", m_eMR.Jsonize()); + payload.WithObject("ClarifyCheck", m_clarifyCheck.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineStatus.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineStatus.cpp index b296c7db104..9d7213bce76 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineStatus.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/PipelineStatus.cpp @@ -21,6 +21,7 @@ namespace Aws { static const int Active_HASH = HashingUtils::HashString("Active"); + static const int Deleting_HASH = HashingUtils::HashString("Deleting"); PipelineStatus GetPipelineStatusForName(const Aws::String& name) @@ -30,6 +31,10 @@ namespace Aws { return PipelineStatus::Active; } + else if (hashCode == Deleting_HASH) + { + return PipelineStatus::Deleting; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -48,6 +53,8 @@ namespace Aws return {}; case PipelineStatus::Active: return "Active"; + case PipelineStatus::Deleting: + return "Deleting"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ProductionVariantInstanceType.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ProductionVariantInstanceType.cpp index 960347f8661..fd686e7aacc 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/ProductionVariantInstanceType.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ProductionVariantInstanceType.cpp @@ -86,6 +86,7 @@ namespace Aws static const int ml_inf1_2xlarge_HASH = HashingUtils::HashString("ml.inf1.2xlarge"); static const int ml_inf1_6xlarge_HASH = HashingUtils::HashString("ml.inf1.6xlarge"); static const int ml_inf1_24xlarge_HASH = HashingUtils::HashString("ml.inf1.24xlarge"); + static const int ml_dl1_24xlarge_HASH = HashingUtils::HashString("ml.dl1.24xlarge"); static const int ml_c6i_large_HASH = HashingUtils::HashString("ml.c6i.large"); static const int ml_c6i_xlarge_HASH = HashingUtils::HashString("ml.c6i.xlarge"); static const int ml_c6i_2xlarge_HASH = HashingUtils::HashString("ml.c6i.2xlarge"); @@ -163,11 +164,39 @@ namespace Aws static const int ml_p4de_24xlarge_HASH = HashingUtils::HashString("ml.p4de.24xlarge"); static const int ml_trn1_2xlarge_HASH = HashingUtils::HashString("ml.trn1.2xlarge"); static const int ml_trn1_32xlarge_HASH = HashingUtils::HashString("ml.trn1.32xlarge"); + static const int ml_trn1n_32xlarge_HASH = HashingUtils::HashString("ml.trn1n.32xlarge"); static const int ml_inf2_xlarge_HASH = HashingUtils::HashString("ml.inf2.xlarge"); static const int ml_inf2_8xlarge_HASH = HashingUtils::HashString("ml.inf2.8xlarge"); static const int ml_inf2_24xlarge_HASH = HashingUtils::HashString("ml.inf2.24xlarge"); static const int ml_inf2_48xlarge_HASH = HashingUtils::HashString("ml.inf2.48xlarge"); static const int ml_p5_48xlarge_HASH = HashingUtils::HashString("ml.p5.48xlarge"); + static const int ml_m7i_large_HASH = HashingUtils::HashString("ml.m7i.large"); + static const int ml_m7i_xlarge_HASH = HashingUtils::HashString("ml.m7i.xlarge"); + static const int ml_m7i_2xlarge_HASH = HashingUtils::HashString("ml.m7i.2xlarge"); + static const int ml_m7i_4xlarge_HASH = HashingUtils::HashString("ml.m7i.4xlarge"); + static const int ml_m7i_8xlarge_HASH = HashingUtils::HashString("ml.m7i.8xlarge"); + static const int ml_m7i_12xlarge_HASH = HashingUtils::HashString("ml.m7i.12xlarge"); + static const int ml_m7i_16xlarge_HASH = HashingUtils::HashString("ml.m7i.16xlarge"); + static const int ml_m7i_24xlarge_HASH = HashingUtils::HashString("ml.m7i.24xlarge"); + static const int ml_m7i_48xlarge_HASH = HashingUtils::HashString("ml.m7i.48xlarge"); + static const int ml_c7i_large_HASH = HashingUtils::HashString("ml.c7i.large"); + static const int ml_c7i_xlarge_HASH = HashingUtils::HashString("ml.c7i.xlarge"); + static const int ml_c7i_2xlarge_HASH = HashingUtils::HashString("ml.c7i.2xlarge"); + static const int ml_c7i_4xlarge_HASH = HashingUtils::HashString("ml.c7i.4xlarge"); + static const int ml_c7i_8xlarge_HASH = HashingUtils::HashString("ml.c7i.8xlarge"); + static const int ml_c7i_12xlarge_HASH = HashingUtils::HashString("ml.c7i.12xlarge"); + static const int ml_c7i_16xlarge_HASH = HashingUtils::HashString("ml.c7i.16xlarge"); + static const int ml_c7i_24xlarge_HASH = HashingUtils::HashString("ml.c7i.24xlarge"); + static const int ml_c7i_48xlarge_HASH = HashingUtils::HashString("ml.c7i.48xlarge"); + static const int ml_r7i_large_HASH = HashingUtils::HashString("ml.r7i.large"); + static const int ml_r7i_xlarge_HASH = HashingUtils::HashString("ml.r7i.xlarge"); + static const int ml_r7i_2xlarge_HASH = HashingUtils::HashString("ml.r7i.2xlarge"); + static const int ml_r7i_4xlarge_HASH = HashingUtils::HashString("ml.r7i.4xlarge"); + static const int ml_r7i_8xlarge_HASH = HashingUtils::HashString("ml.r7i.8xlarge"); + static const int ml_r7i_12xlarge_HASH = HashingUtils::HashString("ml.r7i.12xlarge"); + static const int ml_r7i_16xlarge_HASH = HashingUtils::HashString("ml.r7i.16xlarge"); + static const int ml_r7i_24xlarge_HASH = HashingUtils::HashString("ml.r7i.24xlarge"); + static const int ml_r7i_48xlarge_HASH = HashingUtils::HashString("ml.r7i.48xlarge"); /* The if-else chains in this file are converted into a jump table by the compiler, @@ -506,6 +535,11 @@ namespace Aws enumValue = ProductionVariantInstanceType::ml_inf1_24xlarge; return true; } + else if (hashCode == ml_dl1_24xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_dl1_24xlarge; + return true; + } else if (hashCode == ml_c6i_large_HASH) { enumValue = ProductionVariantInstanceType::ml_c6i_large; @@ -781,16 +815,16 @@ namespace Aws enumValue = ProductionVariantInstanceType::ml_c6gn_xlarge; return true; } - else if (hashCode == ml_c6gn_2xlarge_HASH) - { - enumValue = ProductionVariantInstanceType::ml_c6gn_2xlarge; - return true; - } return false; } static bool GetEnumForNameHelper1(int hashCode, ProductionVariantInstanceType& enumValue) { - if (hashCode == ml_c6gn_4xlarge_HASH) + if (hashCode == ml_c6gn_2xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_c6gn_2xlarge; + return true; + } + else if (hashCode == ml_c6gn_4xlarge_HASH) { enumValue = ProductionVariantInstanceType::ml_c6gn_4xlarge; return true; @@ -895,6 +929,11 @@ namespace Aws enumValue = ProductionVariantInstanceType::ml_trn1_32xlarge; return true; } + else if (hashCode == ml_trn1n_32xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_trn1n_32xlarge; + return true; + } else if (hashCode == ml_inf2_xlarge_HASH) { enumValue = ProductionVariantInstanceType::ml_inf2_xlarge; @@ -920,6 +959,141 @@ namespace Aws enumValue = ProductionVariantInstanceType::ml_p5_48xlarge; return true; } + else if (hashCode == ml_m7i_large_HASH) + { + enumValue = ProductionVariantInstanceType::ml_m7i_large; + return true; + } + else if (hashCode == ml_m7i_xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_m7i_xlarge; + return true; + } + else if (hashCode == ml_m7i_2xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_m7i_2xlarge; + return true; + } + else if (hashCode == ml_m7i_4xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_m7i_4xlarge; + return true; + } + else if (hashCode == ml_m7i_8xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_m7i_8xlarge; + return true; + } + else if (hashCode == ml_m7i_12xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_m7i_12xlarge; + return true; + } + else if (hashCode == ml_m7i_16xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_m7i_16xlarge; + return true; + } + else if (hashCode == ml_m7i_24xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_m7i_24xlarge; + return true; + } + else if (hashCode == ml_m7i_48xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_m7i_48xlarge; + return true; + } + else if (hashCode == ml_c7i_large_HASH) + { + enumValue = ProductionVariantInstanceType::ml_c7i_large; + return true; + } + else if (hashCode == ml_c7i_xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_c7i_xlarge; + return true; + } + else if (hashCode == ml_c7i_2xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_c7i_2xlarge; + return true; + } + else if (hashCode == ml_c7i_4xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_c7i_4xlarge; + return true; + } + else if (hashCode == ml_c7i_8xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_c7i_8xlarge; + return true; + } + else if (hashCode == ml_c7i_12xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_c7i_12xlarge; + return true; + } + else if (hashCode == ml_c7i_16xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_c7i_16xlarge; + return true; + } + else if (hashCode == ml_c7i_24xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_c7i_24xlarge; + return true; + } + else if (hashCode == ml_c7i_48xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_c7i_48xlarge; + return true; + } + else if (hashCode == ml_r7i_large_HASH) + { + enumValue = ProductionVariantInstanceType::ml_r7i_large; + return true; + } + else if (hashCode == ml_r7i_xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_r7i_xlarge; + return true; + } + else if (hashCode == ml_r7i_2xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_r7i_2xlarge; + return true; + } + else if (hashCode == ml_r7i_4xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_r7i_4xlarge; + return true; + } + else if (hashCode == ml_r7i_8xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_r7i_8xlarge; + return true; + } + else if (hashCode == ml_r7i_12xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_r7i_12xlarge; + return true; + } + else if (hashCode == ml_r7i_16xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_r7i_16xlarge; + return true; + } + else if (hashCode == ml_r7i_24xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_r7i_24xlarge; + return true; + } + else if (hashCode == ml_r7i_48xlarge_HASH) + { + enumValue = ProductionVariantInstanceType::ml_r7i_48xlarge; + return true; + } return false; } @@ -1125,6 +1299,9 @@ namespace Aws case ProductionVariantInstanceType::ml_inf1_24xlarge: value = "ml.inf1.24xlarge"; return true; + case ProductionVariantInstanceType::ml_dl1_24xlarge: + value = "ml.dl1.24xlarge"; + return true; case ProductionVariantInstanceType::ml_c6i_large: value = "ml.c6i.large"; return true; @@ -1290,9 +1467,6 @@ namespace Aws case ProductionVariantInstanceType::ml_c6gn_xlarge: value = "ml.c6gn.xlarge"; return true; - case ProductionVariantInstanceType::ml_c6gn_2xlarge: - value = "ml.c6gn.2xlarge"; - return true; default: return false; } @@ -1301,6 +1475,9 @@ namespace Aws { switch(enumValue) { + case ProductionVariantInstanceType::ml_c6gn_2xlarge: + value = "ml.c6gn.2xlarge"; + return true; case ProductionVariantInstanceType::ml_c6gn_4xlarge: value = "ml.c6gn.4xlarge"; return true; @@ -1364,6 +1541,9 @@ namespace Aws case ProductionVariantInstanceType::ml_trn1_32xlarge: value = "ml.trn1.32xlarge"; return true; + case ProductionVariantInstanceType::ml_trn1n_32xlarge: + value = "ml.trn1n.32xlarge"; + return true; case ProductionVariantInstanceType::ml_inf2_xlarge: value = "ml.inf2.xlarge"; return true; @@ -1379,6 +1559,87 @@ namespace Aws case ProductionVariantInstanceType::ml_p5_48xlarge: value = "ml.p5.48xlarge"; return true; + case ProductionVariantInstanceType::ml_m7i_large: + value = "ml.m7i.large"; + return true; + case ProductionVariantInstanceType::ml_m7i_xlarge: + value = "ml.m7i.xlarge"; + return true; + case ProductionVariantInstanceType::ml_m7i_2xlarge: + value = "ml.m7i.2xlarge"; + return true; + case ProductionVariantInstanceType::ml_m7i_4xlarge: + value = "ml.m7i.4xlarge"; + return true; + case ProductionVariantInstanceType::ml_m7i_8xlarge: + value = "ml.m7i.8xlarge"; + return true; + case ProductionVariantInstanceType::ml_m7i_12xlarge: + value = "ml.m7i.12xlarge"; + return true; + case ProductionVariantInstanceType::ml_m7i_16xlarge: + value = "ml.m7i.16xlarge"; + return true; + case ProductionVariantInstanceType::ml_m7i_24xlarge: + value = "ml.m7i.24xlarge"; + return true; + case ProductionVariantInstanceType::ml_m7i_48xlarge: + value = "ml.m7i.48xlarge"; + return true; + case ProductionVariantInstanceType::ml_c7i_large: + value = "ml.c7i.large"; + return true; + case ProductionVariantInstanceType::ml_c7i_xlarge: + value = "ml.c7i.xlarge"; + return true; + case ProductionVariantInstanceType::ml_c7i_2xlarge: + value = "ml.c7i.2xlarge"; + return true; + case ProductionVariantInstanceType::ml_c7i_4xlarge: + value = "ml.c7i.4xlarge"; + return true; + case ProductionVariantInstanceType::ml_c7i_8xlarge: + value = "ml.c7i.8xlarge"; + return true; + case ProductionVariantInstanceType::ml_c7i_12xlarge: + value = "ml.c7i.12xlarge"; + return true; + case ProductionVariantInstanceType::ml_c7i_16xlarge: + value = "ml.c7i.16xlarge"; + return true; + case ProductionVariantInstanceType::ml_c7i_24xlarge: + value = "ml.c7i.24xlarge"; + return true; + case ProductionVariantInstanceType::ml_c7i_48xlarge: + value = "ml.c7i.48xlarge"; + return true; + case ProductionVariantInstanceType::ml_r7i_large: + value = "ml.r7i.large"; + return true; + case ProductionVariantInstanceType::ml_r7i_xlarge: + value = "ml.r7i.xlarge"; + return true; + case ProductionVariantInstanceType::ml_r7i_2xlarge: + value = "ml.r7i.2xlarge"; + return true; + case ProductionVariantInstanceType::ml_r7i_4xlarge: + value = "ml.r7i.4xlarge"; + return true; + case ProductionVariantInstanceType::ml_r7i_8xlarge: + value = "ml.r7i.8xlarge"; + return true; + case ProductionVariantInstanceType::ml_r7i_12xlarge: + value = "ml.r7i.12xlarge"; + return true; + case ProductionVariantInstanceType::ml_r7i_16xlarge: + value = "ml.r7i.16xlarge"; + return true; + case ProductionVariantInstanceType::ml_r7i_24xlarge: + value = "ml.r7i.24xlarge"; + return true; + case ProductionVariantInstanceType::ml_r7i_48xlarge: + value = "ml.r7i.48xlarge"; + return true; default: return false; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobContainerConfig.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobContainerConfig.cpp index 44e4f114506..a3b21ae28a5 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobContainerConfig.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobContainerConfig.cpp @@ -26,9 +26,9 @@ RecommendationJobContainerConfig::RecommendationJobContainerConfig() : m_payloadConfigHasBeenSet(false), m_nearestModelNameHasBeenSet(false), m_supportedInstanceTypesHasBeenSet(false), - m_dataInputConfigHasBeenSet(false), m_supportedEndpointType(RecommendationJobSupportedEndpointType::NOT_SET), m_supportedEndpointTypeHasBeenSet(false), + m_dataInputConfigHasBeenSet(false), m_supportedResponseMIMETypesHasBeenSet(false) { } @@ -41,9 +41,9 @@ RecommendationJobContainerConfig::RecommendationJobContainerConfig(JsonView json m_payloadConfigHasBeenSet(false), m_nearestModelNameHasBeenSet(false), m_supportedInstanceTypesHasBeenSet(false), - m_dataInputConfigHasBeenSet(false), m_supportedEndpointType(RecommendationJobSupportedEndpointType::NOT_SET), m_supportedEndpointTypeHasBeenSet(false), + m_dataInputConfigHasBeenSet(false), m_supportedResponseMIMETypesHasBeenSet(false) { *this = jsonValue; @@ -103,18 +103,18 @@ RecommendationJobContainerConfig& RecommendationJobContainerConfig::operator =(J m_supportedInstanceTypesHasBeenSet = true; } - if(jsonValue.ValueExists("DataInputConfig")) + if(jsonValue.ValueExists("SupportedEndpointType")) { - m_dataInputConfig = jsonValue.GetString("DataInputConfig"); + m_supportedEndpointType = RecommendationJobSupportedEndpointTypeMapper::GetRecommendationJobSupportedEndpointTypeForName(jsonValue.GetString("SupportedEndpointType")); - m_dataInputConfigHasBeenSet = true; + m_supportedEndpointTypeHasBeenSet = true; } - if(jsonValue.ValueExists("SupportedEndpointType")) + if(jsonValue.ValueExists("DataInputConfig")) { - m_supportedEndpointType = RecommendationJobSupportedEndpointTypeMapper::GetRecommendationJobSupportedEndpointTypeForName(jsonValue.GetString("SupportedEndpointType")); + m_dataInputConfig = jsonValue.GetString("DataInputConfig"); - m_supportedEndpointTypeHasBeenSet = true; + m_dataInputConfigHasBeenSet = true; } if(jsonValue.ValueExists("SupportedResponseMIMETypes")) @@ -181,15 +181,15 @@ JsonValue RecommendationJobContainerConfig::Jsonize() const } - if(m_dataInputConfigHasBeenSet) + if(m_supportedEndpointTypeHasBeenSet) { - payload.WithString("DataInputConfig", m_dataInputConfig); - + payload.WithString("SupportedEndpointType", RecommendationJobSupportedEndpointTypeMapper::GetNameForRecommendationJobSupportedEndpointType(m_supportedEndpointType)); } - if(m_supportedEndpointTypeHasBeenSet) + if(m_dataInputConfigHasBeenSet) { - payload.WithString("SupportedEndpointType", RecommendationJobSupportedEndpointTypeMapper::GetNameForRecommendationJobSupportedEndpointType(m_supportedEndpointType)); + payload.WithString("DataInputConfig", m_dataInputConfig); + } if(m_supportedResponseMIMETypesHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobInferenceBenchmark.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobInferenceBenchmark.cpp index 10ec3134223..b3c6ecb959c 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobInferenceBenchmark.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobInferenceBenchmark.cpp @@ -20,10 +20,10 @@ namespace Model RecommendationJobInferenceBenchmark::RecommendationJobInferenceBenchmark() : m_metricsHasBeenSet(false), + m_endpointMetricsHasBeenSet(false), m_endpointConfigurationHasBeenSet(false), m_modelConfigurationHasBeenSet(false), m_failureReasonHasBeenSet(false), - m_endpointMetricsHasBeenSet(false), m_invocationEndTimeHasBeenSet(false), m_invocationStartTimeHasBeenSet(false) { @@ -31,10 +31,10 @@ RecommendationJobInferenceBenchmark::RecommendationJobInferenceBenchmark() : RecommendationJobInferenceBenchmark::RecommendationJobInferenceBenchmark(JsonView jsonValue) : m_metricsHasBeenSet(false), + m_endpointMetricsHasBeenSet(false), m_endpointConfigurationHasBeenSet(false), m_modelConfigurationHasBeenSet(false), m_failureReasonHasBeenSet(false), - m_endpointMetricsHasBeenSet(false), m_invocationEndTimeHasBeenSet(false), m_invocationStartTimeHasBeenSet(false) { @@ -50,6 +50,13 @@ RecommendationJobInferenceBenchmark& RecommendationJobInferenceBenchmark::operat m_metricsHasBeenSet = true; } + if(jsonValue.ValueExists("EndpointMetrics")) + { + m_endpointMetrics = jsonValue.GetObject("EndpointMetrics"); + + m_endpointMetricsHasBeenSet = true; + } + if(jsonValue.ValueExists("EndpointConfiguration")) { m_endpointConfiguration = jsonValue.GetObject("EndpointConfiguration"); @@ -71,13 +78,6 @@ RecommendationJobInferenceBenchmark& RecommendationJobInferenceBenchmark::operat m_failureReasonHasBeenSet = true; } - if(jsonValue.ValueExists("EndpointMetrics")) - { - m_endpointMetrics = jsonValue.GetObject("EndpointMetrics"); - - m_endpointMetricsHasBeenSet = true; - } - if(jsonValue.ValueExists("InvocationEndTime")) { m_invocationEndTime = jsonValue.GetDouble("InvocationEndTime"); @@ -105,6 +105,12 @@ JsonValue RecommendationJobInferenceBenchmark::Jsonize() const } + if(m_endpointMetricsHasBeenSet) + { + payload.WithObject("EndpointMetrics", m_endpointMetrics.Jsonize()); + + } + if(m_endpointConfigurationHasBeenSet) { payload.WithObject("EndpointConfiguration", m_endpointConfiguration.Jsonize()); @@ -123,12 +129,6 @@ JsonValue RecommendationJobInferenceBenchmark::Jsonize() const } - if(m_endpointMetricsHasBeenSet) - { - payload.WithObject("EndpointMetrics", m_endpointMetrics.Jsonize()); - - } - if(m_invocationEndTimeHasBeenSet) { payload.WithDouble("InvocationEndTime", m_invocationEndTime.SecondsWithMSPrecision()); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobInputConfig.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobInputConfig.cpp index 2ec4ce284d5..949944b9fa2 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobInputConfig.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobInputConfig.cpp @@ -20,6 +20,7 @@ namespace Model RecommendationJobInputConfig::RecommendationJobInputConfig() : m_modelPackageVersionArnHasBeenSet(false), + m_modelNameHasBeenSet(false), m_jobDurationInSeconds(0), m_jobDurationInSecondsHasBeenSet(false), m_trafficPatternHasBeenSet(false), @@ -28,13 +29,13 @@ RecommendationJobInputConfig::RecommendationJobInputConfig() : m_volumeKmsKeyIdHasBeenSet(false), m_containerConfigHasBeenSet(false), m_endpointsHasBeenSet(false), - m_vpcConfigHasBeenSet(false), - m_modelNameHasBeenSet(false) + m_vpcConfigHasBeenSet(false) { } RecommendationJobInputConfig::RecommendationJobInputConfig(JsonView jsonValue) : m_modelPackageVersionArnHasBeenSet(false), + m_modelNameHasBeenSet(false), m_jobDurationInSeconds(0), m_jobDurationInSecondsHasBeenSet(false), m_trafficPatternHasBeenSet(false), @@ -43,8 +44,7 @@ RecommendationJobInputConfig::RecommendationJobInputConfig(JsonView jsonValue) : m_volumeKmsKeyIdHasBeenSet(false), m_containerConfigHasBeenSet(false), m_endpointsHasBeenSet(false), - m_vpcConfigHasBeenSet(false), - m_modelNameHasBeenSet(false) + m_vpcConfigHasBeenSet(false) { *this = jsonValue; } @@ -58,6 +58,13 @@ RecommendationJobInputConfig& RecommendationJobInputConfig::operator =(JsonView m_modelPackageVersionArnHasBeenSet = true; } + if(jsonValue.ValueExists("ModelName")) + { + m_modelName = jsonValue.GetString("ModelName"); + + m_modelNameHasBeenSet = true; + } + if(jsonValue.ValueExists("JobDurationInSeconds")) { m_jobDurationInSeconds = jsonValue.GetInteger("JobDurationInSeconds"); @@ -120,13 +127,6 @@ RecommendationJobInputConfig& RecommendationJobInputConfig::operator =(JsonView m_vpcConfigHasBeenSet = true; } - if(jsonValue.ValueExists("ModelName")) - { - m_modelName = jsonValue.GetString("ModelName"); - - m_modelNameHasBeenSet = true; - } - return *this; } @@ -140,6 +140,12 @@ JsonValue RecommendationJobInputConfig::Jsonize() const } + if(m_modelNameHasBeenSet) + { + payload.WithString("ModelName", m_modelName); + + } + if(m_jobDurationInSecondsHasBeenSet) { payload.WithInteger("JobDurationInSeconds", m_jobDurationInSeconds); @@ -198,12 +204,6 @@ JsonValue RecommendationJobInputConfig::Jsonize() const } - if(m_modelNameHasBeenSet) - { - payload.WithString("ModelName", m_modelName); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobStatus.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobStatus.cpp index 5309fbfa2d2..aef8fbbe777 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobStatus.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/RecommendationJobStatus.cpp @@ -26,6 +26,8 @@ namespace Aws static const int FAILED_HASH = HashingUtils::HashString("FAILED"); static const int STOPPING_HASH = HashingUtils::HashString("STOPPING"); static const int STOPPED_HASH = HashingUtils::HashString("STOPPED"); + static const int DELETING_HASH = HashingUtils::HashString("DELETING"); + static const int DELETED_HASH = HashingUtils::HashString("DELETED"); RecommendationJobStatus GetRecommendationJobStatusForName(const Aws::String& name) @@ -55,6 +57,14 @@ namespace Aws { return RecommendationJobStatus::STOPPED; } + else if (hashCode == DELETING_HASH) + { + return RecommendationJobStatus::DELETING; + } + else if (hashCode == DELETED_HASH) + { + return RecommendationJobStatus::DELETED; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -83,6 +93,10 @@ namespace Aws return "STOPPING"; case RecommendationJobStatus::STOPPED: return "STOPPED"; + case RecommendationJobStatus::DELETING: + return "DELETING"; + case RecommendationJobStatus::DELETED: + return "DELETED"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ResourceConfig.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ResourceConfig.cpp index 51aa7929045..cdfe13022ac 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/ResourceConfig.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ResourceConfig.cpp @@ -26,9 +26,9 @@ ResourceConfig::ResourceConfig() : m_volumeSizeInGB(0), m_volumeSizeInGBHasBeenSet(false), m_volumeKmsKeyIdHasBeenSet(false), - m_instanceGroupsHasBeenSet(false), m_keepAlivePeriodInSeconds(0), - m_keepAlivePeriodInSecondsHasBeenSet(false) + m_keepAlivePeriodInSecondsHasBeenSet(false), + m_instanceGroupsHasBeenSet(false) { } @@ -40,9 +40,9 @@ ResourceConfig::ResourceConfig(JsonView jsonValue) : m_volumeSizeInGB(0), m_volumeSizeInGBHasBeenSet(false), m_volumeKmsKeyIdHasBeenSet(false), - m_instanceGroupsHasBeenSet(false), m_keepAlivePeriodInSeconds(0), - m_keepAlivePeriodInSecondsHasBeenSet(false) + m_keepAlivePeriodInSecondsHasBeenSet(false), + m_instanceGroupsHasBeenSet(false) { *this = jsonValue; } @@ -77,6 +77,13 @@ ResourceConfig& ResourceConfig::operator =(JsonView jsonValue) m_volumeKmsKeyIdHasBeenSet = true; } + if(jsonValue.ValueExists("KeepAlivePeriodInSeconds")) + { + m_keepAlivePeriodInSeconds = jsonValue.GetInteger("KeepAlivePeriodInSeconds"); + + m_keepAlivePeriodInSecondsHasBeenSet = true; + } + if(jsonValue.ValueExists("InstanceGroups")) { Aws::Utils::Array instanceGroupsJsonList = jsonValue.GetArray("InstanceGroups"); @@ -87,13 +94,6 @@ ResourceConfig& ResourceConfig::operator =(JsonView jsonValue) m_instanceGroupsHasBeenSet = true; } - if(jsonValue.ValueExists("KeepAlivePeriodInSeconds")) - { - m_keepAlivePeriodInSeconds = jsonValue.GetInteger("KeepAlivePeriodInSeconds"); - - m_keepAlivePeriodInSecondsHasBeenSet = true; - } - return *this; } @@ -124,6 +124,12 @@ JsonValue ResourceConfig::Jsonize() const } + if(m_keepAlivePeriodInSecondsHasBeenSet) + { + payload.WithInteger("KeepAlivePeriodInSeconds", m_keepAlivePeriodInSeconds); + + } + if(m_instanceGroupsHasBeenSet) { Aws::Utils::Array instanceGroupsJsonList(m_instanceGroups.size()); @@ -135,12 +141,6 @@ JsonValue ResourceConfig::Jsonize() const } - if(m_keepAlivePeriodInSecondsHasBeenSet) - { - payload.WithInteger("KeepAlivePeriodInSeconds", m_keepAlivePeriodInSeconds); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ResourceType.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ResourceType.cpp index e99346bf4c4..665911b6fb4 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/ResourceType.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ResourceType.cpp @@ -25,16 +25,18 @@ namespace Aws static const int ExperimentTrial_HASH = HashingUtils::HashString("ExperimentTrial"); static const int ExperimentTrialComponent_HASH = HashingUtils::HashString("ExperimentTrialComponent"); static const int Endpoint_HASH = HashingUtils::HashString("Endpoint"); + static const int Model_HASH = HashingUtils::HashString("Model"); static const int ModelPackage_HASH = HashingUtils::HashString("ModelPackage"); static const int ModelPackageGroup_HASH = HashingUtils::HashString("ModelPackageGroup"); static const int Pipeline_HASH = HashingUtils::HashString("Pipeline"); static const int PipelineExecution_HASH = HashingUtils::HashString("PipelineExecution"); static const int FeatureGroup_HASH = HashingUtils::HashString("FeatureGroup"); - static const int Project_HASH = HashingUtils::HashString("Project"); static const int FeatureMetadata_HASH = HashingUtils::HashString("FeatureMetadata"); + static const int Image_HASH = HashingUtils::HashString("Image"); + static const int ImageVersion_HASH = HashingUtils::HashString("ImageVersion"); + static const int Project_HASH = HashingUtils::HashString("Project"); static const int HyperParameterTuningJob_HASH = HashingUtils::HashString("HyperParameterTuningJob"); static const int ModelCard_HASH = HashingUtils::HashString("ModelCard"); - static const int Model_HASH = HashingUtils::HashString("Model"); ResourceType GetResourceTypeForName(const Aws::String& name) @@ -60,6 +62,10 @@ namespace Aws { return ResourceType::Endpoint; } + else if (hashCode == Model_HASH) + { + return ResourceType::Model; + } else if (hashCode == ModelPackage_HASH) { return ResourceType::ModelPackage; @@ -80,14 +86,22 @@ namespace Aws { return ResourceType::FeatureGroup; } - else if (hashCode == Project_HASH) - { - return ResourceType::Project; - } else if (hashCode == FeatureMetadata_HASH) { return ResourceType::FeatureMetadata; } + else if (hashCode == Image_HASH) + { + return ResourceType::Image; + } + else if (hashCode == ImageVersion_HASH) + { + return ResourceType::ImageVersion; + } + else if (hashCode == Project_HASH) + { + return ResourceType::Project; + } else if (hashCode == HyperParameterTuningJob_HASH) { return ResourceType::HyperParameterTuningJob; @@ -96,10 +110,6 @@ namespace Aws { return ResourceType::ModelCard; } - else if (hashCode == Model_HASH) - { - return ResourceType::Model; - } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -126,6 +136,8 @@ namespace Aws return "ExperimentTrialComponent"; case ResourceType::Endpoint: return "Endpoint"; + case ResourceType::Model: + return "Model"; case ResourceType::ModelPackage: return "ModelPackage"; case ResourceType::ModelPackageGroup: @@ -136,16 +148,18 @@ namespace Aws return "PipelineExecution"; case ResourceType::FeatureGroup: return "FeatureGroup"; - case ResourceType::Project: - return "Project"; case ResourceType::FeatureMetadata: return "FeatureMetadata"; + case ResourceType::Image: + return "Image"; + case ResourceType::ImageVersion: + return "ImageVersion"; + case ResourceType::Project: + return "Project"; case ResourceType::HyperParameterTuningJob: return "HyperParameterTuningJob"; case ResourceType::ModelCard: return "ModelCard"; - case ResourceType::Model: - return "Model"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/SearchRecord.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/SearchRecord.cpp index 2c187d112ec..63c03cb74f5 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/SearchRecord.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/SearchRecord.cpp @@ -29,11 +29,11 @@ SearchRecord::SearchRecord() : m_pipelineHasBeenSet(false), m_pipelineExecutionHasBeenSet(false), m_featureGroupHasBeenSet(false), - m_projectHasBeenSet(false), m_featureMetadataHasBeenSet(false), + m_projectHasBeenSet(false), m_hyperParameterTuningJobHasBeenSet(false), - m_modelHasBeenSet(false), - m_modelCardHasBeenSet(false) + m_modelCardHasBeenSet(false), + m_modelHasBeenSet(false) { } @@ -48,11 +48,11 @@ SearchRecord::SearchRecord(JsonView jsonValue) : m_pipelineHasBeenSet(false), m_pipelineExecutionHasBeenSet(false), m_featureGroupHasBeenSet(false), - m_projectHasBeenSet(false), m_featureMetadataHasBeenSet(false), + m_projectHasBeenSet(false), m_hyperParameterTuningJobHasBeenSet(false), - m_modelHasBeenSet(false), - m_modelCardHasBeenSet(false) + m_modelCardHasBeenSet(false), + m_modelHasBeenSet(false) { *this = jsonValue; } @@ -129,18 +129,18 @@ SearchRecord& SearchRecord::operator =(JsonView jsonValue) m_featureGroupHasBeenSet = true; } - if(jsonValue.ValueExists("Project")) + if(jsonValue.ValueExists("FeatureMetadata")) { - m_project = jsonValue.GetObject("Project"); + m_featureMetadata = jsonValue.GetObject("FeatureMetadata"); - m_projectHasBeenSet = true; + m_featureMetadataHasBeenSet = true; } - if(jsonValue.ValueExists("FeatureMetadata")) + if(jsonValue.ValueExists("Project")) { - m_featureMetadata = jsonValue.GetObject("FeatureMetadata"); + m_project = jsonValue.GetObject("Project"); - m_featureMetadataHasBeenSet = true; + m_projectHasBeenSet = true; } if(jsonValue.ValueExists("HyperParameterTuningJob")) @@ -150,18 +150,18 @@ SearchRecord& SearchRecord::operator =(JsonView jsonValue) m_hyperParameterTuningJobHasBeenSet = true; } - if(jsonValue.ValueExists("Model")) + if(jsonValue.ValueExists("ModelCard")) { - m_model = jsonValue.GetObject("Model"); + m_modelCard = jsonValue.GetObject("ModelCard"); - m_modelHasBeenSet = true; + m_modelCardHasBeenSet = true; } - if(jsonValue.ValueExists("ModelCard")) + if(jsonValue.ValueExists("Model")) { - m_modelCard = jsonValue.GetObject("ModelCard"); + m_model = jsonValue.GetObject("Model"); - m_modelCardHasBeenSet = true; + m_modelHasBeenSet = true; } return *this; @@ -231,15 +231,15 @@ JsonValue SearchRecord::Jsonize() const } - if(m_projectHasBeenSet) + if(m_featureMetadataHasBeenSet) { - payload.WithObject("Project", m_project.Jsonize()); + payload.WithObject("FeatureMetadata", m_featureMetadata.Jsonize()); } - if(m_featureMetadataHasBeenSet) + if(m_projectHasBeenSet) { - payload.WithObject("FeatureMetadata", m_featureMetadata.Jsonize()); + payload.WithObject("Project", m_project.Jsonize()); } @@ -249,15 +249,15 @@ JsonValue SearchRecord::Jsonize() const } - if(m_modelHasBeenSet) + if(m_modelCardHasBeenSet) { - payload.WithObject("Model", m_model.Jsonize()); + payload.WithObject("ModelCard", m_modelCard.Jsonize()); } - if(m_modelCardHasBeenSet) + if(m_modelHasBeenSet) { - payload.WithObject("ModelCard", m_modelCard.Jsonize()); + payload.WithObject("Model", m_model.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/SecondaryStatus.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/SecondaryStatus.cpp index 5c76e066afc..84d36122754 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/SecondaryStatus.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/SecondaryStatus.cpp @@ -36,6 +36,7 @@ namespace Aws static const int MaxWaitTimeExceeded_HASH = HashingUtils::HashString("MaxWaitTimeExceeded"); static const int Updating_HASH = HashingUtils::HashString("Updating"); static const int Restarting_HASH = HashingUtils::HashString("Restarting"); + static const int Pending_HASH = HashingUtils::HashString("Pending"); SecondaryStatus GetSecondaryStatusForName(const Aws::String& name) @@ -105,6 +106,10 @@ namespace Aws { return SecondaryStatus::Restarting; } + else if (hashCode == Pending_HASH) + { + return SecondaryStatus::Pending; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -153,6 +158,8 @@ namespace Aws return "Updating"; case SecondaryStatus::Restarting: return "Restarting"; + case SecondaryStatus::Pending: + return "Pending"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/SpaceDetails.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/SpaceDetails.cpp index 6cabf4ff373..4985adcb09e 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/SpaceDetails.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/SpaceDetails.cpp @@ -25,10 +25,10 @@ SpaceDetails::SpaceDetails() : m_statusHasBeenSet(false), m_creationTimeHasBeenSet(false), m_lastModifiedTimeHasBeenSet(false), - m_spaceDisplayNameHasBeenSet(false), m_spaceSettingsSummaryHasBeenSet(false), m_spaceSharingSettingsSummaryHasBeenSet(false), - m_ownershipSettingsSummaryHasBeenSet(false) + m_ownershipSettingsSummaryHasBeenSet(false), + m_spaceDisplayNameHasBeenSet(false) { } @@ -39,10 +39,10 @@ SpaceDetails::SpaceDetails(JsonView jsonValue) : m_statusHasBeenSet(false), m_creationTimeHasBeenSet(false), m_lastModifiedTimeHasBeenSet(false), - m_spaceDisplayNameHasBeenSet(false), m_spaceSettingsSummaryHasBeenSet(false), m_spaceSharingSettingsSummaryHasBeenSet(false), - m_ownershipSettingsSummaryHasBeenSet(false) + m_ownershipSettingsSummaryHasBeenSet(false), + m_spaceDisplayNameHasBeenSet(false) { *this = jsonValue; } @@ -84,13 +84,6 @@ SpaceDetails& SpaceDetails::operator =(JsonView jsonValue) m_lastModifiedTimeHasBeenSet = true; } - if(jsonValue.ValueExists("SpaceDisplayName")) - { - m_spaceDisplayName = jsonValue.GetString("SpaceDisplayName"); - - m_spaceDisplayNameHasBeenSet = true; - } - if(jsonValue.ValueExists("SpaceSettingsSummary")) { m_spaceSettingsSummary = jsonValue.GetObject("SpaceSettingsSummary"); @@ -112,6 +105,13 @@ SpaceDetails& SpaceDetails::operator =(JsonView jsonValue) m_ownershipSettingsSummaryHasBeenSet = true; } + if(jsonValue.ValueExists("SpaceDisplayName")) + { + m_spaceDisplayName = jsonValue.GetString("SpaceDisplayName"); + + m_spaceDisplayNameHasBeenSet = true; + } + return *this; } @@ -146,12 +146,6 @@ JsonValue SpaceDetails::Jsonize() const payload.WithDouble("LastModifiedTime", m_lastModifiedTime.SecondsWithMSPrecision()); } - if(m_spaceDisplayNameHasBeenSet) - { - payload.WithString("SpaceDisplayName", m_spaceDisplayName); - - } - if(m_spaceSettingsSummaryHasBeenSet) { payload.WithObject("SpaceSettingsSummary", m_spaceSettingsSummary.Jsonize()); @@ -170,6 +164,12 @@ JsonValue SpaceDetails::Jsonize() const } + if(m_spaceDisplayNameHasBeenSet) + { + payload.WithString("SpaceDisplayName", m_spaceDisplayName); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/SpaceSettings.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/SpaceSettings.cpp index eae48124a00..be6c1c1c8d7 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/SpaceSettings.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/SpaceSettings.cpp @@ -21,11 +21,11 @@ namespace Model SpaceSettings::SpaceSettings() : m_jupyterServerAppSettingsHasBeenSet(false), m_kernelGatewayAppSettingsHasBeenSet(false), - m_jupyterLabAppSettingsHasBeenSet(false), m_codeEditorAppSettingsHasBeenSet(false), - m_spaceStorageSettingsHasBeenSet(false), + m_jupyterLabAppSettingsHasBeenSet(false), m_appType(AppType::NOT_SET), m_appTypeHasBeenSet(false), + m_spaceStorageSettingsHasBeenSet(false), m_customFileSystemsHasBeenSet(false) { } @@ -33,11 +33,11 @@ SpaceSettings::SpaceSettings() : SpaceSettings::SpaceSettings(JsonView jsonValue) : m_jupyterServerAppSettingsHasBeenSet(false), m_kernelGatewayAppSettingsHasBeenSet(false), - m_jupyterLabAppSettingsHasBeenSet(false), m_codeEditorAppSettingsHasBeenSet(false), - m_spaceStorageSettingsHasBeenSet(false), + m_jupyterLabAppSettingsHasBeenSet(false), m_appType(AppType::NOT_SET), m_appTypeHasBeenSet(false), + m_spaceStorageSettingsHasBeenSet(false), m_customFileSystemsHasBeenSet(false) { *this = jsonValue; @@ -59,13 +59,6 @@ SpaceSettings& SpaceSettings::operator =(JsonView jsonValue) m_kernelGatewayAppSettingsHasBeenSet = true; } - if(jsonValue.ValueExists("JupyterLabAppSettings")) - { - m_jupyterLabAppSettings = jsonValue.GetObject("JupyterLabAppSettings"); - - m_jupyterLabAppSettingsHasBeenSet = true; - } - if(jsonValue.ValueExists("CodeEditorAppSettings")) { m_codeEditorAppSettings = jsonValue.GetObject("CodeEditorAppSettings"); @@ -73,11 +66,11 @@ SpaceSettings& SpaceSettings::operator =(JsonView jsonValue) m_codeEditorAppSettingsHasBeenSet = true; } - if(jsonValue.ValueExists("SpaceStorageSettings")) + if(jsonValue.ValueExists("JupyterLabAppSettings")) { - m_spaceStorageSettings = jsonValue.GetObject("SpaceStorageSettings"); + m_jupyterLabAppSettings = jsonValue.GetObject("JupyterLabAppSettings"); - m_spaceStorageSettingsHasBeenSet = true; + m_jupyterLabAppSettingsHasBeenSet = true; } if(jsonValue.ValueExists("AppType")) @@ -87,6 +80,13 @@ SpaceSettings& SpaceSettings::operator =(JsonView jsonValue) m_appTypeHasBeenSet = true; } + if(jsonValue.ValueExists("SpaceStorageSettings")) + { + m_spaceStorageSettings = jsonValue.GetObject("SpaceStorageSettings"); + + m_spaceStorageSettingsHasBeenSet = true; + } + if(jsonValue.ValueExists("CustomFileSystems")) { Aws::Utils::Array customFileSystemsJsonList = jsonValue.GetArray("CustomFileSystems"); @@ -116,21 +116,15 @@ JsonValue SpaceSettings::Jsonize() const } - if(m_jupyterLabAppSettingsHasBeenSet) - { - payload.WithObject("JupyterLabAppSettings", m_jupyterLabAppSettings.Jsonize()); - - } - if(m_codeEditorAppSettingsHasBeenSet) { payload.WithObject("CodeEditorAppSettings", m_codeEditorAppSettings.Jsonize()); } - if(m_spaceStorageSettingsHasBeenSet) + if(m_jupyterLabAppSettingsHasBeenSet) { - payload.WithObject("SpaceStorageSettings", m_spaceStorageSettings.Jsonize()); + payload.WithObject("JupyterLabAppSettings", m_jupyterLabAppSettings.Jsonize()); } @@ -139,6 +133,12 @@ JsonValue SpaceSettings::Jsonize() const payload.WithString("AppType", AppTypeMapper::GetNameForAppType(m_appType)); } + if(m_spaceStorageSettingsHasBeenSet) + { + payload.WithObject("SpaceStorageSettings", m_spaceStorageSettings.Jsonize()); + + } + if(m_customFileSystemsHasBeenSet) { Aws::Utils::Array customFileSystemsJsonList(m_customFileSystems.size()); diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/StudioLifecycleConfigAppType.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/StudioLifecycleConfigAppType.cpp index ef1555e2db3..c0996866bfb 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/StudioLifecycleConfigAppType.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/StudioLifecycleConfigAppType.cpp @@ -22,8 +22,10 @@ namespace Aws static const int JupyterServer_HASH = HashingUtils::HashString("JupyterServer"); static const int KernelGateway_HASH = HashingUtils::HashString("KernelGateway"); - static const int JupyterLab_HASH = HashingUtils::HashString("JupyterLab"); + static const int VSCode_HASH = HashingUtils::HashString("VSCode"); + static const int Savitur_HASH = HashingUtils::HashString("Savitur"); static const int CodeEditor_HASH = HashingUtils::HashString("CodeEditor"); + static const int JupyterLab_HASH = HashingUtils::HashString("JupyterLab"); StudioLifecycleConfigAppType GetStudioLifecycleConfigAppTypeForName(const Aws::String& name) @@ -37,14 +39,22 @@ namespace Aws { return StudioLifecycleConfigAppType::KernelGateway; } - else if (hashCode == JupyterLab_HASH) + else if (hashCode == VSCode_HASH) { - return StudioLifecycleConfigAppType::JupyterLab; + return StudioLifecycleConfigAppType::VSCode; + } + else if (hashCode == Savitur_HASH) + { + return StudioLifecycleConfigAppType::Savitur; } else if (hashCode == CodeEditor_HASH) { return StudioLifecycleConfigAppType::CodeEditor; } + else if (hashCode == JupyterLab_HASH) + { + return StudioLifecycleConfigAppType::JupyterLab; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -65,10 +75,14 @@ namespace Aws return "JupyterServer"; case StudioLifecycleConfigAppType::KernelGateway: return "KernelGateway"; - case StudioLifecycleConfigAppType::JupyterLab: - return "JupyterLab"; + case StudioLifecycleConfigAppType::VSCode: + return "VSCode"; + case StudioLifecycleConfigAppType::Savitur: + return "Savitur"; case StudioLifecycleConfigAppType::CodeEditor: return "CodeEditor"; + case StudioLifecycleConfigAppType::JupyterLab: + return "JupyterLab"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/TableFormat.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/TableFormat.cpp index 9bd64f9e9d1..5ddb0b0c869 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/TableFormat.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/TableFormat.cpp @@ -20,6 +20,7 @@ namespace Aws namespace TableFormatMapper { + static const int Default_HASH = HashingUtils::HashString("Default"); static const int Glue_HASH = HashingUtils::HashString("Glue"); static const int Iceberg_HASH = HashingUtils::HashString("Iceberg"); @@ -27,7 +28,11 @@ namespace Aws TableFormat GetTableFormatForName(const Aws::String& name) { int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == Glue_HASH) + if (hashCode == Default_HASH) + { + return TableFormat::Default; + } + else if (hashCode == Glue_HASH) { return TableFormat::Glue; } @@ -51,6 +56,8 @@ namespace Aws { case TableFormat::NOT_SET: return {}; + case TableFormat::Default: + return "Default"; case TableFormat::Glue: return "Glue"; case TableFormat::Iceberg: diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/TargetDevice.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/TargetDevice.cpp index 56d1b94bedf..cf85cb575be 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/TargetDevice.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/TargetDevice.cpp @@ -23,8 +23,10 @@ namespace Aws static const int lambda_HASH = HashingUtils::HashString("lambda"); static const int ml_m4_HASH = HashingUtils::HashString("ml_m4"); static const int ml_m5_HASH = HashingUtils::HashString("ml_m5"); + static const int ml_m6g_HASH = HashingUtils::HashString("ml_m6g"); static const int ml_c4_HASH = HashingUtils::HashString("ml_c4"); static const int ml_c5_HASH = HashingUtils::HashString("ml_c5"); + static const int ml_c6g_HASH = HashingUtils::HashString("ml_c6g"); static const int ml_p2_HASH = HashingUtils::HashString("ml_p2"); static const int ml_p3_HASH = HashingUtils::HashString("ml_p3"); static const int ml_g4dn_HASH = HashingUtils::HashString("ml_g4dn"); @@ -37,6 +39,7 @@ namespace Aws static const int jetson_nano_HASH = HashingUtils::HashString("jetson_nano"); static const int jetson_xavier_HASH = HashingUtils::HashString("jetson_xavier"); static const int rasp3b_HASH = HashingUtils::HashString("rasp3b"); + static const int rasp4b_HASH = HashingUtils::HashString("rasp4b"); static const int imx8qm_HASH = HashingUtils::HashString("imx8qm"); static const int deeplens_HASH = HashingUtils::HashString("deeplens"); static const int rk3399_HASH = HashingUtils::HashString("rk3399"); @@ -71,6 +74,10 @@ namespace Aws { return TargetDevice::ml_m5; } + else if (hashCode == ml_m6g_HASH) + { + return TargetDevice::ml_m6g; + } else if (hashCode == ml_c4_HASH) { return TargetDevice::ml_c4; @@ -79,6 +86,10 @@ namespace Aws { return TargetDevice::ml_c5; } + else if (hashCode == ml_c6g_HASH) + { + return TargetDevice::ml_c6g; + } else if (hashCode == ml_p2_HASH) { return TargetDevice::ml_p2; @@ -127,6 +138,10 @@ namespace Aws { return TargetDevice::rasp3b; } + else if (hashCode == rasp4b_HASH) + { + return TargetDevice::rasp4b; + } else if (hashCode == imx8qm_HASH) { return TargetDevice::imx8qm; @@ -217,10 +232,14 @@ namespace Aws return "ml_m4"; case TargetDevice::ml_m5: return "ml_m5"; + case TargetDevice::ml_m6g: + return "ml_m6g"; case TargetDevice::ml_c4: return "ml_c4"; case TargetDevice::ml_c5: return "ml_c5"; + case TargetDevice::ml_c6g: + return "ml_c6g"; case TargetDevice::ml_p2: return "ml_p2"; case TargetDevice::ml_p3: @@ -245,6 +264,8 @@ namespace Aws return "jetson_xavier"; case TargetDevice::rasp3b: return "rasp3b"; + case TargetDevice::rasp4b: + return "rasp4b"; case TargetDevice::imx8qm: return "imx8qm"; case TargetDevice::deeplens: diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/TextGenerationJobConfig.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/TextGenerationJobConfig.cpp index 4b2da15583b..74f1f4bc4da 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/TextGenerationJobConfig.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/TextGenerationJobConfig.cpp @@ -21,14 +21,16 @@ namespace Model TextGenerationJobConfig::TextGenerationJobConfig() : m_completionCriteriaHasBeenSet(false), m_baseModelNameHasBeenSet(false), - m_textGenerationHyperParametersHasBeenSet(false) + m_textGenerationHyperParametersHasBeenSet(false), + m_modelAccessConfigHasBeenSet(false) { } TextGenerationJobConfig::TextGenerationJobConfig(JsonView jsonValue) : m_completionCriteriaHasBeenSet(false), m_baseModelNameHasBeenSet(false), - m_textGenerationHyperParametersHasBeenSet(false) + m_textGenerationHyperParametersHasBeenSet(false), + m_modelAccessConfigHasBeenSet(false) { *this = jsonValue; } @@ -59,6 +61,13 @@ TextGenerationJobConfig& TextGenerationJobConfig::operator =(JsonView jsonValue) m_textGenerationHyperParametersHasBeenSet = true; } + if(jsonValue.ValueExists("ModelAccessConfig")) + { + m_modelAccessConfig = jsonValue.GetObject("ModelAccessConfig"); + + m_modelAccessConfigHasBeenSet = true; + } + return *this; } @@ -89,6 +98,12 @@ JsonValue TextGenerationJobConfig::Jsonize() const } + if(m_modelAccessConfigHasBeenSet) + { + payload.WithObject("ModelAccessConfig", m_modelAccessConfig.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/TrainingInstanceType.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/TrainingInstanceType.cpp index 94c7adef64f..c6a13eee667 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/TrainingInstanceType.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/TrainingInstanceType.cpp @@ -49,6 +49,8 @@ namespace Aws static const int ml_p3_16xlarge_HASH = HashingUtils::HashString("ml.p3.16xlarge"); static const int ml_p3dn_24xlarge_HASH = HashingUtils::HashString("ml.p3dn.24xlarge"); static const int ml_p4d_24xlarge_HASH = HashingUtils::HashString("ml.p4d.24xlarge"); + static const int ml_p4de_24xlarge_HASH = HashingUtils::HashString("ml.p4de.24xlarge"); + static const int ml_p5_48xlarge_HASH = HashingUtils::HashString("ml.p5.48xlarge"); static const int ml_c5_xlarge_HASH = HashingUtils::HashString("ml.c5.xlarge"); static const int ml_c5_2xlarge_HASH = HashingUtils::HashString("ml.c5.2xlarge"); static const int ml_c5_4xlarge_HASH = HashingUtils::HashString("ml.c5.4xlarge"); @@ -70,7 +72,23 @@ namespace Aws static const int ml_trn1_2xlarge_HASH = HashingUtils::HashString("ml.trn1.2xlarge"); static const int ml_trn1_32xlarge_HASH = HashingUtils::HashString("ml.trn1.32xlarge"); static const int ml_trn1n_32xlarge_HASH = HashingUtils::HashString("ml.trn1n.32xlarge"); - static const int ml_p5_48xlarge_HASH = HashingUtils::HashString("ml.p5.48xlarge"); + static const int ml_m6i_large_HASH = HashingUtils::HashString("ml.m6i.large"); + static const int ml_m6i_xlarge_HASH = HashingUtils::HashString("ml.m6i.xlarge"); + static const int ml_m6i_2xlarge_HASH = HashingUtils::HashString("ml.m6i.2xlarge"); + static const int ml_m6i_4xlarge_HASH = HashingUtils::HashString("ml.m6i.4xlarge"); + static const int ml_m6i_8xlarge_HASH = HashingUtils::HashString("ml.m6i.8xlarge"); + static const int ml_m6i_12xlarge_HASH = HashingUtils::HashString("ml.m6i.12xlarge"); + static const int ml_m6i_16xlarge_HASH = HashingUtils::HashString("ml.m6i.16xlarge"); + static const int ml_m6i_24xlarge_HASH = HashingUtils::HashString("ml.m6i.24xlarge"); + static const int ml_m6i_32xlarge_HASH = HashingUtils::HashString("ml.m6i.32xlarge"); + static const int ml_c6i_xlarge_HASH = HashingUtils::HashString("ml.c6i.xlarge"); + static const int ml_c6i_2xlarge_HASH = HashingUtils::HashString("ml.c6i.2xlarge"); + static const int ml_c6i_8xlarge_HASH = HashingUtils::HashString("ml.c6i.8xlarge"); + static const int ml_c6i_4xlarge_HASH = HashingUtils::HashString("ml.c6i.4xlarge"); + static const int ml_c6i_12xlarge_HASH = HashingUtils::HashString("ml.c6i.12xlarge"); + static const int ml_c6i_16xlarge_HASH = HashingUtils::HashString("ml.c6i.16xlarge"); + static const int ml_c6i_24xlarge_HASH = HashingUtils::HashString("ml.c6i.24xlarge"); + static const int ml_c6i_32xlarge_HASH = HashingUtils::HashString("ml.c6i.32xlarge"); TrainingInstanceType GetTrainingInstanceTypeForName(const Aws::String& name) @@ -192,6 +210,14 @@ namespace Aws { return TrainingInstanceType::ml_p4d_24xlarge; } + else if (hashCode == ml_p4de_24xlarge_HASH) + { + return TrainingInstanceType::ml_p4de_24xlarge; + } + else if (hashCode == ml_p5_48xlarge_HASH) + { + return TrainingInstanceType::ml_p5_48xlarge; + } else if (hashCode == ml_c5_xlarge_HASH) { return TrainingInstanceType::ml_c5_xlarge; @@ -276,9 +302,73 @@ namespace Aws { return TrainingInstanceType::ml_trn1n_32xlarge; } - else if (hashCode == ml_p5_48xlarge_HASH) + else if (hashCode == ml_m6i_large_HASH) { - return TrainingInstanceType::ml_p5_48xlarge; + return TrainingInstanceType::ml_m6i_large; + } + else if (hashCode == ml_m6i_xlarge_HASH) + { + return TrainingInstanceType::ml_m6i_xlarge; + } + else if (hashCode == ml_m6i_2xlarge_HASH) + { + return TrainingInstanceType::ml_m6i_2xlarge; + } + else if (hashCode == ml_m6i_4xlarge_HASH) + { + return TrainingInstanceType::ml_m6i_4xlarge; + } + else if (hashCode == ml_m6i_8xlarge_HASH) + { + return TrainingInstanceType::ml_m6i_8xlarge; + } + else if (hashCode == ml_m6i_12xlarge_HASH) + { + return TrainingInstanceType::ml_m6i_12xlarge; + } + else if (hashCode == ml_m6i_16xlarge_HASH) + { + return TrainingInstanceType::ml_m6i_16xlarge; + } + else if (hashCode == ml_m6i_24xlarge_HASH) + { + return TrainingInstanceType::ml_m6i_24xlarge; + } + else if (hashCode == ml_m6i_32xlarge_HASH) + { + return TrainingInstanceType::ml_m6i_32xlarge; + } + else if (hashCode == ml_c6i_xlarge_HASH) + { + return TrainingInstanceType::ml_c6i_xlarge; + } + else if (hashCode == ml_c6i_2xlarge_HASH) + { + return TrainingInstanceType::ml_c6i_2xlarge; + } + else if (hashCode == ml_c6i_8xlarge_HASH) + { + return TrainingInstanceType::ml_c6i_8xlarge; + } + else if (hashCode == ml_c6i_4xlarge_HASH) + { + return TrainingInstanceType::ml_c6i_4xlarge; + } + else if (hashCode == ml_c6i_12xlarge_HASH) + { + return TrainingInstanceType::ml_c6i_12xlarge; + } + else if (hashCode == ml_c6i_16xlarge_HASH) + { + return TrainingInstanceType::ml_c6i_16xlarge; + } + else if (hashCode == ml_c6i_24xlarge_HASH) + { + return TrainingInstanceType::ml_c6i_24xlarge; + } + else if (hashCode == ml_c6i_32xlarge_HASH) + { + return TrainingInstanceType::ml_c6i_32xlarge; } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) @@ -354,6 +444,10 @@ namespace Aws return "ml.p3dn.24xlarge"; case TrainingInstanceType::ml_p4d_24xlarge: return "ml.p4d.24xlarge"; + case TrainingInstanceType::ml_p4de_24xlarge: + return "ml.p4de.24xlarge"; + case TrainingInstanceType::ml_p5_48xlarge: + return "ml.p5.48xlarge"; case TrainingInstanceType::ml_c5_xlarge: return "ml.c5.xlarge"; case TrainingInstanceType::ml_c5_2xlarge: @@ -396,8 +490,40 @@ namespace Aws return "ml.trn1.32xlarge"; case TrainingInstanceType::ml_trn1n_32xlarge: return "ml.trn1n.32xlarge"; - case TrainingInstanceType::ml_p5_48xlarge: - return "ml.p5.48xlarge"; + case TrainingInstanceType::ml_m6i_large: + return "ml.m6i.large"; + case TrainingInstanceType::ml_m6i_xlarge: + return "ml.m6i.xlarge"; + case TrainingInstanceType::ml_m6i_2xlarge: + return "ml.m6i.2xlarge"; + case TrainingInstanceType::ml_m6i_4xlarge: + return "ml.m6i.4xlarge"; + case TrainingInstanceType::ml_m6i_8xlarge: + return "ml.m6i.8xlarge"; + case TrainingInstanceType::ml_m6i_12xlarge: + return "ml.m6i.12xlarge"; + case TrainingInstanceType::ml_m6i_16xlarge: + return "ml.m6i.16xlarge"; + case TrainingInstanceType::ml_m6i_24xlarge: + return "ml.m6i.24xlarge"; + case TrainingInstanceType::ml_m6i_32xlarge: + return "ml.m6i.32xlarge"; + case TrainingInstanceType::ml_c6i_xlarge: + return "ml.c6i.xlarge"; + case TrainingInstanceType::ml_c6i_2xlarge: + return "ml.c6i.2xlarge"; + case TrainingInstanceType::ml_c6i_8xlarge: + return "ml.c6i.8xlarge"; + case TrainingInstanceType::ml_c6i_4xlarge: + return "ml.c6i.4xlarge"; + case TrainingInstanceType::ml_c6i_12xlarge: + return "ml.c6i.12xlarge"; + case TrainingInstanceType::ml_c6i_16xlarge: + return "ml.c6i.16xlarge"; + case TrainingInstanceType::ml_c6i_24xlarge: + return "ml.c6i.24xlarge"; + case TrainingInstanceType::ml_c6i_32xlarge: + return "ml.c6i.32xlarge"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/TransformJob.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/TransformJob.cpp index e3f180cfbd6..344e87936a2 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/TransformJob.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/TransformJob.cpp @@ -35,6 +35,7 @@ TransformJob::TransformJob() : m_environmentHasBeenSet(false), m_transformInputHasBeenSet(false), m_transformOutputHasBeenSet(false), + m_dataCaptureConfigHasBeenSet(false), m_transformResourcesHasBeenSet(false), m_creationTimeHasBeenSet(false), m_transformStartTimeHasBeenSet(false), @@ -43,8 +44,7 @@ TransformJob::TransformJob() : m_autoMLJobArnHasBeenSet(false), m_dataProcessingHasBeenSet(false), m_experimentConfigHasBeenSet(false), - m_tagsHasBeenSet(false), - m_dataCaptureConfigHasBeenSet(false) + m_tagsHasBeenSet(false) { } @@ -65,6 +65,7 @@ TransformJob::TransformJob(JsonView jsonValue) : m_environmentHasBeenSet(false), m_transformInputHasBeenSet(false), m_transformOutputHasBeenSet(false), + m_dataCaptureConfigHasBeenSet(false), m_transformResourcesHasBeenSet(false), m_creationTimeHasBeenSet(false), m_transformStartTimeHasBeenSet(false), @@ -73,8 +74,7 @@ TransformJob::TransformJob(JsonView jsonValue) : m_autoMLJobArnHasBeenSet(false), m_dataProcessingHasBeenSet(false), m_experimentConfigHasBeenSet(false), - m_tagsHasBeenSet(false), - m_dataCaptureConfigHasBeenSet(false) + m_tagsHasBeenSet(false) { *this = jsonValue; } @@ -168,6 +168,13 @@ TransformJob& TransformJob::operator =(JsonView jsonValue) m_transformOutputHasBeenSet = true; } + if(jsonValue.ValueExists("DataCaptureConfig")) + { + m_dataCaptureConfig = jsonValue.GetObject("DataCaptureConfig"); + + m_dataCaptureConfigHasBeenSet = true; + } + if(jsonValue.ValueExists("TransformResources")) { m_transformResources = jsonValue.GetObject("TransformResources"); @@ -234,13 +241,6 @@ TransformJob& TransformJob::operator =(JsonView jsonValue) m_tagsHasBeenSet = true; } - if(jsonValue.ValueExists("DataCaptureConfig")) - { - m_dataCaptureConfig = jsonValue.GetObject("DataCaptureConfig"); - - m_dataCaptureConfigHasBeenSet = true; - } - return *this; } @@ -323,6 +323,12 @@ JsonValue TransformJob::Jsonize() const } + if(m_dataCaptureConfigHasBeenSet) + { + payload.WithObject("DataCaptureConfig", m_dataCaptureConfig.Jsonize()); + + } + if(m_transformResourcesHasBeenSet) { payload.WithObject("TransformResources", m_transformResources.Jsonize()); @@ -379,12 +385,6 @@ JsonValue TransformJob::Jsonize() const } - if(m_dataCaptureConfigHasBeenSet) - { - payload.WithObject("DataCaptureConfig", m_dataCaptureConfig.Jsonize()); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateDomainRequest.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateDomainRequest.cpp index c6f8244ca43..557b657fc65 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateDomainRequest.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/UpdateDomainRequest.cpp @@ -16,9 +16,9 @@ UpdateDomainRequest::UpdateDomainRequest() : m_domainIdHasBeenSet(false), m_defaultUserSettingsHasBeenSet(false), m_domainSettingsForUpdateHasBeenSet(false), - m_defaultSpaceSettingsHasBeenSet(false), m_appSecurityGroupManagement(AppSecurityGroupManagement::NOT_SET), m_appSecurityGroupManagementHasBeenSet(false), + m_defaultSpaceSettingsHasBeenSet(false), m_subnetIdsHasBeenSet(false), m_appNetworkAccessType(AppNetworkAccessType::NOT_SET), m_appNetworkAccessTypeHasBeenSet(false) @@ -47,15 +47,15 @@ Aws::String UpdateDomainRequest::SerializePayload() const } - if(m_defaultSpaceSettingsHasBeenSet) + if(m_appSecurityGroupManagementHasBeenSet) { - payload.WithObject("DefaultSpaceSettings", m_defaultSpaceSettings.Jsonize()); - + payload.WithString("AppSecurityGroupManagement", AppSecurityGroupManagementMapper::GetNameForAppSecurityGroupManagement(m_appSecurityGroupManagement)); } - if(m_appSecurityGroupManagementHasBeenSet) + if(m_defaultSpaceSettingsHasBeenSet) { - payload.WithString("AppSecurityGroupManagement", AppSecurityGroupManagementMapper::GetNameForAppSecurityGroupManagement(m_appSecurityGroupManagement)); + payload.WithObject("DefaultSpaceSettings", m_defaultSpaceSettings.Jsonize()); + } if(m_subnetIdsHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/UserSettings.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/UserSettings.cpp index f7259beffae..6ccc71d06d7 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/UserSettings.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/UserSettings.cpp @@ -28,8 +28,8 @@ UserSettings::UserSettings() : m_rStudioServerProAppSettingsHasBeenSet(false), m_rSessionAppSettingsHasBeenSet(false), m_canvasAppSettingsHasBeenSet(false), - m_jupyterLabAppSettingsHasBeenSet(false), m_codeEditorAppSettingsHasBeenSet(false), + m_jupyterLabAppSettingsHasBeenSet(false), m_spaceStorageSettingsHasBeenSet(false), m_defaultLandingUriHasBeenSet(false), m_studioWebPortal(StudioWebPortal::NOT_SET), @@ -49,8 +49,8 @@ UserSettings::UserSettings(JsonView jsonValue) : m_rStudioServerProAppSettingsHasBeenSet(false), m_rSessionAppSettingsHasBeenSet(false), m_canvasAppSettingsHasBeenSet(false), - m_jupyterLabAppSettingsHasBeenSet(false), m_codeEditorAppSettingsHasBeenSet(false), + m_jupyterLabAppSettingsHasBeenSet(false), m_spaceStorageSettingsHasBeenSet(false), m_defaultLandingUriHasBeenSet(false), m_studioWebPortal(StudioWebPortal::NOT_SET), @@ -129,18 +129,18 @@ UserSettings& UserSettings::operator =(JsonView jsonValue) m_canvasAppSettingsHasBeenSet = true; } - if(jsonValue.ValueExists("JupyterLabAppSettings")) + if(jsonValue.ValueExists("CodeEditorAppSettings")) { - m_jupyterLabAppSettings = jsonValue.GetObject("JupyterLabAppSettings"); + m_codeEditorAppSettings = jsonValue.GetObject("CodeEditorAppSettings"); - m_jupyterLabAppSettingsHasBeenSet = true; + m_codeEditorAppSettingsHasBeenSet = true; } - if(jsonValue.ValueExists("CodeEditorAppSettings")) + if(jsonValue.ValueExists("JupyterLabAppSettings")) { - m_codeEditorAppSettings = jsonValue.GetObject("CodeEditorAppSettings"); + m_jupyterLabAppSettings = jsonValue.GetObject("JupyterLabAppSettings"); - m_codeEditorAppSettingsHasBeenSet = true; + m_jupyterLabAppSettingsHasBeenSet = true; } if(jsonValue.ValueExists("SpaceStorageSettings")) @@ -247,15 +247,15 @@ JsonValue UserSettings::Jsonize() const } - if(m_jupyterLabAppSettingsHasBeenSet) + if(m_codeEditorAppSettingsHasBeenSet) { - payload.WithObject("JupyterLabAppSettings", m_jupyterLabAppSettings.Jsonize()); + payload.WithObject("CodeEditorAppSettings", m_codeEditorAppSettings.Jsonize()); } - if(m_codeEditorAppSettingsHasBeenSet) + if(m_jupyterLabAppSettingsHasBeenSet) { - payload.WithObject("CodeEditorAppSettings", m_codeEditorAppSettings.Jsonize()); + payload.WithObject("JupyterLabAppSettings", m_jupyterLabAppSettings.Jsonize()); } diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 0a392f6819e..1cefbb9bfbc 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.225" +#define AWS_SDK_VERSION_STRING "1.11.226" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 225 +#define AWS_SDK_VERSION_PATCH 226 diff --git a/tools/code-generation/api-descriptions/cloud9-2017-09-23.normal.json b/tools/code-generation/api-descriptions/cloud9-2017-09-23.normal.json index 243a0499bab..94ff20f115b 100644 --- a/tools/code-generation/api-descriptions/cloud9-2017-09-23.normal.json +++ b/tools/code-generation/api-descriptions/cloud9-2017-09-23.normal.json @@ -331,7 +331,7 @@ }, "imageId":{ "shape":"ImageId", - "documentation":"

      The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path.

      From December 04, 2023, you will be required to include the imageId parameter for the CreateEnvironmentEC2 action. This change will be reflected across all direct methods of communicating with the API, such as Amazon Web Services SDK, Amazon Web Services CLI and Amazon Web Services CloudFormation. This change will only affect direct API consumers, and not Cloud9 console users.

      From January 22, 2024, Amazon Linux (AL1) will be removed from the list of available image IDs for Cloud9. This is necessary as AL1 will reach the end of maintenance support in December 2023, and as a result will no longer receive security updates. We recommend using Amazon Linux 2 as the AMI to create your environment as it is fully supported. This change will only affect direct API consumers, and not Cloud9 console users.

      Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.

      AMI aliases

      • Amazon Linux: amazonlinux-1-x86_64

      • Amazon Linux 2: amazonlinux-2-x86_64

      • Ubuntu 18.04: ubuntu-18.04-x86_64

      • Ubuntu 22.04: ubuntu-22.04-x86_64

      SSM paths

      • Amazon Linux: resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64

      • Amazon Linux 2: resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64

      • Ubuntu 18.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64

      • Ubuntu 22.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64

      " + "documentation":"

      The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path.

      From December 04, 2023, you will be required to include the imageId parameter for the CreateEnvironmentEC2 action. This change will be reflected across all direct methods of communicating with the API, such as Amazon Web Services SDK, Amazon Web Services CLI and Amazon Web Services CloudFormation. This change will only affect direct API consumers, and not Cloud9 console users.

      From January 22, 2024, Amazon Linux (AL1) will be removed from the list of available image IDs for Cloud9. This is necessary as AL1 will reach the end of maintenance support in December 2023, and as a result will no longer receive security updates. We recommend using Amazon Linux 2023 as the AMI to create your environment as it is fully supported. This change will only affect direct API consumers, and not Cloud9 console users.

      Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.

      AMI aliases

      • Amazon Linux: amazonlinux-1-x86_64

      • Amazon Linux 2: amazonlinux-2-x86_64

      • Amazon Linux 2023 (recommended): amazonlinux-2023-x86_64

      • Ubuntu 18.04: ubuntu-18.04-x86_64

      • Ubuntu 22.04: ubuntu-22.04-x86_64

      SSM paths

      • Amazon Linux: resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64

      • Amazon Linux 2: resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64

      • Amazon Linux 2023 (recommended): resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2023-x86_64

      • Ubuntu 18.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64

      • Ubuntu 22.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64

      " }, "automaticStopTimeMinutes":{ "shape":"AutomaticStopTimeMinutes", diff --git a/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json b/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json index 58bced42164..028b333e1cd 100644 --- a/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json +++ b/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json @@ -2673,6 +2673,26 @@ ], "documentation":"

      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.

      " }, + "PauseContact":{ + "name":"PauseContact", + "http":{ + "method":"POST", + "requestUri":"/contact/pause" + }, + "input":{"shape":"PauseContactRequest"}, + "output":{"shape":"PauseContactResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"LimitExceededException"}, + {"shape":"ConflictException"} + ], + "documentation":"

      Allows pausing an ongoing task contact.

      " + }, "PutUserStatus":{ "name":"PutUserStatus", "http":{ @@ -2729,6 +2749,25 @@ ], "documentation":"

      Replicates an Amazon Connect instance in the specified Amazon Web Services Region and copies configuration information for Amazon Connect resources across Amazon Web Services Regions.

      For more information about replicating an Amazon Connect instance, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.

      " }, + "ResumeContact":{ + "name":"ResumeContact", + "http":{ + "method":"POST", + "requestUri":"/contact/resume" + }, + "input":{"shape":"ResumeContactRequest"}, + "output":{"shape":"ResumeContactResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"} + ], + "documentation":"

      Allows resuming a task contact in a paused state.

      " + }, "ResumeContactRecording":{ "name":"ResumeContactRecording", "http":{ @@ -3988,7 +4027,10 @@ "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", - "SEND_NOTIFICATION" + "SEND_NOTIFICATION", + "CREATE_CASE", + "UPDATE_CASE", + "END_ASSOCIATED_TASKS" ] }, "ActivateEvaluationFormRequest":{ @@ -4111,6 +4153,10 @@ "ConnectedToAgentTimestamp":{ "shape":"timestamp", "documentation":"

      The timestamp when the contact was connected to the agent.

      " + }, + "AgentPauseDurationInSeconds":{ + "shape":"AgentPauseDurationInSeconds", + "documentation":"

      Agent pause duration for a contact in seconds.

      " } }, "documentation":"

      Information about the agent who accepted the contact.

      " @@ -4120,6 +4166,10 @@ "max":100, "min":1 }, + "AgentPauseDurationInSeconds":{ + "type":"integer", + "min":0 + }, "AgentResourceId":{ "type":"string", "max":256, @@ -5239,6 +5289,15 @@ "max":10, "min":1 }, + "ConflictException":{ + "type":"structure", + "members":{ + "Message":{"shape":"Message"} + }, + "documentation":"

      Operation cannot be performed at this time as there is a conflict with another operation or contact state.

      ", + "error":{"httpStatusCode":409}, + "exception":true + }, "ConnectionData":{ "type":"structure", "members":{ @@ -5308,6 +5367,22 @@ "shape":"timestamp", "documentation":"

      The timestamp when contact was last updated.

      " }, + "LastPausedTimestamp":{ + "shape":"timestamp", + "documentation":"

      The timestamp when the contact was last paused.

      " + }, + "LastResumedTimestamp":{ + "shape":"timestamp", + "documentation":"

      The timestamp when the contact was last resumed.

      " + }, + "TotalPauseCount":{ + "shape":"TotalPauseCount", + "documentation":"

      Total pause count for a contact.

      " + }, + "TotalPauseDurationInSeconds":{ + "shape":"TotalPauseDurationInSeconds", + "documentation":"

      Total pause duration for a contact in seconds.

      " + }, "ScheduledTimestamp":{ "shape":"timestamp", "documentation":"

      The timestamp, in Unix epoch time format, at which to start running the inbound flow.

      " @@ -5742,6 +5817,24 @@ } } }, + "CreateCaseActionDefinition":{ + "type":"structure", + "required":[ + "Fields", + "TemplateId" + ], + "members":{ + "Fields":{ + "shape":"FieldValues", + "documentation":"

      An array of objects with Field ID and Value data.

      " + }, + "TemplateId":{ + "shape":"TemplateId", + "documentation":"

      A unique identifier of a template.

      " + } + }, + "documentation":"

      The CreateCase action definition.

      " + }, "CreateContactFlowModuleRequest":{ "type":"structure", "required":[ @@ -8717,6 +8810,7 @@ "type":"list", "member":{"shape":"Distribution"} }, + "Double":{"type":"double"}, "DuplicateResourceException":{ "type":"structure", "members":{ @@ -8741,6 +8835,12 @@ }, "documentation":"

      Information about a reference when the referenceType is EMAIL. Otherwise, null.

      " }, + "EmptyFieldValue":{ + "type":"structure", + "members":{ + }, + "documentation":"

      An empty value.

      " + }, "EncryptionConfig":{ "type":"structure", "required":[ @@ -8763,6 +8863,12 @@ "type":"string", "enum":["KMS"] }, + "EndAssociatedTasksActionDefinition":{ + "type":"structure", + "members":{ + }, + "documentation":"

      End associated tasks related to a case.

      " + }, "Endpoint":{ "type":"structure", "members":{ @@ -9682,7 +9788,9 @@ "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", - "OnMetricDataUpdate" + "OnMetricDataUpdate", + "OnCaseCreate", + "OnCaseUpdate" ] }, "FailedRequest":{ @@ -9722,6 +9830,60 @@ "INTERNAL_ERROR" ] }, + "FieldStringValue":{ + "type":"string", + "max":500, + "min":0 + }, + "FieldValue":{ + "type":"structure", + "required":[ + "Id", + "Value" + ], + "members":{ + "Id":{ + "shape":"FieldValueId", + "documentation":"

      Unique identifier of a field.

      " + }, + "Value":{ + "shape":"FieldValueUnion", + "documentation":"

      Union of potential field value types.

      " + } + }, + "documentation":"

      Object for case field values.

      " + }, + "FieldValueId":{ + "type":"string", + "max":500, + "min":1 + }, + "FieldValueUnion":{ + "type":"structure", + "members":{ + "BooleanValue":{ + "shape":"Boolean", + "documentation":"

      A Boolean number value type.

      " + }, + "DoubleValue":{ + "shape":"Double", + "documentation":"

      a Double number value type.

      " + }, + "EmptyValue":{ + "shape":"EmptyFieldValue", + "documentation":"

      An empty value.

      " + }, + "StringValue":{ + "shape":"FieldStringValue", + "documentation":"

      String value type.

      " + } + }, + "documentation":"

      Object to store union of Field values.

      " + }, + "FieldValues":{ + "type":"list", + "member":{"shape":"FieldValue"} + }, "FilterV2":{ "type":"structure", "members":{ @@ -10112,7 +10274,7 @@ }, "Metrics":{ "shape":"MetricsV2", - "documentation":"

      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.

      ABANDONMENT_RATE

      Unit: Percent

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      AGENT_ADHERENT_TIME

      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

      AGENT_ANSWER_RATE

      Unit: Percent

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      AGENT_NON_ADHERENT_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      AGENT_NON_RESPONSE

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

      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.

      AGENT_OCCUPANCY

      Unit: Percentage

      Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

      AGENT_SCHEDULE_ADHERENCE

      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

      AGENT_SCHEDULED_TIME

      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

      AVG_ABANDON_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      AVG_AFTER_CONTACT_WORK_TIME

      Unit: Seconds

      Valid metric filter key: INITIATION_METHOD

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_AGENT_CONNECTING_TIME

      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.

      AVG_CONTACT_DURATION

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_CONVERSATION_DURATION

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      AVG_GREETING_TIME_AGENT

      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, contact/segmentAttributes/connect:Subtype

      AVG_HANDLE_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_HOLD_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_HOLD_TIME_ALL_CONTACTS

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      AVG_HOLDS

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_INTERACTION_AND_HOLD_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      AVG_INTERACTION_TIME

      Unit: Seconds

      Valid metric filter key: INITIATION_METHOD

      Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_INTERRUPTIONS_AGENT

      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, contact/segmentAttributes/connect:Subtype

      AVG_INTERRUPTION_TIME_AGENT

      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, contact/segmentAttributes/connect:Subtype

      AVG_NON_TALK_TIME

      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, contact/segmentAttributes/connect:Subtype

      AVG_QUEUE_ANSWER_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_RESOLUTION_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      AVG_TALK_TIME

      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, contact/segmentAttributes/connect:Subtype

      AVG_TALK_TIME_AGENT

      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, contact/segmentAttributes/connect:Subtype

      AVG_TALK_TIME_CUSTOMER

      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, contact/segmentAttributes/connect:Subtype

      CONTACTS_ABANDONED

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      CONTACTS_CREATED

      Unit: Count

      Valid metric filter key: INITIATION_METHOD

      Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      CONTACTS_HANDLED

      Unit: Count

      Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      CONTACTS_HOLD_ABANDONS

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      CONTACTS_ON_HOLD_AGENT_DISCONNECT

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      CONTACTS_PUT_ON_HOLD

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      CONTACTS_TRANSFERRED_OUT_EXTERNAL

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      CONTACTS_TRANSFERRED_OUT_INTERNAL

      Unit: Percent

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      CONTACTS_QUEUED

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      CONTACTS_RESOLVED_IN_X

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

      CONTACTS_TRANSFERRED_OUT

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      CONTACTS_TRANSFERRED_OUT_BY_AGENT

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      MAX_QUEUED_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      PERCENT_NON_TALK_TIME

      This metric is available only for contacts analyzed by Contact Lens conversational analytics.

      Unit: Percentage

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      PERCENT_TALK_TIME

      This metric is available only for contacts analyzed by Contact Lens conversational analytics.

      Unit: Percentage

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      PERCENT_TALK_TIME_AGENT

      This metric is available only for contacts analyzed by Contact Lens conversational analytics.

      Unit: Percentage

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      PERCENT_TALK_TIME_CUSTOMER

      This metric is available only for contacts analyzed by Contact Lens conversational analytics.

      Unit: Percentage

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      SERVICE_LEVEL

      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\").

      SUM_AFTER_CONTACT_WORK_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_CONNECTING_TIME_AGENT

      Unit: Seconds

      Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys 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.

      SUM_CONTACT_FLOW_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_CONTACT_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_CONTACTS_ANSWERED_IN_X

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

      SUM_CONTACTS_ABANDONED_IN_X

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

      SUM_CONTACTS_DISCONNECTED

      Valid metric filter key: DISCONNECT_REASON

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      SUM_ERROR_STATUS_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_HANDLE_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_HOLD_TIME

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_IDLE_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

      SUM_INTERACTION_AND_HOLD_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_INTERACTION_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_NON_PRODUCTIVE_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

      SUM_ONLINE_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

      SUM_RETRY_CALLBACK_ATTEMPTS

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      " + "documentation":"

      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.

      ABANDONMENT_RATE

      Unit: Percent

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      AGENT_ADHERENT_TIME

      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

      AGENT_ANSWER_RATE

      Unit: Percent

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      AGENT_NON_ADHERENT_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      AGENT_NON_RESPONSE

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

      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.

      AGENT_OCCUPANCY

      Unit: Percentage

      Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

      AGENT_SCHEDULE_ADHERENCE

      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

      AGENT_SCHEDULED_TIME

      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

      AVG_ABANDON_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      AVG_ACTIVE_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      AVG_AFTER_CONTACT_WORK_TIME

      Unit: Seconds

      Valid metric filter key: INITIATION_METHOD

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_AGENT_CONNECTING_TIME

      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.

      AVG_AGENT_PAUSE_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      AVG_CONTACT_DURATION

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_CONVERSATION_DURATION

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      AVG_GREETING_TIME_AGENT

      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, contact/segmentAttributes/connect:Subtype

      AVG_HANDLE_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_HOLD_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_HOLD_TIME_ALL_CONTACTS

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      AVG_HOLDS

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_INTERACTION_AND_HOLD_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      AVG_INTERACTION_TIME

      Unit: Seconds

      Valid metric filter key: INITIATION_METHOD

      Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_INTERRUPTIONS_AGENT

      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, contact/segmentAttributes/connect:Subtype

      AVG_INTERRUPTION_TIME_AGENT

      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, contact/segmentAttributes/connect:Subtype

      AVG_NON_TALK_TIME

      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, contact/segmentAttributes/connect:Subtype

      AVG_QUEUE_ANSWER_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      AVG_RESOLUTION_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      AVG_TALK_TIME

      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, contact/segmentAttributes/connect:Subtype

      AVG_TALK_TIME_AGENT

      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, contact/segmentAttributes/connect:Subtype

      AVG_TALK_TIME_CUSTOMER

      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, contact/segmentAttributes/connect:Subtype

      CONTACTS_ABANDONED

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      CONTACTS_CREATED

      Unit: Count

      Valid metric filter key: INITIATION_METHOD

      Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      CONTACTS_HANDLED

      Unit: Count

      Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      CONTACTS_HOLD_ABANDONS

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      CONTACTS_ON_HOLD_AGENT_DISCONNECT

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      CONTACTS_PUT_ON_HOLD

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      CONTACTS_TRANSFERRED_OUT_EXTERNAL

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      CONTACTS_TRANSFERRED_OUT_INTERNAL

      Unit: Percent

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      CONTACTS_QUEUED

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      CONTACTS_RESOLVED_IN_X

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

      CONTACTS_TRANSFERRED_OUT

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

      Feature is a valid filter but not a valid grouping.

      CONTACTS_TRANSFERRED_OUT_BY_AGENT

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      MAX_QUEUED_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      PERCENT_NON_TALK_TIME

      This metric is available only for contacts analyzed by Contact Lens conversational analytics.

      Unit: Percentage

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      PERCENT_TALK_TIME

      This metric is available only for contacts analyzed by Contact Lens conversational analytics.

      Unit: Percentage

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      PERCENT_TALK_TIME_AGENT

      This metric is available only for contacts analyzed by Contact Lens conversational analytics.

      Unit: Percentage

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      PERCENT_TALK_TIME_CUSTOMER

      This metric is available only for contacts analyzed by Contact Lens conversational analytics.

      Unit: Percentage

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      SERVICE_LEVEL

      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\").

      SUM_AFTER_CONTACT_WORK_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_CONNECTING_TIME_AGENT

      Unit: Seconds

      Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys 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.

      SUM_CONTACT_FLOW_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_CONTACT_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_CONTACTS_ANSWERED_IN_X

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

      SUM_CONTACTS_ABANDONED_IN_X

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

      SUM_CONTACTS_DISCONNECTED

      Valid metric filter key: DISCONNECT_REASON

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

      SUM_ERROR_STATUS_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_HANDLE_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_HOLD_TIME

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_IDLE_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

      SUM_INTERACTION_AND_HOLD_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_INTERACTION_TIME

      Unit: Seconds

      Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

      SUM_NON_PRODUCTIVE_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

      SUM_ONLINE_TIME_AGENT

      Unit: Seconds

      Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

      SUM_RETRY_CALLBACK_ATTEMPTS

      Unit: Count

      Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

      " }, "NextToken":{ "shape":"NextToken2500", @@ -13874,6 +14036,32 @@ "type":"string", "pattern":"/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[a-zA-Z\\d\\S]{8,64}$/" }, + "PauseContactRequest":{ + "type":"structure", + "required":[ + "ContactId", + "InstanceId" + ], + "members":{ + "ContactId":{ + "shape":"ContactId", + "documentation":"

      The identifier of the contact.

      " + }, + "InstanceId":{ + "shape":"InstanceId", + "documentation":"

      The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

      " + }, + "ContactFlowId":{ + "shape":"ContactFlowId", + "documentation":"

      The identifier of the flow.

      " + } + } + }, + "PauseContactResponse":{ + "type":"structure", + "members":{ + } + }, "Percentage":{ "type":"integer", "max":100, @@ -15562,6 +15750,32 @@ "members":{ } }, + "ResumeContactRequest":{ + "type":"structure", + "required":[ + "ContactId", + "InstanceId" + ], + "members":{ + "ContactId":{ + "shape":"ContactId", + "documentation":"

      The identifier of the contact.

      " + }, + "InstanceId":{ + "shape":"InstanceId", + "documentation":"

      The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

      " + }, + "ContactFlowId":{ + "shape":"ContactFlowId", + "documentation":"

      The identifier of the flow.

      " + } + } + }, + "ResumeContactResponse":{ + "type":"structure", + "members":{ + } + }, "RoutingProfile":{ "type":"structure", "members":{ @@ -15898,6 +16112,18 @@ "SendNotificationAction":{ "shape":"SendNotificationActionDefinition", "documentation":"

      Information about the send notification action.

      Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnContactEvaluationSubmit | OnMetricDataUpdate

      " + }, + "CreateCaseAction":{ + "shape":"CreateCaseActionDefinition", + "documentation":"

      Information about the create case action.

      Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnPostChatAnalysisAvailable.

      " + }, + "UpdateCaseAction":{ + "shape":"UpdateCaseActionDefinition", + "documentation":"

      Information about the update case action.

      Supported only for TriggerEventSource values: OnCaseCreate | OnCaseUpdate.

      " + }, + "EndAssociatedTasksAction":{ + "shape":"EndAssociatedTasksActionDefinition", + "documentation":"

      Information about the end associated tasks action.

      Supported only for TriggerEventSource values: OnCaseUpdate.

      " } }, "documentation":"

      Information about the action to be performed when a rule is triggered.

      " @@ -16857,7 +17083,8 @@ "type":"string", "enum":[ "SALESFORCE", - "ZENDESK" + "ZENDESK", + "CASES" ] }, "StartChatContactRequest":{ @@ -17060,6 +17287,22 @@ "InstanceId" ], "members":{ + "Name":{ + "shape":"Name", + "documentation":"

      The name of a voice contact that is shown to an agent in the Contact Control Panel (CCP).

      " + }, + "Description":{ + "shape":"Description", + "documentation":"

      A description of the voice contact that is shown to an agent in the Contact Control Panel (CCP).

      " + }, + "References":{ + "shape":"ContactReferences", + "documentation":"

      A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Contacts can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL. ATTACHMENT is not a supported reference type during voice contact creation.

      " + }, + "RelatedContactId":{ + "shape":"ContactId", + "documentation":"

      The contactId that is related to this contact. Linking voice, task, or chat by using RelatedContactID copies over contact attributes from the related contact to the new contact. All updates to user-defined attributes in the new contact are limited to the individual contact ID. There are no limits to the number of contacts that can be linked by using RelatedContactId.

      " + }, "DestinationPhoneNumber":{ "shape":"PhoneNumber", "documentation":"

      The phone number of the customer, in E.164 format.

      " @@ -17878,6 +18121,11 @@ }, "documentation":"

      The distribution of traffic between the instance and its replicas.

      " }, + "TemplateId":{ + "type":"string", + "max":500, + "min":1 + }, "Threshold":{ "type":"structure", "members":{ @@ -17941,6 +18189,15 @@ "error":{"httpStatusCode":429}, "exception":true }, + "TotalPauseCount":{ + "type":"integer", + "max":10, + "min":0 + }, + "TotalPauseDurationInSeconds":{ + "type":"integer", + "min":0 + }, "TrafficDistributionGroup":{ "type":"structure", "members":{ @@ -18223,6 +18480,17 @@ } } }, + "UpdateCaseActionDefinition":{ + "type":"structure", + "required":["Fields"], + "members":{ + "Fields":{ + "shape":"FieldValues", + "documentation":"

      An array of objects with Field ID and Value data.

      " + } + }, + "documentation":"

      The UpdateCase action definition.

      " + }, "UpdateContactAttributesRequest":{ "type":"structure", "required":[ diff --git a/tools/code-generation/api-descriptions/connectcases-2022-10-03.normal.json b/tools/code-generation/api-descriptions/connectcases-2022-10-03.normal.json index c89156bc524..83bb9aebe0f 100644 --- a/tools/code-generation/api-descriptions/connectcases-2022-10-03.normal.json +++ b/tools/code-generation/api-descriptions/connectcases-2022-10-03.normal.json @@ -740,7 +740,7 @@ "CaseEventIncludedDataFieldsList":{ "type":"list", "member":{"shape":"FieldIdentifier"}, - "max":50, + "max":200, "min":0 }, "CaseFilter":{ diff --git a/tools/code-generation/api-descriptions/kms-2014-11-01.normal.json b/tools/code-generation/api-descriptions/kms-2014-11-01.normal.json index 215a358afd7..94ef9d82d41 100644 --- a/tools/code-generation/api-descriptions/kms-2014-11-01.normal.json +++ b/tools/code-generation/api-descriptions/kms-2014-11-01.normal.json @@ -28,7 +28,7 @@ {"shape":"KMSInternalException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS key is Disabled. To enable the KMS key, use EnableKey.

      For more information about scheduling and canceling deletion of a KMS key, see Deleting KMS keys in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:CancelKeyDeletion (key policy)

      Related operations: ScheduleKeyDeletion

      " + "documentation":"

      Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS key is Disabled. To enable the KMS key, use EnableKey.

      For more information about scheduling and canceling deletion of a KMS key, see Deleting KMS keys in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:CancelKeyDeletion (key policy)

      Related operations: ScheduleKeyDeletion

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "ConnectCustomKeyStore":{ "name":"ConnectCustomKeyStore", @@ -45,7 +45,7 @@ {"shape":"KMSInternalException"}, {"shape":"CloudHsmClusterInvalidConfigurationException"} ], - "documentation":"

      Connects or reconnects a custom key store to its backing key store. For an CloudHSM key store, ConnectCustomKeyStore connects the key store to its associated CloudHSM cluster. For an external key store, ConnectCustomKeyStore connects the key store to the external key store proxy that communicates with your external key manager.

      The custom key store must be connected before you can create KMS keys in the key store or use the KMS keys it contains. You can disconnect and reconnect a custom key store at any time.

      The connection process for a custom key store can take an extended amount of time to complete. This operation starts the connection process, but it does not wait for it to complete. When it succeeds, this operation quickly returns an HTTP 200 response and a JSON object with no properties. However, this response does not indicate that the custom key store is connected. To get the connection state of the custom key store, use the DescribeCustomKeyStores operation.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      The ConnectCustomKeyStore operation might fail for various reasons. To find the reason, use the DescribeCustomKeyStores operation and see the ConnectionErrorCode in the response. For help interpreting the ConnectionErrorCode, see CustomKeyStoresListEntry.

      To fix the failure, use the DisconnectCustomKeyStore operation to disconnect the custom key store, correct the error, use the UpdateCustomKeyStore operation if necessary, and then use ConnectCustomKeyStore again.

      CloudHSM key store

      During the connection process for an CloudHSM key store, KMS finds the CloudHSM cluster that is associated with the custom key store, creates the connection infrastructure, connects to the cluster, logs into the CloudHSM client as the kmsuser CU, and rotates its password.

      To connect an CloudHSM key store, its associated CloudHSM cluster must have at least one active HSM. To get the number of active HSMs in a cluster, use the DescribeClusters operation. To add HSMs to the cluster, use the CreateHsm operation. Also, the kmsuser crypto user (CU) must not be logged into the cluster. This prevents KMS from using this account to log in.

      If you are having trouble connecting or disconnecting a CloudHSM key store, see Troubleshooting an CloudHSM key store in the Key Management Service Developer Guide.

      External key store

      When you connect an external key store that uses public endpoint connectivity, KMS tests its ability to communicate with your external key manager by sending a request via the external key store proxy.

      When you connect to an external key store that uses VPC endpoint service connectivity, KMS establishes the networking elements that it needs to communicate with your external key manager via the external key store proxy. This includes creating an interface endpoint to the VPC endpoint service and a private hosted zone for traffic between KMS and the VPC endpoint service.

      To connect an external key store, KMS must be able to connect to the external key store proxy, the external key store proxy must be able to communicate with your external key manager, and the external key manager must be available for cryptographic operations.

      If you are having trouble connecting or disconnecting an external key store, see Troubleshooting an external key store in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:ConnectCustomKeyStore (IAM policy)

      Related operations

      " + "documentation":"

      Connects or reconnects a custom key store to its backing key store. For an CloudHSM key store, ConnectCustomKeyStore connects the key store to its associated CloudHSM cluster. For an external key store, ConnectCustomKeyStore connects the key store to the external key store proxy that communicates with your external key manager.

      The custom key store must be connected before you can create KMS keys in the key store or use the KMS keys it contains. You can disconnect and reconnect a custom key store at any time.

      The connection process for a custom key store can take an extended amount of time to complete. This operation starts the connection process, but it does not wait for it to complete. When it succeeds, this operation quickly returns an HTTP 200 response and a JSON object with no properties. However, this response does not indicate that the custom key store is connected. To get the connection state of the custom key store, use the DescribeCustomKeyStores operation.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      The ConnectCustomKeyStore operation might fail for various reasons. To find the reason, use the DescribeCustomKeyStores operation and see the ConnectionErrorCode in the response. For help interpreting the ConnectionErrorCode, see CustomKeyStoresListEntry.

      To fix the failure, use the DisconnectCustomKeyStore operation to disconnect the custom key store, correct the error, use the UpdateCustomKeyStore operation if necessary, and then use ConnectCustomKeyStore again.

      CloudHSM key store

      During the connection process for an CloudHSM key store, KMS finds the CloudHSM cluster that is associated with the custom key store, creates the connection infrastructure, connects to the cluster, logs into the CloudHSM client as the kmsuser CU, and rotates its password.

      To connect an CloudHSM key store, its associated CloudHSM cluster must have at least one active HSM. To get the number of active HSMs in a cluster, use the DescribeClusters operation. To add HSMs to the cluster, use the CreateHsm operation. Also, the kmsuser crypto user (CU) must not be logged into the cluster. This prevents KMS from using this account to log in.

      If you are having trouble connecting or disconnecting a CloudHSM key store, see Troubleshooting an CloudHSM key store in the Key Management Service Developer Guide.

      External key store

      When you connect an external key store that uses public endpoint connectivity, KMS tests its ability to communicate with your external key manager by sending a request via the external key store proxy.

      When you connect to an external key store that uses VPC endpoint service connectivity, KMS establishes the networking elements that it needs to communicate with your external key manager via the external key store proxy. This includes creating an interface endpoint to the VPC endpoint service and a private hosted zone for traffic between KMS and the VPC endpoint service.

      To connect an external key store, KMS must be able to connect to the external key store proxy, the external key store proxy must be able to communicate with your external key manager, and the external key manager must be available for cryptographic operations.

      If you are having trouble connecting or disconnecting an external key store, see Troubleshooting an external key store in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:ConnectCustomKeyStore (IAM policy)

      Related operations

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "CreateAlias":{ "name":"CreateAlias", @@ -63,7 +63,7 @@ {"shape":"LimitExceededException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Creates a friendly name for a KMS key.

      Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

      You can use an alias to identify a KMS key in the KMS console, in the DescribeKey operation and in cryptographic operations, such as Encrypt and GenerateDataKey. You can also change the KMS key that's associated with the alias (UpdateAlias) or delete the alias (DeleteAlias) at any time. These operations don't affect the underlying KMS key.

      You can associate the alias with any customer managed key in the same Amazon Web Services Region. Each alias is associated with only one KMS key at a time, but a KMS key can have multiple aliases. A valid KMS key is required. You can't create an alias without a KMS key.

      The alias must be unique in the account and Region, but you can have aliases with the same name in different Regions. For detailed information about aliases, see Using aliases in the Key Management Service Developer Guide.

      This operation does not return a response. To get the alias that you created, use the ListAliases operation.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.

      Required permissions

      For details, see Controlling access to aliases in the Key Management Service Developer Guide.

      Related operations:

      " + "documentation":"

      Creates a friendly name for a KMS key.

      Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

      You can use an alias to identify a KMS key in the KMS console, in the DescribeKey operation and in cryptographic operations, such as Encrypt and GenerateDataKey. You can also change the KMS key that's associated with the alias (UpdateAlias) or delete the alias (DeleteAlias) at any time. These operations don't affect the underlying KMS key.

      You can associate the alias with any customer managed key in the same Amazon Web Services Region. Each alias is associated with only one KMS key at a time, but a KMS key can have multiple aliases. A valid KMS key is required. You can't create an alias without a KMS key.

      The alias must be unique in the account and Region, but you can have aliases with the same name in different Regions. For detailed information about aliases, see Using aliases in the Key Management Service Developer Guide.

      This operation does not return a response. To get the alias that you created, use the ListAliases operation.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.

      Required permissions

      For details, see Controlling access to aliases in the Key Management Service Developer Guide.

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "CreateCustomKeyStore":{ "name":"CreateCustomKeyStore", @@ -92,7 +92,7 @@ {"shape":"XksProxyInvalidResponseException"}, {"shape":"XksProxyInvalidConfigurationException"} ], - "documentation":"

      Creates a custom key store backed by a key store that you own and manage. When you use a KMS key in a custom key store for a cryptographic operation, the cryptographic operation is actually performed in your key store using your keys. KMS supports CloudHSM key stores backed by an CloudHSM cluster and external key stores backed by an external key store proxy and external key manager outside of Amazon Web Services.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      Before you create the custom key store, the required elements must be in place and operational. We recommend that you use the test tools that KMS provides to verify the configuration your external key store proxy. For details about the required elements and verification tests, see Assemble the prerequisites (for CloudHSM key stores) or Assemble the prerequisites (for external key stores) in the Key Management Service Developer Guide.

      To create a custom key store, use the following parameters.

      • To create an CloudHSM key store, specify the CustomKeyStoreName, CloudHsmClusterId, KeyStorePassword, and TrustAnchorCertificate. The CustomKeyStoreType parameter is optional for CloudHSM key stores. If you include it, set it to the default value, AWS_CLOUDHSM. For help with failures, see Troubleshooting an CloudHSM key store in the Key Management Service Developer Guide.

      • To create an external key store, specify the CustomKeyStoreName and a CustomKeyStoreType of EXTERNAL_KEY_STORE. Also, specify values for XksProxyConnectivity, XksProxyAuthenticationCredential, XksProxyUriEndpoint, and XksProxyUriPath. If your XksProxyConnectivity value is VPC_ENDPOINT_SERVICE, specify the XksProxyVpcEndpointServiceName parameter. For help with failures, see Troubleshooting an external key store in the Key Management Service Developer Guide.

      For external key stores:

      Some external key managers provide a simpler method for creating an external key store. For details, see your external key manager documentation.

      When creating an external key store in the KMS console, you can upload a JSON-based proxy configuration file with the desired values. You cannot use a proxy configuration with the CreateCustomKeyStore operation. However, you can use the values in the file to help you determine the correct values for the CreateCustomKeyStore parameters.

      When the operation completes successfully, it returns the ID of the new custom key store. Before you can use your new custom key store, you need to use the ConnectCustomKeyStore operation to connect a new CloudHSM key store to its CloudHSM cluster, or to connect a new external key store to the external key store proxy for your external key manager. Even if you are not going to use your custom key store immediately, you might want to connect it to verify that all settings are correct and then disconnect it until you are ready to use it.

      For help with failures, see Troubleshooting a custom key store in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:CreateCustomKeyStore (IAM policy).

      Related operations:

      " + "documentation":"

      Creates a custom key store backed by a key store that you own and manage. When you use a KMS key in a custom key store for a cryptographic operation, the cryptographic operation is actually performed in your key store using your keys. KMS supports CloudHSM key stores backed by an CloudHSM cluster and external key stores backed by an external key store proxy and external key manager outside of Amazon Web Services.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      Before you create the custom key store, the required elements must be in place and operational. We recommend that you use the test tools that KMS provides to verify the configuration your external key store proxy. For details about the required elements and verification tests, see Assemble the prerequisites (for CloudHSM key stores) or Assemble the prerequisites (for external key stores) in the Key Management Service Developer Guide.

      To create a custom key store, use the following parameters.

      • To create an CloudHSM key store, specify the CustomKeyStoreName, CloudHsmClusterId, KeyStorePassword, and TrustAnchorCertificate. The CustomKeyStoreType parameter is optional for CloudHSM key stores. If you include it, set it to the default value, AWS_CLOUDHSM. For help with failures, see Troubleshooting an CloudHSM key store in the Key Management Service Developer Guide.

      • To create an external key store, specify the CustomKeyStoreName and a CustomKeyStoreType of EXTERNAL_KEY_STORE. Also, specify values for XksProxyConnectivity, XksProxyAuthenticationCredential, XksProxyUriEndpoint, and XksProxyUriPath. If your XksProxyConnectivity value is VPC_ENDPOINT_SERVICE, specify the XksProxyVpcEndpointServiceName parameter. For help with failures, see Troubleshooting an external key store in the Key Management Service Developer Guide.

      For external key stores:

      Some external key managers provide a simpler method for creating an external key store. For details, see your external key manager documentation.

      When creating an external key store in the KMS console, you can upload a JSON-based proxy configuration file with the desired values. You cannot use a proxy configuration with the CreateCustomKeyStore operation. However, you can use the values in the file to help you determine the correct values for the CreateCustomKeyStore parameters.

      When the operation completes successfully, it returns the ID of the new custom key store. Before you can use your new custom key store, you need to use the ConnectCustomKeyStore operation to connect a new CloudHSM key store to its CloudHSM cluster, or to connect a new external key store to the external key store proxy for your external key manager. Even if you are not going to use your custom key store immediately, you might want to connect it to verify that all settings are correct and then disconnect it until you are ready to use it.

      For help with failures, see Troubleshooting a custom key store in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:CreateCustomKeyStore (IAM policy).

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "CreateGrant":{ "name":"CreateGrant", @@ -113,7 +113,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Adds a grant to a KMS key.

      A grant is a policy instrument that allows Amazon Web Services principals to use KMS keys in cryptographic operations. It also can allow them to view a KMS key (DescribeKey) and create and manage grants. When authorizing access to a KMS key, grants are considered along with key policies and IAM policies. Grants are often used for temporary permissions because you can create one, use its permissions, and delete it without changing your key policies or IAM policies.

      For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

      The CreateGrant operation returns a GrantToken and a GrantId.

      • When you create, retire, or revoke a grant, there might be a brief delay, usually less than five minutes, until the grant is available throughout KMS. This state is known as eventual consistency. Once the grant has achieved eventual consistency, the grantee principal can use the permissions in the grant without identifying the grant.

        However, to use the permissions in the grant immediately, use the GrantToken that CreateGrant returns. For details, see Using a grant token in the Key Management Service Developer Guide .

      • The CreateGrant operation also returns a GrantId. You can use the GrantId and a key identifier to identify the grant in the RetireGrant and RevokeGrant operations. To find the grant ID, use the ListGrants or ListRetirableGrants operations.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

      Required permissions: kms:CreateGrant (key policy)

      Related operations:

      " + "documentation":"

      Adds a grant to a KMS key.

      A grant is a policy instrument that allows Amazon Web Services principals to use KMS keys in cryptographic operations. It also can allow them to view a KMS key (DescribeKey) and create and manage grants. When authorizing access to a KMS key, grants are considered along with key policies and IAM policies. Grants are often used for temporary permissions because you can create one, use its permissions, and delete it without changing your key policies or IAM policies.

      For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

      The CreateGrant operation returns a GrantToken and a GrantId.

      • When you create, retire, or revoke a grant, there might be a brief delay, usually less than five minutes, until the grant is available throughout KMS. This state is known as eventual consistency. Once the grant has achieved eventual consistency, the grantee principal can use the permissions in the grant without identifying the grant.

        However, to use the permissions in the grant immediately, use the GrantToken that CreateGrant returns. For details, see Using a grant token in the Key Management Service Developer Guide .

      • The CreateGrant operation also returns a GrantId. You can use the GrantId and a key identifier to identify the grant in the RetireGrant and RevokeGrant operations. To find the grant ID, use the ListGrants or ListRetirableGrants operations.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

      Required permissions: kms:CreateGrant (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "CreateKey":{ "name":"CreateKey", @@ -138,7 +138,7 @@ {"shape":"XksKeyAlreadyInUseException"}, {"shape":"XksKeyNotFoundException"} ], - "documentation":"

      Creates a unique customer managed KMS key in your Amazon Web Services account and Region. You can use a KMS key in cryptographic operations, such as encryption and signing. Some Amazon Web Services services let you use KMS keys that you create and manage to protect your service resources.

      A KMS key is a logical representation of a cryptographic key. In addition to the key material used in cryptographic operations, a KMS key includes metadata, such as the key ID, key policy, creation date, description, and key state. For details, see Managing keys in the Key Management Service Developer Guide

      Use the parameters of CreateKey to specify the type of KMS key, the source of its key material, its key policy, description, tags, and other properties.

      KMS has replaced the term customer master key (CMK) with KMS key and KMS key. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.

      To create different types of KMS keys, use the following guidance:

      Symmetric encryption KMS key

      By default, CreateKey creates a symmetric encryption KMS key with key material that KMS generates. This is the basic and most widely used type of KMS key, and provides the best performance.

      To create a symmetric encryption KMS key, you don't need to specify any parameters. The default value for KeySpec, SYMMETRIC_DEFAULT, the default value for KeyUsage, ENCRYPT_DECRYPT, and the default value for Origin, AWS_KMS, create a symmetric encryption KMS key with KMS key material.

      If you need a key for basic encryption and decryption or you are creating a KMS key to protect your resources in an Amazon Web Services service, create a symmetric encryption KMS key. The key material in a symmetric encryption key never leaves KMS unencrypted. You can use a symmetric encryption KMS key to encrypt and decrypt data up to 4,096 bytes, but they are typically used to generate data keys and data keys pairs. For details, see GenerateDataKey and GenerateDataKeyPair.

      Asymmetric KMS keys

      To create an asymmetric KMS key, use the KeySpec parameter to specify the type of key material in the KMS key. Then, use the KeyUsage parameter to determine whether the KMS key will be used to encrypt and decrypt or sign and verify. You can't change these properties after the KMS key is created.

      Asymmetric KMS keys contain an RSA key pair, Elliptic Curve (ECC) key pair, or an SM2 key pair (China Regions only). The private key in an asymmetric KMS key never leaves KMS unencrypted. However, you can use the GetPublicKey operation to download the public key so it can be used outside of KMS. KMS keys with RSA or SM2 key pairs can be used to encrypt or decrypt data or sign and verify messages (but not both). KMS keys with ECC key pairs can be used only to sign and verify messages. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

      HMAC KMS key

      To create an HMAC KMS key, set the KeySpec parameter to a key spec value for HMAC KMS keys. Then set the KeyUsage parameter to GENERATE_VERIFY_MAC. You must set the key usage even though GENERATE_VERIFY_MAC is the only valid key usage value for HMAC KMS keys. You can't change these properties after the KMS key is created.

      HMAC KMS keys are symmetric keys that never leave KMS unencrypted. You can use HMAC keys to generate (GenerateMac) and verify (VerifyMac) HMAC codes for messages up to 4096 bytes.

      Multi-Region primary keys
      Imported key material

      To create a multi-Region primary key in the local Amazon Web Services Region, use the MultiRegion parameter with a value of True. To create a multi-Region replica key, that is, a KMS key with the same key ID and key material as a primary key, but in a different Amazon Web Services Region, use the ReplicateKey operation. To change a replica key to a primary key, and its primary key to a replica key, use the UpdatePrimaryRegion operation.

      You can create multi-Region KMS keys for all supported KMS key types: symmetric encryption KMS keys, HMAC KMS keys, asymmetric encryption KMS keys, and asymmetric signing KMS keys. You can also create multi-Region keys with imported key material. However, you can't create multi-Region keys in a custom key store.

      This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

      To import your own key material into a KMS key, begin by creating a KMS key with no key material. To do this, use the Origin parameter of CreateKey with a value of EXTERNAL. Next, use GetParametersForImport operation to get a public key and import token. Use the wrapping public key to encrypt your key material. Then, use ImportKeyMaterial with your import token to import the key material. For step-by-step instructions, see Importing Key Material in the Key Management Service Developer Guide .

      You can import key material into KMS keys of all supported KMS key types: symmetric encryption KMS keys, HMAC KMS keys, asymmetric encryption KMS keys, and asymmetric signing KMS keys. You can also create multi-Region keys with imported key material. However, you can't import key material into a KMS key in a custom key store.

      To create a multi-Region primary key with imported key material, use the Origin parameter of CreateKey with a value of EXTERNAL and the MultiRegion parameter with a value of True. To create replicas of the multi-Region primary key, use the ReplicateKey operation. For instructions, see Importing key material into multi-Region keys. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

      Custom key store

      A custom key store lets you protect your Amazon Web Services resources using keys in a backing key store that you own and manage. When you request a cryptographic operation with a KMS key in a custom key store, the operation is performed in the backing key store using its cryptographic keys.

      KMS supports CloudHSM key stores backed by an CloudHSM cluster and external key stores backed by an external key manager outside of Amazon Web Services. When you create a KMS key in an CloudHSM key store, KMS generates an encryption key in the CloudHSM cluster and associates it with the KMS key. When you create a KMS key in an external key store, you specify an existing encryption key in the external key manager.

      Some external key managers provide a simpler method for creating a KMS key in an external key store. For details, see your external key manager documentation.

      Before you create a KMS key in a custom key store, the ConnectionState of the key store must be CONNECTED. To connect the custom key store, use the ConnectCustomKeyStore operation. To find the ConnectionState, use the DescribeCustomKeyStores operation.

      To create a KMS key in a custom key store, use the CustomKeyStoreId. Use the default KeySpec value, SYMMETRIC_DEFAULT, and the default KeyUsage value, ENCRYPT_DECRYPT to create a symmetric encryption key. No other key type is supported in a custom key store.

      To create a KMS key in an CloudHSM key store, use the Origin parameter with a value of AWS_CLOUDHSM. The CloudHSM cluster that is associated with the custom key store must have at least two active HSMs in different Availability Zones in the Amazon Web Services Region.

      To create a KMS key in an external key store, use the Origin parameter with a value of EXTERNAL_KEY_STORE and an XksKeyId parameter that identifies an existing external key.

      Some external key managers provide a simpler method for creating a KMS key in an external key store. For details, see your external key manager documentation.

      Cross-account use: No. You cannot use this operation to create a KMS key in a different Amazon Web Services account.

      Required permissions: kms:CreateKey (IAM policy). To use the Tags parameter, kms:TagResource (IAM policy). For examples and information about related permissions, see Allow a user to create KMS keys in the Key Management Service Developer Guide.

      Related operations:

      " + "documentation":"

      Creates a unique customer managed KMS key in your Amazon Web Services account and Region. You can use a KMS key in cryptographic operations, such as encryption and signing. Some Amazon Web Services services let you use KMS keys that you create and manage to protect your service resources.

      A KMS key is a logical representation of a cryptographic key. In addition to the key material used in cryptographic operations, a KMS key includes metadata, such as the key ID, key policy, creation date, description, and key state. For details, see Managing keys in the Key Management Service Developer Guide

      Use the parameters of CreateKey to specify the type of KMS key, the source of its key material, its key policy, description, tags, and other properties.

      KMS has replaced the term customer master key (CMK) with KMS key and KMS key. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.

      To create different types of KMS keys, use the following guidance:

      Symmetric encryption KMS key

      By default, CreateKey creates a symmetric encryption KMS key with key material that KMS generates. This is the basic and most widely used type of KMS key, and provides the best performance.

      To create a symmetric encryption KMS key, you don't need to specify any parameters. The default value for KeySpec, SYMMETRIC_DEFAULT, the default value for KeyUsage, ENCRYPT_DECRYPT, and the default value for Origin, AWS_KMS, create a symmetric encryption KMS key with KMS key material.

      If you need a key for basic encryption and decryption or you are creating a KMS key to protect your resources in an Amazon Web Services service, create a symmetric encryption KMS key. The key material in a symmetric encryption key never leaves KMS unencrypted. You can use a symmetric encryption KMS key to encrypt and decrypt data up to 4,096 bytes, but they are typically used to generate data keys and data keys pairs. For details, see GenerateDataKey and GenerateDataKeyPair.

      Asymmetric KMS keys

      To create an asymmetric KMS key, use the KeySpec parameter to specify the type of key material in the KMS key. Then, use the KeyUsage parameter to determine whether the KMS key will be used to encrypt and decrypt or sign and verify. You can't change these properties after the KMS key is created.

      Asymmetric KMS keys contain an RSA key pair, Elliptic Curve (ECC) key pair, or an SM2 key pair (China Regions only). The private key in an asymmetric KMS key never leaves KMS unencrypted. However, you can use the GetPublicKey operation to download the public key so it can be used outside of KMS. KMS keys with RSA or SM2 key pairs can be used to encrypt or decrypt data or sign and verify messages (but not both). KMS keys with ECC key pairs can be used only to sign and verify messages. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

      HMAC KMS key

      To create an HMAC KMS key, set the KeySpec parameter to a key spec value for HMAC KMS keys. Then set the KeyUsage parameter to GENERATE_VERIFY_MAC. You must set the key usage even though GENERATE_VERIFY_MAC is the only valid key usage value for HMAC KMS keys. You can't change these properties after the KMS key is created.

      HMAC KMS keys are symmetric keys that never leave KMS unencrypted. You can use HMAC keys to generate (GenerateMac) and verify (VerifyMac) HMAC codes for messages up to 4096 bytes.

      Multi-Region primary keys
      Imported key material

      To create a multi-Region primary key in the local Amazon Web Services Region, use the MultiRegion parameter with a value of True. To create a multi-Region replica key, that is, a KMS key with the same key ID and key material as a primary key, but in a different Amazon Web Services Region, use the ReplicateKey operation. To change a replica key to a primary key, and its primary key to a replica key, use the UpdatePrimaryRegion operation.

      You can create multi-Region KMS keys for all supported KMS key types: symmetric encryption KMS keys, HMAC KMS keys, asymmetric encryption KMS keys, and asymmetric signing KMS keys. You can also create multi-Region keys with imported key material. However, you can't create multi-Region keys in a custom key store.

      This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

      To import your own key material into a KMS key, begin by creating a KMS key with no key material. To do this, use the Origin parameter of CreateKey with a value of EXTERNAL. Next, use GetParametersForImport operation to get a public key and import token. Use the wrapping public key to encrypt your key material. Then, use ImportKeyMaterial with your import token to import the key material. For step-by-step instructions, see Importing Key Material in the Key Management Service Developer Guide .

      You can import key material into KMS keys of all supported KMS key types: symmetric encryption KMS keys, HMAC KMS keys, asymmetric encryption KMS keys, and asymmetric signing KMS keys. You can also create multi-Region keys with imported key material. However, you can't import key material into a KMS key in a custom key store.

      To create a multi-Region primary key with imported key material, use the Origin parameter of CreateKey with a value of EXTERNAL and the MultiRegion parameter with a value of True. To create replicas of the multi-Region primary key, use the ReplicateKey operation. For instructions, see Importing key material into multi-Region keys. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

      Custom key store

      A custom key store lets you protect your Amazon Web Services resources using keys in a backing key store that you own and manage. When you request a cryptographic operation with a KMS key in a custom key store, the operation is performed in the backing key store using its cryptographic keys.

      KMS supports CloudHSM key stores backed by an CloudHSM cluster and external key stores backed by an external key manager outside of Amazon Web Services. When you create a KMS key in an CloudHSM key store, KMS generates an encryption key in the CloudHSM cluster and associates it with the KMS key. When you create a KMS key in an external key store, you specify an existing encryption key in the external key manager.

      Some external key managers provide a simpler method for creating a KMS key in an external key store. For details, see your external key manager documentation.

      Before you create a KMS key in a custom key store, the ConnectionState of the key store must be CONNECTED. To connect the custom key store, use the ConnectCustomKeyStore operation. To find the ConnectionState, use the DescribeCustomKeyStores operation.

      To create a KMS key in a custom key store, use the CustomKeyStoreId. Use the default KeySpec value, SYMMETRIC_DEFAULT, and the default KeyUsage value, ENCRYPT_DECRYPT to create a symmetric encryption key. No other key type is supported in a custom key store.

      To create a KMS key in an CloudHSM key store, use the Origin parameter with a value of AWS_CLOUDHSM. The CloudHSM cluster that is associated with the custom key store must have at least two active HSMs in different Availability Zones in the Amazon Web Services Region.

      To create a KMS key in an external key store, use the Origin parameter with a value of EXTERNAL_KEY_STORE and an XksKeyId parameter that identifies an existing external key.

      Some external key managers provide a simpler method for creating a KMS key in an external key store. For details, see your external key manager documentation.

      Cross-account use: No. You cannot use this operation to create a KMS key in a different Amazon Web Services account.

      Required permissions: kms:CreateKey (IAM policy). To use the Tags parameter, kms:TagResource (IAM policy). For examples and information about related permissions, see Allow a user to create KMS keys in the Key Management Service Developer Guide.

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "Decrypt":{ "name":"Decrypt", @@ -161,7 +161,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Decrypts ciphertext that was encrypted by a KMS key using any of the following operations:

      You can use this operation to decrypt ciphertext that was encrypted under a symmetric encryption KMS key or an asymmetric encryption KMS key. When the KMS key is asymmetric, you must specify the KMS key and the encryption algorithm that was used to encrypt the ciphertext. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

      The Decrypt operation also decrypts ciphertext that was encrypted outside of KMS by the public key in an KMS asymmetric KMS key. However, it cannot decrypt symmetric ciphertext produced by other libraries, such as the Amazon Web Services Encryption SDK or Amazon S3 client-side encryption. These libraries return a ciphertext format that is incompatible with KMS.

      If the ciphertext was encrypted under a symmetric encryption KMS key, the KeyId parameter is optional. KMS can get this information from metadata that it adds to the symmetric ciphertext blob. This feature adds durability to your implementation by ensuring that authorized users can decrypt ciphertext decades after it was encrypted, even if they've lost track of the key ID. However, specifying the KMS key is always recommended as a best practice. When you use the KeyId parameter to specify a KMS key, KMS only uses the KMS key you specify. If the ciphertext was encrypted under a different KMS key, the Decrypt operation fails. This practice ensures that you use the KMS key that you intend.

      Whenever possible, use key policies to give users permission to call the Decrypt operation on a particular KMS key, instead of using &IAM; policies. Otherwise, you might create an &IAM; policy that gives the user Decrypt permission on all KMS keys. This user could decrypt ciphertext that was encrypted by KMS keys in other accounts if the key policy for the cross-account KMS key permits it. If you must use an IAM policy for Decrypt permissions, limit the user to particular KMS keys or particular trusted accounts. For details, see Best practices for IAM policies in the Key Management Service Developer Guide.

      Decrypt also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call Decrypt for a Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. Instead of the plaintext data, the response includes the plaintext data encrypted with the public key from the attestation document (CiphertextForRecipient).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. If you use the KeyId parameter to identify a KMS key in a different Amazon Web Services account, specify the key ARN or the alias ARN of the KMS key.

      Required permissions: kms:Decrypt (key policy)

      Related operations:

      " + "documentation":"

      Decrypts ciphertext that was encrypted by a KMS key using any of the following operations:

      You can use this operation to decrypt ciphertext that was encrypted under a symmetric encryption KMS key or an asymmetric encryption KMS key. When the KMS key is asymmetric, you must specify the KMS key and the encryption algorithm that was used to encrypt the ciphertext. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

      The Decrypt operation also decrypts ciphertext that was encrypted outside of KMS by the public key in an KMS asymmetric KMS key. However, it cannot decrypt symmetric ciphertext produced by other libraries, such as the Amazon Web Services Encryption SDK or Amazon S3 client-side encryption. These libraries return a ciphertext format that is incompatible with KMS.

      If the ciphertext was encrypted under a symmetric encryption KMS key, the KeyId parameter is optional. KMS can get this information from metadata that it adds to the symmetric ciphertext blob. This feature adds durability to your implementation by ensuring that authorized users can decrypt ciphertext decades after it was encrypted, even if they've lost track of the key ID. However, specifying the KMS key is always recommended as a best practice. When you use the KeyId parameter to specify a KMS key, KMS only uses the KMS key you specify. If the ciphertext was encrypted under a different KMS key, the Decrypt operation fails. This practice ensures that you use the KMS key that you intend.

      Whenever possible, use key policies to give users permission to call the Decrypt operation on a particular KMS key, instead of using &IAM; policies. Otherwise, you might create an &IAM; policy that gives the user Decrypt permission on all KMS keys. This user could decrypt ciphertext that was encrypted by KMS keys in other accounts if the key policy for the cross-account KMS key permits it. If you must use an IAM policy for Decrypt permissions, limit the user to particular KMS keys or particular trusted accounts. For details, see Best practices for IAM policies in the Key Management Service Developer Guide.

      Decrypt also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call Decrypt for a Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. Instead of the plaintext data, the response includes the plaintext data encrypted with the public key from the attestation document (CiphertextForRecipient). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. If you use the KeyId parameter to identify a KMS key in a different Amazon Web Services account, specify the key ARN or the alias ARN of the KMS key.

      Required permissions: kms:Decrypt (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "DeleteAlias":{ "name":"DeleteAlias", @@ -176,7 +176,7 @@ {"shape":"KMSInternalException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Deletes the specified alias.

      Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

      Because an alias is not a property of a KMS key, you can delete and change the aliases of a KMS key without affecting the KMS key. Also, aliases do not appear in the response from the DescribeKey operation. To get the aliases of all KMS keys, use the ListAliases operation.

      Each KMS key can have multiple aliases. To change the alias of a KMS key, use DeleteAlias to delete the current alias and CreateAlias to create a new alias. To associate an existing alias with a different KMS key, call UpdateAlias.

      Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.

      Required permissions

      For details, see Controlling access to aliases in the Key Management Service Developer Guide.

      Related operations:

      " + "documentation":"

      Deletes the specified alias.

      Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

      Because an alias is not a property of a KMS key, you can delete and change the aliases of a KMS key without affecting the KMS key. Also, aliases do not appear in the response from the DescribeKey operation. To get the aliases of all KMS keys, use the ListAliases operation.

      Each KMS key can have multiple aliases. To change the alias of a KMS key, use DeleteAlias to delete the current alias and CreateAlias to create a new alias. To associate an existing alias with a different KMS key, call UpdateAlias.

      Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.

      Required permissions

      For details, see Controlling access to aliases in the Key Management Service Developer Guide.

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "DeleteCustomKeyStore":{ "name":"DeleteCustomKeyStore", @@ -192,7 +192,7 @@ {"shape":"CustomKeyStoreNotFoundException"}, {"shape":"KMSInternalException"} ], - "documentation":"

      Deletes a custom key store. This operation does not affect any backing elements of the custom key store. It does not delete the CloudHSM cluster that is associated with an CloudHSM key store, or affect any users or keys in the cluster. For an external key store, it does not affect the external key store proxy, external key manager, or any external keys.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      The custom key store that you delete cannot contain any KMS keys. Before deleting the key store, verify that you will never need to use any of the KMS keys in the key store for any cryptographic operations. Then, use ScheduleKeyDeletion to delete the KMS keys from the key store. After the required waiting period expires and all KMS keys are deleted from the custom key store, use DisconnectCustomKeyStore to disconnect the key store from KMS. Then, you can delete the custom key store.

      For keys in an CloudHSM key store, the ScheduleKeyDeletion operation makes a best effort to delete the key material from the associated cluster. However, you might need to manually delete the orphaned key material from the cluster and its backups. KMS never creates, manages, or deletes cryptographic keys in the external key manager associated with an external key store. You must manage them using your external key manager tools.

      Instead of deleting the custom key store, consider using the DisconnectCustomKeyStore operation to disconnect the custom key store from its backing key store. While the key store is disconnected, you cannot create or use the KMS keys in the key store. But, you do not need to delete KMS keys and you can reconnect a disconnected custom key store at any time.

      If the operation succeeds, it returns a JSON object with no properties.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:DeleteCustomKeyStore (IAM policy)

      Related operations:

      " + "documentation":"

      Deletes a custom key store. This operation does not affect any backing elements of the custom key store. It does not delete the CloudHSM cluster that is associated with an CloudHSM key store, or affect any users or keys in the cluster. For an external key store, it does not affect the external key store proxy, external key manager, or any external keys.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      The custom key store that you delete cannot contain any KMS keys. Before deleting the key store, verify that you will never need to use any of the KMS keys in the key store for any cryptographic operations. Then, use ScheduleKeyDeletion to delete the KMS keys from the key store. After the required waiting period expires and all KMS keys are deleted from the custom key store, use DisconnectCustomKeyStore to disconnect the key store from KMS. Then, you can delete the custom key store.

      For keys in an CloudHSM key store, the ScheduleKeyDeletion operation makes a best effort to delete the key material from the associated cluster. However, you might need to manually delete the orphaned key material from the cluster and its backups. KMS never creates, manages, or deletes cryptographic keys in the external key manager associated with an external key store. You must manage them using your external key manager tools.

      Instead of deleting the custom key store, consider using the DisconnectCustomKeyStore operation to disconnect the custom key store from its backing key store. While the key store is disconnected, you cannot create or use the KMS keys in the key store. But, you do not need to delete KMS keys and you can reconnect a disconnected custom key store at any time.

      If the operation succeeds, it returns a JSON object with no properties.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:DeleteCustomKeyStore (IAM policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "DeleteImportedKeyMaterial":{ "name":"DeleteImportedKeyMaterial", @@ -209,7 +209,7 @@ {"shape":"KMSInternalException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Deletes key material that was previously imported. This operation makes the specified KMS key temporarily unusable. To restore the usability of the KMS key, reimport the same key material. For more information about importing key material into KMS, see Importing Key Material in the Key Management Service Developer Guide.

      When the specified KMS key is in the PendingDeletion state, this operation does not change the KMS key's state. Otherwise, it changes the KMS key's state to PendingImport.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:DeleteImportedKeyMaterial (key policy)

      Related operations:

      " + "documentation":"

      Deletes key material that was previously imported. This operation makes the specified KMS key temporarily unusable. To restore the usability of the KMS key, reimport the same key material. For more information about importing key material into KMS, see Importing Key Material in the Key Management Service Developer Guide.

      When the specified KMS key is in the PendingDeletion state, this operation does not change the KMS key's state. Otherwise, it changes the KMS key's state to PendingImport.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:DeleteImportedKeyMaterial (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "DescribeCustomKeyStores":{ "name":"DescribeCustomKeyStores", @@ -224,7 +224,7 @@ {"shape":"InvalidMarkerException"}, {"shape":"KMSInternalException"} ], - "documentation":"

      Gets information about custom key stores in the account and Region.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      By default, this operation returns information about all custom key stores in the account and Region. To get only information about a particular custom key store, use either the CustomKeyStoreName or CustomKeyStoreId parameter (but not both).

      To determine whether the custom key store is connected to its CloudHSM cluster or external key store proxy, use the ConnectionState element in the response. If an attempt to connect the custom key store failed, the ConnectionState value is FAILED and the ConnectionErrorCode element in the response indicates the cause of the failure. For help interpreting the ConnectionErrorCode, see CustomKeyStoresListEntry.

      Custom key stores have a DISCONNECTED connection state if the key store has never been connected or you used the DisconnectCustomKeyStore operation to disconnect it. Otherwise, the connection state is CONNECTED. If your custom key store connection state is CONNECTED but you are having trouble using it, verify that the backing store is active and available. For an CloudHSM key store, verify that the associated CloudHSM cluster is active and contains the minimum number of HSMs required for the operation, if any. For an external key store, verify that the external key store proxy and its associated external key manager are reachable and enabled.

      For help repairing your CloudHSM key store, see the Troubleshooting CloudHSM key stores. For help repairing your external key store, see the Troubleshooting external key stores. Both topics are in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:DescribeCustomKeyStores (IAM policy)

      Related operations:

      " + "documentation":"

      Gets information about custom key stores in the account and Region.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      By default, this operation returns information about all custom key stores in the account and Region. To get only information about a particular custom key store, use either the CustomKeyStoreName or CustomKeyStoreId parameter (but not both).

      To determine whether the custom key store is connected to its CloudHSM cluster or external key store proxy, use the ConnectionState element in the response. If an attempt to connect the custom key store failed, the ConnectionState value is FAILED and the ConnectionErrorCode element in the response indicates the cause of the failure. For help interpreting the ConnectionErrorCode, see CustomKeyStoresListEntry.

      Custom key stores have a DISCONNECTED connection state if the key store has never been connected or you used the DisconnectCustomKeyStore operation to disconnect it. Otherwise, the connection state is CONNECTED. If your custom key store connection state is CONNECTED but you are having trouble using it, verify that the backing store is active and available. For an CloudHSM key store, verify that the associated CloudHSM cluster is active and contains the minimum number of HSMs required for the operation, if any. For an external key store, verify that the external key store proxy and its associated external key manager are reachable and enabled.

      For help repairing your CloudHSM key store, see the Troubleshooting CloudHSM key stores. For help repairing your external key store, see the Troubleshooting external key stores. Both topics are in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:DescribeCustomKeyStores (IAM policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "DescribeKey":{ "name":"DescribeKey", @@ -240,7 +240,7 @@ {"shape":"DependencyTimeoutException"}, {"shape":"KMSInternalException"} ], - "documentation":"

      Provides detailed information about a KMS key. You can run DescribeKey on a customer managed key or an Amazon Web Services managed key.

      This detailed information includes the key ARN, creation date (and deletion date, if applicable), the key state, and the origin and expiration date (if any) of the key material. It includes fields, like KeySpec, that help you distinguish different types of KMS keys. It also displays the key usage (encryption, signing, or generating and verifying MACs) and the algorithms that the KMS key supports.

      For multi-Region keys, DescribeKey displays the primary key and all related replica keys. For KMS keys in CloudHSM key stores, it includes information about the key store, such as the key store ID and the CloudHSM cluster ID. For KMS keys in external key stores, it includes the custom key store ID and the ID of the external key.

      DescribeKey does not return the following information:

      • Aliases associated with the KMS key. To get this information, use ListAliases.

      • Whether automatic key rotation is enabled on the KMS key. To get this information, use GetKeyRotationStatus. Also, some key states prevent a KMS key from being automatically rotated. For details, see How Automatic Key Rotation Works in the Key Management Service Developer Guide.

      • Tags on the KMS key. To get this information, use ListResourceTags.

      • Key policies and grants on the KMS key. To get this information, use GetKeyPolicy and ListGrants.

      In general, DescribeKey is a non-mutating operation. It returns data about KMS keys, but doesn't change them. However, Amazon Web Services services use DescribeKey to create Amazon Web Services managed keys from a predefined Amazon Web Services alias with no key ID.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:DescribeKey (key policy)

      Related operations:

      " + "documentation":"

      Provides detailed information about a KMS key. You can run DescribeKey on a customer managed key or an Amazon Web Services managed key.

      This detailed information includes the key ARN, creation date (and deletion date, if applicable), the key state, and the origin and expiration date (if any) of the key material. It includes fields, like KeySpec, that help you distinguish different types of KMS keys. It also displays the key usage (encryption, signing, or generating and verifying MACs) and the algorithms that the KMS key supports.

      For multi-Region keys, DescribeKey displays the primary key and all related replica keys. For KMS keys in CloudHSM key stores, it includes information about the key store, such as the key store ID and the CloudHSM cluster ID. For KMS keys in external key stores, it includes the custom key store ID and the ID of the external key.

      DescribeKey does not return the following information:

      • Aliases associated with the KMS key. To get this information, use ListAliases.

      • Whether automatic key rotation is enabled on the KMS key. To get this information, use GetKeyRotationStatus. Also, some key states prevent a KMS key from being automatically rotated. For details, see How Automatic Key Rotation Works in the Key Management Service Developer Guide.

      • Tags on the KMS key. To get this information, use ListResourceTags.

      • Key policies and grants on the KMS key. To get this information, use GetKeyPolicy and ListGrants.

      In general, DescribeKey is a non-mutating operation. It returns data about KMS keys, but doesn't change them. However, Amazon Web Services services use DescribeKey to create Amazon Web Services managed keys from a predefined Amazon Web Services alias with no key ID.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:DescribeKey (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "DisableKey":{ "name":"DisableKey", @@ -256,7 +256,7 @@ {"shape":"KMSInternalException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Sets the state of a KMS key to disabled. This change temporarily prevents use of the KMS key for cryptographic operations.

      For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide .

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:DisableKey (key policy)

      Related operations: EnableKey

      " + "documentation":"

      Sets the state of a KMS key to disabled. This change temporarily prevents use of the KMS key for cryptographic operations.

      For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide .

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:DisableKey (key policy)

      Related operations: EnableKey

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "DisableKeyRotation":{ "name":"DisableKeyRotation", @@ -274,7 +274,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"UnsupportedOperationException"} ], - "documentation":"

      Disables automatic rotation of the key material of the specified symmetric encryption KMS key.

      Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.

      You can enable (EnableKeyRotation) and disable automatic rotation of the key material in customer managed KMS keys. Key material rotation of Amazon Web Services managed KMS keys is not configurable. KMS always rotates the key material for every year. Rotation of Amazon Web Services owned KMS keys varies.

      In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years to every year. For details, see EnableKeyRotation.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:DisableKeyRotation (key policy)

      Related operations:

      " + "documentation":"

      Disables automatic rotation of the key material of the specified symmetric encryption KMS key.

      Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.

      You can enable (EnableKeyRotation) and disable automatic rotation of the key material in customer managed KMS keys. Key material rotation of Amazon Web Services managed KMS keys is not configurable. KMS always rotates the key material for every year. Rotation of Amazon Web Services owned KMS keys varies.

      In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years to every year. For details, see EnableKeyRotation.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:DisableKeyRotation (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "DisconnectCustomKeyStore":{ "name":"DisconnectCustomKeyStore", @@ -289,7 +289,7 @@ {"shape":"CustomKeyStoreNotFoundException"}, {"shape":"KMSInternalException"} ], - "documentation":"

      Disconnects the custom key store from its backing key store. This operation disconnects an CloudHSM key store from its associated CloudHSM cluster or disconnects an external key store from the external key store proxy that communicates with your external key manager.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      While a custom key store is disconnected, you can manage the custom key store and its KMS keys, but you cannot create or use its KMS keys. You can reconnect the custom key store at any time.

      While a custom key store is disconnected, all attempts to create KMS keys in the custom key store or to use existing KMS keys in cryptographic operations will fail. This action can prevent users from storing and accessing sensitive data.

      When you disconnect a custom key store, its ConnectionState changes to Disconnected. To find the connection state of a custom key store, use the DescribeCustomKeyStores operation. To reconnect a custom key store, use the ConnectCustomKeyStore operation.

      If the operation succeeds, it returns a JSON object with no properties.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:DisconnectCustomKeyStore (IAM policy)

      Related operations:

      " + "documentation":"

      Disconnects the custom key store from its backing key store. This operation disconnects an CloudHSM key store from its associated CloudHSM cluster or disconnects an external key store from the external key store proxy that communicates with your external key manager.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      While a custom key store is disconnected, you can manage the custom key store and its KMS keys, but you cannot create or use its KMS keys. You can reconnect the custom key store at any time.

      While a custom key store is disconnected, all attempts to create KMS keys in the custom key store or to use existing KMS keys in cryptographic operations will fail. This action can prevent users from storing and accessing sensitive data.

      When you disconnect a custom key store, its ConnectionState changes to Disconnected. To find the connection state of a custom key store, use the DescribeCustomKeyStores operation. To reconnect a custom key store, use the ConnectCustomKeyStore operation.

      If the operation succeeds, it returns a JSON object with no properties.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:DisconnectCustomKeyStore (IAM policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "EnableKey":{ "name":"EnableKey", @@ -306,7 +306,7 @@ {"shape":"LimitExceededException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Sets the key state of a KMS key to enabled. This allows you to use the KMS key for cryptographic operations.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:EnableKey (key policy)

      Related operations: DisableKey

      " + "documentation":"

      Sets the key state of a KMS key to enabled. This allows you to use the KMS key for cryptographic operations.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:EnableKey (key policy)

      Related operations: DisableKey

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "EnableKeyRotation":{ "name":"EnableKeyRotation", @@ -324,7 +324,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"UnsupportedOperationException"} ], - "documentation":"

      Enables automatic rotation of the key material of the specified symmetric encryption KMS key.

      When you enable automatic rotation of acustomer managed KMS key, KMS rotates the key material of the KMS key one year (approximately 365 days) from the enable date and every year thereafter. You can monitor rotation of the key material for your KMS keys in CloudTrail and Amazon CloudWatch. To disable rotation of the key material in a customer managed KMS key, use the DisableKeyRotation operation.

      Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.

      You cannot enable or disable automatic rotation Amazon Web Services managed KMS keys. KMS always rotates the key material of Amazon Web Services managed keys every year. Rotation of Amazon Web Services owned KMS keys varies.

      In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years (approximately 1,095 days) to every year (approximately 365 days).

      New Amazon Web Services managed keys are automatically rotated one year after they are created, and approximately every year thereafter.

      Existing Amazon Web Services managed keys are automatically rotated one year after their most recent rotation, and every year thereafter.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:EnableKeyRotation (key policy)

      Related operations:

      " + "documentation":"

      Enables automatic rotation of the key material of the specified symmetric encryption KMS key.

      When you enable automatic rotation of a customer managed KMS key, KMS rotates the key material of the KMS key one year (approximately 365 days) from the enable date and every year thereafter. You can monitor rotation of the key material for your KMS keys in CloudTrail and Amazon CloudWatch. To disable rotation of the key material in a customer managed KMS key, use the DisableKeyRotation operation.

      Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.

      You cannot enable or disable automatic rotation Amazon Web Services managed KMS keys. KMS always rotates the key material of Amazon Web Services managed keys every year. Rotation of Amazon Web Services owned KMS keys varies.

      In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years (approximately 1,095 days) to every year (approximately 365 days).

      New Amazon Web Services managed keys are automatically rotated one year after they are created, and approximately every year thereafter.

      Existing Amazon Web Services managed keys are automatically rotated one year after their most recent rotation, and every year thereafter.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:EnableKeyRotation (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "Encrypt":{ "name":"Encrypt", @@ -345,7 +345,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Encrypts plaintext of up to 4,096 bytes using a KMS key. You can use a symmetric or asymmetric KMS key with a KeyUsage of ENCRYPT_DECRYPT.

      You can use this operation to encrypt small amounts of arbitrary data, such as a personal identifier or database password, or other sensitive information. You don't need to use the Encrypt operation to encrypt a data key. The GenerateDataKey and GenerateDataKeyPair operations return a plaintext data key and an encrypted copy of that data key.

      If you use a symmetric encryption KMS key, you can use an encryption context to add additional security to your encryption operation. If you specify an EncryptionContext when encrypting data, you must specify the same encryption context (a case-sensitive exact match) when decrypting the data. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

      If you specify an asymmetric KMS key, you must also specify the encryption algorithm. The algorithm must be compatible with the KMS key spec.

      When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.

      You are not required to supply the key ID and encryption algorithm when you decrypt with symmetric encryption KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.

      The maximum size of the data that you can encrypt varies with the type of KMS key and the encryption algorithm that you choose.

      • Symmetric encryption KMS keys

        • SYMMETRIC_DEFAULT: 4096 bytes

      • RSA_2048

        • RSAES_OAEP_SHA_1: 214 bytes

        • RSAES_OAEP_SHA_256: 190 bytes

      • RSA_3072

        • RSAES_OAEP_SHA_1: 342 bytes

        • RSAES_OAEP_SHA_256: 318 bytes

      • RSA_4096

        • RSAES_OAEP_SHA_1: 470 bytes

        • RSAES_OAEP_SHA_256: 446 bytes

      • SM2PKE: 1024 bytes (China Regions only)

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:Encrypt (key policy)

      Related operations:

      " + "documentation":"

      Encrypts plaintext of up to 4,096 bytes using a KMS key. You can use a symmetric or asymmetric KMS key with a KeyUsage of ENCRYPT_DECRYPT.

      You can use this operation to encrypt small amounts of arbitrary data, such as a personal identifier or database password, or other sensitive information. You don't need to use the Encrypt operation to encrypt a data key. The GenerateDataKey and GenerateDataKeyPair operations return a plaintext data key and an encrypted copy of that data key.

      If you use a symmetric encryption KMS key, you can use an encryption context to add additional security to your encryption operation. If you specify an EncryptionContext when encrypting data, you must specify the same encryption context (a case-sensitive exact match) when decrypting the data. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

      If you specify an asymmetric KMS key, you must also specify the encryption algorithm. The algorithm must be compatible with the KMS key spec.

      When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.

      You are not required to supply the key ID and encryption algorithm when you decrypt with symmetric encryption KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.

      The maximum size of the data that you can encrypt varies with the type of KMS key and the encryption algorithm that you choose.

      • Symmetric encryption KMS keys

        • SYMMETRIC_DEFAULT: 4096 bytes

      • RSA_2048

        • RSAES_OAEP_SHA_1: 214 bytes

        • RSAES_OAEP_SHA_256: 190 bytes

      • RSA_3072

        • RSAES_OAEP_SHA_1: 342 bytes

        • RSAES_OAEP_SHA_256: 318 bytes

      • RSA_4096

        • RSAES_OAEP_SHA_1: 470 bytes

        • RSAES_OAEP_SHA_256: 446 bytes

      • SM2PKE: 1024 bytes (China Regions only)

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:Encrypt (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "GenerateDataKey":{ "name":"GenerateDataKey", @@ -366,7 +366,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Returns a unique symmetric data key for use outside of KMS. This operation returns a plaintext copy of the data key and a copy that is encrypted under a symmetric encryption KMS key that you specify. The bytes in the plaintext key are random; they are not related to the caller or the KMS key. You can use the plaintext key to encrypt your data outside of KMS and store the encrypted data key with the encrypted data.

      To generate a data key, specify the symmetric encryption KMS key that will be used to encrypt the data key. You cannot use an asymmetric KMS key to encrypt data keys. To get the type of your KMS key, use the DescribeKey operation.

      You must also specify the length of the data key. Use either the KeySpec or NumberOfBytes parameters (but not both). For 128-bit and 256-bit data keys, use the KeySpec parameter.

      To generate a 128-bit SM4 data key (China Regions only), specify a KeySpec value of AES_128 or a NumberOfBytes value of 16. The symmetric encryption key used in China Regions to encrypt your data key is an SM4 encryption key.

      To get only an encrypted copy of the data key, use GenerateDataKeyWithoutPlaintext. To generate an asymmetric data key pair, use the GenerateDataKeyPair or GenerateDataKeyPairWithoutPlaintext operation. To get a cryptographically secure random byte string, use GenerateRandom.

      You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

      GenerateDataKey also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateDataKey for an Amazon Web Services Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. GenerateDataKey returns a copy of the data key encrypted under the specified KMS key, as usual. But instead of a plaintext copy of the data key, the response includes a copy of the data key encrypted under the public key from the attestation document (CiphertextForRecipient). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      How to use your data key

      We recommend that you use the following pattern to encrypt data locally in your application. You can write your own code or use a client-side encryption library, such as the Amazon Web Services Encryption SDK, the Amazon DynamoDB Encryption Client, or Amazon S3 client-side encryption to do these tasks for you.

      To encrypt data outside of KMS:

      1. Use the GenerateDataKey operation to get a data key.

      2. Use the plaintext data key (in the Plaintext field of the response) to encrypt your data outside of KMS. Then erase the plaintext data key from memory.

      3. Store the encrypted data key (in the CiphertextBlob field of the response) with the encrypted data.

      To decrypt data outside of KMS:

      1. Use the Decrypt operation to decrypt the encrypted data key. The operation returns a plaintext copy of the data key.

      2. Use the plaintext data key to decrypt data outside of KMS, then erase the plaintext data key from memory.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GenerateDataKey (key policy)

      Related operations:

      " + "documentation":"

      Returns a unique symmetric data key for use outside of KMS. This operation returns a plaintext copy of the data key and a copy that is encrypted under a symmetric encryption KMS key that you specify. The bytes in the plaintext key are random; they are not related to the caller or the KMS key. You can use the plaintext key to encrypt your data outside of KMS and store the encrypted data key with the encrypted data.

      To generate a data key, specify the symmetric encryption KMS key that will be used to encrypt the data key. You cannot use an asymmetric KMS key to encrypt data keys. To get the type of your KMS key, use the DescribeKey operation.

      You must also specify the length of the data key. Use either the KeySpec or NumberOfBytes parameters (but not both). For 128-bit and 256-bit data keys, use the KeySpec parameter.

      To generate a 128-bit SM4 data key (China Regions only), specify a KeySpec value of AES_128 or a NumberOfBytes value of 16. The symmetric encryption key used in China Regions to encrypt your data key is an SM4 encryption key.

      To get only an encrypted copy of the data key, use GenerateDataKeyWithoutPlaintext. To generate an asymmetric data key pair, use the GenerateDataKeyPair or GenerateDataKeyPairWithoutPlaintext operation. To get a cryptographically secure random byte string, use GenerateRandom.

      You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

      GenerateDataKey also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateDataKey for an Amazon Web Services Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. GenerateDataKey returns a copy of the data key encrypted under the specified KMS key, as usual. But instead of a plaintext copy of the data key, the response includes a copy of the data key encrypted under the public key from the attestation document (CiphertextForRecipient). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      How to use your data key

      We recommend that you use the following pattern to encrypt data locally in your application. You can write your own code or use a client-side encryption library, such as the Amazon Web Services Encryption SDK, the Amazon DynamoDB Encryption Client, or Amazon S3 client-side encryption to do these tasks for you.

      To encrypt data outside of KMS:

      1. Use the GenerateDataKey operation to get a data key.

      2. Use the plaintext data key (in the Plaintext field of the response) to encrypt your data outside of KMS. Then erase the plaintext data key from memory.

      3. Store the encrypted data key (in the CiphertextBlob field of the response) with the encrypted data.

      To decrypt data outside of KMS:

      1. Use the Decrypt operation to decrypt the encrypted data key. The operation returns a plaintext copy of the data key.

      2. Use the plaintext data key to decrypt data outside of KMS, then erase the plaintext data key from memory.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GenerateDataKey (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "GenerateDataKeyPair":{ "name":"GenerateDataKeyPair", @@ -388,7 +388,7 @@ {"shape":"UnsupportedOperationException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Returns a unique asymmetric data key pair for use outside of KMS. This operation returns a plaintext public key, a plaintext private key, and a copy of the private key that is encrypted under the symmetric encryption KMS key you specify. You can use the data key pair to perform asymmetric cryptography and implement digital signatures outside of KMS. The bytes in the keys are random; they not related to the caller or to the KMS key that is used to encrypt the private key.

      You can use the public key that GenerateDataKeyPair returns to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key with the data. When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.

      To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.

      Use the KeyPairSpec parameter to choose an RSA or Elliptic Curve (ECC) data key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or signing, but not both. However, KMS cannot enforce any restrictions on the use of data key pairs outside of KMS.

      If you are using the data key pair to encrypt data, or for any operation where you don't immediately need a private key, consider using the GenerateDataKeyPairWithoutPlaintext operation. GenerateDataKeyPairWithoutPlaintext returns a plaintext public key and an encrypted private key, but omits the plaintext private key that you need only to decrypt ciphertext or sign a message. Later, when you need to decrypt the data or sign a message, use the Decrypt operation to decrypt the encrypted private key in the data key pair.

      GenerateDataKeyPair returns a unique data key pair for each request. The bytes in the keys are random; they are not related to the caller or the KMS key that is used to encrypt the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in RFC 5280. The private key is a DER-encoded PKCS8 PrivateKeyInfo, as specified in RFC 5958.

      GenerateDataKeyPair also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateDataKeyPair for an Amazon Web Services Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. GenerateDataKeyPair returns the public data key and a copy of the private data key encrypted under the specified KMS key, as usual. But instead of a plaintext copy of the private data key (PrivateKeyPlaintext), the response includes a copy of the private data key encrypted under the public key from the attestation document (CiphertextForRecipient). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..

      You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GenerateDataKeyPair (key policy)

      Related operations:

      " + "documentation":"

      Returns a unique asymmetric data key pair for use outside of KMS. This operation returns a plaintext public key, a plaintext private key, and a copy of the private key that is encrypted under the symmetric encryption KMS key you specify. You can use the data key pair to perform asymmetric cryptography and implement digital signatures outside of KMS. The bytes in the keys are random; they are not related to the caller or to the KMS key that is used to encrypt the private key.

      You can use the public key that GenerateDataKeyPair returns to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key with the data. When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.

      To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.

      Use the KeyPairSpec parameter to choose an RSA or Elliptic Curve (ECC) data key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or signing, but not both. However, KMS cannot enforce any restrictions on the use of data key pairs outside of KMS.

      If you are using the data key pair to encrypt data, or for any operation where you don't immediately need a private key, consider using the GenerateDataKeyPairWithoutPlaintext operation. GenerateDataKeyPairWithoutPlaintext returns a plaintext public key and an encrypted private key, but omits the plaintext private key that you need only to decrypt ciphertext or sign a message. Later, when you need to decrypt the data or sign a message, use the Decrypt operation to decrypt the encrypted private key in the data key pair.

      GenerateDataKeyPair returns a unique data key pair for each request. The bytes in the keys are random; they are not related to the caller or the KMS key that is used to encrypt the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in RFC 5280. The private key is a DER-encoded PKCS8 PrivateKeyInfo, as specified in RFC 5958.

      GenerateDataKeyPair also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateDataKeyPair for an Amazon Web Services Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. GenerateDataKeyPair returns the public data key and a copy of the private data key encrypted under the specified KMS key, as usual. But instead of a plaintext copy of the private data key (PrivateKeyPlaintext), the response includes a copy of the private data key encrypted under the public key from the attestation document (CiphertextForRecipient). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..

      You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GenerateDataKeyPair (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "GenerateDataKeyPairWithoutPlaintext":{ "name":"GenerateDataKeyPairWithoutPlaintext", @@ -410,7 +410,7 @@ {"shape":"UnsupportedOperationException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Returns a unique asymmetric data key pair for use outside of KMS. This operation returns a plaintext public key and a copy of the private key that is encrypted under the symmetric encryption KMS key you specify. Unlike GenerateDataKeyPair, this operation does not return a plaintext private key. The bytes in the keys are random; they are not related to the caller or to the KMS key that is used to encrypt the private key.

      You can use the public key that GenerateDataKeyPairWithoutPlaintext returns to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key with the data. When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.

      To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.

      Use the KeyPairSpec parameter to choose an RSA or Elliptic Curve (ECC) data key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or signing, but not both. However, KMS cannot enforce any restrictions on the use of data key pairs outside of KMS.

      GenerateDataKeyPairWithoutPlaintext returns a unique data key pair for each request. The bytes in the key are not related to the caller or KMS key that is used to encrypt the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in RFC 5280.

      You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GenerateDataKeyPairWithoutPlaintext (key policy)

      Related operations:

      " + "documentation":"

      Returns a unique asymmetric data key pair for use outside of KMS. This operation returns a plaintext public key and a copy of the private key that is encrypted under the symmetric encryption KMS key you specify. Unlike GenerateDataKeyPair, this operation does not return a plaintext private key. The bytes in the keys are random; they are not related to the caller or to the KMS key that is used to encrypt the private key.

      You can use the public key that GenerateDataKeyPairWithoutPlaintext returns to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key with the data. When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.

      To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.

      Use the KeyPairSpec parameter to choose an RSA or Elliptic Curve (ECC) data key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or signing, but not both. However, KMS cannot enforce any restrictions on the use of data key pairs outside of KMS.

      GenerateDataKeyPairWithoutPlaintext returns a unique data key pair for each request. The bytes in the key are not related to the caller or KMS key that is used to encrypt the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in RFC 5280.

      You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GenerateDataKeyPairWithoutPlaintext (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "GenerateDataKeyWithoutPlaintext":{ "name":"GenerateDataKeyWithoutPlaintext", @@ -431,7 +431,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Returns a unique symmetric data key for use outside of KMS. This operation returns a data key that is encrypted under a symmetric encryption KMS key that you specify. The bytes in the key are random; they are not related to the caller or to the KMS key.

      GenerateDataKeyWithoutPlaintext is identical to the GenerateDataKey operation except that it does not return a plaintext copy of the data key.

      This operation is useful for systems that need to encrypt data at some point, but not immediately. When you need to encrypt the data, you call the Decrypt operation on the encrypted copy of the key.

      It's also useful in distributed systems with different levels of trust. For example, you might store encrypted data in containers. One component of your system creates new containers and stores an encrypted data key with each container. Then, a different component puts the data into the containers. That component first decrypts the data key, uses the plaintext data key to encrypt data, puts the encrypted data into the container, and then destroys the plaintext data key. In this system, the component that creates the containers never sees the plaintext data key.

      To request an asymmetric data key pair, use the GenerateDataKeyPair or GenerateDataKeyPairWithoutPlaintext operations.

      To generate a data key, you must specify the symmetric encryption KMS key that is used to encrypt the data key. You cannot use an asymmetric KMS key or a key in a custom key store to generate a data key. To get the type of your KMS key, use the DescribeKey operation.

      You must also specify the length of the data key. Use either the KeySpec or NumberOfBytes parameters (but not both). For 128-bit and 256-bit data keys, use the KeySpec parameter.

      To generate an SM4 data key (China Regions only), specify a KeySpec value of AES_128 or NumberOfBytes value of 16. The symmetric encryption key used in China Regions to encrypt your data key is an SM4 encryption key.

      If the operation succeeds, you will find the encrypted copy of the data key in the CiphertextBlob field.

      You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GenerateDataKeyWithoutPlaintext (key policy)

      Related operations:

      " + "documentation":"

      Returns a unique symmetric data key for use outside of KMS. This operation returns a data key that is encrypted under a symmetric encryption KMS key that you specify. The bytes in the key are random; they are not related to the caller or to the KMS key.

      GenerateDataKeyWithoutPlaintext is identical to the GenerateDataKey operation except that it does not return a plaintext copy of the data key.

      This operation is useful for systems that need to encrypt data at some point, but not immediately. When you need to encrypt the data, you call the Decrypt operation on the encrypted copy of the key.

      It's also useful in distributed systems with different levels of trust. For example, you might store encrypted data in containers. One component of your system creates new containers and stores an encrypted data key with each container. Then, a different component puts the data into the containers. That component first decrypts the data key, uses the plaintext data key to encrypt data, puts the encrypted data into the container, and then destroys the plaintext data key. In this system, the component that creates the containers never sees the plaintext data key.

      To request an asymmetric data key pair, use the GenerateDataKeyPair or GenerateDataKeyPairWithoutPlaintext operations.

      To generate a data key, you must specify the symmetric encryption KMS key that is used to encrypt the data key. You cannot use an asymmetric KMS key or a key in a custom key store to generate a data key. To get the type of your KMS key, use the DescribeKey operation.

      You must also specify the length of the data key. Use either the KeySpec or NumberOfBytes parameters (but not both). For 128-bit and 256-bit data keys, use the KeySpec parameter.

      To generate an SM4 data key (China Regions only), specify a KeySpec value of AES_128 or NumberOfBytes value of 16. The symmetric encryption key used in China Regions to encrypt your data key is an SM4 encryption key.

      If the operation succeeds, you will find the encrypted copy of the data key in the CiphertextBlob field.

      You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GenerateDataKeyWithoutPlaintext (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "GenerateMac":{ "name":"GenerateMac", @@ -451,7 +451,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Generates a hash-based message authentication code (HMAC) for a message using an HMAC KMS key and a MAC algorithm that the key supports. HMAC KMS keys and the HMAC algorithms that KMS uses conform to industry standards defined in RFC 2104.

      You can use value that GenerateMac returns in the VerifyMac operation to demonstrate that the original message has not changed. Also, because a secret key is used to create the hash, you can verify that the party that generated the hash has the required secret key. You can also use the raw result to implement HMAC-based algorithms such as key derivation functions. This operation is part of KMS support for HMAC KMS keys. For details, see HMAC keys in KMS in the Key Management Service Developer Guide .

      Best practices recommend that you limit the time during which any signing mechanism, including an HMAC, is effective. This deters an attack where the actor uses a signed message to establish validity repeatedly or long after the message is superseded. HMAC tags do not include a timestamp, but you can include a timestamp in the token or message to help you detect when its time to refresh the HMAC.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GenerateMac (key policy)

      Related operations: VerifyMac

      " + "documentation":"

      Generates a hash-based message authentication code (HMAC) for a message using an HMAC KMS key and a MAC algorithm that the key supports. HMAC KMS keys and the HMAC algorithms that KMS uses conform to industry standards defined in RFC 2104.

      You can use value that GenerateMac returns in the VerifyMac operation to demonstrate that the original message has not changed. Also, because a secret key is used to create the hash, you can verify that the party that generated the hash has the required secret key. You can also use the raw result to implement HMAC-based algorithms such as key derivation functions. This operation is part of KMS support for HMAC KMS keys. For details, see HMAC keys in KMS in the Key Management Service Developer Guide .

      Best practices recommend that you limit the time during which any signing mechanism, including an HMAC, is effective. This deters an attack where the actor uses a signed message to establish validity repeatedly or long after the message is superseded. HMAC tags do not include a timestamp, but you can include a timestamp in the token or message to help you detect when its time to refresh the HMAC.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GenerateMac (key policy)

      Related operations: VerifyMac

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "GenerateRandom":{ "name":"GenerateRandom", @@ -468,7 +468,7 @@ {"shape":"CustomKeyStoreNotFoundException"}, {"shape":"CustomKeyStoreInvalidStateException"} ], - "documentation":"

      Returns a random byte string that is cryptographically secure.

      You must use the NumberOfBytes parameter to specify the length of the random byte string. There is no default value for string length.

      By default, the random byte string is generated in KMS. To generate the byte string in the CloudHSM cluster associated with an CloudHSM key store, use the CustomKeyStoreId parameter.

      GenerateRandom also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateRandom for a Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. Instead of plaintext bytes, the response includes the plaintext bytes encrypted under the public key from the attestation document (CiphertextForRecipient).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

      For more information about entropy and random number generation, see Key Management Service Cryptographic Details.

      Cross-account use: Not applicable. GenerateRandom does not use any account-specific resources, such as KMS keys.

      Required permissions: kms:GenerateRandom (IAM policy)

      " + "documentation":"

      Returns a random byte string that is cryptographically secure.

      You must use the NumberOfBytes parameter to specify the length of the random byte string. There is no default value for string length.

      By default, the random byte string is generated in KMS. To generate the byte string in the CloudHSM cluster associated with an CloudHSM key store, use the CustomKeyStoreId parameter.

      GenerateRandom also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateRandom for a Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. Instead of plaintext bytes, the response includes the plaintext bytes encrypted under the public key from the attestation document (CiphertextForRecipient).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

      For more information about entropy and random number generation, see Key Management Service Cryptographic Details.

      Cross-account use: Not applicable. GenerateRandom does not use any account-specific resources, such as KMS keys.

      Required permissions: kms:GenerateRandom (IAM policy)

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "GetKeyPolicy":{ "name":"GetKeyPolicy", @@ -485,7 +485,7 @@ {"shape":"KMSInternalException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Gets a key policy attached to the specified KMS key.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:GetKeyPolicy (key policy)

      Related operations: PutKeyPolicy

      " + "documentation":"

      Gets a key policy attached to the specified KMS key.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:GetKeyPolicy (key policy)

      Related operations: PutKeyPolicy

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "GetKeyRotationStatus":{ "name":"GetKeyRotationStatus", @@ -503,7 +503,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"UnsupportedOperationException"} ], - "documentation":"

      Gets a Boolean value that indicates whether automatic rotation of the key material is enabled for the specified KMS key.

      When you enable automatic rotation for customer managed KMS keys, KMS rotates the key material of the KMS key one year (approximately 365 days) from the enable date and every year thereafter. You can monitor rotation of the key material for your KMS keys in CloudTrail and Amazon CloudWatch.

      Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key..

      You can enable (EnableKeyRotation) and disable automatic rotation (DisableKeyRotation) of the key material in customer managed KMS keys. Key material rotation of Amazon Web Services managed KMS keys is not configurable. KMS always rotates the key material in Amazon Web Services managed KMS keys every year. The key rotation status for Amazon Web Services managed KMS keys is always true.

      In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years to every year. For details, see EnableKeyRotation.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      • Disabled: The key rotation status does not change when you disable a KMS key. However, while the KMS key is disabled, KMS does not rotate the key material. When you re-enable the KMS key, rotation resumes. If the key material in the re-enabled KMS key hasn't been rotated in one year, KMS rotates it immediately, and every year thereafter. If it's been less than a year since the key material in the re-enabled KMS key was rotated, the KMS key resumes its prior rotation schedule.

      • Pending deletion: While a KMS key is pending deletion, its key rotation status is false and KMS does not rotate the key material. If you cancel the deletion, the original key rotation status returns to true.

      Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

      Required permissions: kms:GetKeyRotationStatus (key policy)

      Related operations:

      " + "documentation":"

      Gets a Boolean value that indicates whether automatic rotation of the key material is enabled for the specified KMS key.

      When you enable automatic rotation for customer managed KMS keys, KMS rotates the key material of the KMS key one year (approximately 365 days) from the enable date and every year thereafter. You can monitor rotation of the key material for your KMS keys in CloudTrail and Amazon CloudWatch.

      Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key..

      You can enable (EnableKeyRotation) and disable automatic rotation (DisableKeyRotation) of the key material in customer managed KMS keys. Key material rotation of Amazon Web Services managed KMS keys is not configurable. KMS always rotates the key material in Amazon Web Services managed KMS keys every year. The key rotation status for Amazon Web Services managed KMS keys is always true.

      In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years to every year. For details, see EnableKeyRotation.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      • Disabled: The key rotation status does not change when you disable a KMS key. However, while the KMS key is disabled, KMS does not rotate the key material. When you re-enable the KMS key, rotation resumes. If the key material in the re-enabled KMS key hasn't been rotated in one year, KMS rotates it immediately, and every year thereafter. If it's been less than a year since the key material in the re-enabled KMS key was rotated, the KMS key resumes its prior rotation schedule.

      • Pending deletion: While a KMS key is pending deletion, its key rotation status is false and KMS does not rotate the key material. If you cancel the deletion, the original key rotation status returns to true.

      Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

      Required permissions: kms:GetKeyRotationStatus (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "GetParametersForImport":{ "name":"GetParametersForImport", @@ -521,7 +521,7 @@ {"shape":"KMSInternalException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Returns the public key and an import token you need to import or reimport key material for a KMS key.

      By default, KMS keys are created with key material that KMS generates. This operation supports Importing key material, an advanced feature that lets you generate and import the cryptographic key material for a KMS key. For more information about importing key material into KMS, see Importing key material in the Key Management Service Developer Guide.

      Before calling GetParametersForImport, use the CreateKey operation with an Origin value of EXTERNAL to create a KMS key with no key material. You can import key material for a symmetric encryption KMS key, HMAC KMS key, asymmetric encryption KMS key, or asymmetric signing KMS key. You can also import key material into a multi-Region key of any supported type. However, you can't import key material into a KMS key in a custom key store. You can also use GetParametersForImport to get a public key and import token to reimport the original key material into a KMS key whose key material expired or was deleted.

      GetParametersForImport returns the items that you need to import your key material.

      • The public key (or \"wrapping key\") of an RSA key pair that KMS generates.

        You will use this public key to encrypt (\"wrap\") your key material while it's in transit to KMS.

      • A import token that ensures that KMS can decrypt your key material and associate it with the correct KMS key.

      The public key and its import token are permanently linked and must be used together. Each public key and import token set is valid for 24 hours. The expiration date and time appear in the ParametersValidTo field in the GetParametersForImport response. You cannot use an expired public key or import token in an ImportKeyMaterial request. If your key and token expire, send another GetParametersForImport request.

      GetParametersForImport requires the following information:

      • The key ID of the KMS key for which you are importing the key material.

      • The key spec of the public key (\"wrapping key\") that you will use to encrypt your key material during import.

      • The wrapping algorithm that you will use with the public key to encrypt your key material.

      You can use the same or a different public key spec and wrapping algorithm each time you import or reimport the same key material.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:GetParametersForImport (key policy)

      Related operations:

      " + "documentation":"

      Returns the public key and an import token you need to import or reimport key material for a KMS key.

      By default, KMS keys are created with key material that KMS generates. This operation supports Importing key material, an advanced feature that lets you generate and import the cryptographic key material for a KMS key. For more information about importing key material into KMS, see Importing key material in the Key Management Service Developer Guide.

      Before calling GetParametersForImport, use the CreateKey operation with an Origin value of EXTERNAL to create a KMS key with no key material. You can import key material for a symmetric encryption KMS key, HMAC KMS key, asymmetric encryption KMS key, or asymmetric signing KMS key. You can also import key material into a multi-Region key of any supported type. However, you can't import key material into a KMS key in a custom key store. You can also use GetParametersForImport to get a public key and import token to reimport the original key material into a KMS key whose key material expired or was deleted.

      GetParametersForImport returns the items that you need to import your key material.

      • The public key (or \"wrapping key\") of an RSA key pair that KMS generates.

        You will use this public key to encrypt (\"wrap\") your key material while it's in transit to KMS.

      • A import token that ensures that KMS can decrypt your key material and associate it with the correct KMS key.

      The public key and its import token are permanently linked and must be used together. Each public key and import token set is valid for 24 hours. The expiration date and time appear in the ParametersValidTo field in the GetParametersForImport response. You cannot use an expired public key or import token in an ImportKeyMaterial request. If your key and token expire, send another GetParametersForImport request.

      GetParametersForImport requires the following information:

      • The key ID of the KMS key for which you are importing the key material.

      • The key spec of the public key (\"wrapping key\") that you will use to encrypt your key material during import.

      • The wrapping algorithm that you will use with the public key to encrypt your key material.

      You can use the same or a different public key spec and wrapping algorithm each time you import or reimport the same key material.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:GetParametersForImport (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "GetPublicKey":{ "name":"GetPublicKey", @@ -543,7 +543,7 @@ {"shape":"KMSInternalException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Returns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric KMS key, which never leaves KMS unencrypted, callers with kms:GetPublicKey permission can download the public key of an asymmetric KMS key. You can share the public key to allow others to encrypt messages and verify signatures outside of KMS. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

      You do not need to download the public key. Instead, you can use the public key within KMS by calling the Encrypt, ReEncrypt, or Verify operations with the identifier of an asymmetric KMS key. When you use the public key within KMS, you benefit from the authentication, authorization, and logging that are part of every KMS operation. You also reduce of risk of encrypting data that cannot be decrypted. These features are not effective outside of KMS.

      To help you use the public key safely outside of KMS, GetPublicKey returns important information about the public key in the response, including:

      • KeySpec: The type of key material in the public key, such as RSA_4096 or ECC_NIST_P521.

      • KeyUsage: Whether the key is used for encryption or signing.

      • EncryptionAlgorithms or SigningAlgorithms: A list of the encryption algorithms or the signing algorithms for the key.

      Although KMS cannot enforce these restrictions on external operations, it is crucial that you use this information to prevent the public key from being used improperly. For example, you can prevent a public signing key from being used encrypt data, or prevent a public key from being used with an encryption algorithm that is not supported by KMS. You can also avoid errors, such as using the wrong signing algorithm in a verification operation.

      To verify a signature outside of KMS with an SM2 public key (China Regions only), you must specify the distinguishing ID. By default, KMS uses 1234567812345678 as the distinguishing ID. For more information, see Offline verification with SM2 key pairs.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GetPublicKey (key policy)

      Related operations: CreateKey

      " + "documentation":"

      Returns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric KMS key, which never leaves KMS unencrypted, callers with kms:GetPublicKey permission can download the public key of an asymmetric KMS key. You can share the public key to allow others to encrypt messages and verify signatures outside of KMS. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

      You do not need to download the public key. Instead, you can use the public key within KMS by calling the Encrypt, ReEncrypt, or Verify operations with the identifier of an asymmetric KMS key. When you use the public key within KMS, you benefit from the authentication, authorization, and logging that are part of every KMS operation. You also reduce of risk of encrypting data that cannot be decrypted. These features are not effective outside of KMS.

      To help you use the public key safely outside of KMS, GetPublicKey returns important information about the public key in the response, including:

      • KeySpec: The type of key material in the public key, such as RSA_4096 or ECC_NIST_P521.

      • KeyUsage: Whether the key is used for encryption or signing.

      • EncryptionAlgorithms or SigningAlgorithms: A list of the encryption algorithms or the signing algorithms for the key.

      Although KMS cannot enforce these restrictions on external operations, it is crucial that you use this information to prevent the public key from being used improperly. For example, you can prevent a public signing key from being used encrypt data, or prevent a public key from being used with an encryption algorithm that is not supported by KMS. You can also avoid errors, such as using the wrong signing algorithm in a verification operation.

      To verify a signature outside of KMS with an SM2 public key (China Regions only), you must specify the distinguishing ID. By default, KMS uses 1234567812345678 as the distinguishing ID. For more information, see Offline verification with SM2 key pairs.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:GetPublicKey (key policy)

      Related operations: CreateKey

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "ImportKeyMaterial":{ "name":"ImportKeyMaterial", @@ -565,7 +565,7 @@ {"shape":"ExpiredImportTokenException"}, {"shape":"InvalidImportTokenException"} ], - "documentation":"

      Imports or reimports key material into an existing KMS key that was created without key material. ImportKeyMaterial also sets the expiration model and expiration date of the imported key material.

      By default, KMS keys are created with key material that KMS generates. This operation supports Importing key material, an advanced feature that lets you generate and import the cryptographic key material for a KMS key. For more information about importing key material into KMS, see Importing key material in the Key Management Service Developer Guide.

      After you successfully import key material into a KMS key, you can reimport the same key material into that KMS key, but you cannot import different key material. You might reimport key material to replace key material that expired or key material that you deleted. You might also reimport key material to change the expiration model or expiration date of the key material. Before reimporting key material, if necessary, call DeleteImportedKeyMaterial to delete the current imported key material.

      Each time you import key material into KMS, you can determine whether (ExpirationModel) and when (ValidTo) the key material expires. To change the expiration of your key material, you must import it again, either by calling ImportKeyMaterial or using the import features of the KMS console.

      Before calling ImportKeyMaterial:

      • Create or identify a KMS key with no key material. The KMS key must have an Origin value of EXTERNAL, which indicates that the KMS key is designed for imported key material.

        To create an new KMS key for imported key material, call the CreateKey operation with an Origin value of EXTERNAL. You can create a symmetric encryption KMS key, HMAC KMS key, asymmetric encryption KMS key, or asymmetric signing KMS key. You can also import key material into a multi-Region key of any supported type. However, you can't import key material into a KMS key in a custom key store.

      • Use the DescribeKey operation to verify that the KeyState of the KMS key is PendingImport, which indicates that the KMS key has no key material.

        If you are reimporting the same key material into an existing KMS key, you might need to call the DeleteImportedKeyMaterial to delete its existing key material.

      • Call the GetParametersForImport operation to get a public key and import token set for importing key material.

      • Use the public key in the GetParametersForImport response to encrypt your key material.

      Then, in an ImportKeyMaterial request, you submit your encrypted key material and import token. When calling this operation, you must specify the following values:

      • The key ID or key ARN of the KMS key to associate with the imported key material. Its Origin must be EXTERNAL and its KeyState must be PendingImport. You cannot perform this operation on a KMS key in a custom key store, or on a KMS key in a different Amazon Web Services account. To get the Origin and KeyState of a KMS key, call DescribeKey.

      • The encrypted key material.

      • The import token that GetParametersForImport returned. You must use a public key and token from the same GetParametersForImport response.

      • Whether the key material expires (ExpirationModel) and, if so, when (ValidTo). For help with this choice, see Setting an expiration time in the Key Management Service Developer Guide.

        If you set an expiration date, KMS deletes the key material from the KMS key on the specified date, making the KMS key unusable. To use the KMS key in cryptographic operations again, you must reimport the same key material. However, you can delete and reimport the key material at any time, including before the key material expires. Each time you reimport, you can eliminate or reset the expiration time.

      When this operation is successful, the key state of the KMS key changes from PendingImport to Enabled, and you can use the KMS key in cryptographic operations.

      If this operation fails, use the exception to help determine the problem. If the error is related to the key material, the import token, or wrapping key, use GetParametersForImport to get a new public key and import token for the KMS key and repeat the import procedure. For help, see How To Import Key Material in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:ImportKeyMaterial (key policy)

      Related operations:

      " + "documentation":"

      Imports or reimports key material into an existing KMS key that was created without key material. ImportKeyMaterial also sets the expiration model and expiration date of the imported key material.

      By default, KMS keys are created with key material that KMS generates. This operation supports Importing key material, an advanced feature that lets you generate and import the cryptographic key material for a KMS key. For more information about importing key material into KMS, see Importing key material in the Key Management Service Developer Guide.

      After you successfully import key material into a KMS key, you can reimport the same key material into that KMS key, but you cannot import different key material. You might reimport key material to replace key material that expired or key material that you deleted. You might also reimport key material to change the expiration model or expiration date of the key material. Before reimporting key material, if necessary, call DeleteImportedKeyMaterial to delete the current imported key material.

      Each time you import key material into KMS, you can determine whether (ExpirationModel) and when (ValidTo) the key material expires. To change the expiration of your key material, you must import it again, either by calling ImportKeyMaterial or using the import features of the KMS console.

      Before calling ImportKeyMaterial:

      • Create or identify a KMS key with no key material. The KMS key must have an Origin value of EXTERNAL, which indicates that the KMS key is designed for imported key material.

        To create an new KMS key for imported key material, call the CreateKey operation with an Origin value of EXTERNAL. You can create a symmetric encryption KMS key, HMAC KMS key, asymmetric encryption KMS key, or asymmetric signing KMS key. You can also import key material into a multi-Region key of any supported type. However, you can't import key material into a KMS key in a custom key store.

      • Use the DescribeKey operation to verify that the KeyState of the KMS key is PendingImport, which indicates that the KMS key has no key material.

        If you are reimporting the same key material into an existing KMS key, you might need to call the DeleteImportedKeyMaterial to delete its existing key material.

      • Call the GetParametersForImport operation to get a public key and import token set for importing key material.

      • Use the public key in the GetParametersForImport response to encrypt your key material.

      Then, in an ImportKeyMaterial request, you submit your encrypted key material and import token. When calling this operation, you must specify the following values:

      • The key ID or key ARN of the KMS key to associate with the imported key material. Its Origin must be EXTERNAL and its KeyState must be PendingImport. You cannot perform this operation on a KMS key in a custom key store, or on a KMS key in a different Amazon Web Services account. To get the Origin and KeyState of a KMS key, call DescribeKey.

      • The encrypted key material.

      • The import token that GetParametersForImport returned. You must use a public key and token from the same GetParametersForImport response.

      • Whether the key material expires (ExpirationModel) and, if so, when (ValidTo). For help with this choice, see Setting an expiration time in the Key Management Service Developer Guide.

        If you set an expiration date, KMS deletes the key material from the KMS key on the specified date, making the KMS key unusable. To use the KMS key in cryptographic operations again, you must reimport the same key material. However, you can delete and reimport the key material at any time, including before the key material expires. Each time you reimport, you can eliminate or reset the expiration time.

      When this operation is successful, the key state of the KMS key changes from PendingImport to Enabled, and you can use the KMS key in cryptographic operations.

      If this operation fails, use the exception to help determine the problem. If the error is related to the key material, the import token, or wrapping key, use GetParametersForImport to get a new public key and import token for the KMS key and repeat the import procedure. For help, see How To Import Key Material in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:ImportKeyMaterial (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "ListAliases":{ "name":"ListAliases", @@ -582,7 +582,7 @@ {"shape":"InvalidArnException"}, {"shape":"NotFoundException"} ], - "documentation":"

      Gets a list of aliases in the caller's Amazon Web Services account and region. For more information about aliases, see CreateAlias.

      By default, the ListAliases operation returns all aliases in the account and region. To get only the aliases associated with a particular KMS key, use the KeyId parameter.

      The ListAliases response can include aliases that you created and associated with your customer managed keys, and aliases that Amazon Web Services created and associated with Amazon Web Services managed keys in your account. You can recognize Amazon Web Services aliases because their names have the format aws/<service-name>, such as aws/dynamodb.

      The response might also include aliases that have no TargetKeyId field. These are predefined aliases that Amazon Web Services has created but has not yet associated with a KMS key. Aliases that Amazon Web Services creates in your account, including predefined aliases, do not count against your KMS aliases quota.

      Cross-account use: No. ListAliases does not return aliases in other Amazon Web Services accounts.

      Required permissions: kms:ListAliases (IAM policy)

      For details, see Controlling access to aliases in the Key Management Service Developer Guide.

      Related operations:

      " + "documentation":"

      Gets a list of aliases in the caller's Amazon Web Services account and region. For more information about aliases, see CreateAlias.

      By default, the ListAliases operation returns all aliases in the account and region. To get only the aliases associated with a particular KMS key, use the KeyId parameter.

      The ListAliases response can include aliases that you created and associated with your customer managed keys, and aliases that Amazon Web Services created and associated with Amazon Web Services managed keys in your account. You can recognize Amazon Web Services aliases because their names have the format aws/<service-name>, such as aws/dynamodb.

      The response might also include aliases that have no TargetKeyId field. These are predefined aliases that Amazon Web Services has created but has not yet associated with a KMS key. Aliases that Amazon Web Services creates in your account, including predefined aliases, do not count against your KMS aliases quota.

      Cross-account use: No. ListAliases does not return aliases in other Amazon Web Services accounts.

      Required permissions: kms:ListAliases (IAM policy)

      For details, see Controlling access to aliases in the Key Management Service Developer Guide.

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "ListGrants":{ "name":"ListGrants", @@ -601,7 +601,7 @@ {"shape":"KMSInternalException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Gets a list of all grants for the specified KMS key.

      You must specify the KMS key in all requests. You can filter the grant list by grant ID or grantee principal.

      For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

      The GranteePrincipal field in the ListGrants response usually contains the user or role designated as the grantee principal in the grant. However, when the grantee principal in the grant is an Amazon Web Services service, the GranteePrincipal field contains the service principal, which might represent several different grantee principals.

      Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

      Required permissions: kms:ListGrants (key policy)

      Related operations:

      " + "documentation":"

      Gets a list of all grants for the specified KMS key.

      You must specify the KMS key in all requests. You can filter the grant list by grant ID or grantee principal.

      For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

      The GranteePrincipal field in the ListGrants response usually contains the user or role designated as the grantee principal in the grant. However, when the grantee principal in the grant is an Amazon Web Services service, the GranteePrincipal field contains the service principal, which might represent several different grantee principals.

      Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

      Required permissions: kms:ListGrants (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "ListKeyPolicies":{ "name":"ListKeyPolicies", @@ -618,7 +618,7 @@ {"shape":"KMSInternalException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Gets the names of the key policies that are attached to a KMS key. This operation is designed to get policy names that you can use in a GetKeyPolicy operation. However, the only valid policy name is default.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:ListKeyPolicies (key policy)

      Related operations:

      " + "documentation":"

      Gets the names of the key policies that are attached to a KMS key. This operation is designed to get policy names that you can use in a GetKeyPolicy operation. However, the only valid policy name is default.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:ListKeyPolicies (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "ListKeys":{ "name":"ListKeys", @@ -633,7 +633,7 @@ {"shape":"KMSInternalException"}, {"shape":"InvalidMarkerException"} ], - "documentation":"

      Gets a list of all KMS keys in the caller's Amazon Web Services account and Region.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:ListKeys (IAM policy)

      Related operations:

      " + "documentation":"

      Gets a list of all KMS keys in the caller's Amazon Web Services account and Region.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:ListKeys (IAM policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "ListResourceTags":{ "name":"ListResourceTags", @@ -649,7 +649,7 @@ {"shape":"InvalidArnException"}, {"shape":"InvalidMarkerException"} ], - "documentation":"

      Returns all tags on the specified KMS key.

      For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference. For information about using tags in KMS, see Tagging keys.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:ListResourceTags (key policy)

      Related operations:

      " + "documentation":"

      Returns all tags on the specified KMS key.

      For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference. For information about using tags in KMS, see Tagging keys.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:ListResourceTags (key policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "ListRetirableGrants":{ "name":"ListRetirableGrants", @@ -666,7 +666,7 @@ {"shape":"NotFoundException"}, {"shape":"KMSInternalException"} ], - "documentation":"

      Returns information about all grants in the Amazon Web Services account and Region that have the specified retiring principal.

      You can specify any principal in your Amazon Web Services account. The grants that are returned include grants for KMS keys in your Amazon Web Services account and other Amazon Web Services accounts. You might use this operation to determine which grants you may retire. To retire a grant, use the RetireGrant operation.

      For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

      Cross-account use: You must specify a principal in your Amazon Web Services account. However, this operation can return grants in any Amazon Web Services account. You do not need kms:ListRetirableGrants permission (or any other additional permission) in any Amazon Web Services account other than your own.

      Required permissions: kms:ListRetirableGrants (IAM policy) in your Amazon Web Services account.

      Related operations:

      " + "documentation":"

      Returns information about all grants in the Amazon Web Services account and Region that have the specified retiring principal.

      You can specify any principal in your Amazon Web Services account. The grants that are returned include grants for KMS keys in your Amazon Web Services account and other Amazon Web Services accounts. You might use this operation to determine which grants you may retire. To retire a grant, use the RetireGrant operation.

      For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

      Cross-account use: You must specify a principal in your Amazon Web Services account. This operation returns a list of grants where the retiring principal specified in the ListRetirableGrants request is the same retiring principal on the grant. This can include grants on KMS keys owned by other Amazon Web Services accounts, but you do not need kms:ListRetirableGrants permission (or any other additional permission) in any Amazon Web Services account other than your own.

      Required permissions: kms:ListRetirableGrants (IAM policy) in your Amazon Web Services account.

      KMS authorizes ListRetirableGrants requests by evaluating the caller account's kms:ListRetirableGrants permissions. The authorized resource in ListRetirableGrants calls is the retiring principal specified in the request. KMS does not evaluate the caller's permissions to verify their access to any KMS keys or grants that might be returned by the ListRetirableGrants call.

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "PutKeyPolicy":{ "name":"PutKeyPolicy", @@ -685,7 +685,7 @@ {"shape":"LimitExceededException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Attaches a key policy to the specified KMS key.

      For more information about key policies, see Key Policies in the Key Management Service Developer Guide. For help writing and formatting a JSON policy document, see the IAM JSON Policy Reference in the Identity and Access Management User Guide . For examples of adding a key policy in multiple programming languages, see Setting a key policy in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:PutKeyPolicy (key policy)

      Related operations: GetKeyPolicy

      " + "documentation":"

      Attaches a key policy to the specified KMS key.

      For more information about key policies, see Key Policies in the Key Management Service Developer Guide. For help writing and formatting a JSON policy document, see the IAM JSON Policy Reference in the Identity and Access Management User Guide . For examples of adding a key policy in multiple programming languages, see Setting a key policy in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:PutKeyPolicy (key policy)

      Related operations: GetKeyPolicy

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "ReEncrypt":{ "name":"ReEncrypt", @@ -708,7 +708,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Decrypts ciphertext and then reencrypts it entirely within KMS. You can use this operation to change the KMS key under which data is encrypted, such as when you manually rotate a KMS key or change the KMS key that protects a ciphertext. You can also use it to reencrypt ciphertext under the same KMS key, such as to change the encryption context of a ciphertext.

      The ReEncrypt operation can decrypt ciphertext that was encrypted by using a KMS key in an KMS operation, such as Encrypt or GenerateDataKey. It can also decrypt ciphertext that was encrypted by using the public key of an asymmetric KMS key outside of KMS. However, it cannot decrypt ciphertext produced by other libraries, such as the Amazon Web Services Encryption SDK or Amazon S3 client-side encryption. These libraries return a ciphertext format that is incompatible with KMS.

      When you use the ReEncrypt operation, you need to provide information for the decrypt operation and the subsequent encrypt operation.

      • If your ciphertext was encrypted under an asymmetric KMS key, you must use the SourceKeyId parameter to identify the KMS key that encrypted the ciphertext. You must also supply the encryption algorithm that was used. This information is required to decrypt the data.

      • If your ciphertext was encrypted under a symmetric encryption KMS key, the SourceKeyId parameter is optional. KMS can get this information from metadata that it adds to the symmetric ciphertext blob. This feature adds durability to your implementation by ensuring that authorized users can decrypt ciphertext decades after it was encrypted, even if they've lost track of the key ID. However, specifying the source KMS key is always recommended as a best practice. When you use the SourceKeyId parameter to specify a KMS key, KMS uses only the KMS key you specify. If the ciphertext was encrypted under a different KMS key, the ReEncrypt operation fails. This practice ensures that you use the KMS key that you intend.

      • To reencrypt the data, you must use the DestinationKeyId parameter to specify the KMS key that re-encrypts the data after it is decrypted. If the destination KMS key is an asymmetric KMS key, you must also provide the encryption algorithm. The algorithm that you choose must be compatible with the KMS key.

        When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.

        You are not required to supply the key ID and encryption algorithm when you decrypt with symmetric encryption KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. The source KMS key and destination KMS key can be in different Amazon Web Services accounts. Either or both KMS keys can be in a different account than the caller. To specify a KMS key in a different account, you must use its key ARN or alias ARN.

      Required permissions:

      To permit reencryption from or to a KMS key, include the \"kms:ReEncrypt*\" permission in your key policy. This permission is automatically included in the key policy when you use the console to create a KMS key. But you must include it manually when you create a KMS key programmatically or when you use the PutKeyPolicy operation to set a key policy.

      Related operations:

      " + "documentation":"

      Decrypts ciphertext and then reencrypts it entirely within KMS. You can use this operation to change the KMS key under which data is encrypted, such as when you manually rotate a KMS key or change the KMS key that protects a ciphertext. You can also use it to reencrypt ciphertext under the same KMS key, such as to change the encryption context of a ciphertext.

      The ReEncrypt operation can decrypt ciphertext that was encrypted by using a KMS key in an KMS operation, such as Encrypt or GenerateDataKey. It can also decrypt ciphertext that was encrypted by using the public key of an asymmetric KMS key outside of KMS. However, it cannot decrypt ciphertext produced by other libraries, such as the Amazon Web Services Encryption SDK or Amazon S3 client-side encryption. These libraries return a ciphertext format that is incompatible with KMS.

      When you use the ReEncrypt operation, you need to provide information for the decrypt operation and the subsequent encrypt operation.

      • If your ciphertext was encrypted under an asymmetric KMS key, you must use the SourceKeyId parameter to identify the KMS key that encrypted the ciphertext. You must also supply the encryption algorithm that was used. This information is required to decrypt the data.

      • If your ciphertext was encrypted under a symmetric encryption KMS key, the SourceKeyId parameter is optional. KMS can get this information from metadata that it adds to the symmetric ciphertext blob. This feature adds durability to your implementation by ensuring that authorized users can decrypt ciphertext decades after it was encrypted, even if they've lost track of the key ID. However, specifying the source KMS key is always recommended as a best practice. When you use the SourceKeyId parameter to specify a KMS key, KMS uses only the KMS key you specify. If the ciphertext was encrypted under a different KMS key, the ReEncrypt operation fails. This practice ensures that you use the KMS key that you intend.

      • To reencrypt the data, you must use the DestinationKeyId parameter to specify the KMS key that re-encrypts the data after it is decrypted. If the destination KMS key is an asymmetric KMS key, you must also provide the encryption algorithm. The algorithm that you choose must be compatible with the KMS key.

        When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.

        You are not required to supply the key ID and encryption algorithm when you decrypt with symmetric encryption KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. The source KMS key and destination KMS key can be in different Amazon Web Services accounts. Either or both KMS keys can be in a different account than the caller. To specify a KMS key in a different account, you must use its key ARN or alias ARN.

      Required permissions:

      To permit reencryption from or to a KMS key, include the \"kms:ReEncrypt*\" permission in your key policy. This permission is automatically included in the key policy when you use the console to create a KMS key. But you must include it manually when you create a KMS key programmatically or when you use the PutKeyPolicy operation to set a key policy.

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "ReplicateKey":{ "name":"ReplicateKey", @@ -730,7 +730,7 @@ {"shape":"TagException"}, {"shape":"UnsupportedOperationException"} ], - "documentation":"

      Replicates a multi-Region key into the specified Region. This operation creates a multi-Region replica key based on a multi-Region primary key in a different Region of the same Amazon Web Services partition. You can create multiple replicas of a primary key, but each must be in a different Region. To create a multi-Region primary key, use the CreateKey operation.

      This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

      A replica key is a fully-functional KMS key that can be used independently of its primary and peer replica keys. A primary key and its replica keys share properties that make them interoperable. They have the same key ID and key material. They also have the same key spec, key usage, key material origin, and automatic key rotation status. KMS automatically synchronizes these shared properties among related multi-Region keys. All other properties of a replica key can differ, including its key policy, tags, aliases, and Key states of KMS keys. KMS pricing and quotas for KMS keys apply to each primary key and replica key.

      When this operation completes, the new replica key has a transient key state of Creating. This key state changes to Enabled (or PendingImport) after a few seconds when the process of creating the new replica key is complete. While the key state is Creating, you can manage key, but you cannot yet use it in cryptographic operations. If you are creating and using the replica key programmatically, retry on KMSInvalidStateException or call DescribeKey to check its KeyState value before using it. For details about the Creating key state, see Key states of KMS keys in the Key Management Service Developer Guide.

      You cannot create more than one replica of a primary key in any Region. If the Region already includes a replica of the key you're trying to replicate, ReplicateKey returns an AlreadyExistsException error. If the key state of the existing replica is PendingDeletion, you can cancel the scheduled key deletion (CancelKeyDeletion) or wait for the key to be deleted. The new replica key you create will have the same shared properties as the original replica key.

      The CloudTrail log of a ReplicateKey operation records a ReplicateKey operation in the primary key's Region and a CreateKey operation in the replica key's Region.

      If you replicate a multi-Region primary key with imported key material, the replica key is created with no key material. You must import the same key material that you imported into the primary key. For details, see Importing key material into multi-Region keys in the Key Management Service Developer Guide.

      To convert a replica key to a primary key, use the UpdatePrimaryRegion operation.

      ReplicateKey uses different default values for the KeyPolicy and Tags parameters than those used in the KMS console. For details, see the parameter descriptions.

      Cross-account use: No. You cannot use this operation to create a replica key in a different Amazon Web Services account.

      Required permissions:

      • kms:ReplicateKey on the primary key (in the primary key's Region). Include this permission in the primary key's key policy.

      • kms:CreateKey in an IAM policy in the replica Region.

      • To use the Tags parameter, kms:TagResource in an IAM policy in the replica Region.

      Related operations

      " + "documentation":"

      Replicates a multi-Region key into the specified Region. This operation creates a multi-Region replica key based on a multi-Region primary key in a different Region of the same Amazon Web Services partition. You can create multiple replicas of a primary key, but each must be in a different Region. To create a multi-Region primary key, use the CreateKey operation.

      This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

      A replica key is a fully-functional KMS key that can be used independently of its primary and peer replica keys. A primary key and its replica keys share properties that make them interoperable. They have the same key ID and key material. They also have the same key spec, key usage, key material origin, and automatic key rotation status. KMS automatically synchronizes these shared properties among related multi-Region keys. All other properties of a replica key can differ, including its key policy, tags, aliases, and Key states of KMS keys. KMS pricing and quotas for KMS keys apply to each primary key and replica key.

      When this operation completes, the new replica key has a transient key state of Creating. This key state changes to Enabled (or PendingImport) after a few seconds when the process of creating the new replica key is complete. While the key state is Creating, you can manage key, but you cannot yet use it in cryptographic operations. If you are creating and using the replica key programmatically, retry on KMSInvalidStateException or call DescribeKey to check its KeyState value before using it. For details about the Creating key state, see Key states of KMS keys in the Key Management Service Developer Guide.

      You cannot create more than one replica of a primary key in any Region. If the Region already includes a replica of the key you're trying to replicate, ReplicateKey returns an AlreadyExistsException error. If the key state of the existing replica is PendingDeletion, you can cancel the scheduled key deletion (CancelKeyDeletion) or wait for the key to be deleted. The new replica key you create will have the same shared properties as the original replica key.

      The CloudTrail log of a ReplicateKey operation records a ReplicateKey operation in the primary key's Region and a CreateKey operation in the replica key's Region.

      If you replicate a multi-Region primary key with imported key material, the replica key is created with no key material. You must import the same key material that you imported into the primary key. For details, see Importing key material into multi-Region keys in the Key Management Service Developer Guide.

      To convert a replica key to a primary key, use the UpdatePrimaryRegion operation.

      ReplicateKey uses different default values for the KeyPolicy and Tags parameters than those used in the KMS console. For details, see the parameter descriptions.

      Cross-account use: No. You cannot use this operation to create a replica key in a different Amazon Web Services account.

      Required permissions:

      • kms:ReplicateKey on the primary key (in the primary key's Region). Include this permission in the primary key's key policy.

      • kms:CreateKey in an IAM policy in the replica Region.

      • To use the Tags parameter, kms:TagResource in an IAM policy in the replica Region.

      Related operations

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "RetireGrant":{ "name":"RetireGrant", @@ -749,7 +749,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Deletes a grant. Typically, you retire a grant when you no longer need its permissions. To identify the grant to retire, use a grant token, or both the grant ID and a key identifier (key ID or key ARN) of the KMS key. The CreateGrant operation returns both values.

      This operation can be called by the retiring principal for a grant, by the grantee principal if the grant allows the RetireGrant operation, and by the Amazon Web Services account in which the grant is created. It can also be called by principals to whom permission for retiring a grant is delegated. For details, see Retiring and revoking grants in the Key Management Service Developer Guide.

      For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

      Cross-account use: Yes. You can retire a grant on a KMS key in a different Amazon Web Services account.

      Required permissions::Permission to retire a grant is determined primarily by the grant. For details, see Retiring and revoking grants in the Key Management Service Developer Guide.

      Related operations:

      " + "documentation":"

      Deletes a grant. Typically, you retire a grant when you no longer need its permissions. To identify the grant to retire, use a grant token, or both the grant ID and a key identifier (key ID or key ARN) of the KMS key. The CreateGrant operation returns both values.

      This operation can be called by the retiring principal for a grant, by the grantee principal if the grant allows the RetireGrant operation, and by the Amazon Web Services account in which the grant is created. It can also be called by principals to whom permission for retiring a grant is delegated. For details, see Retiring and revoking grants in the Key Management Service Developer Guide.

      For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

      Cross-account use: Yes. You can retire a grant on a KMS key in a different Amazon Web Services account.

      Required permissions: Permission to retire a grant is determined primarily by the grant. For details, see Retiring and revoking grants in the Key Management Service Developer Guide.

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "RevokeGrant":{ "name":"RevokeGrant", @@ -767,7 +767,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Deletes the specified grant. You revoke a grant to terminate the permissions that the grant allows. For more information, see Retiring and revoking grants in the Key Management Service Developer Guide .

      When you create, retire, or revoke a grant, there might be a brief delay, usually less than five minutes, until the grant is available throughout KMS. This state is known as eventual consistency. For details, see Eventual consistency in the Key Management Service Developer Guide .

      For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

      Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

      Required permissions: kms:RevokeGrant (key policy).

      Related operations:

      " + "documentation":"

      Deletes the specified grant. You revoke a grant to terminate the permissions that the grant allows. For more information, see Retiring and revoking grants in the Key Management Service Developer Guide .

      When you create, retire, or revoke a grant, there might be a brief delay, usually less than five minutes, until the grant is available throughout KMS. This state is known as eventual consistency. For details, see Eventual consistency in the Key Management Service Developer Guide .

      For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

      Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

      Required permissions: kms:RevokeGrant (key policy).

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "ScheduleKeyDeletion":{ "name":"ScheduleKeyDeletion", @@ -784,7 +784,7 @@ {"shape":"KMSInternalException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Schedules the deletion of a KMS key. By default, KMS applies a waiting period of 30 days, but you can specify a waiting period of 7-30 days. When this operation is successful, the key state of the KMS key changes to PendingDeletion and the key can't be used in any cryptographic operations. It remains in this state for the duration of the waiting period. Before the waiting period ends, you can use CancelKeyDeletion to cancel the deletion of the KMS key. After the waiting period ends, KMS deletes the KMS key, its key material, and all KMS data associated with it, including all aliases that refer to it.

      Deleting a KMS key is a destructive and potentially dangerous operation. When a KMS key is deleted, all data that was encrypted under the KMS key is unrecoverable. (The only exception is a multi-Region replica key, or an asymmetric or HMAC KMS key with imported key material.) To prevent the use of a KMS key without deleting it, use DisableKey.

      You can schedule the deletion of a multi-Region primary key and its replica keys at any time. However, KMS will not delete a multi-Region primary key with existing replica keys. If you schedule the deletion of a primary key with replicas, its key state changes to PendingReplicaDeletion and it cannot be replicated or used in cryptographic operations. This status can continue indefinitely. When the last of its replicas keys is deleted (not just scheduled), the key state of the primary key changes to PendingDeletion and its waiting period (PendingWindowInDays) begins. For details, see Deleting multi-Region keys in the Key Management Service Developer Guide.

      When KMS deletes a KMS key from an CloudHSM key store, it makes a best effort to delete the associated key material from the associated CloudHSM cluster. However, you might need to manually delete the orphaned key material from the cluster and its backups. Deleting a KMS key from an external key store has no effect on the associated external key. However, for both types of custom key stores, deleting a KMS key is destructive and irreversible. You cannot decrypt ciphertext encrypted under the KMS key by using only its associated external key or CloudHSM key. Also, you cannot recreate a KMS key in an external key store by creating a new KMS key with the same key material.

      For more information about scheduling a KMS key for deletion, see Deleting KMS keys in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:ScheduleKeyDeletion (key policy)

      Related operations

      " + "documentation":"

      Schedules the deletion of a KMS key. By default, KMS applies a waiting period of 30 days, but you can specify a waiting period of 7-30 days. When this operation is successful, the key state of the KMS key changes to PendingDeletion and the key can't be used in any cryptographic operations. It remains in this state for the duration of the waiting period. Before the waiting period ends, you can use CancelKeyDeletion to cancel the deletion of the KMS key. After the waiting period ends, KMS deletes the KMS key, its key material, and all KMS data associated with it, including all aliases that refer to it.

      Deleting a KMS key is a destructive and potentially dangerous operation. When a KMS key is deleted, all data that was encrypted under the KMS key is unrecoverable. (The only exception is a multi-Region replica key, or an asymmetric or HMAC KMS key with imported key material.) To prevent the use of a KMS key without deleting it, use DisableKey.

      You can schedule the deletion of a multi-Region primary key and its replica keys at any time. However, KMS will not delete a multi-Region primary key with existing replica keys. If you schedule the deletion of a primary key with replicas, its key state changes to PendingReplicaDeletion and it cannot be replicated or used in cryptographic operations. This status can continue indefinitely. When the last of its replicas keys is deleted (not just scheduled), the key state of the primary key changes to PendingDeletion and its waiting period (PendingWindowInDays) begins. For details, see Deleting multi-Region keys in the Key Management Service Developer Guide.

      When KMS deletes a KMS key from an CloudHSM key store, it makes a best effort to delete the associated key material from the associated CloudHSM cluster. However, you might need to manually delete the orphaned key material from the cluster and its backups. Deleting a KMS key from an external key store has no effect on the associated external key. However, for both types of custom key stores, deleting a KMS key is destructive and irreversible. You cannot decrypt ciphertext encrypted under the KMS key by using only its associated external key or CloudHSM key. Also, you cannot recreate a KMS key in an external key store by creating a new KMS key with the same key material.

      For more information about scheduling a KMS key for deletion, see Deleting KMS keys in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:ScheduleKeyDeletion (key policy)

      Related operations

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "Sign":{ "name":"Sign", @@ -805,7 +805,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Creates a digital signature for a message or message digest by using the private key in an asymmetric signing KMS key. To verify the signature, use the Verify operation, or use the public key in the same asymmetric KMS key outside of KMS. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

      Digital signatures are generated and verified by using asymmetric key pair, such as an RSA or ECC pair that is represented by an asymmetric KMS key. The key owner (or an authorized user) uses their private key to sign a message. Anyone with the public key can verify that the message was signed with that particular private key and that the message hasn't changed since it was signed.

      To use the Sign operation, provide the following information:

      • Use the KeyId parameter to identify an asymmetric KMS key with a KeyUsage value of SIGN_VERIFY. To get the KeyUsage value of a KMS key, use the DescribeKey operation. The caller must have kms:Sign permission on the KMS key.

      • Use the Message parameter to specify the message or message digest to sign. You can submit messages of up to 4096 bytes. To sign a larger message, generate a hash digest of the message, and then provide the hash digest in the Message parameter. To indicate whether the message is a full message or a digest, use the MessageType parameter.

      • Choose a signing algorithm that is compatible with the KMS key.

      When signing a message, be sure to record the KMS key and the signing algorithm. This information is required to verify the signature.

      Best practices recommend that you limit the time during which any signature is effective. This deters an attack where the actor uses a signed message to establish validity repeatedly or long after the message is superseded. Signatures do not include a timestamp, but you can include a timestamp in the signed message to help you detect when its time to refresh the signature.

      To verify the signature that this operation generates, use the Verify operation. Or use the GetPublicKey operation to download the public key and then use the public key to verify the signature outside of KMS.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:Sign (key policy)

      Related operations: Verify

      " + "documentation":"

      Creates a digital signature for a message or message digest by using the private key in an asymmetric signing KMS key. To verify the signature, use the Verify operation, or use the public key in the same asymmetric KMS key outside of KMS. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

      Digital signatures are generated and verified by using asymmetric key pair, such as an RSA or ECC pair that is represented by an asymmetric KMS key. The key owner (or an authorized user) uses their private key to sign a message. Anyone with the public key can verify that the message was signed with that particular private key and that the message hasn't changed since it was signed.

      To use the Sign operation, provide the following information:

      • Use the KeyId parameter to identify an asymmetric KMS key with a KeyUsage value of SIGN_VERIFY. To get the KeyUsage value of a KMS key, use the DescribeKey operation. The caller must have kms:Sign permission on the KMS key.

      • Use the Message parameter to specify the message or message digest to sign. You can submit messages of up to 4096 bytes. To sign a larger message, generate a hash digest of the message, and then provide the hash digest in the Message parameter. To indicate whether the message is a full message or a digest, use the MessageType parameter.

      • Choose a signing algorithm that is compatible with the KMS key.

      When signing a message, be sure to record the KMS key and the signing algorithm. This information is required to verify the signature.

      Best practices recommend that you limit the time during which any signature is effective. This deters an attack where the actor uses a signed message to establish validity repeatedly or long after the message is superseded. Signatures do not include a timestamp, but you can include a timestamp in the signed message to help you detect when its time to refresh the signature.

      To verify the signature that this operation generates, use the Verify operation. Or use the GetPublicKey operation to download the public key and then use the public key to verify the signature outside of KMS.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:Sign (key policy)

      Related operations: Verify

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "TagResource":{ "name":"TagResource", @@ -822,7 +822,7 @@ {"shape":"LimitExceededException"}, {"shape":"TagException"} ], - "documentation":"

      Adds or edits tags on a customer managed key.

      Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

      Each tag consists of a tag key and a tag value, both of which are case-sensitive strings. The tag value can be an empty (null) string. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value.

      You can use this operation to tag a customer managed key, but you cannot tag an Amazon Web Services managed key, an Amazon Web Services owned key, a custom key store, or an alias.

      You can also add tags to a KMS key while creating it (CreateKey) or replicating it (ReplicateKey).

      For information about using tags in KMS, see Tagging keys. For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:TagResource (key policy)

      Related operations

      " + "documentation":"

      Adds or edits tags on a customer managed key.

      Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

      Each tag consists of a tag key and a tag value, both of which are case-sensitive strings. The tag value can be an empty (null) string. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value.

      You can use this operation to tag a customer managed key, but you cannot tag an Amazon Web Services managed key, an Amazon Web Services owned key, a custom key store, or an alias.

      You can also add tags to a KMS key while creating it (CreateKey) or replicating it (ReplicateKey).

      For information about using tags in KMS, see Tagging keys. For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:TagResource (key policy)

      Related operations

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "UntagResource":{ "name":"UntagResource", @@ -838,7 +838,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"TagException"} ], - "documentation":"

      Deletes tags from a customer managed key. To delete a tag, specify the tag key and the KMS key.

      Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

      When it succeeds, the UntagResource operation doesn't return any output. Also, if the specified tag key isn't found on the KMS key, it doesn't throw an exception or return a response. To confirm that the operation worked, use the ListResourceTags operation.

      For information about using tags in KMS, see Tagging keys. For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:UntagResource (key policy)

      Related operations

      " + "documentation":"

      Deletes tags from a customer managed key. To delete a tag, specify the tag key and the KMS key.

      Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

      When it succeeds, the UntagResource operation doesn't return any output. Also, if the specified tag key isn't found on the KMS key, it doesn't throw an exception or return a response. To confirm that the operation worked, use the ListResourceTags operation.

      For information about using tags in KMS, see Tagging keys. For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:UntagResource (key policy)

      Related operations

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "UpdateAlias":{ "name":"UpdateAlias", @@ -854,7 +854,7 @@ {"shape":"LimitExceededException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Associates an existing KMS alias with a different KMS key. Each alias is associated with only one KMS key at a time, although a KMS key can have multiple aliases. The alias and the KMS key must be in the same Amazon Web Services account and Region.

      Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

      The current and new KMS key must be the same type (both symmetric or both asymmetric or both HMAC), and they must have the same key usage. This restriction prevents errors in code that uses aliases. If you must assign an alias to a different type of KMS key, use DeleteAlias to delete the old alias and CreateAlias to create a new alias.

      You cannot use UpdateAlias to change an alias name. To change an alias name, use DeleteAlias to delete the old alias and CreateAlias to create a new alias.

      Because an alias is not a property of a KMS key, you can create, update, and delete the aliases of a KMS key without affecting the KMS key. Also, aliases do not appear in the response from the DescribeKey operation. To get the aliases of all KMS keys in the account, use the ListAliases operation.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions

      For details, see Controlling access to aliases in the Key Management Service Developer Guide.

      Related operations:

      " + "documentation":"

      Associates an existing KMS alias with a different KMS key. Each alias is associated with only one KMS key at a time, although a KMS key can have multiple aliases. The alias and the KMS key must be in the same Amazon Web Services account and Region.

      Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

      The current and new KMS key must be the same type (both symmetric or both asymmetric or both HMAC), and they must have the same key usage. This restriction prevents errors in code that uses aliases. If you must assign an alias to a different type of KMS key, use DeleteAlias to delete the old alias and CreateAlias to create a new alias.

      You cannot use UpdateAlias to change an alias name. To change an alias name, use DeleteAlias to delete the old alias and CreateAlias to create a new alias.

      Because an alias is not a property of a KMS key, you can create, update, and delete the aliases of a KMS key without affecting the KMS key. Also, aliases do not appear in the response from the DescribeKey operation. To get the aliases of all KMS keys in the account, use the ListAliases operation.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions

      For details, see Controlling access to aliases in the Key Management Service Developer Guide.

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "UpdateCustomKeyStore":{ "name":"UpdateCustomKeyStore", @@ -883,7 +883,7 @@ {"shape":"XksProxyInvalidResponseException"}, {"shape":"XksProxyInvalidConfigurationException"} ], - "documentation":"

      Changes the properties of a custom key store. You can use this operation to change the properties of an CloudHSM key store or an external key store.

      Use the required CustomKeyStoreId parameter to identify the custom key store. Use the remaining optional parameters to change its properties. This operation does not return any property values. To verify the updated property values, use the DescribeCustomKeyStores operation.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      When updating the properties of an external key store, verify that the updated settings connect your key store, via the external key store proxy, to the same external key manager as the previous settings, or to a backup or snapshot of the external key manager with the same cryptographic keys. If the updated connection settings fail, you can fix them and retry, although an extended delay might disrupt Amazon Web Services services. However, if KMS permanently loses its access to cryptographic keys, ciphertext encrypted under those keys is unrecoverable.

      For external key stores:

      Some external key managers provide a simpler method for updating an external key store. For details, see your external key manager documentation.

      When updating an external key store in the KMS console, you can upload a JSON-based proxy configuration file with the desired values. You cannot upload the proxy configuration file to the UpdateCustomKeyStore operation. However, you can use the file to help you determine the correct values for the UpdateCustomKeyStore parameters.

      For an CloudHSM key store, you can use this operation to change the custom key store friendly name (NewCustomKeyStoreName), to tell KMS about a change to the kmsuser crypto user password (KeyStorePassword), or to associate the custom key store with a different, but related, CloudHSM cluster (CloudHsmClusterId). To update any property of an CloudHSM key store, the ConnectionState of the CloudHSM key store must be DISCONNECTED.

      For an external key store, you can use this operation to change the custom key store friendly name (NewCustomKeyStoreName), or to tell KMS about a change to the external key store proxy authentication credentials (XksProxyAuthenticationCredential), connection method (XksProxyConnectivity), external proxy endpoint (XksProxyUriEndpoint) and path (XksProxyUriPath). For external key stores with an XksProxyConnectivity of VPC_ENDPOINT_SERVICE, you can also update the Amazon VPC endpoint service name (XksProxyVpcEndpointServiceName). To update most properties of an external key store, the ConnectionState of the external key store must be DISCONNECTED. However, you can update the CustomKeyStoreName, XksProxyAuthenticationCredential, and XksProxyUriPath of an external key store when it is in the CONNECTED or DISCONNECTED state.

      If your update requires a DISCONNECTED state, before using UpdateCustomKeyStore, use the DisconnectCustomKeyStore operation to disconnect the custom key store. After the UpdateCustomKeyStore operation completes, use the ConnectCustomKeyStore to reconnect the custom key store. To find the ConnectionState of the custom key store, use the DescribeCustomKeyStores operation.

      Before updating the custom key store, verify that the new values allow KMS to connect the custom key store to its backing key store. For example, before you change the XksProxyUriPath value, verify that the external key store proxy is reachable at the new path.

      If the operation succeeds, it returns a JSON object with no properties.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:UpdateCustomKeyStore (IAM policy)

      Related operations:

      " + "documentation":"

      Changes the properties of a custom key store. You can use this operation to change the properties of an CloudHSM key store or an external key store.

      Use the required CustomKeyStoreId parameter to identify the custom key store. Use the remaining optional parameters to change its properties. This operation does not return any property values. To verify the updated property values, use the DescribeCustomKeyStores operation.

      This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

      When updating the properties of an external key store, verify that the updated settings connect your key store, via the external key store proxy, to the same external key manager as the previous settings, or to a backup or snapshot of the external key manager with the same cryptographic keys. If the updated connection settings fail, you can fix them and retry, although an extended delay might disrupt Amazon Web Services services. However, if KMS permanently loses its access to cryptographic keys, ciphertext encrypted under those keys is unrecoverable.

      For external key stores:

      Some external key managers provide a simpler method for updating an external key store. For details, see your external key manager documentation.

      When updating an external key store in the KMS console, you can upload a JSON-based proxy configuration file with the desired values. You cannot upload the proxy configuration file to the UpdateCustomKeyStore operation. However, you can use the file to help you determine the correct values for the UpdateCustomKeyStore parameters.

      For an CloudHSM key store, you can use this operation to change the custom key store friendly name (NewCustomKeyStoreName), to tell KMS about a change to the kmsuser crypto user password (KeyStorePassword), or to associate the custom key store with a different, but related, CloudHSM cluster (CloudHsmClusterId). To update any property of an CloudHSM key store, the ConnectionState of the CloudHSM key store must be DISCONNECTED.

      For an external key store, you can use this operation to change the custom key store friendly name (NewCustomKeyStoreName), or to tell KMS about a change to the external key store proxy authentication credentials (XksProxyAuthenticationCredential), connection method (XksProxyConnectivity), external proxy endpoint (XksProxyUriEndpoint) and path (XksProxyUriPath). For external key stores with an XksProxyConnectivity of VPC_ENDPOINT_SERVICE, you can also update the Amazon VPC endpoint service name (XksProxyVpcEndpointServiceName). To update most properties of an external key store, the ConnectionState of the external key store must be DISCONNECTED. However, you can update the CustomKeyStoreName, XksProxyAuthenticationCredential, and XksProxyUriPath of an external key store when it is in the CONNECTED or DISCONNECTED state.

      If your update requires a DISCONNECTED state, before using UpdateCustomKeyStore, use the DisconnectCustomKeyStore operation to disconnect the custom key store. After the UpdateCustomKeyStore operation completes, use the ConnectCustomKeyStore to reconnect the custom key store. To find the ConnectionState of the custom key store, use the DescribeCustomKeyStores operation.

      Before updating the custom key store, verify that the new values allow KMS to connect the custom key store to its backing key store. For example, before you change the XksProxyUriPath value, verify that the external key store proxy is reachable at the new path.

      If the operation succeeds, it returns a JSON object with no properties.

      Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

      Required permissions: kms:UpdateCustomKeyStore (IAM policy)

      Related operations:

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "UpdateKeyDescription":{ "name":"UpdateKeyDescription", @@ -899,7 +899,7 @@ {"shape":"KMSInternalException"}, {"shape":"KMSInvalidStateException"} ], - "documentation":"

      Updates the description of a KMS key. To see the description of a KMS key, use DescribeKey.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:UpdateKeyDescription (key policy)

      Related operations

      " + "documentation":"

      Updates the description of a KMS key. To see the description of a KMS key, use DescribeKey.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

      Required permissions: kms:UpdateKeyDescription (key policy)

      Related operations

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "UpdatePrimaryRegion":{ "name":"UpdatePrimaryRegion", @@ -916,7 +916,7 @@ {"shape":"NotFoundException"}, {"shape":"UnsupportedOperationException"} ], - "documentation":"

      Changes the primary key of a multi-Region key.

      This operation changes the replica key in the specified Region to a primary key and changes the former primary key to a replica key. For example, suppose you have a primary key in us-east-1 and a replica key in eu-west-2. If you run UpdatePrimaryRegion with a PrimaryRegion value of eu-west-2, the primary key is now the key in eu-west-2, and the key in us-east-1 becomes a replica key. For details, see Updating the primary Region in the Key Management Service Developer Guide.

      This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

      The primary key of a multi-Region key is the source for properties that are always shared by primary and replica keys, including the key material, key ID, key spec, key usage, key material origin, and automatic key rotation. It's the only key that can be replicated. You cannot delete the primary key until all replica keys are deleted.

      The key ID and primary Region that you specify uniquely identify the replica key that will become the primary key. The primary Region must already have a replica key. This operation does not create a KMS key in the specified Region. To find the replica keys, use the DescribeKey operation on the primary key or any replica key. To create a replica key, use the ReplicateKey operation.

      You can run this operation while using the affected multi-Region keys in cryptographic operations. This operation should not delay, interrupt, or cause failures in cryptographic operations.

      Even after this operation completes, the process of updating the primary Region might still be in progress for a few more seconds. Operations such as DescribeKey might display both the old and new primary keys as replicas. The old and new primary keys have a transient key state of Updating. The original key state is restored when the update is complete. While the key state is Updating, you can use the keys in cryptographic operations, but you cannot replicate the new primary key or perform certain management operations, such as enabling or disabling these keys. For details about the Updating key state, see Key states of KMS keys in the Key Management Service Developer Guide.

      This operation does not return any output. To verify that primary key is changed, use the DescribeKey operation.

      Cross-account use: No. You cannot use this operation in a different Amazon Web Services account.

      Required permissions:

      • kms:UpdatePrimaryRegion on the current primary key (in the primary key's Region). Include this permission primary key's key policy.

      • kms:UpdatePrimaryRegion on the current replica key (in the replica key's Region). Include this permission in the replica key's key policy.

      Related operations

      " + "documentation":"

      Changes the primary key of a multi-Region key.

      This operation changes the replica key in the specified Region to a primary key and changes the former primary key to a replica key. For example, suppose you have a primary key in us-east-1 and a replica key in eu-west-2. If you run UpdatePrimaryRegion with a PrimaryRegion value of eu-west-2, the primary key is now the key in eu-west-2, and the key in us-east-1 becomes a replica key. For details, see Updating the primary Region in the Key Management Service Developer Guide.

      This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

      The primary key of a multi-Region key is the source for properties that are always shared by primary and replica keys, including the key material, key ID, key spec, key usage, key material origin, and automatic key rotation. It's the only key that can be replicated. You cannot delete the primary key until all replica keys are deleted.

      The key ID and primary Region that you specify uniquely identify the replica key that will become the primary key. The primary Region must already have a replica key. This operation does not create a KMS key in the specified Region. To find the replica keys, use the DescribeKey operation on the primary key or any replica key. To create a replica key, use the ReplicateKey operation.

      You can run this operation while using the affected multi-Region keys in cryptographic operations. This operation should not delay, interrupt, or cause failures in cryptographic operations.

      Even after this operation completes, the process of updating the primary Region might still be in progress for a few more seconds. Operations such as DescribeKey might display both the old and new primary keys as replicas. The old and new primary keys have a transient key state of Updating. The original key state is restored when the update is complete. While the key state is Updating, you can use the keys in cryptographic operations, but you cannot replicate the new primary key or perform certain management operations, such as enabling or disabling these keys. For details about the Updating key state, see Key states of KMS keys in the Key Management Service Developer Guide.

      This operation does not return any output. To verify that primary key is changed, use the DescribeKey operation.

      Cross-account use: No. You cannot use this operation in a different Amazon Web Services account.

      Required permissions:

      • kms:UpdatePrimaryRegion on the current primary key (in the primary key's Region). Include this permission primary key's key policy.

      • kms:UpdatePrimaryRegion on the current replica key (in the replica key's Region). Include this permission in the replica key's key policy.

      Related operations

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "Verify":{ "name":"Verify", @@ -938,7 +938,7 @@ {"shape":"KMSInvalidSignatureException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Verifies a digital signature that was generated by the Sign operation.

      Verification confirms that an authorized user signed the message with the specified KMS key and signing algorithm, and the message hasn't changed since it was signed. If the signature is verified, the value of the SignatureValid field in the response is True. If the signature verification fails, the Verify operation fails with an KMSInvalidSignatureException exception.

      A digital signature is generated by using the private key in an asymmetric KMS key. The signature is verified by using the public key in the same asymmetric KMS key. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

      To use the Verify operation, specify the same asymmetric KMS key, message, and signing algorithm that were used to produce the signature. The message type does not need to be the same as the one used for signing, but it must indicate whether the value of the Message parameter should be hashed as part of the verification process.

      You can also verify the digital signature by using the public key of the KMS key outside of KMS. Use the GetPublicKey operation to download the public key in the asymmetric KMS key and then use the public key to verify the signature outside of KMS. The advantage of using the Verify operation is that it is performed within KMS. As a result, it's easy to call, the operation is performed within the FIPS boundary, it is logged in CloudTrail, and you can use key policy and IAM policy to determine who is authorized to use the KMS key to verify signatures.

      To verify a signature outside of KMS with an SM2 public key (China Regions only), you must specify the distinguishing ID. By default, KMS uses 1234567812345678 as the distinguishing ID. For more information, see Offline verification with SM2 key pairs.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:Verify (key policy)

      Related operations: Sign

      " + "documentation":"

      Verifies a digital signature that was generated by the Sign operation.

      Verification confirms that an authorized user signed the message with the specified KMS key and signing algorithm, and the message hasn't changed since it was signed. If the signature is verified, the value of the SignatureValid field in the response is True. If the signature verification fails, the Verify operation fails with an KMSInvalidSignatureException exception.

      A digital signature is generated by using the private key in an asymmetric KMS key. The signature is verified by using the public key in the same asymmetric KMS key. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

      To use the Verify operation, specify the same asymmetric KMS key, message, and signing algorithm that were used to produce the signature. The message type does not need to be the same as the one used for signing, but it must indicate whether the value of the Message parameter should be hashed as part of the verification process.

      You can also verify the digital signature by using the public key of the KMS key outside of KMS. Use the GetPublicKey operation to download the public key in the asymmetric KMS key and then use the public key to verify the signature outside of KMS. The advantage of using the Verify operation is that it is performed within KMS. As a result, it's easy to call, the operation is performed within the FIPS boundary, it is logged in CloudTrail, and you can use key policy and IAM policy to determine who is authorized to use the KMS key to verify signatures.

      To verify a signature outside of KMS with an SM2 public key (China Regions only), you must specify the distinguishing ID. By default, KMS uses 1234567812345678 as the distinguishing ID. For more information, see Offline verification with SM2 key pairs.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:Verify (key policy)

      Related operations: Sign

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " }, "VerifyMac":{ "name":"VerifyMac", @@ -959,7 +959,7 @@ {"shape":"KMSInvalidStateException"}, {"shape":"DryRunOperationException"} ], - "documentation":"

      Verifies the hash-based message authentication code (HMAC) for a specified message, HMAC KMS key, and MAC algorithm. To verify the HMAC, VerifyMac computes an HMAC using the message, HMAC KMS key, and MAC algorithm that you specify, and compares the computed HMAC to the HMAC that you specify. If the HMACs are identical, the verification succeeds; otherwise, it fails. Verification indicates that the message hasn't changed since the HMAC was calculated, and the specified key was used to generate and verify the HMAC.

      HMAC KMS keys and the HMAC algorithms that KMS uses conform to industry standards defined in RFC 2104.

      This operation is part of KMS support for HMAC KMS keys. For details, see HMAC keys in KMS in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:VerifyMac (key policy)

      Related operations: GenerateMac

      " + "documentation":"

      Verifies the hash-based message authentication code (HMAC) for a specified message, HMAC KMS key, and MAC algorithm. To verify the HMAC, VerifyMac computes an HMAC using the message, HMAC KMS key, and MAC algorithm that you specify, and compares the computed HMAC to the HMAC that you specify. If the HMACs are identical, the verification succeeds; otherwise, it fails. Verification indicates that the message hasn't changed since the HMAC was calculated, and the specified key was used to generate and verify the HMAC.

      HMAC KMS keys and the HMAC algorithms that KMS uses conform to industry standards defined in RFC 2104.

      This operation is part of KMS support for HMAC KMS keys. For details, see HMAC keys in KMS in the Key Management Service Developer Guide.

      The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

      Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

      Required permissions: kms:VerifyMac (key policy)

      Related operations: GenerateMac

      Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

      " } }, "shapes":{ @@ -1309,7 +1309,7 @@ }, "BypassPolicyLockoutSafetyCheck":{ "shape":"BooleanType", - "documentation":"

      Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

      Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

      For more information, see Default key policy in the Key Management Service Developer Guide.

      Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

      " + "documentation":"

      Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

      Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

      For more information, see Default key policy in the Key Management Service Developer Guide.

      Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

      " }, "Tags":{ "shape":"TagList", @@ -1496,7 +1496,7 @@ }, "Recipient":{ "shape":"RecipientInfo", - "documentation":"

      A signed attestation document from an Amazon Web Services Nitro enclave and the encryption algorithm to use with the enclave's public key. The only valid encryption algorithm is RSAES_OAEP_SHA_256.

      This parameter only supports attestation documents for Amazon Web Services Nitro Enclaves. To include this parameter, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK.

      When you use this parameter, instead of returning the plaintext data, KMS encrypts the plaintext data with the public key in the attestation document, and returns the resulting ciphertext in the CiphertextForRecipient field in the response. This ciphertext can be decrypted only with the private key in the enclave. The Plaintext field in the response is null or empty.

      For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

      " + "documentation":"

      A signed attestation document from an Amazon Web Services Nitro enclave and the encryption algorithm to use with the enclave's public key. The only valid encryption algorithm is RSAES_OAEP_SHA_256.

      This parameter only supports attestation documents for Amazon Web Services Nitro Enclaves. To include this parameter, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK.

      When you use this parameter, instead of returning the plaintext data, KMS encrypts the plaintext data with the public key in the attestation document, and returns the resulting ciphertext in the CiphertextForRecipient field in the response. This ciphertext can be decrypted only with the private key in the enclave. The Plaintext field in the response is null or empty.

      For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

      " }, "DryRun":{ "shape":"NullableBooleanType", @@ -2138,7 +2138,7 @@ }, "WrappingAlgorithm":{ "shape":"AlgorithmSpec", - "documentation":"

      The algorithm you will use with the RSA public key (PublicKey) in the response to protect your key material during import. For more information, see Select a wrapping algorithm in the Key Management Service Developer Guide.

      For RSA_AES wrapping algorithms, you encrypt your key material with an AES key that you generate, then encrypt your AES key with the RSA public key from KMS. For RSAES wrapping algorithms, you encrypt your key material directly with the RSA public key from KMS.

      The wrapping algorithms that you can use depend on the type of key material that you are importing. To import an RSA private key, you must use an RSA_AES wrapping algorithm.

      • RSA_AES_KEY_WRAP_SHA_256 — Supported for wrapping RSA and ECC key material.

      • RSA_AES_KEY_WRAP_SHA_1 — Supported for wrapping RSA and ECC key material.

      • RSAES_OAEP_SHA_256 — Supported for all types of key material, except RSA key material (private key).

        You cannot use the RSAES_OAEP_SHA_256 wrapping algorithm with the RSA_2048 wrapping key spec to wrap ECC_NIST_P521 key material.

      • RSAES_OAEP_SHA_1 — Supported for all types of key material, except RSA key material (private key).

        You cannot use the RSAES_OAEP_SHA_1 wrapping algorithm with the RSA_2048 wrapping key spec to wrap ECC_NIST_P521 key material.

      • RSAES_PKCS1_V1_5 (Deprecated) — Supported only for symmetric encryption key material (and only in legacy mode).

      " + "documentation":"

      The algorithm you will use with the RSA public key (PublicKey) in the response to protect your key material during import. For more information, see Select a wrapping algorithm in the Key Management Service Developer Guide.

      For RSA_AES wrapping algorithms, you encrypt your key material with an AES key that you generate, then encrypt your AES key with the RSA public key from KMS. For RSAES wrapping algorithms, you encrypt your key material directly with the RSA public key from KMS.

      The wrapping algorithms that you can use depend on the type of key material that you are importing. To import an RSA private key, you must use an RSA_AES wrapping algorithm.

      • RSA_AES_KEY_WRAP_SHA_256 — Supported for wrapping RSA and ECC key material.

      • RSA_AES_KEY_WRAP_SHA_1 — Supported for wrapping RSA and ECC key material.

      • RSAES_OAEP_SHA_256 — Supported for all types of key material, except RSA key material (private key).

        You cannot use the RSAES_OAEP_SHA_256 wrapping algorithm with the RSA_2048 wrapping key spec to wrap ECC_NIST_P521 key material.

      • RSAES_OAEP_SHA_1 — Supported for all types of key material, except RSA key material (private key).

        You cannot use the RSAES_OAEP_SHA_1 wrapping algorithm with the RSA_2048 wrapping key spec to wrap ECC_NIST_P521 key material.

      • RSAES_PKCS1_V1_5 (Deprecated) — As of October 10, 2023, KMS does not support the RSAES_PKCS1_V1_5 wrapping algorithm.

      " }, "WrappingKeySpec":{ "shape":"WrappingKeySpec", @@ -3040,7 +3040,7 @@ }, "BypassPolicyLockoutSafetyCheck":{ "shape":"BooleanType", - "documentation":"

      Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

      Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

      For more information, see Default key policy in the Key Management Service Developer Guide.

      Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

      " + "documentation":"

      Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

      Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

      For more information, see Default key policy in the Key Management Service Developer Guide.

      Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

      " } } }, @@ -3155,7 +3155,7 @@ }, "BypassPolicyLockoutSafetyCheck":{ "shape":"BooleanType", - "documentation":"

      Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

      Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

      For more information, see Default key policy in the Key Management Service Developer Guide.

      Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

      " + "documentation":"

      Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

      Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

      For more information, see Default key policy in the Key Management Service Developer Guide.

      Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

      " }, "Description":{ "shape":"DescriptionType", @@ -3814,7 +3814,7 @@ "members":{ "message":{"shape":"ErrorMessageType"} }, - "documentation":"

      The request was rejected because the Amazon VPC endpoint service configuration does not fulfill the requirements for an external key store proxy. For details, see the exception message and review the requirements for Amazon VPC endpoint service connectivity for an external key store.

      ", + "documentation":"

      The request was rejected because the Amazon VPC endpoint service configuration does not fulfill the requirements for an external key store proxy. For details, see the exception message and review the requirements for Amazon VPC endpoint service connectivity for an external key store.

      ", "exception":true }, "XksProxyVpcEndpointServiceNameType":{ diff --git a/tools/code-generation/api-descriptions/rds-2014-10-31.normal.json b/tools/code-generation/api-descriptions/rds-2014-10-31.normal.json index 83d8f290c3b..f9c035b3898 100644 --- a/tools/code-generation/api-descriptions/rds-2014-10-31.normal.json +++ b/tools/code-generation/api-descriptions/rds-2014-10-31.normal.json @@ -4203,7 +4203,7 @@ }, "AllocatedStorage":{ "shape":"IntegerOptional", - "documentation":"

      The amount of storage in gibibytes (GiB) to allocate for the DB instance.

      This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume.

      Amazon RDS Custom

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server.

      • Provisioned IOPS storage (io1): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server.

      RDS for Db2

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 64000.

      • Provisioned IOPS storage (io1): Must be an integer from 100 to 64000.

      RDS for MariaDB

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.

      • Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

      • Magnetic storage (standard): Must be an integer from 5 to 3072.

      RDS for MySQL

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.

      • Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

      • Magnetic storage (standard): Must be an integer from 5 to 3072.

      RDS for Oracle

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.

      • Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

      • Magnetic storage (standard): Must be an integer from 10 to 3072.

      RDS for PostgreSQL

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.

      • Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

      • Magnetic storage (standard): Must be an integer from 5 to 3072.

      RDS for SQL Server

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3):

        • Enterprise and Standard editions: Must be an integer from 20 to 16384.

        • Web and Express editions: Must be an integer from 20 to 16384.

      • Provisioned IOPS storage (io1):

        • Enterprise and Standard editions: Must be an integer from 100 to 16384.

        • Web and Express editions: Must be an integer from 100 to 16384.

      • Magnetic storage (standard):

        • Enterprise and Standard editions: Must be an integer from 20 to 1024.

        • Web and Express editions: Must be an integer from 20 to 1024.

      " + "documentation":"

      The amount of storage in gibibytes (GiB) to allocate for the DB instance.

      This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume.

      Amazon RDS Custom

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server.

      • Provisioned IOPS storage (io1): Must be an integer from 40 to 65536 for RDS Custom for Oracle, 16384 for RDS Custom for SQL Server.

      RDS for Db2

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000.

      • Provisioned IOPS storage (io1): Must be an integer from 100 to 64000.

      RDS for MariaDB

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.

      • Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

      • Magnetic storage (standard): Must be an integer from 5 to 3072.

      RDS for MySQL

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.

      • Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

      • Magnetic storage (standard): Must be an integer from 5 to 3072.

      RDS for Oracle

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.

      • Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

      • Magnetic storage (standard): Must be an integer from 10 to 3072.

      RDS for PostgreSQL

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 to 65536.

      • Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

      • Magnetic storage (standard): Must be an integer from 5 to 3072.

      RDS for SQL Server

      Constraints to the amount of storage for each storage type are the following:

      • General Purpose (SSD) storage (gp2, gp3):

        • Enterprise and Standard editions: Must be an integer from 20 to 16384.

        • Web and Express editions: Must be an integer from 20 to 16384.

      • Provisioned IOPS storage (io1):

        • Enterprise and Standard editions: Must be an integer from 100 to 16384.

        • Web and Express editions: Must be an integer from 100 to 16384.

      • Magnetic storage (standard):

        • Enterprise and Standard editions: Must be an integer from 20 to 1024.

        • Web and Express editions: Must be an integer from 20 to 1024.

      " }, "DBInstanceClass":{ "shape":"String", diff --git a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json index 77691fb7246..0d9b634b017 100644 --- a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json +++ b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json @@ -137,7 +137,7 @@ {"shape":"ResourceInUse"}, {"shape":"ResourceLimitExceeded"} ], - "documentation":"

      Creates an Autopilot job also referred to as Autopilot experiment or AutoML job.

      We recommend using the new versions CreateAutoMLJobV2 and DescribeAutoMLJobV2, which offer backward compatibility.

      CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).

      Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

      You can find the best-performing model after you run an AutoML job by calling DescribeAutoMLJobV2 (recommended) or DescribeAutoMLJob.

      " + "documentation":"

      Creates an Autopilot job also referred to as Autopilot experiment or AutoML job.

      We recommend using the new versions CreateAutoMLJobV2 and DescribeAutoMLJobV2, which offer backward compatibility.

      CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).

      Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

      You can find the best-performing model after you run an AutoML job by calling DescribeAutoMLJobV2 (recommended) or DescribeAutoMLJob.

      " }, "CreateAutoMLJobV2":{ "name":"CreateAutoMLJobV2", @@ -151,7 +151,7 @@ {"shape":"ResourceInUse"}, {"shape":"ResourceLimitExceeded"} ], - "documentation":"

      Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.

      CreateAutoMLJobV2 and DescribeAutoMLJobV2 are new versions of CreateAutoMLJob and DescribeAutoMLJob which offer backward compatibility.

      CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).

      Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

      For the list of available problem types supported by CreateAutoMLJobV2, see AutoMLProblemTypeConfig.

      You can find the best-performing model after you run an AutoML job V2 by calling DescribeAutoMLJobV2.

      " + "documentation":"

      Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.

      CreateAutoMLJobV2 and DescribeAutoMLJobV2 are new versions of CreateAutoMLJob and DescribeAutoMLJob which offer backward compatibility.

      CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).

      Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

      For the list of available problem types supported by CreateAutoMLJobV2, see AutoMLProblemTypeConfig.

      You can find the best-performing model after you run an AutoML job V2 by calling DescribeAutoMLJobV2.

      " }, "CreateCluster":{ "name":"CreateCluster", @@ -636,7 +636,8 @@ "output":{"shape":"CreatePipelineResponse"}, "errors":[ {"shape":"ResourceNotFound"}, - {"shape":"ResourceLimitExceeded"} + {"shape":"ResourceLimitExceeded"}, + {"shape":"ConflictException"} ], "documentation":"

      Creates a pipeline using a JSON pipeline definition.

      " }, @@ -833,6 +834,9 @@ "requestUri":"/" }, "input":{"shape":"DeleteAlgorithmInput"}, + "errors":[ + {"shape":"ConflictException"} + ], "documentation":"

      Removes the specified algorithm from your account.

      " }, "DeleteApp":{ @@ -909,6 +913,18 @@ "input":{"shape":"DeleteCodeRepositoryInput"}, "documentation":"

      Deletes the specified Git repository from your account.

      " }, + "DeleteCompilationJob":{ + "name":"DeleteCompilationJob", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteCompilationJobRequest"}, + "errors":[ + {"shape":"ResourceNotFound"} + ], + "documentation":"

      Deletes the specified compilation job. This action deletes only the compilation job resource in Amazon SageMaker. It doesn't delete other resources that are related to that job, such as the model artifacts that the job creates, the compilation logs in CloudWatch, the compiled model, or the IAM role.

      You can delete a compilation job only if its current status is COMPLETED, FAILED, or STOPPED. If the job status is STARTING or INPROGRESS, stop the job, and then delete it after its status becomes STOPPED.

      " + }, "DeleteContext":{ "name":"DeleteContext", "http":{ @@ -1260,7 +1276,8 @@ "input":{"shape":"DeletePipelineRequest"}, "output":{"shape":"DeletePipelineResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ConflictException"} ], "documentation":"

      Deletes a pipeline if there are no running instances of the pipeline. To delete a pipeline, you must stop all running instances of the pipeline using the StopPipelineExecution API. When you delete a pipeline, all instances of the pipeline are deleted.

      " }, @@ -2110,7 +2127,8 @@ "input":{"shape":"DescribeUserProfileRequest"}, "output":{"shape":"DescribeUserProfileResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ResourceLimitExceeded"} ], "documentation":"

      Describes a user profile. For more information, see CreateUserProfile.

      " }, @@ -3072,6 +3090,9 @@ }, "input":{"shape":"PutModelPackageGroupPolicyInput"}, "output":{"shape":"PutModelPackageGroupPolicyOutput"}, + "errors":[ + {"shape":"ConflictException"} + ], "documentation":"

      Adds a resouce policy to control access to a model group. For information about resoure policies, see Identity-based policies and resource-based policies in the Amazon Web Services Identity and Access Management User Guide..

      " }, "QueryLineage":{ @@ -3147,7 +3168,8 @@ "output":{"shape":"SendPipelineExecutionStepFailureResponse"}, "errors":[ {"shape":"ResourceNotFound"}, - {"shape":"ResourceLimitExceeded"} + {"shape":"ResourceLimitExceeded"}, + {"shape":"ConflictException"} ], "documentation":"

      Notifies the pipeline that the execution of a callback step failed, along with a message describing why. When a callback step is run, the pipeline generates a callback token and includes the token in a message sent to Amazon Simple Queue Service (Amazon SQS).

      " }, @@ -3161,7 +3183,8 @@ "output":{"shape":"SendPipelineExecutionStepSuccessResponse"}, "errors":[ {"shape":"ResourceNotFound"}, - {"shape":"ResourceLimitExceeded"} + {"shape":"ResourceLimitExceeded"}, + {"shape":"ConflictException"} ], "documentation":"

      Notifies the pipeline that the execution of a callback step succeeded and provides a list of the step's output parameters. When a callback step is run, the pipeline generates a callback token and includes the token in a message sent to Amazon Simple Queue Service (Amazon SQS).

      " }, @@ -3222,7 +3245,8 @@ "output":{"shape":"StartPipelineExecutionResponse"}, "errors":[ {"shape":"ResourceNotFound"}, - {"shape":"ResourceLimitExceeded"} + {"shape":"ResourceLimitExceeded"}, + {"shape":"ConflictException"} ], "documentation":"

      Starts a pipeline execution.

      " }, @@ -3348,7 +3372,8 @@ "input":{"shape":"StopPipelineExecutionRequest"}, "output":{"shape":"StopPipelineExecutionResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ConflictException"} ], "documentation":"

      Stops a pipeline execution.

      Callback Step

      A pipeline execution won't stop while a callback step is running. When you call StopPipelineExecution on a pipeline execution with a running callback step, SageMaker Pipelines sends an additional Amazon SQS message to the specified SQS queue. The body of the SQS message contains a \"Status\" field which is set to \"Stopping\".

      You should add logic to your Amazon SQS message consumer to take any needed action (for example, resource cleanup) upon receipt of the message followed by a call to SendPipelineExecutionStepSuccess or SendPipelineExecutionStepFailure.

      Only when SageMaker Pipelines receives one of these calls will it stop the pipeline execution.

      Lambda Step

      A pipeline execution can't be stopped while a lambda step is running because the Lambda function invoked by the lambda step can't be stopped. If you attempt to stop the execution while the Lambda function is running, the pipeline waits for the Lambda function to finish or until the timeout is hit, whichever occurs first, and then stops. If the Lambda function finishes, the pipeline execution status is Stopped. If the timeout is hit the pipeline execution status is Failed.

      " }, @@ -3452,6 +3477,9 @@ }, "input":{"shape":"UpdateCodeRepositoryInput"}, "output":{"shape":"UpdateCodeRepositoryOutput"}, + "errors":[ + {"shape":"ConflictException"} + ], "documentation":"

      Updates the specified Git repository with the specified values.

      " }, "UpdateContext":{ @@ -3553,7 +3581,8 @@ "input":{"shape":"UpdateFeatureGroupRequest"}, "output":{"shape":"UpdateFeatureGroupResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ResourceLimitExceeded"} ], "documentation":"

      Updates the feature group by either adding features or updating the online store configuration. Use one of the following request parameters at a time while using the UpdateFeatureGroup API.

      You can add features for your feature group using the FeatureAdditions request parameter. Features cannot be removed from a feature group.

      You can update the online store configuration by using the OnlineStoreConfig request parameter. If a TtlDuration is specified, the default TtlDuration applies for all records added to the feature group after the feature group is updated. If a record level TtlDuration exists from using the PutRecord API, the record level TtlDuration applies to that record instead of the default TtlDuration.

      " }, @@ -3673,6 +3702,9 @@ }, "input":{"shape":"UpdateModelPackageInput"}, "output":{"shape":"UpdateModelPackageOutput"}, + "errors":[ + {"shape":"ConflictException"} + ], "documentation":"

      Updates a versioned model.

      " }, "UpdateMonitoringAlert":{ @@ -3738,7 +3770,8 @@ "input":{"shape":"UpdatePipelineRequest"}, "output":{"shape":"UpdatePipelineResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ConflictException"} ], "documentation":"

      Updates a pipeline.

      " }, @@ -3751,7 +3784,8 @@ "input":{"shape":"UpdatePipelineExecutionRequest"}, "output":{"shape":"UpdatePipelineExecutionResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ConflictException"} ], "documentation":"

      Updates a pipeline execution.

      " }, @@ -3763,6 +3797,9 @@ }, "input":{"shape":"UpdateProjectInput"}, "output":{"shape":"UpdateProjectOutput"}, + "errors":[ + {"shape":"ConflictException"} + ], "documentation":"

      Updates a machine learning (ML) project that is created from a template that sets up an ML pipeline from training to deploying an approved model.

      You must not update a project that is in use. If you update the ServiceCatalogProvisioningUpdateDetails of a project that is active or being created, or updated, you may lose resources already created by the project.

      " }, "UpdateSpace":{ @@ -3789,7 +3826,8 @@ "input":{"shape":"UpdateTrainingJobRequest"}, "output":{"shape":"UpdateTrainingJobResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ResourceLimitExceeded"} ], "documentation":"

      Update a model training job to request a new Debugger profiling configuration or to change warm pool retention length.

      " }, @@ -3872,6 +3910,8 @@ "AcceptEula":{"type":"boolean"}, "AccountId":{ "type":"string", + "max":12, + "min":12, "pattern":"^\\d+$" }, "ActionArn":{ @@ -3884,7 +3924,7 @@ "required":["SourceUri"], "members":{ "SourceUri":{ - "shape":"String2048", + "shape":"SourceUri", "documentation":"

      The URI of the source.

      " }, "SourceType":{ @@ -4356,6 +4396,10 @@ "shape":"UserProfileName", "documentation":"

      The user profile name.

      " }, + "SpaceName":{ + "shape":"SpaceName", + "documentation":"

      The name of the space.

      " + }, "AppType":{ "shape":"AppType", "documentation":"

      The type of app.

      " @@ -4372,10 +4416,6 @@ "shape":"CreationTime", "documentation":"

      The creation time.

      " }, - "SpaceName":{ - "shape":"SpaceName", - "documentation":"

      The name of the space.

      " - }, "ResourceSpec":{"shape":"ResourceSpec"} }, "documentation":"

      Details about an Amazon SageMaker app.

      " @@ -4562,11 +4602,19 @@ "enum":[ "JupyterServer", "KernelGateway", + "DetailedProfiler", "TensorBoard", + "VSCode", + "Savitur", + "CodeEditor", + "JupyterLab", "RStudioServerPro", + "RSession", "RSessionGateway", - "JupyterLab", - "CodeEditor" + "Canvas", + "DatasetManager", + "SageMakerLite", + "Local" ] }, "ApprovalDescription":{ @@ -4589,12 +4637,23 @@ "type":"string", "pattern":"^[\\w:]+$" }, + "ArtifactProperties":{ + "type":"map", + "key":{"shape":"StringParameterValue"}, + "value":{"shape":"ArtifactPropertyValue"}, + "max":30 + }, + "ArtifactPropertyValue":{ + "type":"string", + "max":4096, + "pattern":".*" + }, "ArtifactSource":{ "type":"structure", "required":["SourceUri"], "members":{ "SourceUri":{ - "shape":"String2048", + "shape":"SourceUri", "documentation":"

      The URI of the source.

      " }, "SourceTypes":{ @@ -4712,7 +4771,8 @@ "ContributedTo", "AssociatedWith", "DerivedFrom", - "Produced" + "Produced", + "SameAs" ] }, "AssociationEntityArn":{ @@ -5072,10 +5132,7 @@ }, "AutoMLChannel":{ "type":"structure", - "required":[ - "DataSource", - "TargetAttributeName" - ], + "required":["TargetAttributeName"], "members":{ "DataSource":{ "shape":"AutoMLDataSource", @@ -5253,14 +5310,14 @@ "shape":"AutoMLSecurityConfig", "documentation":"

      The security configuration for traffic encryption or Amazon VPC settings.

      " }, - "DataSplitConfig":{ - "shape":"AutoMLDataSplitConfig", - "documentation":"

      The configuration for splitting the input training dataset.

      Type: AutoMLDataSplitConfig

      " - }, "CandidateGenerationConfig":{ "shape":"AutoMLCandidateGenerationConfig", "documentation":"

      The configuration for generating a candidate for an AutoML job (optional).

      " }, + "DataSplitConfig":{ + "shape":"AutoMLDataSplitConfig", + "documentation":"

      The configuration for splitting the input training dataset.

      Type: AutoMLDataSplitConfig

      " + }, "Mode":{ "shape":"AutoMLMode", "documentation":"

      The method that Autopilot uses to train the data. You can either specify the mode manually or let Autopilot choose for you based on the dataset size by selecting AUTO. In AUTO mode, Autopilot chooses ENSEMBLING for datasets smaller than 100 MB, and HYPERPARAMETER_TUNING for larger ones.

      The ENSEMBLING mode uses a multi-stack ensemble model to predict classification and regression tasks directly from your dataset. This machine learning mode combines several base models to produce an optimal predictive model. It then uses a stacking ensemble method to combine predictions from contributing members. A multi-stack ensemble model can provide better performance over a single model by combining the predictive capabilities of multiple models. See Autopilot algorithm support for a list of algorithms supported by ENSEMBLING mode.

      The HYPERPARAMETER_TUNING (HPO) mode uses the best hyperparameters to train the best version of a model. HPO automatically selects an algorithm for the type of problem you want to solve. Then HPO finds the best hyperparameters according to your objective metric. See Autopilot algorithm support for a list of algorithms supported by HYPERPARAMETER_TUNING mode.

      " @@ -5302,22 +5359,22 @@ "type":"string", "enum":[ "Starting", - "AnalyzingData", - "FeatureEngineering", - "ModelTuning", "MaxCandidatesReached", "Failed", "Stopped", "MaxAutoMLJobRuntimeReached", "Stopping", "CandidateDefinitionsGenerated", - "GeneratingExplainabilityReport", "Completed", "ExplainabilityError", "DeployingModel", "ModelDeploymentError", "GeneratingModelInsightsReport", "ModelInsightsError", + "AnalyzingData", + "FeatureEngineering", + "ModelTuning", + "GeneratingExplainabilityReport", "TrainingModels", "PreTraining" ] @@ -5401,6 +5458,11 @@ "max":100, "min":1 }, + "AutoMLMaxResultsForTrials":{ + "type":"integer", + "max":300, + "min":1 + }, "AutoMLMetricEnum":{ "type":"string", "enum":[ @@ -5410,13 +5472,13 @@ "F1macro", "AUC", "RMSE", - "MAE", - "R2", "BalancedAccuracy", - "Precision", - "PrecisionMacro", + "R2", "Recall", "RecallMacro", + "Precision", + "PrecisionMacro", + "MAE", "MAPE", "MASE", "WAPE", @@ -5509,14 +5571,14 @@ "shape":"TextClassificationJobConfig", "documentation":"

      Settings used to configure an AutoML job V2 for the text classification problem type.

      " }, - "TabularJobConfig":{ - "shape":"TabularJobConfig", - "documentation":"

      Settings used to configure an AutoML job V2 for the tabular problem type (regression, classification).

      " - }, "TimeSeriesForecastingJobConfig":{ "shape":"TimeSeriesForecastingJobConfig", "documentation":"

      Settings used to configure an AutoML job V2 for the time-series forecasting problem type.

      " }, + "TabularJobConfig":{ + "shape":"TabularJobConfig", + "documentation":"

      Settings used to configure an AutoML job V2 for the tabular problem type (regression, classification).

      " + }, "TextGenerationJobConfig":{ "shape":"TextGenerationJobConfig", "documentation":"

      Settings used to configure an AutoML job V2 for the text generation (LLMs fine-tuning) problem type.

      The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.

      " @@ -5530,8 +5592,8 @@ "enum":[ "ImageClassification", "TextClassification", - "Tabular", "TimeSeriesForecasting", + "Tabular", "TextGeneration" ] }, @@ -5681,7 +5743,10 @@ "type":"string", "enum":[ "AWS/Rekognition/DetectModerationLabels/Image/V3", - "AWS/Textract/AnalyzeDocument/Forms/V1" + "AWS/Textract/AnalyzeDocument/Forms/V1", + "AWS/Textract/AnalyzeExpense", + "AWS/Handshake/VerifyIdentity", + "AWS/Bedrock/ModelEvaluation" ] }, "BacktestResultsLocation":{ @@ -6088,13 +6153,13 @@ "shape":"IdentityProviderOAuthSettings", "documentation":"

      The settings for connecting to an external data source with OAuth.

      " }, - "KendraSettings":{ - "shape":"KendraSettings", - "documentation":"

      The settings for document querying.

      " - }, "DirectDeploySettings":{ "shape":"DirectDeploySettings", "documentation":"

      The model deployment settings for the SageMaker Canvas application.

      " + }, + "KendraSettings":{ + "shape":"KendraSettings", + "documentation":"

      The settings for document querying.

      " } }, "documentation":"

      The SageMaker Canvas application settings.

      " @@ -6146,7 +6211,8 @@ "type":"string", "enum":[ "Input", - "Output" + "Output", + "InputAndOutput" ] }, "CaptureOption":{ @@ -6163,7 +6229,7 @@ "CaptureOptionList":{ "type":"list", "member":{"shape":"CaptureOption"}, - "max":2, + "max":32, "min":1 }, "CaptureStatus":{ @@ -7447,6 +7513,10 @@ "shape":"Url", "documentation":"

      The S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). The S3 path is required for SageMaker built-in algorithms, but not if you use your own algorithms. For more information on built-in algorithms, see Common Parameters.

      The model artifacts must be in an S3 bucket that is in the same region as the model or endpoint you are creating.

      If you provide a value for this parameter, SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provide. Amazon Web Services STS is activated in your Amazon Web Services account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide.

      If you use a built-in algorithm to create a model, SageMaker requires that you provide a S3 path to the model artifacts in ModelDataUrl.

      " }, + "ModelDataSource":{ + "shape":"ModelDataSource", + "documentation":"

      Specifies the location of ML model data to deploy.

      Currently you cannot use ModelDataSource in conjunction with SageMaker batch transform, SageMaker serverless endpoints, SageMaker multi-model endpoints, and SageMaker Marketplace.

      " + }, "Environment":{ "shape":"EnvironmentMap", "documentation":"

      The environment variables to set in the Docker container. Each key and value in the Environment string to string map can have length of up to 1024. We support up to 16 entries in the map.

      " @@ -7462,10 +7532,6 @@ "MultiModelConfig":{ "shape":"MultiModelConfig", "documentation":"

      Specifies additional configuration for multi-model endpoints.

      " - }, - "ModelDataSource":{ - "shape":"ModelDataSource", - "documentation":"

      Specifies the location of ML model data to deploy.

      Currently you cannot use ModelDataSource in conjunction with SageMaker batch transform, SageMaker serverless endpoints, SageMaker multi-model endpoints, and SageMaker Marketplace.

      " } }, "documentation":"

      Describes the container, as part of model definition.

      " @@ -7539,12 +7605,24 @@ "max":256, "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:context/.*" }, + "ContextName":{ + "type":"string", + "max":120, + "min":1, + "pattern":"^[a-zA-Z0-9]([-_]*[a-zA-Z0-9]){0,119}" + }, + "ContextNameOrArn":{ + "type":"string", + "max":256, + "min":1, + "pattern":"(arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:context\\/)?([a-zA-Z0-9]([-_]*[a-zA-Z0-9]){0,119})" + }, "ContextSource":{ "type":"structure", "required":["SourceUri"], "members":{ "SourceUri":{ - "shape":"String2048", + "shape":"SourceUri", "documentation":"

      The URI of the source.

      " }, "SourceType":{ @@ -7570,7 +7648,7 @@ "documentation":"

      The Amazon Resource Name (ARN) of the context.

      " }, "ContextName":{ - "shape":"ExperimentEntityName", + "shape":"ContextName", "documentation":"

      The name of the context.

      " }, "Source":{ @@ -7801,6 +7879,10 @@ "shape":"UserProfileName", "documentation":"

      The user profile name. If this value is not set, then SpaceName must be set.

      " }, + "SpaceName":{ + "shape":"SpaceName", + "documentation":"

      The name of the space. If this value is not set, then UserProfileName must be set.

      " + }, "AppType":{ "shape":"AppType", "documentation":"

      The type of app.

      " @@ -7816,10 +7898,6 @@ "ResourceSpec":{ "shape":"ResourceSpec", "documentation":"

      The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

      The value of InstanceType passed as part of the ResourceSpec in the CreateApp call overrides the value passed as part of the ResourceSpec configured for the user profile or the domain. If InstanceType is not specified in any of those three ResourceSpec values for a KernelGateway app, the CreateApp call fails with a request validation error.

      " - }, - "SpaceName":{ - "shape":"SpaceName", - "documentation":"

      The name of the space. If this value is not set, then UserProfileName must be set.

      " } } }, @@ -7852,7 +7930,7 @@ "documentation":"

      The artifact type.

      " }, "Properties":{ - "shape":"LineageEntityParameters", + "shape":"ArtifactProperties", "documentation":"

      A list of properties to add to the artifact.

      " }, "MetadataProperties":{"shape":"MetadataProperties"}, @@ -8119,7 +8197,7 @@ ], "members":{ "ContextName":{ - "shape":"ExperimentEntityName", + "shape":"ContextName", "documentation":"

      The name of the context. Must be unique to your account in an Amazon Web Services Region.

      " }, "Source":{ @@ -8262,6 +8340,10 @@ "shape":"UserSettings", "documentation":"

      The default settings to use to create a user profile when UserSettings isn't specified in the call to the CreateUserProfile API.

      SecurityGroups is aggregated when specified in both calls. For all other settings in UserSettings, the values specified in CreateUserProfile take precedence over those specified in CreateDomain.

      " }, + "DomainSettings":{ + "shape":"DomainSettings", + "documentation":"

      A collection of Domain settings.

      " + }, "SubnetIds":{ "shape":"Subnets", "documentation":"

      The VPC subnets that the domain uses for communication.

      " @@ -8292,10 +8374,6 @@ "shape":"AppSecurityGroupManagement", "documentation":"

      The entity that creates and manages the required security groups for inter-app communication in VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is VPCOnly and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided. If setting up the domain for use with RStudio, this value must be set to Service.

      " }, - "DomainSettings":{ - "shape":"DomainSettings", - "documentation":"

      A collection of Domain settings.

      " - }, "DefaultSpaceSettings":{ "shape":"DefaultSpaceSettings", "documentation":"

      The default settings used to create a space.

      " @@ -8598,7 +8676,6 @@ "type":"structure", "required":[ "FlowDefinitionName", - "HumanLoopConfig", "OutputConfig", "RoleArn" ], @@ -9401,14 +9478,6 @@ "documentation":"

      A unique token that guarantees that the call to this API is idempotent.

      ", "idempotencyToken":true }, - "CustomerMetadataProperties":{ - "shape":"CustomerMetadataMap", - "documentation":"

      The metadata properties associated with the model package versions.

      " - }, - "DriftCheckBaselines":{ - "shape":"DriftCheckBaselines", - "documentation":"

      Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer Guide.

      " - }, "Domain":{ "shape":"String", "documentation":"

      The machine learning domain of your model package and its components. Common machine learning domains include computer vision and natural language processing.

      " @@ -9421,6 +9490,14 @@ "shape":"S3Uri", "documentation":"

      The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). This archive can hold multiple files that are all equally used in the load test. Each file in the archive must satisfy the size constraints of the InvokeEndpoint call.

      " }, + "CustomerMetadataProperties":{ + "shape":"CustomerMetadataMap", + "documentation":"

      The metadata properties associated with the model package versions.

      " + }, + "DriftCheckBaselines":{ + "shape":"DriftCheckBaselines", + "documentation":"

      Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer Guide.

      " + }, "AdditionalInferenceSpecifications":{ "shape":"AdditionalInferenceSpecifications", "documentation":"

      An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.

      " @@ -9721,7 +9798,7 @@ }, "LandingUri":{ "shape":"LandingUri", - "documentation":"

      The landing page that the user is directed to when accessing the presigned URL. Using this value, users can access Studio or Studio Classic, even if it is not the default experience for the domain. The supported values are:

      • studio::relative/path: Directs users to the relative path in Studio.

      • app:JupyterServer:relative/path: Directs users to the relative path in the Studio Classic application.

      • app:JupyterLab:relative/path: Directs users to the relative path in the JupyterLab application.

      • app:RStudioServerPro:relative/path: Directs users to the relative path in the RStudio application.

      • app:Canvas:relative/path: Directs users to the relative path in the Canvas application.

      " + "documentation":"

      The landing page that the user is directed to when accessing the presigned URL. Using this value, users can access Studio or Studio Classic, even if it is not the default experience for the domain. The supported values are:

      • studio::relative/path: Directs users to the relative path in Studio.

      • app:JupyterServer:relative/path: Directs users to the relative path in the Studio Classic application.

      • app:JupyterLab:relative/path: Directs users to the relative path in the JupyterLab application.

      • app:RStudioServerPro:relative/path: Directs users to the relative path in the RStudio application.

      • app:CodeEditor:relative/path: Directs users to the relative path in the Code Editor, based on Code-OSS, Visual Studio Code - Open Source application.

      • app:Canvas:relative/path: Directs users to the relative path in the Canvas application.

      " } } }, @@ -9884,10 +9961,6 @@ "shape":"SpaceSettings", "documentation":"

      A collection of space settings.

      " }, - "SpaceDisplayName":{ - "shape":"NonEmptyString64", - "documentation":"

      The name of the space that appears in the SageMaker Studio UI.

      " - }, "OwnershipSettings":{ "shape":"OwnershipSettings", "documentation":"

      A collection of ownership settings.

      " @@ -9895,6 +9968,10 @@ "SpaceSharingSettings":{ "shape":"SpaceSharingSettings", "documentation":"

      A collection of space sharing settings.

      " + }, + "SpaceDisplayName":{ + "shape":"NonEmptyString64", + "documentation":"

      The name of the space that appears in the SageMaker Studio UI.

      " } } }, @@ -10588,7 +10665,7 @@ }, "DataInputConfig":{ "type":"string", - "max":1024, + "max":16384, "min":1, "pattern":"[\\S\\s]+" }, @@ -10919,6 +10996,10 @@ "shape":"UserProfileName", "documentation":"

      The user profile name. If this value is not set, then SpaceName must be set.

      " }, + "SpaceName":{ + "shape":"SpaceName", + "documentation":"

      The name of the space. If this value is not set, then UserProfileName must be set.

      " + }, "AppType":{ "shape":"AppType", "documentation":"

      The type of app.

      " @@ -10926,10 +11007,6 @@ "AppName":{ "shape":"AppName", "documentation":"

      The name of the app.

      " - }, - "SpaceName":{ - "shape":"SpaceName", - "documentation":"

      The name of the space. If this value is not set, then UserProfileName must be set.

      " } } }, @@ -11015,12 +11092,22 @@ } } }, + "DeleteCompilationJobRequest":{ + "type":"structure", + "required":["CompilationJobName"], + "members":{ + "CompilationJobName":{ + "shape":"EntityName", + "documentation":"

      The name of the compilation job to delete.

      " + } + } + }, "DeleteContextRequest":{ "type":"structure", "required":["ContextName"], "members":{ "ContextName":{ - "shape":"ExperimentEntityName", + "shape":"ContextName", "documentation":"

      The name of the context to delete.

      " } } @@ -11604,13 +11691,13 @@ "shape":"BlueGreenUpdatePolicy", "documentation":"

      Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.

      " }, - "AutoRollbackConfiguration":{ - "shape":"AutoRollbackConfig", - "documentation":"

      Automatic rollback configuration for handling endpoint deployment failures and recovery.

      " - }, "RollingUpdatePolicy":{ "shape":"RollingUpdatePolicy", "documentation":"

      Specifies a rolling deployment strategy for updating a SageMaker endpoint.

      " + }, + "AutoRollbackConfiguration":{ + "shape":"AutoRollbackConfig", + "documentation":"

      Automatic rollback configuration for handling endpoint deployment failures and recovery.

      " } }, "documentation":"

      The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.

      " @@ -11724,7 +11811,7 @@ "required":["ActionName"], "members":{ "ActionName":{ - "shape":"ExperimentEntityName", + "shape":"ExperimentEntityNameOrArn", "documentation":"

      The name of the action to describe.

      " } } @@ -11899,6 +11986,10 @@ "shape":"UserProfileName", "documentation":"

      The user profile name. If this value is not set, then SpaceName must be set.

      " }, + "SpaceName":{ + "shape":"SpaceName", + "documentation":"

      The name of the space.

      " + }, "AppType":{ "shape":"AppType", "documentation":"

      The type of app.

      " @@ -11906,10 +11997,6 @@ "AppName":{ "shape":"AppName", "documentation":"

      The name of the app.

      " - }, - "SpaceName":{ - "shape":"SpaceName", - "documentation":"

      The name of the space.

      " } } }, @@ -11936,6 +12023,10 @@ "shape":"UserProfileName", "documentation":"

      The user profile name.

      " }, + "SpaceName":{ + "shape":"SpaceName", + "documentation":"

      The name of the space. If this value is not set, then UserProfileName must be set.

      " + }, "Status":{ "shape":"AppStatus", "documentation":"

      The status.

      " @@ -11949,7 +12040,7 @@ "documentation":"

      The timestamp of the last user's activity. LastUserActivityTimestamp is also updated when SageMaker performs health checks without user activity. As a result, this value is set to the same value as LastHealthCheckTimestamp.

      " }, "CreationTime":{ - "shape":"CreationTime", + "shape":"Timestamp", "documentation":"

      The creation time.

      " }, "FailureReason":{ @@ -11959,10 +12050,6 @@ "ResourceSpec":{ "shape":"ResourceSpec", "documentation":"

      The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

      " - }, - "SpaceName":{ - "shape":"SpaceName", - "documentation":"

      The name of the space. If this value is not set, then UserProfileName must be set.

      " } } }, @@ -12178,6 +12265,10 @@ "shape":"AutoMLProblemTypeConfig", "documentation":"

      Returns the configuration settings of the problem type set for the AutoML job V2.

      " }, + "AutoMLProblemTypeConfigName":{ + "shape":"AutoMLProblemTypeConfigName", + "documentation":"

      Returns the name of the problem type configuration set for the AutoML job V2.

      " + }, "CreationTime":{ "shape":"Timestamp", "documentation":"

      Returns the creation time of the AutoML job V2.

      " @@ -12210,6 +12301,11 @@ "shape":"AutoMLJobSecondaryStatus", "documentation":"

      Returns the secondary status of the AutoML job V2.

      " }, + "AutoMLJobArtifacts":{"shape":"AutoMLJobArtifacts"}, + "ResolvedAttributes":{ + "shape":"AutoMLResolvedAttributes", + "documentation":"

      Returns the resolved attributes used by the AutoML job V2.

      " + }, "ModelDeployConfig":{ "shape":"ModelDeployConfig", "documentation":"

      Indicates whether the model was deployed automatically to an endpoint and the name of that endpoint if deployed automatically.

      " @@ -12225,15 +12321,6 @@ "SecurityConfig":{ "shape":"AutoMLSecurityConfig", "documentation":"

      Returns the security configuration for traffic encryption or Amazon VPC settings.

      " - }, - "AutoMLJobArtifacts":{"shape":"AutoMLJobArtifacts"}, - "ResolvedAttributes":{ - "shape":"AutoMLResolvedAttributes", - "documentation":"

      Returns the resolved attributes used by the AutoML job V2.

      " - }, - "AutoMLProblemTypeConfigName":{ - "shape":"AutoMLProblemTypeConfigName", - "documentation":"

      Returns the name of the problem type configuration set for the AutoML job V2.

      " } } }, @@ -12455,7 +12542,7 @@ "required":["ContextName"], "members":{ "ContextName":{ - "shape":"ExperimentEntityNameOrArn", + "shape":"ContextNameOrArn", "documentation":"

      The name of the context to describe.

      " } } @@ -12464,7 +12551,7 @@ "type":"structure", "members":{ "ContextName":{ - "shape":"ExperimentEntityName", + "shape":"ContextName", "documentation":"

      The name of the context.

      " }, "ContextArn":{ @@ -12727,7 +12814,7 @@ }, "SingleSignOnApplicationArn":{ "shape":"SingleSignOnApplicationArn", - "documentation":"

      The ARN of the application managed by SageMaker in IAM Identity Center. This value is only returned for domains created after September 19, 2023.

      " + "documentation":"

      The ARN of the application managed by SageMaker in IAM Identity Center. This value is only returned for domains created after October 1, 2023.

      " }, "Status":{ "shape":"DomainStatus", @@ -12745,6 +12832,10 @@ "shape":"FailureReason", "documentation":"

      The failure reason.

      " }, + "SecurityGroupIdForDomainBoundary":{ + "shape":"SecurityGroupId", + "documentation":"

      The ID of the security group that authorizes traffic between the RSessionGateway apps and the RStudioServerPro app.

      " + }, "AuthMode":{ "shape":"AuthMode", "documentation":"

      The domain's authentication mode.

      " @@ -12753,6 +12844,10 @@ "shape":"UserSettings", "documentation":"

      Settings which are applied to UserProfiles in this domain if settings are not explicitly specified in a given UserProfile.

      " }, + "DomainSettings":{ + "shape":"DomainSettings", + "documentation":"

      A collection of Domain settings.

      " + }, "AppNetworkAccessType":{ "shape":"AppNetworkAccessType", "documentation":"

      Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly.

      • PublicInternetOnly - Non-EFS traffic is through a VPC managed by Amazon SageMaker, which allows direct internet access

      • VpcOnly - All traffic is through the specified VPC and subnets

      " @@ -12779,18 +12874,10 @@ "shape":"KmsKeyId", "documentation":"

      The Amazon Web Services KMS customer managed key used to encrypt the EFS volume attached to the domain.

      " }, - "DomainSettings":{ - "shape":"DomainSettings", - "documentation":"

      A collection of Domain settings.

      " - }, "AppSecurityGroupManagement":{ "shape":"AppSecurityGroupManagement", "documentation":"

      The entity that creates and manages the required security groups for inter-app communication in VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is VPCOnly and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided.

      " }, - "SecurityGroupIdForDomainBoundary":{ - "shape":"SecurityGroupId", - "documentation":"

      The ID of the security group that authorizes traffic between the RSessionGateway apps and the RStudioServerPro app.

      " - }, "DefaultSpaceSettings":{ "shape":"DefaultSpaceSettings", "documentation":"

      The default settings used to create a space.

      " @@ -13029,7 +13116,6 @@ "required":[ "EndpointName", "EndpointArn", - "EndpointConfigName", "EndpointStatus", "CreationTime", "LastModifiedTime" @@ -13316,7 +13402,6 @@ "FlowDefinitionName", "FlowDefinitionStatus", "CreationTime", - "HumanLoopConfig", "OutputConfig", "RoleArn" ], @@ -13648,6 +13733,10 @@ "shape":"HyperParameterTuningJobWarmStartConfig", "documentation":"

      The configuration for starting the hyperparameter parameter tuning job using one or more previous tuning jobs as a starting point. The results of previous tuning jobs are used to inform which combinations of hyperparameters to search over in the new tuning job.

      " }, + "Autotune":{ + "shape":"Autotune", + "documentation":"

      A flag to indicate if autotune is enabled for the hyperparameter tuning job.

      " + }, "FailureReason":{ "shape":"FailureReason", "documentation":"

      If the tuning job failed, the reason it failed.

      " @@ -13656,11 +13745,7 @@ "shape":"HyperParameterTuningJobCompletionDetails", "documentation":"

      Tuning job completion information returned as the response from a hyperparameter tuning job. This information tells if your tuning job has or has not converged. It also includes the number of training jobs that have not improved model performance as evaluated against the objective function.

      " }, - "ConsumedResources":{"shape":"HyperParameterTuningJobConsumedResources"}, - "Autotune":{ - "shape":"Autotune", - "documentation":"

      A flag to indicate if autotune is enabled for the hyperparameter tuning job.

      " - } + "ConsumedResources":{"shape":"HyperParameterTuningJobConsumedResources"} } }, "DescribeImageRequest":{ @@ -14618,14 +14703,6 @@ "shape":"ApprovalDescription", "documentation":"

      A description provided for the model approval.

      " }, - "CustomerMetadataProperties":{ - "shape":"CustomerMetadataMap", - "documentation":"

      The metadata properties associated with the model package versions.

      " - }, - "DriftCheckBaselines":{ - "shape":"DriftCheckBaselines", - "documentation":"

      Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer Guide.

      " - }, "Domain":{ "shape":"String", "documentation":"

      The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.

      " @@ -14638,6 +14715,14 @@ "shape":"String", "documentation":"

      The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).

      " }, + "CustomerMetadataProperties":{ + "shape":"CustomerMetadataMap", + "documentation":"

      The metadata properties associated with the model package versions.

      " + }, + "DriftCheckBaselines":{ + "shape":"DriftCheckBaselines", + "documentation":"

      Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer Guide.

      " + }, "AdditionalInferenceSpecifications":{ "shape":"AdditionalInferenceSpecifications", "documentation":"

      An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.

      " @@ -15279,14 +15364,6 @@ "shape":"SpaceSettings", "documentation":"

      A collection of space settings.

      " }, - "Url":{ - "shape":"String1024", - "documentation":"

      Returns the URL of the space. If the space is created with Amazon Web Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) authentication, users can navigate to the URL after appending the respective redirect parameter for the application type to be federated through Amazon Web Services IAM Identity Center.

      The following application types are supported:

      • Studio Classic: &redirect=JupyterServer

      • JupyterLab: &redirect=JupyterLab

      " - }, - "SpaceDisplayName":{ - "shape":"NonEmptyString64", - "documentation":"

      The name of the space that appears in the Amazon SageMaker Studio UI.

      " - }, "OwnershipSettings":{ "shape":"OwnershipSettings", "documentation":"

      The collection of ownership settings for a space.

      " @@ -15294,6 +15371,14 @@ "SpaceSharingSettings":{ "shape":"SpaceSharingSettings", "documentation":"

      The collection of space sharing settings for a space.

      " + }, + "SpaceDisplayName":{ + "shape":"NonEmptyString64", + "documentation":"

      The name of the space that appears in the Amazon SageMaker Studio UI.

      " + }, + "Url":{ + "shape":"String1024", + "documentation":"

      Returns the URL of the space. If the space is created with Amazon Web Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) authentication, users can navigate to the URL after appending the respective redirect parameter for the application type to be federated through Amazon Web Services IAM Identity Center.

      The following application types are supported:

      • Studio Classic: &redirect=JupyterServer

      • JupyterLab: &redirect=JupyterLab

      • Code Editor, based on Code-OSS, Visual Studio Code - Open Source: &redirect=CodeEditor

      " } } }, @@ -15440,6 +15525,10 @@ "shape":"ResourceConfig", "documentation":"

      Resources, including ML compute instances and ML storage volumes, that are configured for model training.

      " }, + "WarmPoolStatus":{ + "shape":"WarmPoolStatus", + "documentation":"

      The status of the warm pool associated with the training job.

      " + }, "VpcConfig":{ "shape":"VpcConfig", "documentation":"

      A VpcConfig object that specifies the VPC that this training job has access to. For more information, see Protect Training Jobs by Using an Amazon Virtual Private Cloud.

      " @@ -15517,17 +15606,13 @@ "shape":"ProfilingStatus", "documentation":"

      Profiling status of a training job.

      " }, - "RetryStrategy":{ - "shape":"RetryStrategy", - "documentation":"

      The number of times to retry the job when the job fails due to an InternalServerError.

      " - }, "Environment":{ "shape":"TrainingEnvironmentMap", "documentation":"

      The environment variables to set in the Docker container.

      " }, - "WarmPoolStatus":{ - "shape":"WarmPoolStatus", - "documentation":"

      The status of the warm pool associated with the training job.

      " + "RetryStrategy":{ + "shape":"RetryStrategy", + "documentation":"

      The number of times to retry the job when the job fails due to an InternalServerError.

      " }, "InfraCheckConfig":{ "shape":"InfraCheckConfig", @@ -16322,7 +16407,8 @@ }, "DomainId":{ "type":"string", - "max":63 + "max":63, + "pattern":"^d-(-*[a-z0-9]){1,61}" }, "DomainList":{ "type":"list", @@ -17063,7 +17149,6 @@ }, "EndpointInfo":{ "type":"structure", - "required":["EndpointName"], "members":{ "EndpointName":{ "shape":"EndpointName", @@ -17133,6 +17218,7 @@ "shape":"ProductionVariantInstanceType", "documentation":"

      The instance types to use for the load test.

      " }, + "ServerlessConfig":{"shape":"ProductionVariantServerlessConfig"}, "InferenceSpecificationName":{ "shape":"InferenceSpecificationName", "documentation":"

      The inference specification name in the model package version.

      " @@ -17140,8 +17226,7 @@ "EnvironmentParameterRanges":{ "shape":"EnvironmentParameterRanges", "documentation":"

      The parameter you want to benchmark against.

      " - }, - "ServerlessConfig":{"shape":"ProductionVariantServerlessConfig"} + } }, "documentation":"

      The endpoint configuration for the load test.

      " }, @@ -17582,6 +17667,10 @@ }, "FeatureDefinition":{ "type":"structure", + "required":[ + "FeatureName", + "FeatureType" + ], "members":{ "FeatureName":{ "shape":"FeatureName", @@ -17940,6 +18029,7 @@ }, "FileSystemId":{ "type":"string", + "max":21, "min":11, "pattern":"^(fs-[0-9a-f]{8,})$" }, @@ -18085,7 +18175,7 @@ "FlowDefinitionArn":{ "type":"string", "max":1024, - "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:flow-definition/.*" + "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]+:[0-9]{12}:flow-definition/.*" }, "FlowDefinitionName":{ "type":"string", @@ -18155,7 +18245,6 @@ }, "FlowDefinitionTaskAvailabilityLifetimeInSeconds":{ "type":"integer", - "max":864000, "min":1 }, "FlowDefinitionTaskCount":{ @@ -18183,7 +18272,6 @@ }, "FlowDefinitionTaskTimeLimitInSeconds":{ "type":"integer", - "max":28800, "min":30 }, "FlowDefinitionTaskTitle":{ @@ -18917,7 +19005,7 @@ "HumanTaskUiArn":{ "type":"string", "max":1024, - "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:human-task-ui/.*" + "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]+:[0-9]{12}:human-task-ui/.*" }, "HumanTaskUiName":{ "type":"string", @@ -19080,6 +19168,10 @@ "shape":"ResourceConfig", "documentation":"

      The resources, including the compute instances and storage volumes, to use for the training jobs that the tuning job launches.

      Storage volumes store model artifacts and incremental states. Training algorithms might also use storage volumes for scratch space. If you want SageMaker to use the storage volume to store the training data, choose File as the TrainingInputMode in the algorithm specification. For distributed training algorithms, specify an instance count greater than 1.

      If you want to use hyperparameter optimization with instance type flexibility, use HyperParameterTuningResourceConfig instead.

      " }, + "HyperParameterTuningResourceConfig":{ + "shape":"HyperParameterTuningResourceConfig", + "documentation":"

      The configuration for the hyperparameter tuning resources, including the compute instances and storage volumes, used for training jobs launched by the tuning job. By default, storage volumes hold model artifacts and incremental states. Choose File for TrainingInputMode in the AlgorithmSpecification parameter to additionally store training data in the storage volume (optional).

      " + }, "StoppingCondition":{ "shape":"StoppingCondition", "documentation":"

      Specifies a limit to how long a model hyperparameter training job can run. It also specifies how long a managed spot training job has to complete. When the job reaches the time limit, SageMaker ends the training job. Use this API to cap model training costs.

      " @@ -19101,10 +19193,6 @@ "shape":"RetryStrategy", "documentation":"

      The number of times to retry the job when the job fails due to an InternalServerError.

      " }, - "HyperParameterTuningResourceConfig":{ - "shape":"HyperParameterTuningResourceConfig", - "documentation":"

      The configuration for the hyperparameter tuning resources, including the compute instances and storage volumes, used for training jobs launched by the tuning job. By default, storage volumes hold model artifacts and incremental states. Choose File for TrainingInputMode in the AlgorithmSpecification parameter to additionally store training data in the storage volume (optional).

      " - }, "Environment":{ "shape":"HyperParameterTrainingJobEnvironmentMap", "documentation":"

      An environment variable that you can pass into the SageMaker CreateTrainingJob API. You can use an existing environment variable from the training container or use your own. See Define metrics and variables for more information.

      The maximum number of items specified for Map Entries refers to the maximum number of environment variables for each TrainingJobDefinition and also the maximum for the hyperparameter tuning job itself. That is, the sum of the number of environment variables for all the training job definitions can't exceed the maximum number specified.

      " @@ -19386,10 +19474,6 @@ "shape":"FailureReason", "documentation":"

      The error that was created when a hyperparameter tuning job failed.

      " }, - "Tags":{ - "shape":"TagList", - "documentation":"

      The tags associated with a hyperparameter tuning job. For more information see Tagging Amazon Web Services resources.

      " - }, "TuningJobCompletionDetails":{ "shape":"HyperParameterTuningJobCompletionDetails", "documentation":"

      Information about either a current or completed hyperparameter tuning job.

      " @@ -19397,6 +19481,10 @@ "ConsumedResources":{ "shape":"HyperParameterTuningJobConsumedResources", "documentation":"

      The total amount of resources consumed by a hyperparameter tuning job.

      " + }, + "Tags":{ + "shape":"TagList", + "documentation":"

      The tags associated with a hyperparameter tuning job. For more information see Tagging Amazon Web Services resources.

      " } }, "documentation":"

      An entity returned by the SearchRecord API containing the properties of a hyperparameter tuning job.

      " @@ -19416,7 +19504,9 @@ "InProgress", "Failed", "Stopped", - "Stopping" + "Stopping", + "Deleting", + "DeleteFailed" ] }, "HyperParameterTuningJobStrategyConfig":{ @@ -20366,6 +20456,10 @@ "ModelConfiguration" ], "members":{ + "RecommendationId":{ + "shape":"String", + "documentation":"

      The recommendation ID which uniquely identifies each recommendation.

      " + }, "Metrics":{ "shape":"RecommendationMetrics", "documentation":"

      The metrics used to decide what recommendation to make.

      " @@ -20378,10 +20472,6 @@ "shape":"ModelConfiguration", "documentation":"

      Defines the model configuration.

      " }, - "RecommendationId":{ - "shape":"String", - "documentation":"

      The recommendation ID which uniquely identifies each recommendation.

      " - }, "InvocationEndTime":{ "shape":"InvocationEndTime", "documentation":"

      A timestamp that shows when the benchmark completed.

      " @@ -20783,7 +20873,6 @@ "max":30, "min":0 }, - "IntegerValue":{"type":"integer"}, "InvocationEndTime":{"type":"timestamp"}, "InvocationStartTime":{"type":"timestamp"}, "InvocationsMaxRetries":{ @@ -20855,6 +20944,7 @@ "JupyterLabAppImageConfig":{ "type":"structure", "members":{ + "FileSystemConfig":{"shape":"FileSystemConfig"}, "ContainerConfig":{"shape":"ContainerConfig"} }, "documentation":"

      The configuration for the file system and kernels in a SageMaker image running as a JupyterLab app.

      " @@ -20898,6 +20988,7 @@ }, "KeepAlivePeriodInSeconds":{ "type":"integer", + "documentation":"Optional. Customer requested period in seconds for which the Training cluster is kept alive after the job is finished.", "max":3600, "min":0 }, @@ -20970,7 +21061,7 @@ "KernelSpecs":{ "type":"list", "member":{"shape":"KernelSpec"}, - "max":1, + "max":5, "min":1 }, "Key":{ @@ -21851,7 +21942,7 @@ "documentation":"

      The parameter by which to sort the results. The default is Descending.

      " }, "MaxResults":{ - "shape":"AutoMLMaxResults", + "shape":"AutoMLMaxResultsForTrials", "documentation":"

      List the job's candidates up to a specified limit.

      ", "box":true }, @@ -22668,10 +22759,7 @@ }, "ListFeatureGroupsResponse":{ "type":"structure", - "required":[ - "FeatureGroupSummaries", - "NextToken" - ], + "required":["FeatureGroupSummaries"], "members":{ "FeatureGroupSummaries":{ "shape":"FeatureGroupSummaries", @@ -26274,7 +26362,6 @@ }, "ModelDataSource":{ "type":"structure", - "required":["S3DataSource"], "members":{ "S3DataSource":{ "shape":"S3ModelDataSource", @@ -26523,7 +26610,7 @@ "ModelName":{ "type":"string", "max":63, - "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*" + "pattern":"^[a-zA-Z0-9]([\\-a-zA-Z0-9]*[a-zA-Z0-9])?" }, "ModelNameContains":{ "type":"string", @@ -26950,7 +27037,7 @@ "type":"list", "member":{"shape":"ModelPackageValidationProfile"}, "max":1, - "min":1 + "min":0 }, "ModelPackageValidationSpecification":{ "type":"structure", @@ -28442,7 +28529,6 @@ }, "OidcMemberDefinition":{ "type":"structure", - "required":["Groups"], "members":{ "Groups":{ "shape":"Groups", @@ -28562,7 +28648,7 @@ "members":{ "KmsKeyId":{ "shape":"KmsKeyId", - "documentation":"

      The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats:

      • // KMS Key ID

        \"1234abcd-12ab-34cd-56ef-1234567890ab\"

      • // Amazon Resource Name (ARN) of a KMS Key

        \"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\"

      • // KMS Key Alias

        \"alias/ExampleAlias\"

      • // Amazon Resource Name (ARN) of a KMS Key Alias

        \"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias\"

      If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt. If you don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for your role's account. SageMaker uses server-side encryption with KMS-managed keys for OutputDataConfig. If you use a bucket policy with an s3:PutObject permission that only allows objects with server-side encryption, set the condition key of s3:x-amz-server-side-encryption to \"aws:kms\". For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.

      The KMS key policy must grant permission to the IAM role that you specify in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob requests. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

      " + "documentation":"

      The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats:

      • // KMS Key ID

        \"1234abcd-12ab-34cd-56ef-1234567890ab\"

      • // Amazon Resource Name (ARN) of a KMS Key

        \"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\"

      • // KMS Key Alias

        \"alias/ExampleAlias\"

      • // Amazon Resource Name (ARN) of a KMS Key Alias

        \"arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias\"

      If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt. If you don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide. If the output data is stored in Amazon S3 Express One Zone, it is encrypted with server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not supported for Amazon S3 Express One Zone

      The KMS key policy must grant permission to the IAM role that you specify in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob requests. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

      " }, "S3OutputPath":{ "shape":"S3Uri", @@ -28662,7 +28748,7 @@ "ParameterList":{ "type":"list", "member":{"shape":"Parameter"}, - "max":50, + "max":200, "min":0 }, "ParameterName":{ @@ -28932,7 +29018,7 @@ }, "PipelineArn":{ "type":"string", - "max":256, + "max":2048, "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:pipeline/.*" }, "PipelineDefinition":{ @@ -29011,20 +29097,20 @@ "shape":"ParallelismConfiguration", "documentation":"

      The parallelism configuration applied to the pipeline execution.

      " }, - "PipelineParameters":{ - "shape":"ParameterList", - "documentation":"

      Contains a list of pipeline parameters. This list can be empty.

      " - }, "SelectiveExecutionConfig":{ "shape":"SelectiveExecutionConfig", "documentation":"

      The selective execution configuration applied to the pipeline run.

      " + }, + "PipelineParameters":{ + "shape":"ParameterList", + "documentation":"

      Contains a list of pipeline parameters. This list can be empty.

      " } }, "documentation":"

      An execution of a pipeline.

      " }, "PipelineExecutionArn":{ "type":"string", - "max":256, + "max":2048, "pattern":"^arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:pipeline\\/.*\\/execution\\/.*$" }, "PipelineExecutionDescription":{ @@ -29085,10 +29171,6 @@ "shape":"CacheHitResult", "documentation":"

      If this pipeline execution step was cached, details on the cache hit.

      " }, - "AttemptCount":{ - "shape":"IntegerValue", - "documentation":"

      The current attempt of the execution step. For more information, see Retry Policy for SageMaker Pipelines steps.

      " - }, "FailureReason":{ "shape":"FailureReason", "documentation":"

      The reason why the step failed execution. This is only returned if the step failed its execution.

      " @@ -29097,6 +29179,10 @@ "shape":"PipelineExecutionStepMetadata", "documentation":"

      Metadata to run the pipeline step.

      " }, + "AttemptCount":{ + "shape":"Integer", + "documentation":"

      The current attempt of the execution step. For more information, see Retry Policy for SageMaker Pipelines steps.

      " + }, "SelectiveExecutionResult":{ "shape":"SelectiveExecutionResult", "documentation":"

      The ARN from an execution of the current pipeline from which results are reused for this step.

      " @@ -29149,6 +29235,10 @@ "shape":"LambdaStepMetadata", "documentation":"

      The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution and a list of output parameters.

      " }, + "EMR":{ + "shape":"EMRStepMetadata", + "documentation":"

      The configurations and outcomes of an Amazon EMR step execution.

      " + }, "QualityCheck":{ "shape":"QualityCheckStepMetadata", "documentation":"

      The configurations and outcomes of the check step execution. This includes:

      • The type of the check conducted.

      • The Amazon S3 URIs of baseline constraints and statistics files to be used for the drift check.

      • The Amazon S3 URIs of newly calculated baseline constraints and statistics.

      • The model package group name provided.

      • The Amazon S3 URI of the violation report if violations detected.

      • The Amazon Resource Name (ARN) of check processing job initiated by the step execution.

      • The Boolean flags indicating if the drift check is skipped.

      • If step property BaselineUsedForDriftCheck is set the same as CalculatedBaseline.

      " @@ -29157,10 +29247,6 @@ "shape":"ClarifyCheckStepMetadata", "documentation":"

      Container for the metadata for a Clarify check step. The configurations and outcomes of the check step execution. This includes:

      • The type of the check conducted,

      • The Amazon S3 URIs of baseline constraints and statistics files to be used for the drift check.

      • The Amazon S3 URIs of newly calculated baseline constraints and statistics.

      • The model package group name provided.

      • The Amazon S3 URI of the violation report if violations detected.

      • The Amazon Resource Name (ARN) of check processing job initiated by the step execution.

      • The boolean flags indicating if the drift check is skipped.

      • If step property BaselineUsedForDriftCheck is set the same as CalculatedBaseline.

      " }, - "EMR":{ - "shape":"EMRStepMetadata", - "documentation":"

      The configurations and outcomes of an Amazon EMR step execution.

      " - }, "Fail":{ "shape":"FailStepMetadata", "documentation":"

      The configurations and outcomes of a Fail step execution.

      " @@ -29242,7 +29328,10 @@ }, "PipelineStatus":{ "type":"string", - "enum":["Active"] + "enum":[ + "Active", + "Deleting" + ] }, "PipelineSummary":{ "type":"structure", @@ -29618,7 +29707,7 @@ }, "ProcessingMaxRuntimeInSeconds":{ "type":"integer", - "max":604800, + "max":777600, "min":1 }, "ProcessingOutput":{ @@ -29963,6 +30052,7 @@ "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", + "ml.dl1.24xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", @@ -30040,11 +30130,39 @@ "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", + "ml.trn1n.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", - "ml.p5.48xlarge" + "ml.p5.48xlarge", + "ml.m7i.large", + "ml.m7i.xlarge", + "ml.m7i.2xlarge", + "ml.m7i.4xlarge", + "ml.m7i.8xlarge", + "ml.m7i.12xlarge", + "ml.m7i.16xlarge", + "ml.m7i.24xlarge", + "ml.m7i.48xlarge", + "ml.c7i.large", + "ml.c7i.xlarge", + "ml.c7i.2xlarge", + "ml.c7i.4xlarge", + "ml.c7i.8xlarge", + "ml.c7i.12xlarge", + "ml.c7i.16xlarge", + "ml.c7i.24xlarge", + "ml.c7i.48xlarge", + "ml.r7i.large", + "ml.r7i.xlarge", + "ml.r7i.2xlarge", + "ml.r7i.4xlarge", + "ml.r7i.8xlarge", + "ml.r7i.12xlarge", + "ml.r7i.16xlarge", + "ml.r7i.24xlarge", + "ml.r7i.48xlarge" ] }, "ProductionVariantList":{ @@ -30916,7 +31034,7 @@ "documentation":"

      The machine learning framework of the container image.

      Valid Values: TENSORFLOW | PYTORCH | XGBOOST | SAGEMAKER-SCIKIT-LEARN

      " }, "FrameworkVersion":{ - "shape":"String", + "shape":"RecommendationJobFrameworkVersion", "documentation":"

      The framework version of the container image.

      " }, "PayloadConfig":{ @@ -30931,14 +31049,14 @@ "shape":"RecommendationJobSupportedInstanceTypes", "documentation":"

      A list of the instance types that are used to generate inferences in real-time.

      " }, - "DataInputConfig":{ - "shape":"RecommendationJobDataInputConfig", - "documentation":"

      Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form. This field is used for optimizing your model using SageMaker Neo. For more information, see DataInputConfig.

      " - }, "SupportedEndpointType":{ "shape":"RecommendationJobSupportedEndpointType", "documentation":"

      The endpoint type to receive recommendations for. By default this is null, and the results of the inference recommendation job return a combined list of both real-time and serverless benchmarks. By specifying a value for this field, you can receive a longer list of benchmarks for the desired endpoint type.

      " }, + "DataInputConfig":{ + "shape":"RecommendationJobDataInputConfig", + "documentation":"

      Specifies the name and shape of the expected data inputs for your trained model with a JSON dictionary form. This field is used for optimizing your model using SageMaker Neo. For more information, see DataInputConfig.

      " + }, "SupportedResponseMIMETypes":{ "shape":"RecommendationJobSupportedResponseMIMETypes", "documentation":"

      The supported MIME types for the output data.

      " @@ -30956,18 +31074,24 @@ "type":"string", "max":128 }, + "RecommendationJobFrameworkVersion":{ + "type":"string", + "max":10, + "min":3, + "pattern":"[0-9]\\.[A-Za-z0-9.-]+" + }, "RecommendationJobInferenceBenchmark":{ "type":"structure", "required":["ModelConfiguration"], "members":{ "Metrics":{"shape":"RecommendationMetrics"}, + "EndpointMetrics":{"shape":"InferenceMetrics"}, "EndpointConfiguration":{"shape":"EndpointOutputConfiguration"}, "ModelConfiguration":{"shape":"ModelConfiguration"}, "FailureReason":{ "shape":"RecommendationFailureReason", "documentation":"

      The reason why a benchmark failed.

      " }, - "EndpointMetrics":{"shape":"InferenceMetrics"}, "InvocationEndTime":{ "shape":"InvocationEndTime", "documentation":"

      A timestamp that shows when the benchmark completed.

      " @@ -30986,6 +31110,10 @@ "shape":"ModelPackageArn", "documentation":"

      The Amazon Resource Name (ARN) of a versioned model package.

      " }, + "ModelName":{ + "shape":"ModelName", + "documentation":"

      The name of the created model.

      " + }, "JobDurationInSeconds":{ "shape":"JobDurationInSeconds", "documentation":"

      Specifies the maximum duration of the job, in seconds. The maximum value is 18,000 seconds.

      " @@ -31017,10 +31145,6 @@ "VpcConfig":{ "shape":"RecommendationJobVpcConfig", "documentation":"

      Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.

      " - }, - "ModelName":{ - "shape":"ModelName", - "documentation":"

      The name of the created model.

      " } }, "documentation":"

      The input configuration of the recommendation job.

      " @@ -31049,7 +31173,7 @@ "type":"structure", "members":{ "SamplePayloadUrl":{ - "shape":"String", + "shape":"S3Uri", "documentation":"

      The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

      " }, "SupportedContentTypes":{ @@ -31081,7 +31205,9 @@ "COMPLETED", "FAILED", "STOPPING", - "STOPPED" + "STOPPED", + "DELETING", + "DELETED" ] }, "RecommendationJobStoppingConditions":{ @@ -31102,9 +31228,14 @@ }, "documentation":"

      Specifies conditions for stopping a job. When a job reaches a stopping condition limit, SageMaker ends the job.

      " }, + "RecommendationJobSupportedContentType":{ + "type":"string", + "max":256, + "pattern":".*" + }, "RecommendationJobSupportedContentTypes":{ "type":"list", - "member":{"shape":"String"} + "member":{"shape":"RecommendationJobSupportedContentType"} }, "RecommendationJobSupportedEndpointType":{ "type":"string", @@ -31548,13 +31679,13 @@ "shape":"KmsKeyId", "documentation":"

      The Amazon Web Services KMS key that SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the training job.

      Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a VolumeKmsKeyId when using an instance type with local storage.

      For a list of instance types that support local instance storage, see Instance Store Volumes.

      For more information about local instance storage encryption, see SSD Instance Store Volumes.

      The VolumeKmsKeyId can be in any of the following formats:

      • // KMS Key ID

        \"1234abcd-12ab-34cd-56ef-1234567890ab\"

      • // Amazon Resource Name (ARN) of a KMS Key

        \"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab\"

      " }, - "InstanceGroups":{ - "shape":"InstanceGroups", - "documentation":"

      The configuration of a heterogeneous cluster in JSON format.

      " - }, "KeepAlivePeriodInSeconds":{ "shape":"KeepAlivePeriodInSeconds", "documentation":"

      The duration of time in seconds to retain configured resources in a warm pool for subsequent training jobs.

      " + }, + "InstanceGroups":{ + "shape":"InstanceGroups", + "documentation":"

      The configuration of a heterogeneous cluster in JSON format.

      " } }, "documentation":"

      Describes the resources, including machine learning (ML) compute instances and ML storage volumes, to use for model training.

      " @@ -31630,6 +31761,7 @@ }, "ResourceRetainedBillableTimeInSeconds":{ "type":"integer", + "documentation":"Optional. Indicates how many seconds the resource stayed in ResourceRetained state. Populated only after resource reaches ResourceReused or ResourceReleased state.", "min":0 }, "ResourceSpec":{ @@ -31645,7 +31777,7 @@ }, "SageMakerImageVersionAlias":{ "shape":"ImageVersionAlias", - "documentation":"

      The SageMakerImageVersionAlias.

      " + "documentation":"

      The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

      " }, "InstanceType":{ "shape":"AppInstanceType", @@ -31666,16 +31798,18 @@ "ExperimentTrial", "ExperimentTrialComponent", "Endpoint", + "Model", "ModelPackage", "ModelPackageGroup", "Pipeline", "PipelineExecution", "FeatureGroup", - "Project", "FeatureMetadata", + "Image", + "ImageVersion", + "Project", "HyperParameterTuningJob", - "ModelCard", - "Model" + "ModelCard" ] }, "ResponseMIMEType":{ @@ -32086,23 +32220,23 @@ "Pipeline":{"shape":"Pipeline"}, "PipelineExecution":{"shape":"PipelineExecution"}, "FeatureGroup":{"shape":"FeatureGroup"}, - "Project":{ - "shape":"Project", - "documentation":"

      The properties of a project.

      " - }, "FeatureMetadata":{ "shape":"FeatureMetadata", "documentation":"

      The feature metadata used to search through the features.

      " }, + "Project":{ + "shape":"Project", + "documentation":"

      The properties of a project.

      " + }, "HyperParameterTuningJob":{ "shape":"HyperParameterTuningJobSearchEntity", "documentation":"

      The properties of a hyperparameter tuning job.

      " }, - "Model":{"shape":"ModelDashboardModel"}, "ModelCard":{ "shape":"ModelCard", "documentation":"

      An Amazon SageMaker Model Card that documents details about a machine learning model.

      " - } + }, + "Model":{"shape":"ModelDashboardModel"} }, "documentation":"

      A single resource returned as part of the Search API response.

      " }, @@ -32183,7 +32317,8 @@ "Interrupted", "MaxWaitTimeExceeded", "Updating", - "Restarting" + "Restarting", + "Pending" ] }, "SecondaryStatusTransition":{ @@ -32649,6 +32784,7 @@ "SourceUri":{ "type":"string", "max":2048, + "min":1, "pattern":".*" }, "SpaceArn":{ @@ -32686,10 +32822,6 @@ "shape":"LastModifiedTime", "documentation":"

      The last modified time.

      " }, - "SpaceDisplayName":{ - "shape":"NonEmptyString64", - "documentation":"

      The name of the space that appears in the Studio UI.

      " - }, "SpaceSettingsSummary":{ "shape":"SpaceSettingsSummary", "documentation":"

      Specifies summary information about the space settings.

      " @@ -32701,6 +32833,10 @@ "OwnershipSettingsSummary":{ "shape":"OwnershipSettingsSummary", "documentation":"

      Specifies summary information about the ownership settings.

      " + }, + "SpaceDisplayName":{ + "shape":"NonEmptyString64", + "documentation":"

      The name of the space that appears in the Studio UI.

      " } }, "documentation":"

      The space's details.

      " @@ -32735,22 +32871,22 @@ "members":{ "JupyterServerAppSettings":{"shape":"JupyterServerAppSettings"}, "KernelGatewayAppSettings":{"shape":"KernelGatewayAppSettings"}, - "JupyterLabAppSettings":{ - "shape":"SpaceJupyterLabAppSettings", - "documentation":"

      The settings for the JupyterLab application.

      " - }, "CodeEditorAppSettings":{ "shape":"SpaceCodeEditorAppSettings", "documentation":"

      The Code Editor application settings.

      " }, - "SpaceStorageSettings":{ - "shape":"SpaceStorageSettings", - "documentation":"

      The storage settings for a private space.

      " + "JupyterLabAppSettings":{ + "shape":"SpaceJupyterLabAppSettings", + "documentation":"

      The settings for the JupyterLab application.

      " }, "AppType":{ "shape":"AppType", "documentation":"

      The type of app created within the space.

      " }, + "SpaceStorageSettings":{ + "shape":"SpaceStorageSettings", + "documentation":"

      The storage settings for a private space.

      " + }, "CustomFileSystems":{ "shape":"CustomFileSystems", "documentation":"

      A file system, created by you, that you assign to a space for an Amazon SageMaker Domain. Permitted users can access this file system in Amazon SageMaker Studio.

      " @@ -33247,10 +33383,6 @@ "min":1, "pattern":".+" }, - "String2048":{ - "type":"string", - "max":2048 - }, "String256":{ "type":"string", "max":256 @@ -33273,7 +33405,7 @@ }, "StringParameterValue":{ "type":"string", - "max":256, + "max":2500, "pattern":".*" }, "StudioLifecycleConfigAppType":{ @@ -33281,8 +33413,10 @@ "enum":[ "JupyterServer", "KernelGateway", - "JupyterLab", - "CodeEditor" + "VSCode", + "Savitur", + "CodeEditor", + "JupyterLab" ] }, "StudioLifecycleConfigArn":{ @@ -33402,6 +33536,7 @@ "TableFormat":{ "type":"string", "enum":[ + "Default", "Glue", "Iceberg" ] @@ -33510,8 +33645,10 @@ "lambda", "ml_m4", "ml_m5", + "ml_m6g", "ml_c4", "ml_c5", + "ml_c6g", "ml_p2", "ml_p3", "ml_g4dn", @@ -33524,6 +33661,7 @@ "jetson_nano", "jetson_xavier", "rasp3b", + "rasp4b", "imx8qm", "deeplens", "rk3399", @@ -33757,7 +33895,8 @@ "TextGenerationHyperParameters":{ "shape":"TextGenerationHyperParameters", "documentation":"

      The hyperparameters used to configure and optimize the learning process of the base model. You can set any combination of the following hyperparameters for all base models. For more information on each supported hyperparameter, see Optimize the learning process of your text generation models with hyperparameters.

      • \"epochCount\": The number of times the model goes through the entire training dataset. Its value should be a string containing an integer value within the range of \"1\" to \"10\".

      • \"batchSize\": The number of data samples used in each iteration of training. Its value should be a string containing an integer value within the range of \"1\" to \"64\".

      • \"learningRate\": The step size at which a model's parameters are updated during training. Its value should be a string containing a floating-point value within the range of \"0\" to \"1\".

      • \"learningRateWarmupSteps\": The number of training steps during which the learning rate gradually increases before reaching its target or maximum value. Its value should be a string containing an integer value within the range of \"0\" to \"250\".

      Here is an example where all four hyperparameters are configured.

      { \"epochCount\":\"5\", \"learningRate\":\"0.5\", \"batchSize\": \"32\", \"learningRateWarmupSteps\": \"10\" }

      " - } + }, + "ModelAccessConfig":{"shape":"ModelAccessConfig"} }, "documentation":"

      The collection of settings used by an AutoML job V2 for the text generation problem type.

      The text generation models that support fine-tuning in Autopilot are currently accessible exclusively in regions supported by Canvas. Refer to the documentation of Canvas for the full list of its supported Regions.

      " }, @@ -34038,6 +34177,8 @@ "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.p4d.24xlarge", + "ml.p4de.24xlarge", + "ml.p5.48xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", @@ -34059,7 +34200,23 @@ "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", - "ml.p5.48xlarge" + "ml.m6i.large", + "ml.m6i.xlarge", + "ml.m6i.2xlarge", + "ml.m6i.4xlarge", + "ml.m6i.8xlarge", + "ml.m6i.12xlarge", + "ml.m6i.16xlarge", + "ml.m6i.24xlarge", + "ml.m6i.32xlarge", + "ml.c6i.xlarge", + "ml.c6i.2xlarge", + "ml.c6i.8xlarge", + "ml.c6i.4xlarge", + "ml.c6i.12xlarge", + "ml.c6i.16xlarge", + "ml.c6i.24xlarge", + "ml.c6i.32xlarge" ] }, "TrainingInstanceTypes":{ @@ -34577,6 +34734,7 @@ }, "TransformInput":{"shape":"TransformInput"}, "TransformOutput":{"shape":"TransformOutput"}, + "DataCaptureConfig":{"shape":"BatchDataCaptureConfig"}, "TransformResources":{"shape":"TransformResources"}, "CreationTime":{ "shape":"Timestamp", @@ -34603,8 +34761,7 @@ "Tags":{ "shape":"TagList", "documentation":"

      A list of tags associated with the transform job.

      " - }, - "DataCaptureConfig":{"shape":"BatchDataCaptureConfig"} + } }, "documentation":"

      A batch transform job. For information about SageMaker batch transform, see Use Batch Transform.

      " }, @@ -34948,18 +35105,23 @@ }, "TrialComponentArtifacts":{ "type":"map", - "key":{"shape":"TrialComponentKey64"}, + "key":{"shape":"TrialComponentKey128"}, "value":{"shape":"TrialComponentArtifact"}, - "max":30 + "max":60 + }, + "TrialComponentKey128":{ + "type":"string", + "max":128, + "pattern":".*" }, "TrialComponentKey256":{ "type":"string", "max":256, "pattern":".*" }, - "TrialComponentKey64":{ + "TrialComponentKey320":{ "type":"string", - "max":64, + "max":320, "pattern":".*" }, "TrialComponentMetricSummaries":{ @@ -35024,9 +35186,9 @@ }, "TrialComponentParameters":{ "type":"map", - "key":{"shape":"TrialComponentKey256"}, + "key":{"shape":"TrialComponentKey320"}, "value":{"shape":"TrialComponentParameterValue"}, - "max":150 + "max":300 }, "TrialComponentPrimaryStatus":{ "type":"string", @@ -35422,7 +35584,7 @@ "documentation":"

      The new name for the artifact.

      " }, "Properties":{ - "shape":"LineageEntityParameters", + "shape":"ArtifactProperties", "documentation":"

      The new list of properties. Overwrites the current property list.

      " }, "PropertiesToRemove":{ @@ -35496,7 +35658,7 @@ "required":["ContextName"], "members":{ "ContextName":{ - "shape":"ExperimentEntityName", + "shape":"ContextName", "documentation":"

      The name of the context to update.

      " }, "Description":{ @@ -35584,14 +35746,14 @@ "shape":"DomainSettingsForUpdate", "documentation":"

      A collection of DomainSettings configuration values to update.

      " }, - "DefaultSpaceSettings":{ - "shape":"DefaultSpaceSettings", - "documentation":"

      The default settings used to create a space within the Domain.

      " - }, "AppSecurityGroupManagement":{ "shape":"AppSecurityGroupManagement", "documentation":"

      The entity that creates and manages the required security groups for inter-app communication in VPCOnly mode. Required when CreateDomain.AppNetworkAccessType is VPCOnly and DomainSettings.RStudioServerProDomainSettings.DomainExecutionRoleArn is provided. If setting up the domain for use with RStudio, this value must be set to Service.

      " }, + "DefaultSpaceSettings":{ + "shape":"DefaultSpaceSettings", + "documentation":"

      The default settings used to create a space within the Domain.

      " + }, "SubnetIds":{ "shape":"Subnets", "documentation":"

      The VPC subnets that Studio uses for communication.

      If removing subnets, ensure there are no apps in the InService, Pending, or Deleting state.

      " @@ -36689,14 +36851,14 @@ "shape":"CanvasAppSettings", "documentation":"

      The Canvas app settings.

      " }, - "JupyterLabAppSettings":{ - "shape":"JupyterLabAppSettings", - "documentation":"

      The settings for the JupyterLab application.

      " - }, "CodeEditorAppSettings":{ "shape":"CodeEditorAppSettings", "documentation":"

      The Code Editor application settings.

      " }, + "JupyterLabAppSettings":{ + "shape":"JupyterLabAppSettings", + "documentation":"

      The settings for the JupyterLab application.

      " + }, "SpaceStorageSettings":{ "shape":"DefaultSpaceStorageSettings", "documentation":"

      The storage settings for a private space.

      " diff --git a/tools/code-generation/endpoints/kms-2014-11-01.endpoint-rule-set.json b/tools/code-generation/endpoints/kms-2014-11-01.endpoint-rule-set.json index 2e008ea5a4f..46ded272270 100644 --- a/tools/code-generation/endpoints/kms-2014-11-01.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/kms-2014-11-01.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [],