Skip to content

Commit 7f59a7e

Browse files
authored
chore: fix typos in smithy models (#1326)
1 parent 6067d3e commit 7f59a7e

5 files changed

Lines changed: 21 additions & 21 deletions

File tree

AwsCryptographicMaterialProviders/dafny/AwsCryptographicMaterialProviders/Model/cmms.smithy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ operation CreateDefaultCryptographicMaterialsManager {
130130
@javadoc("Inputs for creating a Default Cryptographic Materials Manager.")
131131
structure CreateDefaultCryptographicMaterialsManagerInput {
132132
@required
133-
@javadoc("The Keyring that the created Default Cryprographic Materials Manager will use to wrap data keys.")
133+
@javadoc("The Keyring that the created Default Cryptographic Materials Manager will use to wrap data keys.")
134134
keyring: KeyringReference
135135
}
136136

@@ -150,9 +150,9 @@ operation CreateRequiredEncryptionContextCMM {
150150

151151
@javadoc("Inputs for creating an Required Encryption Context Cryptographic Materials Manager.")
152152
structure CreateRequiredEncryptionContextCMMInput {
153-
@javadoc("The Cryprographic Materials Manager that the created Required Encryption Context Cryptographic Materials Manager will delegate to. Either a Keyring or underlying Cryprographic Materials Manager must be specified.")
153+
@javadoc("The Cryptographic Materials Manager that the created Required Encryption Context Cryptographic Materials Manager will delegate to. Either a Keyring or underlying Cryptographic Materials Manager must be specified.")
154154
underlyingCMM: CryptographicMaterialsManagerReference,
155-
@javadoc("The Keyring that the created Cryprographic Materials Manager will use to wrap data keys. The created Required Encryption Context CMM will delegate to a Default Cryptographic Materials Manager created with this Keyring. Either a Keyring or an underlying Cryprographic Materials Manager must be specified as input.")
155+
@javadoc("The Keyring that the created Cryptographic Materials Manager will use to wrap data keys. The created Required Encryption Context CMM will delegate to a Default Cryptographic Materials Manager created with this Keyring. Either a Keyring or an underlying Cryptographic Materials Manager must be specified as input.")
156156
keyring: KeyringReference,
157157
@required
158158
@javadoc("A list of Encryption Context keys which are required to be supplied during encryption and decryption, and correspond to Encryption Context key-value pairs which are not stored on the resulting message.")

AwsCryptographicMaterialProviders/dafny/AwsCryptographicMaterialProviders/Model/suites.smithy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ union Encrypt {
121121
union DerivationAlgorithm {
122122
HKDF: HKDF,
123123
// We are using both `IDENTITY` and `None` here
124-
// to modle the fact that deriving
124+
// to model the fact that deriving
125125
// the data encryption key and the commitment key
126126
// MUST be the same.
127127
// The specification treats NO_KDF as an identity operation.

AwsCryptographicMaterialProviders/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/materialproviders/model/CreateDefaultCryptographicMaterialsManagerInput.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public class CreateDefaultCryptographicMaterialsManagerInput {
1414

1515
/**
16-
* The Keyring that the created Default Cryprographic Materials Manager will use to wrap data keys.
16+
* The Keyring that the created Default Cryptographic Materials Manager will use to wrap data keys.
1717
*/
1818
private final IKeyring keyring;
1919

@@ -24,7 +24,7 @@ protected CreateDefaultCryptographicMaterialsManagerInput(
2424
}
2525

2626
/**
27-
* @return The Keyring that the created Default Cryprographic Materials Manager will use to wrap data keys.
27+
* @return The Keyring that the created Default Cryptographic Materials Manager will use to wrap data keys.
2828
*/
2929
public IKeyring keyring() {
3030
return this.keyring;
@@ -40,12 +40,12 @@ public static Builder builder() {
4040

4141
public interface Builder {
4242
/**
43-
* @param keyring The Keyring that the created Default Cryprographic Materials Manager will use to wrap data keys.
43+
* @param keyring The Keyring that the created Default Cryptographic Materials Manager will use to wrap data keys.
4444
*/
4545
Builder keyring(IKeyring keyring);
4646

4747
/**
48-
* @return The Keyring that the created Default Cryprographic Materials Manager will use to wrap data keys.
48+
* @return The Keyring that the created Default Cryptographic Materials Manager will use to wrap data keys.
4949
*/
5050
IKeyring keyring();
5151

AwsCryptographicMaterialProviders/runtimes/java/src/main/smithy-generated/software/amazon/cryptography/materialproviders/model/CreateRequiredEncryptionContextCMMInput.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
public class CreateRequiredEncryptionContextCMMInput {
1717

1818
/**
19-
* The Cryprographic Materials Manager that the created Required Encryption Context Cryptographic Materials Manager will delegate to. Either a Keyring or underlying Cryprographic Materials Manager must be specified.
19+
* The Cryptographic Materials Manager that the created Required Encryption Context Cryptographic Materials Manager will delegate to. Either a Keyring or underlying Cryptographic Materials Manager must be specified.
2020
*/
2121
private final ICryptographicMaterialsManager underlyingCMM;
2222

2323
/**
24-
* The Keyring that the created Cryprographic Materials Manager will use to wrap data keys. The created Required Encryption Context CMM will delegate to a Default Cryptographic Materials Manager created with this Keyring. Either a Keyring or an underlying Cryprographic Materials Manager must be specified as input.
24+
* The Keyring that the created Cryptographic Materials Manager will use to wrap data keys. The created Required Encryption Context CMM will delegate to a Default Cryptographic Materials Manager created with this Keyring. Either a Keyring or an underlying Cryptographic Materials Manager must be specified as input.
2525
*/
2626
private final IKeyring keyring;
2727

@@ -38,14 +38,14 @@ protected CreateRequiredEncryptionContextCMMInput(BuilderImpl builder) {
3838
}
3939

4040
/**
41-
* @return The Cryprographic Materials Manager that the created Required Encryption Context Cryptographic Materials Manager will delegate to. Either a Keyring or underlying Cryprographic Materials Manager must be specified.
41+
* @return The Cryptographic Materials Manager that the created Required Encryption Context Cryptographic Materials Manager will delegate to. Either a Keyring or underlying Cryptographic Materials Manager must be specified.
4242
*/
4343
public ICryptographicMaterialsManager underlyingCMM() {
4444
return this.underlyingCMM;
4545
}
4646

4747
/**
48-
* @return The Keyring that the created Cryprographic Materials Manager will use to wrap data keys. The created Required Encryption Context CMM will delegate to a Default Cryptographic Materials Manager created with this Keyring. Either a Keyring or an underlying Cryprographic Materials Manager must be specified as input.
48+
* @return The Keyring that the created Cryptographic Materials Manager will use to wrap data keys. The created Required Encryption Context CMM will delegate to a Default Cryptographic Materials Manager created with this Keyring. Either a Keyring or an underlying Cryptographic Materials Manager must be specified as input.
4949
*/
5050
public IKeyring keyring() {
5151
return this.keyring;
@@ -68,22 +68,22 @@ public static Builder builder() {
6868

6969
public interface Builder {
7070
/**
71-
* @param underlyingCMM The Cryprographic Materials Manager that the created Required Encryption Context Cryptographic Materials Manager will delegate to. Either a Keyring or underlying Cryprographic Materials Manager must be specified.
71+
* @param underlyingCMM The Cryptographic Materials Manager that the created Required Encryption Context Cryptographic Materials Manager will delegate to. Either a Keyring or underlying Cryptographic Materials Manager must be specified.
7272
*/
7373
Builder underlyingCMM(ICryptographicMaterialsManager underlyingCMM);
7474

7575
/**
76-
* @return The Cryprographic Materials Manager that the created Required Encryption Context Cryptographic Materials Manager will delegate to. Either a Keyring or underlying Cryprographic Materials Manager must be specified.
76+
* @return The Cryptographic Materials Manager that the created Required Encryption Context Cryptographic Materials Manager will delegate to. Either a Keyring or underlying Cryptographic Materials Manager must be specified.
7777
*/
7878
ICryptographicMaterialsManager underlyingCMM();
7979

8080
/**
81-
* @param keyring The Keyring that the created Cryprographic Materials Manager will use to wrap data keys. The created Required Encryption Context CMM will delegate to a Default Cryptographic Materials Manager created with this Keyring. Either a Keyring or an underlying Cryprographic Materials Manager must be specified as input.
81+
* @param keyring The Keyring that the created Cryptographic Materials Manager will use to wrap data keys. The created Required Encryption Context CMM will delegate to a Default Cryptographic Materials Manager created with this Keyring. Either a Keyring or an underlying Cryptographic Materials Manager must be specified as input.
8282
*/
8383
Builder keyring(IKeyring keyring);
8484

8585
/**
86-
* @return The Keyring that the created Cryprographic Materials Manager will use to wrap data keys. The created Required Encryption Context CMM will delegate to a Default Cryptographic Materials Manager created with this Keyring. Either a Keyring or an underlying Cryprographic Materials Manager must be specified as input.
86+
* @return The Keyring that the created Cryptographic Materials Manager will use to wrap data keys. The created Required Encryption Context CMM will delegate to a Default Cryptographic Materials Manager created with this Keyring. Either a Keyring or an underlying Cryptographic Materials Manager must be specified as input.
8787
*/
8888
IKeyring keyring();
8989

AwsCryptographicMaterialProviders/runtimes/python/src/aws_cryptographic_material_providers/smithygenerated/aws_cryptography_materialproviders/models.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3239,7 +3239,7 @@ def __init__(
32393239
"""Inputs for creating a Default Cryptographic Materials Manager.
32403240
32413241
:param keyring: The Keyring that the created Default
3242-
Cryprographic Materials Manager will use to wrap data keys.
3242+
Cryptographic Materials Manager will use to wrap data keys.
32433243
"""
32443244
self.keyring = keyring
32453245

@@ -3954,16 +3954,16 @@ def __init__(
39543954
encryption and decryption, and correspond to Encryption
39553955
Context key-value pairs which are not stored on the
39563956
resulting message.
3957-
:param underlying_cmm: The Cryprographic Materials Manager that
3957+
:param underlying_cmm: The Cryptographic Materials Manager that
39583958
the created Required Encryption Context Cryptographic
39593959
Materials Manager will delegate to. Either a Keyring or
3960-
underlying Cryprographic Materials Manager must be
3960+
underlying Cryptographic Materials Manager must be
39613961
specified.
3962-
:param keyring: The Keyring that the created Cryprographic
3962+
:param keyring: The Keyring that the created Cryptographic
39633963
Materials Manager will use to wrap data keys. The created
39643964
Required Encryption Context CMM will delegate to a Default
39653965
Cryptographic Materials Manager created with this Keyring.
3966-
Either a Keyring or an underlying Cryprographic Materials
3966+
Either a Keyring or an underlying Cryptographic Materials
39673967
Manager must be specified as input.
39683968
"""
39693969
self.required_encryption_context_keys = required_encryption_context_keys

0 commit comments

Comments
 (0)