Skip to content

Commit e2f1159

Browse files
authored
feat(aws-android-sdk-kms): update models to latest (#3595)
1 parent cbbcc78 commit e2f1159

File tree

346 files changed

+9049
-938
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+9049
-938
lines changed

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/AWSKMS.java

Lines changed: 845 additions & 66 deletions
Large diffs are not rendered by default.

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/AWSKMSClient.java

Lines changed: 928 additions & 66 deletions
Large diffs are not rendered by default.

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/model/AlgorithmSpec.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -27,7 +27,8 @@ public enum AlgorithmSpec {
2727
RSAES_OAEP_SHA_1("RSAES_OAEP_SHA_1"),
2828
RSAES_OAEP_SHA_256("RSAES_OAEP_SHA_256"),
2929
RSA_AES_KEY_WRAP_SHA_1("RSA_AES_KEY_WRAP_SHA_1"),
30-
RSA_AES_KEY_WRAP_SHA_256("RSA_AES_KEY_WRAP_SHA_256");
30+
RSA_AES_KEY_WRAP_SHA_256("RSA_AES_KEY_WRAP_SHA_256"),
31+
SM2PKE("SM2PKE");
3132

3233
private String value;
3334

@@ -48,6 +49,7 @@ public String toString() {
4849
enumMap.put("RSAES_OAEP_SHA_256", RSAES_OAEP_SHA_256);
4950
enumMap.put("RSA_AES_KEY_WRAP_SHA_1", RSA_AES_KEY_WRAP_SHA_1);
5051
enumMap.put("RSA_AES_KEY_WRAP_SHA_256", RSA_AES_KEY_WRAP_SHA_256);
52+
enumMap.put("SM2PKE", SM2PKE);
5153
}
5254

5355
/**

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/model/AliasListEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/model/AlreadyExistsException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/model/CancelKeyDeletionRequest.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.
@@ -50,6 +50,12 @@
5050
* <p>
5151
* <b>Related operations</b>: <a>ScheduleKeyDeletion</a>
5252
* </p>
53+
* <p>
54+
* <b>Eventual consistency</b>: The KMS API follows an eventual consistency
55+
* model. For more information, see <a href=
56+
* "https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html"
57+
* >KMS eventual consistency</a>.
58+
* </p>
5359
*/
5460
public class CancelKeyDeletionRequest extends AmazonWebServiceRequest implements Serializable {
5561
/**

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/model/CancelKeyDeletionResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/model/CloudHsmClusterInUseException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/model/CloudHsmClusterInvalidConfigurationException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

aws-android-sdk-kms/src/main/java/com/amazonaws/services/kms/model/CloudHsmClusterNotActiveException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License").
55
* You may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)